(sigaction): Handle NULL argument.
[glibc.git] / ChangeLog
blobd56e798f29c9b70679fbf688166e90589c883e7f
1 1998-08-09  Ulrich Drepper  <drepper@cygnus.com>
3         * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
5 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
7         * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
9         * manual/filesys.texi: Document truncate and ftruncate.
10         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
12         * shadow/putspent.c: Lock stream while generating the output.
14         * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
15         (__msgwrite): Rewrite accordingly.
16         * sunrpc/svc_unix.c: Likewise.
17         * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
18         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
19         (sysdep_routines): Remove __sendmsg and __recvmsg.
20         * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
21         * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
22         * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
23         * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
24         * sysdeps/unix/sysv/linux/recvmsg.S: New file.
25         * sysdeps/unix/sysv/linux/sendmsg.S: New file.
26         * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
27         struct ucred.  Remove struct cmsgcred.
28         Patches by Thorsten Kukuk.
30 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
32         * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
34 1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>
36         * argp/argp-help.c: Prepare to be used outside glibc without gcc by
37         adding usual alloca cruft.
38         Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
40 1998-04-05  Jim Meyering  <meyering@ascend.com>
42         * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
43         This now depends on HAVE_BTOWC so systems that lack btowc (like
44         solaris-2.5.1) don't lose.
46 1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>
48         * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
49         * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
50         MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
51         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
52         instead of SA_ONSTACK.
53         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
54         sigaltstack, and created a weak alias.  Use SS_DISABLE and
55         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
56         * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
57         of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
58         * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
59         instead of SA_ONSTACK.
60         * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
61         * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
62         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
63         Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
64         SA_ONSTACK where appropriate.
65         * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
66         Likewise.
67         * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
68         Likewise.
69         * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
70         Likewise.
71         * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
72         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
73         the `ss_flags' member of `struct sigaltstack'.
75 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
77         * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
78         (shared-only-routines): Likewise.
79         * libio/oldtmpfile.c: New file
80         * stdio-common/tmpfile.c: Use __fdopen and __close.
81         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
82         tmpfile on symbol version GLIBC_2.1.
83         * stdio-common/tmpfile64.c: Use __fdopen and __close.
84         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
85         * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
86         * stdio-common/tempnam.c: Use __strdup instead of strdup.
87         * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
88         alias.
89         * sysdeps/generic/fdopen.c: Likewise.
90         * sysdeps/mach/hurd/fdopen.c: Likewise.
91         * stdio/stdio.h: Declare __fdopen.
92         * sunrpc/openchild.c: Use __fdopen instead of fdopen.
93         [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
94         * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
95         __stub_open64, it is never defined.
97 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
99         * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
100         * libio/iopopen.c: Unlink file before freeing it if command
101         creation failed.  Avoid unnessary casts.
102         * libio/iofdopen.c:  Avoid unnecessary cast.
103         * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
104         _IO_funlockfile.
105         * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
107 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
109         * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
110         __grpalloc, __grpscan and the corresponding pwd functions, they
111         were removed long ago.
113 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
115         * math/libm-test.c (csqrt_test): Adjust epsilons.
116         (casinh_test): Likewise.
118 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
120         * posix/globtest.sh: Fix typo.  Remove second test output file.
122 1998-08-07  Cristian Gafton  <gafton@redhat.com>
124         * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
125         * shadow/putspent.c (putspent): Likewise.
126         * grp/putgrent.c: New file.
127         * grp/Makefile (routines): Add putgrent.
128         * grp/Versions [GLIBC_2.1]: Add putgrent.
129         * grp/grp.h: Add putgrent prototype.
131 1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>
133         * elf/elf.h: More ELF definitions.
135 1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>
137         * stdio-common/tmpfile.c: Include unistd.h for close prototype.
138         * stdio-common/tmpfile64.c: Likewise.
140         * db2/makedb.c: Generate output file with same access permissions
141         the input file has.
143         * signal/signal.h: Pretty printing.
145 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
147         * misc/mktemp.c: Add include <stlib.h> for prototype, remove
148         unneccessary includes.
149         * misc/mkstemp.c: Likewise.
151 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
153         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
154         is defined.
155         * catgets/open_catalog.c: Likewise.
156         * iconv/iconv_prog.c: Likewise.
157         * intl/loadmsgcat.c: Likewise.
158         * locale/findlocale.c: Likewise.
159         * locale/loadlocale.c: Likewise.
160         * locale/programs/localedef.c: Likewise.
161         * malloc/malloc.c: Likewise.
163         * elf/elf.h: Fix typo.
165         * math/Makefile: Use $(LN_S) instead of ln.
167         * sysdeps/generic/getpgid.c: Fix return type.
169 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
171         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
172         __gen_tempname and simplify the interface.  Strip out the
173         code to do path search and create FILE objects.  This function
174         now takes a mktemp() style template and returns either a name
175         or a file descriptor.
176         (__path_search): New function; searches for directories for
177         temp files.
178         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
179         __path_search, not __stdio_gen_tempname.
181         * libio/stdio.h: Prototype __gen_tempname and __path_search,
182         not __stdio_gen_tempname.
183         * stdio/stdio.h: Likewise.
185         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
186         * stdio-common/tmpfile.c: Likewise.
187         * stdio-common/tmpfile64.c: Likewise.
188         * stdio-common/tmpnam.c: Likewise.
189         * stdio-common/tmpnam_r.c: Likewise.
191         * misc/mkstemp.c: New file.  Use __gen_tempname.
192         * misc/mktemp.c: Likewise.
194         * sysdeps/posix/mkstemp.c: Removed.
195         * sysdeps/posix/mktemp.c: Removed.
196         * sysdeps/generic/mkstemp.c: Removed.
197         * sysdeps/generic/mktemp.c: Removed.
199 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
201         * configure.in: Check, if door add-on is installed.
202         * config.make.in: Add have_doors.
203         * sunrpc/Makefile: Add HAVE_DOOR define.
204         * sunrpc/key_call.c: Add keyserv/door interface.
206         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
207         * sunrpc/clnt_unix.c: Likewise.
209 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
211         * inet/netinet/in.h (IN_CLASSC): Correct mask.
212         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
213         PR libc/727].
215 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
217         * misc/Makefile: Fix installation problem with --disable-shared.
218         * posix/Makefile: Likewise.
220 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
222         * posix/regex.c (re_search_2): Optimize searching for anchored
223         pattern if '^' cannot match at embedded newlines.
224         (regerror): Renamed from __regerror, which it should only be
225         called if _LIBC.
227 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
229         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
231 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
233         * sysdeps/generic/glob.c: Remove obsolete cast.
235 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
237         * Rules (tests): Fix last change.
239 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
241         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
242         Add sys_setresuid.
244 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
246         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
247         as real name for system call and make setresuid a weak alias.  Set
248         caller to seteuid.
249         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
250         `setresuid' syscall if availble.  Fixes problems with sendmail
251         which expects `seteuid' to not set the saved user ID.
253 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
255         * time/tzset.c (__tzstring): Get rid of excessive cleverness
256         which was causing stack corruption.
258 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
260         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
261         off-by-one in wordwrap algorithm when there' a space at the
262         beginning of the buffer.
264 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
266         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
268 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
270         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
272         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
273         definition.
275 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
277         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
279 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
281         * sysdeps/generic/glob.c: Undefine strdup before defining it,
282         because bits/string2.h may have defined it already.
284 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
286         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
287         Fix recognition of 'a' modifier vs. 'a' format.
288         (TYPEMOD): Removed.
290         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
291         for type modifiers.  Fix recognition of 'hh' modifier.
293 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
295         * sunrpc/svc_unix.c: Fix typo.
297 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
299         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
300         syscall.
302 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
304         * sysdeps/i386/ffs.c: Add ffsl entry point.
305         * sysdeps/i386/i686/ffs.c: Likewise.
306         * sysdeps/m68k/ffs.c: Likewise.
307         * sysdeps/powerpc/ffs.c: Likewise.
309         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
310         on i686.
312 1998-07-30  Richard Henderson  <rth@cygnus.com>
314         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
316         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
317         work around gcc bug.
319         * string/string.h (ffsl, ffsll): Prototype.
320         * string/Version (GLIBC_2.1): Add them.
321         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
322         entry points.
323         * sysdeps/alpha/ffsll.S: New file.  Empty.
324         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
325         * sysdeps/generic/ffsll.c: New file.
326         * string/Makefile (routines): Add ffsll.
328 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
330         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
331         strictly ISO C compliant programs.
332         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
334 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
336         * inet/protocols/rwhod.h: Correct typo in comment.
338         * configure.in: Use better regex for gettext.
340 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
342         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
343         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
345         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
347         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
348         caller/callee and the number of calls.
350 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
352         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
353         (__getpid): New function.
354         (abort): New function.
356 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
358         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
360         * nis/nis_cache2_xdr.c: Removed.
361         * nis/nis_cache.c: Removed.
362         * nis/nis_cache2.h: Removed.
364 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
366         * Rules (tests): Depend on tests-static only if build-static == yes.
368         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
369         only if build-static == yes.
371 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
373         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
374         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
376 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
378         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
379         statement, fix typo.
380         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
382 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
384         * manual/pattern.texi (More Flags for Globbing): Fix typo.
386         * manual/math.texi (Special Functions): Fix typo.
388         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
389         constant from Linux 2.1.112.
391         * posix/Makefile (install-lib): Compile libposix.a only if
392         build-static == yes.
394 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
396         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
397         declarations to file level.  Cope with unsupported
398         _SC_GETPW_R_SIZE_MAX.
400 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
402         * stdio-common/tst-printf.c: %z is now recognized by printf.
404         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
405         errors.
406         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
407         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
408         Patch by Stephen L Moshier <moshier@mediaone.net>.
410         * math/libm-test.c (csqrt_test): Correct typo in one test, add
411         another one.
413         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
414         latest kernel change.
416 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
418         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
419         inputs near DBL_MIN.
421 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
423         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
424         warnings when DNSSEC related records are received.
425         * resolv/gethnamaddr.c (getanswer): Likewise.
426         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
428         * signal/signal.h: Add prototype for sysv_signal.
430         * math/libm-test.c (tgamma_test): Remove redundant tests.
432         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
433         where foo does not exist in any of the subdirectories.
434         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
436         * posix/globtest.sh: Add test for this bug.
438         * posix/glob.h: Add GLOB_TILDE_CHECK.
439         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
440         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
441         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
443 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
445         * io/sys/statfs.h: Fix typos.
446         * io/sys/statvfs.h: Fix typos.
448 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
450         * version.h (VERSION): Bump to 2.0.95.
452         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
453         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
454         * math/libm-test.c: Split old gamma_test and move half of it in new
455         function tgamma_test.
456         * math/bits/mathcalls.h: Add declaration of tgamma.
457         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
458         tgamma errors.
459         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
460         and rename to ...
461         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
462         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
463         and rename to ...
464         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
465         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
466         and rename to ...
467         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
468         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
469         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
470         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
472         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
473         modifiers.
474         * stdio-common/vfprintf.c: Likewise.
475         * stdio-common/vfscanf.c: Likewise.
476         * manual/stdio.texi: Document new printf/scanf modifiers.
478         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
479         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
481 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
483         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
484         * sunrpc/Versions: Add new *unix_create functions.
485         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
486         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
487         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
488         with keyserv daemon.
489         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
490         * sunrpc/rpc/svc.h: Likewise.
491         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
492         * sunrpc/svc_tcp.c: Fix typos.
493         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
495         * nis/Makefile: Remove currently not working cache functions.
496         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
497         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
498         CLIENT handles.
499         * nis/nis_file.c: Fix memory leaks.
500         * nis/nis_intern.h: Move internal structs from here ...
501         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
502         * nis/nis_lookup.c: Try at first if last client handle works.
503         * nis/nis_table.c: Likewise.
504         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
505         * nis/nis_mkdir.c: Likewise.
506         * nis/nis_ping.c: Likewise.
507         * nis/nis_rmdir.c: Likewise.
508         * nis/nis_server.c: Likewise.
509         * nis/nis_util.c: Likewise.
510         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
512 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
514         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
515         define as LONG_MAX.
517 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
519         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
520         Correct test whether writev send all data.
521         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
522         received all data.
524 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
526         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
528 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
530         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
531         allow mode to be 0.
532         (__xstat): New function.
533         (__fxstat): New function.
534         (_dl_sysdep_read_whole_file): Removed.  The implementation in
535         `elf/dl-misc.c' now also works for the Hurd.
537 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
539         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
541         * posix/globtest.sh: Also add directories with NSS modules into the
542         library path.
544 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
546         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
547         strtol.
548         (INT_FIELD_MAYBE_NULL): Likewise.
550         * posix/globtest.c: Rewrite for extended test suite.
551         * posix/globtest.sh: More tests.
552         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
554         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
555         Use new macro.
557         * sysdeps/generic/readv.c: Correct return type.
558         * sysdeps/generic/writev.c: Likewise.
560 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
562         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
563         program_invocation_name when compiling outside of glibc.
565 1998-07-26  Philip Blundell  <philb@gnu.org>
567         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
568         like `@' in .type directives.
570         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
571         FE_TONEAREST exists for this platform before using it.
572         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
574         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
575         debugging code.  Correct handling of PC24 relocs.
577         * elf/Makefile (ld-map): Only define if versioning is in use.
579         * sysdeps/arm/fpu_control.h: Move to ...
580         * sysdeps/arm/fpu/fpu_control.h: ... here.
581         * sysdeps/generic/fpu_control.h: Made usable as a dummy
582         implementation.
584         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
586         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
587         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
588         implementation.
589         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
590         Based on patch from Scott Bambrough and Pat Beirne.
592         * shlib-versions: Add appropriate definitions for ARM machines.
594         * README.template: Mention that Linux/ARM with ELF works now.
596 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
598         * Makerules: Generate compilation rules for all object suffixes,
599         not only those currently selected, for sources in the current or
600         object directory.
602 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
604         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
605         match `/' in filename by a character class if requested.
606         * posix/testfnm.c: Rewritten.
607         * posix/testfnm.args: Removed.
609 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
611         * posix/annexc.c (limits_syms): Add missing symbols.
612         (stdarg_syms): Move va_list to `maybe' list.
613         (stdio_syms): Add FOPEN_MAX.
615 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
617         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
618         prevent conflict with __bswap_32.
620 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
622         * nscd/connections.c (pw_send_answer): Make one single writev call.
623         (gr_send_answer): Do the work in two writev calls.  This change
624         changes the protocol.
626         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
627         We now can do the job using two readv calls.
629 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
631         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
632         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
634         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
635         and Elf64_Vernaux.
637 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
639         * configure.in: Recognize pgcc as compiler.
640         Reported by sauron@angband.ee.ualberta.ca.
642 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
644         * nscd/dbg_log.c: Make sure, that debug message is really written.
645         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
647 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
649         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
650         Reported by bwelling@anomaly.munge.com [PR libc/720].
652         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
653         SVID more for gamma(x) with x integer <= 0.
654         Reported by Stephen L Moshier <moshier@mediaone.net>.
656         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
657         Correct test for SVID version of gamma.
659         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
660         emulation mode.
661         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
662         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
664         * string/string.h: Don't use string function optimization for C++
665         as long as we use macros.
667 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
669         * posix/fnmatch.c: Fix completely broken range matching.
671 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
673         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
675 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
677         * Makefile (headers2_0): Add sigstack.h.
679         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
681 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
683         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
684         Reported by Thorsten Kukuk.
686         * string/strcoll.c: Correct problem with empty strings.
687         * string/strxfrm.c: Likewise.
688         Reported by vbzoli@hbrt.hu [PR libc/719].
690 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
692         * sysdeps/posix/tempname.c: Use the random-name generator
693         already used by mktemp/mkstemp.  Honor TMPDIR.
695 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
697         * hurd/Makefile (routines): Remove cthreads.
698         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
700         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
702         * manual/Makefile (distribute): Add summary.texi.
704 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
706         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
708 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
710         * configure.in: Correct expression to match gcc version.
712         * configure.in: Move test for available port after machine
713         variable is defined.
715 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
717         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
718         message, copy the buffer and resize it to what the kernel
719         wants to see.  Bug found and analyzed by Thorsten Kukuk
720         <kukuk@weber-eb.uni-paderborn.de>
722 1998-07-20  Jose M. Moya  <josem@gnu.org>
724         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
725         value.
727 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
729         * sysdeps/mach/hurd/getdomain.c: New file.
730         * sysdeps/mach/hurd/setdomain.c: New file.
732 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
734         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
735         a weak alias.
737 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
739         * libio/libioP.h: Use __PMT in typedef.
740         * libio/strfile.h: Likewise.
742 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
744         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
745         buffer is too small.
746         Reported by John Levon <j_levon@ncc.co.uk>.
748 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
750         * shlib-versions: Remove definition for libSegFault.
752         * memory.texi: Comment out the relocating allocator description.
753         * manual/signal.texi: Remove reference to relocating allocator.
754         * manual/top-menu.texi: Regenerated.
756         * posix/fnmatch.c: Implement [: :] and change to recognize
757         ^ as negation only when not _POSIXLY_CORRECT.
759         * sysdeps/generic/glob.c: Add several optimizations.
761         * posix/glob.h: Undefine __PMT to prevent warnings.
762         Reported by Roland McGrath.
764         * posix/regex.c: Define namespace macros only for _LIBC.
766         * sysdeps/arm/dl-machine.h: Fix typo.
768         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
769         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
770         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
771         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
772         sigpending, sigqueue, and sigtimedwait.
773         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
775         * timezone/leapseconds: Update from tzdata1998f.
777 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
779         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
780         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
781         * libio/stdio.h: Fix typo.
783 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
785         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
786         magic memobj port arg parsing stuff.  Fix it someday when we are ready
787         to really use it.
788         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
789         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
791 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
793         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
795 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
797         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
798         a weak alias.
799         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
800         * sysdeps/generic/sigsuspend.c: Likewise.
802 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
804         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
806 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
808         * Makerules (map-file): Don't use $(wildcard) to find the
809         generated version script, instead look in $(version-maps).
810         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
811         is used.
812         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
813         if versioning is used.  Don't use $(wildcard) to find the
814         generated version script, instead look in $(verson-maps).
816 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
818         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
819         unused function handle.
820         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
821         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
822         * debug/catchsegv.sh: Fix argument processing, quoting and various
823         typos.  Put the crash info always in the current directory.  Find
824         program in $PATH if it contains no directory component.
825         * Makerules (install-lib.so-versioned,
826         install-lib.so-unversioned): New variables.
827         (install-lib-nosubdir): Depend on unversioned libs in
828         slibdir, not libdir.
830 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
832         * Make-dist (+tsrcs): Remove references to %-map variables and
833         *.map files.  Add Versions in subdirs.
834         * Makerules (distinfo-vars): Don't write out %-map variables.
836 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
838         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
839         Include <paths.h> instead.
840         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
841         * sysdeps/unix/sysv/linux/paths.h: Likewise.
842         Reported by Dale Scheetz <dwarf@polaris.net>.
844 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
846         * catgets/open_catalog.c: Strictly check whether catalog file is
847         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
849 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
851         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
853         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
855 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
857         * debug/catchsegv.sh: Fix several stupid bugs.
859         * shlib-versions: Define version for libSegFault.
860         * debug/Makefile: Replace shared lib version number while rewriting.
862 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
864         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
865         Suggested by Roland McGrath.
867 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
869         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
870         generation to control environment.
872 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
874         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
875         Patch by John Tobey <jtobey@banta-im.com>.
877         * manual/llio.texi: Document readv/writev and mmap functions.
878         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
880 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
882         * manual/Makefile (texis): Depend on texis.awk.
883         (nonexamples): Filter out add-on chapters.
884         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
885         (stamp-summary): Depend on $(texis) except summary.texi.
886         ($(inst_infodir)/libc.info): Simplify command.
887         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
888         Fix the generation of the detailed node listing to make it
889         complete again.
890         * manual/math.texi: Fix signature of lgamma_r.
892 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
894         * debug/Makefile (distribute): Add sigcontextinfo.h.
895         Add rules to generate and install catchsegv.
896         * debug/catchsegv.sh: New file.
898 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
900         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
901         port instead of a Mach memory object.
902         (__open): Likewise.
903         (__libc_read): New function.
904         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
905         object.
907 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
909         * debug/Makefile (routines): Add backtracesymsfd.
910         Add rules to generate libSegFault.
911         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
912         * debug/execinfo.h: Declare backtrace_symbols_fd.
913         * sysdeps/generic/backtracesymsfd.c: New file.
914         * sysdeps/generic/elf/backtracesymsfd.c: New file.
915         * sysdeps/generic/segfault.c: New file.
916         * sysdeps/generic/sigcontextinfo.h: New file.
917         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
919         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
921 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
923         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
924         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
926 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
928         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
929         * assert/assert-perr.c: Likewise.
930         * assert/assert.c: Likewise.
931         * gconv_conf.c: Likewise.
932         * libio/iofputs_u.c: Likewise.
933         * malloc/mtrace.c: Likewise.
934         * malloc/obstack.c: Likewise.
935         * misc/error.c: Likewise.
936         * misc/syslog.c: Likewise.
937         * stdio-common/asprintf.c: Likewise.
938         * stdio-common/dprintf.c: Likewise.
939         * stdio-common/getw.c: Likewise.
940         * stdio-common/putw.c: Likewise.
941         * stdio-common/snprintf.c: Likewise.
942         * stdio-common/sprintf.c: Likewise.
943         * stdio-common/sscanf.c: Likewise.
944         * sunrpc/svc_simple.c: Likewise.
945         * sysdeps/generic/abort.c: Likewise.
947         * rt/aio_cancel.c: Don't define ECANCELED here.
948         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
950 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
952         * argp/argp-fmtstream.c: Unify names of used global functions.
953         * argp/argp-help.c: Likewise.
954         * assert/assert-perr.c: Likewise
955         * assert/assert.c: Likewise
956         * dirent/scandir.c: Likewise
957         * dirent/scandir64.c: Likewise
958         * dirent/versionsort.c: Likewise
959         * dirent/versionsort64.c: Likewise
960         * gmon/bb_exit_func.c: Likewise.
961         * gmon/gmon.c: Likewise.
962         * grp/initgroups.c: Likewise.
963         * iconv/gconv_conf.c: Likewise.
964         * inet/getnameinfo.c: Likewise.
965         * inet/getnetgrent_r.c: Likewise.
966         * inet/inet_ntoa.c: Likewise.
967         * inet/rcmd.c: Likewise.
968         * inet/rexec.c: Likewise.
969         * inet/ruserpass.c: Likewise.
970         * io/fts.c: Likewise.
971         * io/ftw.c: Likewise.
972         * io/ftw64.c: Likewise.
973         * io/getdirname.c: Likewise.
974         * io/getwd.c: Likewise.
975         * io/lockf.c: Likewise.
976         * libio/iofdopen.c: Likewise.
977         * libio/iopopen.c: Likewise.
978         * login/utmp_daemon.c: Likewise.
979         * malloc/mtrace.c: Likewise.
980         * malloc/obstack.c
981         * misc/daemon.c: Likewise.
982         * misc/efgcvt_r.c: Likewise.
983         * misc/err.c: Likewise.
984         * misc/error.c: Likewise.
985         * misc/fstab.c: Likewise.
986         * misc/getpass.c: Likewise.
987         * misc/getttyent.c: Likewise.
988         * misc/mntent_r.c: Likewise.
989         * misc/search.h: Likewise.
990         * misc/syslog.c: Likewise.
991         * nscd/nscd_getgr_r.c: Likewise.
992         * nscd/nscd_getpw_r.c: Likewise.
993         * posix/getpgrp.c: Likewise.
994         * posix/wordexp.c: Likewise.
995         * pwd/fgetpwent_r.c: Likewise.
996         * pwd/getpw.c: Likewise.
997         * resolv/herror.c: Likewise.
998         * resolv/res_init.c: Likewise.
999         * shadow/fgetspent_r.c: Likewise.
1000         * shadow/lckpwdf.c: Likewise.
1001         * signal/sigrelse.c: Likewise.
1002         * stdio-common/asprintf.c: Likewise.
1003         * stdio-common/dprintf.c: Likewise.
1004         * stdio-common/getw.c: Likewise.
1005         * stdio-common/putw.c: Likewise.
1006         * stdio-common/snprintf.c: Likewise.
1007         * stdio-common/sprintf.c: Likewise.
1008         * stdio-common/sscanf.c: Likewise.
1009         * stdlib/lrand48_r.c: Likewise.
1010         * stdlib/mrand48_r.c: Likewise.
1011         * string/argz-replace.c: Likewise.
1012         * string/envz.c: Likewise.
1013         * sunrpc/auth_des.c: Likewise.
1014         * sunrpc/auth_unix.c: Likewise.
1015         * sunrpc/bindrsvprt.c: Likewise.
1016         * sunrpc/clnt_gen.c: Likewise.
1017         * sunrpc/clnt_perr.c: Likewise.
1018         * sunrpc/clnt_simp.c: Likewise.
1019         * sunrpc/clnt_tcp.c: Likewise.
1020         * sunrpc/clnt_udp.c: Likewise.
1021         * sunrpc/get_myaddr.c: Likewise.
1022         * sunrpc/key_call.c: Likewise.
1023         * sunrpc/netname.c: Likewise.
1024         * sunrpc/openchild.c: Likewise.
1025         * sunrpc/pmap_rmt.c: Likewise.
1026         * sunrpc/rpc_dtable.c: Likewise.
1027         * sunrpc/rtime.c: Likewise.
1028         * sunrpc/svc_run.c: Likewise.
1029         * sunrpc/svc_simple.c: Likewise.
1030         * sunrpc/svc_tcp.c: Likewise.
1031         * sunrpc/svc_udp.c: Likewise.
1032         * sunrpc/svcauth_des.c: Likewise.
1033         * sunrpc/xdr_array.c: Likewise.
1034         * sunrpc/xdr_rec.c: Likewise.
1035         * sunrpc/xdr_ref.c: Likewise.
1036         * sunrpc/xdr_stdio.c: Likewise.
1037         * sysdeps/generic/abort.c: Likewise.
1038         * sysdeps/generic/dl-sysdep.c: Likewise.
1039         * sysdeps/generic/fstatfs64.c: Likewise.
1040         * sysdeps/generic/ftruncate64.c: Likewise.
1041         * sysdeps/generic/getrlimit64.c: Likewise.
1042         * sysdeps/generic/glob.c: Likewise.
1043         * sysdeps/generic/prof-freq.c: Likewise.
1044         * sysdeps/generic/putenv.c: Likewise.
1045         * sysdeps/generic/statfs64.c: Likewise.
1046         * sysdeps/generic/ttyname_r.c: Likewise.
1047         * sysdeps/generic/utmp_file.c: Likewise.
1048         * sysdeps/generic/vlimit.c: Likewise.
1049         * sysdeps/generic/vtimes.c: Likewise.
1050         * sysdeps/posix/cuserid.c: Likewise.
1051         * sysdeps/posix/euidaccess.c: Likewise.
1052         * sysdeps/posix/mkstemp.c: Likewise.
1053         * sysdeps/posix/mktemp.c: Likewise.
1054         * sysdeps/posix/pread.c: Likewise.
1055         * sysdeps/posix/pread64.c: Likewise.
1056         * sysdeps/posix/profil.c: Likewise.
1057         * sysdeps/posix/pwrite.c: Likewise.
1058         * sysdeps/posix/pwrite64.c: Likewise.
1059         * sysdeps/posix/sigblock.c: Likewise.
1060         * sysdeps/posix/sigpause.c: Likewise.
1061         * sysdeps/posix/ttyname.c: Likewise.
1062         * sysdeps/posix/ttyname_r.c: Likewise.
1063         * sysdeps/posix/waitid.c: Likewise.
1064         * sysdeps/unix/getlogin_r.c: Likewise.
1065         * sysdeps/unix/grantpt.c: Likewise.
1066         * sysdeps/unix/rewinddir.c: Likewise.
1067         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1068         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1069         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1070         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1071         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1072         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1073         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1074         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1075         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1076         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1077         * sysvipc/sys/shm.h: Likewise.
1078         * time/ctime_r.c: Likewise.
1079         * time/strptime.c: Likewise.
1080         * wcsmbs/mbrlen.c: Likewise.
1081         * wcsmbs/wcsdup.c: Likewise.
1082         * wcsmbs/wcsxfrm.c: Likewise.
1083         * wctype/wcfuncs.c: Likewise.
1085         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1086         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1087         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1088         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1089         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1090         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1091         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1092         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1094         * grp/fgetgrent_r.c: Use explicit locking of the stream.
1096         * elf/Makefile (rtld-routines): Add dl-environ.
1097         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1098         to...
1099         * sysdeps/generic/dl-environ.c: here.  New file.
1101         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1102         * libio/Versions: Add fputs_unlocked.
1103         * libio/iofputs_u.c: New file.
1104         * libio/stdio.h: Add prototype for fputs_unlocked.
1106         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1107         * sunrpc/rpc/clnt.h: Likewise.
1108         * sunrpc/rpc/pmap_clnt.h: Likewise.
1109         * sunrpc/rpc/svc.h: Likewise.
1110         * sunrpc/rpc/xdr.h: Likewise.
1112         * sysdeps/i386/memchr.S: Correct for more strict gas.
1113         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1114         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1115         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1116         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1118 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1120         * configure.in: Change message for binutils version from
1121         2.8.1.0.17->2.8.1.0.23.
1123 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
1125         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1126         Patch by John Tobey <jtobey@banta-im.com>.
1128 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1130         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1131         instead of sysconf.
1133 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
1135         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1136         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1137         (conv_error): Likewise.
1138         (input_error): Likewise.
1139         (memory_error): Likewise.
1141 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1143         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1144         implementation.  Include <entry.h>.  Replace references to symbol
1145         _start with macro ENTRY_POINT.
1146         (__libc_uid): Remove.
1147         (__libc_multiple_libcs): New variable.
1148         (__libc_stack_end): New variable.
1149         (_dl_hwcap_mask): New variable.
1150         (_dl_important_hwcaps): New function.
1151         (_dl_show_auxv): Mark internal.
1153 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1155         * mach/Makefile: Create target directory before generating
1156         mach-syscalls.mk.
1157         * mach/Machrules: Invoke awk using AWK variable.  Create target
1158         directory before generating server stubs.
1160 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1162         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1164         * configure.in: Allow egcs-2.92.
1166 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1168         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1169         chapter files.  Exorcise the chapters, chapters-incl mess.
1170         Support inserting doc chapters from add-on modules.
1171         (chapters): New variable.
1172         (add-chapters): New variable.
1173         (appendices): New variable.
1174         (libc.texinfo): New target.
1175         (clean): Fix bugs.
1176         (realclean): Fix bugs.
1178         * manual/texis.awk: New file.
1179         * manual/libc-texinfo.sh: New file.
1180         * manual/libc-texinfo.in: New file.
1182         * manual/conf.texi (top @node): Remove next pointer.
1183         * manual/lang.texi (top @node): Remove prev pointer.
1185         * manual/job.texi (top @node): Add explicit pointers.
1186         * manual/message.texi (top @node): Add explicit pointers.
1187         * manual/nss.texi (top @node): Add explicit pointers.
1188         * manual/process.texi (top @node): Add explicit pointers.
1189         * manual/startup.texi (top @node): Add explicit pointers.
1190         * manual/terminal.texi (top @node): Add explicit pointers.
1191         * manual/users.texi (top @node): Add explicit pointers.
1193         * manual/arith.texi: Add %MENU% tag.
1194         * manual/conf.texi: Add %MENU% tag.
1195         * manual/contrib.texi: Add %MENU% tag.
1196         * manual/ctype.texi: Add %MENU% tag.
1197         * manual/errno.texi: Add %MENU% tag.
1198         * manual/filesys.texi: Add %MENU% tag.
1199         * manual/header.texi: Add %MENU% tag.
1200         * manual/install.texi: Add %MENU% tag.
1201         * manual/intro.texi: Add %MENU% tag.
1202         * manual/io.texi: Add %MENU% tag.
1203         * manual/job.texi: Add %MENU% tag.
1204         * manual/lang.texi: Add %MENU% tag.
1205         * manual/llio.texi: Add %MENU% tag.
1206         * manual/locale.texi: Add %MENU% tag.
1207         * manual/maint.texi: Add %MENU% tag.
1208         * manual/math.texi: Add %MENU% tag.
1209         * manual/mbyte.texi: Add %MENU% tag.
1210         * manual/memory.texi: Add %MENU% tag.
1211         * manual/message.texi: Add %MENU% tag.
1212         * manual/nss.texi: Add %MENU% tag.
1213         * manual/pattern.texi: Add %MENU% tag.
1214         * manual/pipe.texi: Add %MENU% tag.
1215         * manual/process.texi: Add %MENU% tag.
1216         * manual/search.texi: Add %MENU% tag.
1217         * manual/setjmp.texi: Add %MENU% tag.
1218         * manual/signal.texi: Add %MENU% tag.
1219         * manual/socket.texi: Add %MENU% tag.
1220         * manual/startup.texi: Add %MENU% tag.
1221         * manual/stdio.texi: Add %MENU% tag.
1222         * manual/string.texi: Add %MENU% tag.
1223         * manual/sysinfo.texi: Add %MENU% tag.
1224         * manual/terminal.texi: Add %MENU% tag.
1225         * manual/time.texi: Add %MENU% tag.
1226         * manual/users.texi: Add %MENU% tag.
1228 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1230         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1231         Update.
1233 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1235         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1236         style declaration to avoid warning.
1237         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1239 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1241         * elf/rtld.c (process_dl_debug): Add missing continue.
1243 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1245         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1246         code needs it.
1248 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1250         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1251         sysd-dirs-done.
1252         * Makerules: Don't generate version maps too early.
1253         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1254         subdirs has changed.
1256 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1258         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1260 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1262         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1263         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1264         return value.
1266 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1268         * elf/dl-open.c (dl_open_worker): New function.
1269         (_dl_open): Call it to do the actual work while catching errors.
1270         * elf/dl-close.c (_dl_close): Only call termination function if
1271         the initialisation function was called.
1273 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1275         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1276         Reported by Felix von Leitner <leitner@amdiv.de>.
1278 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1280         * Make-dist (+sysdep-tsrcs): Add Versions.
1282 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1284         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1285         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1286         * sysdeps/powerpc/Versions: New file.
1287         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1288         and __errno_location.
1289         * misc/Versions: Add brk and sbrk.
1290         * posix/Versions: Add environ, __environ and _environ.
1291         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1293 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1295         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1296         Patch by Zack Weinberg.
1298 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1300         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1301         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1302         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1304 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1306         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1308 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1310         * posix/unistd.h: Simplify #ifdefs.
1312         * libio/libio.h: Undo last change due to possible C++ problems.
1313         * libio/fileops.h: Likewise.
1315 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1317         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1318         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1319         * io/utime.h: Define time_t also for __USE_XOPEN.
1320         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1321         Define *_t types except for pid_t also for __USE_XOPEN.
1322         Define S_* macros also for __USE_XOPEN.
1323         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1324         THOUSEP also for __USE_XOPEN.
1325         * math/math.c: Define M_* macros also for __USE_XOPEN.
1326         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1327         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1328         defined.
1329         * posix/glob.h: Likewise for GLOB_NOSYS.
1330         * posix/regex.h: Likewise for REG_NOSYS.
1331         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1332         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1333         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1334         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1335         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1336         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1337         for __USE_POSIX199309.
1338         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1339         constants also for __USE_XOPEN.
1340         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1342         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1343         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1345         * libio/stdio.h: Don't declare fclose_unlocked.
1347         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1349 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1351         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1352         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1353         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1354         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1355         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1356         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1357         prototype for getopt.
1358         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1359         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1360         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1361         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1362         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1363         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1364         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1365         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1366         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1367         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1368         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1369         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1370         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1371         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1372         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1373         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1374         getc_unlocked, getchar_unlocked, putc_unlocked and
1375         putchar_unlocked.
1377         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1378         from here ...
1379         * stdio-common/Versions: ... to here.
1381 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1383         * Makerules (versioning): Correct typo.
1385 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1387         * elf/Versions: Add _dl_mcount_wrapper_check.
1388         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1389         _dl_mcount_wrapper_check.
1390         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1392         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1393         internal_function.
1394         * elf/ldsodefs.h: Likewise.
1396         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1398         * libio/stdio.h: Make sure va_list is defined for X/Open.
1399         Define P_tmpdir for X/Open.
1401         * posix/regex.h: Fix typo.
1403         * posix/unistd.h: Define intptr_t if not already happened.
1404         Add pthread_atfork prototype.
1405         * sysdeps/generic/bits/types.h: Define __intptr_t.
1406         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1407         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1408         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1409         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1410         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1411         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1412         * sysdeps/wordsize-64/stdint.h: Likewise.
1414         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1416         * signal/Makefile (headers): Add bits/sigthread.h.
1417         * signal/signal.h: Include bits/sigthread.h.
1418         * sysdeps/generic/bits/sigthread.h: New file.
1420         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1422         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1423         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1424         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1425         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1427         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1429         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1430         programs.
1431         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1432         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1433         names.
1435         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1437         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1438         Remove O_READ and O_WRITE definition.
1440         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1441         and RLIM_SAVED_CUR.
1443         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1445 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1447         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1448         scripts directory.  Pass move-if-change to awk.
1449         (common-generated): Add $(version-maps) and sysd-versions.
1450         * versions.awk: Moved to...
1451         * scripts/versions.awk: ... here.  Use move-if-change to void
1452         touching unchanged files.  Print "version-maps = ..." instead of
1453         "all-version-maps = ..." and without $(common-objpfx).  Explain
1454         expected variable names.
1455         * Makefile (distribute): Updated.
1457 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1459         * misc/getttyent.c (getttyent): Don't return with locked stream.
1460         * misc/mntent_r.c (__getmntent_r): Likewise.
1462 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1464         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1465         if stream is line buffered.
1466         (_io_file_overflow): Likewise.
1467         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1468         streams writing '\n' flushes the string.
1470 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1472         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1473         * elf/dl-support.c: Define it here...
1474         * elf/rtld.c: ...and here.
1476 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1478         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1480 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1482         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1483         __ino64_t definition.
1484         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1485         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1487         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1488         script if lddlibc4 failed.
1489         Reported by B. D. Elliott <bde@accessone.com>.
1491 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1493         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1494         Improve generated strings a bit.
1496 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1498         * posix/Makefile (generated): Remove $(objpfx) from the names.
1500 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1502         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1503         format string.
1505         * libio/iofread_u.c: Include <stdio.h> for prototype.
1506         * libio/iofwrite_u.c: Likewise.
1508 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1510         * db2/Versions: New file.
1512 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1514         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1515         ($(common-objpfx)sysd-versions): Remove rule.
1516         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1517         Pass name of Versions.def file to script and redirect output to
1518         target.  Include it and make all generated version maps depend on
1519         it.
1520         * versions.awk: Print out variable definition containing all
1521         generated version maps.  Print error messages to stderr.  Remove
1522         temp file.
1524 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1526         * posix/annexc.c (check_header): Terminate macro name before
1527         comparing.
1528         (get_null_defines): Allow builtin macros with parameters.
1529         (fmt, testfmt): Add -D_LIBC.
1530         * posix/Makefile: Remove bogus duplicate include directories from
1531         annexc test command.
1533 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1535         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1536         password scheme.
1537         (_nss_nis_getpwnam_r): Likewise.
1538         (_nss_nis_getpwuid_r): Likewise.
1540 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1542         * libio/Versions: Move symbols whose source lives in
1543         stdio-common to ...
1544         * stdio-common/Versions: ... here.
1545         * stdio/Versions: Add missing symbols.
1547 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1549         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1550         __syscall_sendmsg.
1551         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1552         __syscall_recvmsg.
1553         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1554         and make __recvmsg and recvmsg weak aliases.
1555         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1556         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1557         and __syscall_sendmsg.
1559 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1561         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1562         stream.
1563         * inet/ruserpass.c (token): Likewise.
1564         * nss/nsswitch.c (nss_parse_file): Likewise.
1565         * intl/localealias.c: Likewise.  Also for ferror.
1566         * time/getdate.c (__getdate_r): Likewise.
1568         * libio/Makefile (routines): Add iofgets_u.
1569         * libio/iofgets_u.c: New file.
1570         * libio/Versions: Add fgets_unlocked.
1571         * libio/stdio.h: Add prototype for fgets_unlocked.
1573         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1574         * misc/getusershell.c (initshells): Likewise.
1575         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1576         fgets_unlocked.
1577         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1578         * resolv/res_init.c (res_init): Likewise.
1579         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1581 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1583         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1584         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1586 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1588         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1589         _unlocked functions.
1591         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1592         is a private FILE.
1594 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1596         * csu/Makefile: Build crt files in lib pass.
1597         * db2/Makefile (distribute): Add mutex/sco.cc.
1598         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1599         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1600         s-proto.d if avoid-generated is set.
1602         * sysdeps/alpha/Dist: List only one file per line.
1603         * sysdeps/generic/Dist: Likewise.
1604         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1605         * sysdeps/sparc/sparc32/Dist: Likewise.
1606         * sysdeps/unix/Dist: Likewise.
1607         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1609         * sysdeps/mach/hurd/i386/Dist: New file.
1610         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1611         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1612         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1613         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1615 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1617         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1618         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1620         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1622         * time/tzfile.c (decode): Optimize by using bswap_32.
1623         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1624         __tzname array values.
1625         (__tzfile_compute): Correct setting of __tzname array values.
1626         * time/tzset.c (__tzstring): Clean up a bit.
1628 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1630         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1632 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1634         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1635         that fd can be bigger than FD_SETSIZE.
1637 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1639         * nscd/grpcache.c: Include <unistd.h>.
1640         * nscd/pwdcache.c: Likewise.
1642         * nis/nis_modify.c: Include <string.h>.
1643         * nis/nis_add.c: Likewise.
1644         * nis/nis_checkpoint.c: Likewise.
1645         * posix/runptests.c: Likewise.
1646         * sysdeps/generic/statvfs64.c: Likewise.
1647         * sysdeps/generic/fstatvfs64.c: Likewise.
1649 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1651         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1652         to match data from Unicode.
1653         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1655 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1657         * stdio-common/printf.h: Define printf_function and
1658         printf_arginfo_function types using __PMT not __P.
1659         Reported by Marc Lehmann.
1661 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1663         * assert/test-assert.c: New test.
1664         * assert/test-assert-perr.c: New test.
1665         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1667 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1669         BSD-style SCM_CREDS support.
1671         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1672         SCM_CREDS.
1673         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1674         visible SCM_CREDS packet to what the kernel wants.
1675         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1676         SCM_CREDS packet output by kernel to what users want.
1678         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1679         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1680         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1681         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1683         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1684         __sendmsg and __recvmsg to sysdep_routines.
1685         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1687 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1689         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1690         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1691         * nscd/nscd.c: Check, if pthread_create fails.
1693 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1695         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1696         format strings.
1697         * stdio-common/bug1.c (main): Likewise.
1698         * stdio-common/bug5.c (main): Likewise.
1699         * stdio-common/tstgetln.c (main): Likewise.
1700         * elf/sprof.c (generate_call_graph): Likewise.
1701         (load_shobj): Likewise.
1702         * posix/runptests.c (main): Likewise.
1703         * string/tst-strlen.c (main): Likewise.
1705         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1706         variable q3.
1707         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1709 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1711         * wctype/Versions: Add __towctrans.
1712         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1714 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1716         * grp/initgroups.c (compat_call): Only call dynamically loaded
1717         functions if they are really present.
1719 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1721         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1722         #ifdef that contains __BEGIN_DECLS.
1724 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1726         * libio/iofwrite.c: Fix return value when size == 0.
1728 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1730         * posix/Makefile (distribute): Add annexc.c.
1731         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1733 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1736         bits/pthreadtypes.h here, and do not clobber headers.
1738         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1740 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1742         * timezone/tst-timezone.c: Add tests for tzname variable.
1744 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1746         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1747         rule that lists all of them as targets.
1748         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1749         fragment that defines $(vers-libs) based on contents of that file;
1750         then include it.
1751         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1752         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1753         Predicate all this on avoid-generated unset as well as versioning.
1755 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1757         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1759 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1761         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1762         a copy.
1763         * Makefile: Add rules to generate map files.
1764         (distribute): Remove libc.map, add Versions.def and versions.awk.
1765         * Makerules: Change rules to find map files on common-objpfx.
1766         * elf/Makefile: Likewise.
1767         * md5-crypt/Makefile: Likewise.
1768         * nis/Makefile (libnsl-map): Remove.
1769         * Versions.def: New file.
1770         * versions.awk: New file.
1771         * argp/Versions: New file.
1772         * assert/Versions: New file.
1773         * catgets/Versions: New file.
1774         * csu/Versions: New file.
1775         * ctype/Versions: New file.
1776         * db/Versions: New file.
1777         * debug/Versions: New file.
1778         * dirent/Versions: New file.
1779         * elf/Versions: New file.
1780         * gmon/Versions: New file.
1781         * grp/Versions: New file.
1782         * hesiod/Versions: New file.
1783         * hurd/Versions: New file.
1784         * iconv/Versions: New file.
1785         * inet/Versions: New file.
1786         * intl/Versions: New file.
1787         * io/Versions: New file.
1788         * libio/Versions: New file.
1789         * linuxthreads/Versions: New file.
1790         * locale/Versions: New file.
1791         * login/Versions: New file.
1792         * malloc/Versions: New file.
1793         * math/Versions: New file.
1794         * md5-crypt/Versions: New file.
1795         * misc/Versions: New file.
1796         * nis/Versions: New file.
1797         * nss/Versions: New file.
1798         * posix/Versions: New file.
1799         * pwd/Versions: New file.
1800         * resolv/Versions: New file.
1801         * resource/Versions: New file.
1802         * rt/Versions: New file.
1803         * setjmp/Versions: New file.
1804         * shadow/Versions: New file.
1805         * signal/Versions: New file.
1806         * socket/Versions: New file.
1807         * stdio/Versions: New file.
1808         * stdio-common/Versions: New file.
1809         * stdlib/Versions: New file.
1810         * streams/Versions: New file.
1811         * string/Versions: New file.
1812         * sunrpc/Versions: New file.
1813         * sysdeps/alpha/Versions: New file.
1814         * sysdeps/alpha/fpu/Versions: New file.
1815         * sysdeps/i386/Versions: New file.
1816         * sysdeps/sparc/Versions: New file.
1817         * sysdeps/unix/sysv/Versions: New file.
1818         * sysdeps/unix/sysv/linux/Versions: New file.
1819         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1820         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1821         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1822         * sysvipc/Versions: New file.
1823         * termios/Versions: New file.
1824         * time/Versions: New file.
1825         * wcsmbs/Versions: New file.
1826         * wctype/Versions: New file.
1827         * libc.map: Removed.
1828         * db/libdb.map: Removed.
1829         * elf/libdl.map: Removed.
1830         * hesiod/libnss_hesiod.map: Removed.
1831         * hurd/libhurduser.map: Removed.
1832         * hurd/libmachuser.map: Removed.
1833         * linuxthreads/libpthread.map: Removed.
1834         * locale/libBrokenLocale.map: Removed.
1835         * login/libutil.map: Removed.
1836         * math/libm.map: Removed.
1837         * md5-crypt/libcrypt.map: Removed.
1838         * nis/libnsl.map: Removed.
1839         * nis/libnsl_compat.map: Removed.
1840         * nis/libnss_nis.map: Removed.
1841         * nis/libnss_nisplus.map: Removed.
1842         * nss/libnss_db.map: Removed.
1843         * nss/libnss_files.map: Removed.
1844         * resolv/libnss_dns.map: Removed.
1845         * resolv/libresolv.map: Removed.
1846         * rt/librt.map: Removed.
1848         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1849         Fix typos.
1851         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1852         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1854         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1855         correct size.
1857 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1859         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1860         in comment.
1862         * nscd/nscd.c: Include unistd.h.
1864 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1866         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1867         became cleverer.
1869 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1871         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1873 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1875         * scripts/test-installation.pl: Include <stdio.h> in test program
1876         to make it strictly conforming.
1878 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1880         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1881         not a strong alias.
1882         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1884         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1885         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1887 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1889         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1890         not a strong alias.
1892 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1894         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1895         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1896         bits/pthreadtypes.h.
1898 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1900         * include/aio.h: New file.
1901         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1902         (tests): Build and run annexc program.
1903         * posix/annexc.c: New file.
1904         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1905         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1906         * rt/aio_misc.c: Include limits.h.
1907         * rt/aio_notify.c: Include errno.h.
1908         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1909         Define size_t.
1910         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1911         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1913         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1914         kernel doesn't do this.
1915         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1916         __USE_LARGEFILE64 is defined.
1917         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1918         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1919         if requested.
1920         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1922         * stdlib/isomac.c: Avoid include_next warning.
1924 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1926         * argp/argp.h: Use __PMT instead of __P for function pointer.
1927         * iconv/gconv.h: Likewise.
1928         * io/fts.h: Likewise.
1929         * io/ftw.h: Likewise.
1930         * libio/libio.h: Likewise.
1931         * malloc/mcheck.h: Likewise.
1932         * misc/search.h: Likewise.
1933         * posix/glob.h: Likewise.
1934         * resolv/resolv.h: Likewise.
1935         * signal/signal.h: Likewise.
1936         * stdlib/stdlib.h: Likewise.
1937         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1938         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1940 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1942         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1944 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1946         * posix/wordexp.c (parse_param): Fix memory leak.
1948 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1950         * libc.map: Export _IO_ftrylockfile.
1952 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1954         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1955         __get[pu]id.
1957 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1959         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1961         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1962         same search list twice.
1964 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1966         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1967         used to optimize loop/select.
1969 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1971         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1972         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1973         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1974         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1975         * sysdeps/arm/init-first.c: Likewise.
1976         * posix/getopt_init.c: Don't use __libc_pid.
1977         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1978         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1979         * libc.map: Remove __libc_uid and __libc_pid.
1981 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1983         * sunrpc/rtime.c (rtime): Use poll instead of select.
1985 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1987         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1988         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1989         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1990         Patches from FreeBSD current.
1992 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1994         * nscd/connections.c (handle_new_request): Handle POLLHUP
1995         correctly.
1996         (close_sockets): Correct parameter to dbg_log.
1998 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
2000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2001         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
2002         (elf_machine_fixup_plt): Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2004         _dl_pagesize not set, use system call to always get correct answer.
2005         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2006         (__syscall_getpagesize): Add
2008 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
2010         * resolv/res_send.c (res_send): Fix typo.
2012 1998-06-25  Andi Kleen <ak@muc.de>
2014         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2015         * resolv/res_send.c (res_send): Likewise.
2017 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2019         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2020         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2022 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
2024         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2025         * math/atest-exp2.c (exp_mpn, main): Likewise.
2026         * math/atest-sincos.c (main): Likewise.
2028         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
2029         base handling away from strtoul.  Always reset errno.
2031         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2033         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2034         _dl_profile_map if _dl_name_match_p.
2035         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
2036         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
2038         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2039         as early-clobber.
2041         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2042         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2043         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2045 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2047         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2049 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2051         * nis/nis_call.c: Don't copy server structure.
2052         * nis/nis_intern.h: Remove unused entries.
2053         * nis/nis_table.c: Rewrite __create_ib_request.
2055 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
2057         * configure.in: Check for -fexceptions.
2058         * config.make.in: Define exceptions, not no-exceptions.
2059         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
2060         __P to use throw().
2061         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2062         $(exceptions).
2063         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2064         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2065         lfind, and lsearch prototpypes.
2066         * stdlib/stdlib.h: Likewise for bsearch and qsort.
2068 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2070         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2072 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2074         * Makefile (remove-old-headers): Make phony.
2076         * configure.in: Substitute @old_glibc_headers@.
2078 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2080         * libc.map: Remove __libc_uid.
2082 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2084         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2085         typos.
2087 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2089         * libc.map: Add Alpha-specific io function from protected namespace.
2091 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
2093         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2094         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2095         CPPFLAGS.
2097         * libc.map: Export __sigaction.
2099 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2101         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2102         (from Linux 2.1.107).
2104 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
2106         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2107         position when file was opened here.
2108         Reported by Howard Chu <hyc@platinum.com>.
2110         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2111         undefined in a second inclusion.
2113 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2115         * sysdeps/mach/hurd/i386/Makefile: New file.
2116         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2117         __libc_init_secure.
2118         (_hurd_stack_setup): Renamed
2119         from __libc_init_first.
2120         (__libc_init_first): New function.
2121         * sysdeps/mach/hurd/i386/static-start.S: New file.
2123 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2125         * sysdeps/mach/hurd/i386/init-first.c
2127 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2129         * grp/initgroups.c: Use _CALL_DL_FCT.
2131 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2133         * elf/rtld.c (process_dl_debug): Add missing continue.
2135 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2137         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2139 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2141         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2143 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
2145         * config.make.in: Remove LDAP support.
2146         * nss/Makefile: Likewise.
2148 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2150         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2151         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2152         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2153         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2155 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2157         * mach/Makefile: Change `mv' invocations to `mv -f'.
2158         * mach/Machrules: Likewise.
2160 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2162         * config.make.in (old-glibc-headers): Add it.
2164         * configure.in: Add test for glibc 2.0.x headers.
2166         * Makefile (headers2_0): New variable - contains so far only
2167         Linux/Intel glibc 2.0.x headers.
2168         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2169         (install): Depend on remove-old-headers.
2171 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2173         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2174         make ftruncate a weak alias.
2175         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2176         __ftruncate.
2177         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2178         (truncate): Fix function defenition to match prototype.
2180 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2182         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2183         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2185 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2187         * sysdeps/generic/glob.c: Make it possible to include glob.h
2188         before loading glob.c.
2189         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2191 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2193         * nscd/connections.c: Use poll() instead of select().
2195 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2197         * sysdeps/generic/Dist: Fix typo.
2199 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2201         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2202         * nis/nis_addmember.c: Likewise.
2203         * nis/nis_call.c: Likewise.
2204         * nis/nis_creategroup.c: Likewise.
2205         * nis/nis_destroygroup.c: Likewise.
2206         * nis/nis_findserv.c: Likewise.
2207         * nis/nis_ismember.c: Likewise.
2208         * nis/nis_print.c: Likewise.
2209         * nis/nis_print_group_entry.c: Likewise.
2210         * nis/nis_removemember.c: Likewise.
2211         * nis/nis_verifygroup.c: Likewise.
2212         * nis/ypclnt.c: Likewise.
2214         * nis/nis_file.c: Close file handles.
2216         * nis/nis_callback.c: Fix typo.
2218 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2220         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2221         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2222         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2223         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2224         * nis/nss_nis/nis-initgroups.c: Likewise.
2225         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2226         __nss_lookup_function and make it public.
2227         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2228         module if exists, else use old method.
2230 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2232         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2233         definition.
2234         * nss/getXXent_r.c (set_function, end_function, get_function):
2235         Likewise.  Reported by Thorsten Kukuk.
2237         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2239 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2241         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2242         1998-06-16 and distribute kernel_termios.h.
2244         * nis/Makefile (distribute): Add nis_xdr.h.
2246 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2248         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2249         kernels that don't have sigaltstack.
2251 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2253         * sysdeps/generic/bits/sem.h: Don't define union semun.
2255         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2257         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2258         here.
2259         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2260         definition here.
2262 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2264         * signal/signal.h: Add prototype for __sigaltstack.
2265         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2266         Remove sigstack entry.
2267         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2268         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2270         * sysdeps/i386/backtrace.c: Add casts.
2272 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2274         * intl/dcgettext.c: use complete type name.
2275         * intl/hash-string.h: Likewise.
2277         * intl/localealias.c: Undo patch from 1998-04-29.
2278         * intl/l10nflist.c: Likewise.
2279         * intl/loadinfo.h: Likewise.
2281 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2283         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2285 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2287         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2288         _dl_mcount, _dl_mcount_wrapper.
2289         * elf/Makefile (routines): Add dl-profstub.
2290         * elf/dl-profstub.c: New file.
2291         * elf/dl-support.c: Don't define _dl_profile_map.
2292         * elf/rtld.c: Likewise.
2293         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2294         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2295         Define _CALL_DL_FCT.
2296         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2297         loaded object.
2298         * iconv/gconv_db.c: Likewise.
2299         * iconv/skeleton.c: Likewise.
2300         * nss/getXXbyYY_r.c: Likewise.
2301         * nss/getXXent_r.c: Likewise.
2302         * nss/nsswitch.c: Likewise.
2304 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2306         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2307         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2308         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2310 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2312         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2313         longestdbl.
2315 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2317         * iconvdata/Makefile (modules): Add MACINTOSH.
2318         (MACINTOSH-routines): New variable.
2319         (distribute): Add macintosh.c.
2320         (awk-generated-headers): Add macintosh.h.
2321         Add rule for macintosh.h generation.
2322         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2323         * iconvdata/macintosh.c: New file.
2325 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2327         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2329         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2330         only should happen for cy != 0.
2332         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2333         glob.h.
2335 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2337         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2338         to compare stack addresses.
2340 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2342         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2343         defining prototypes.
2345 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2347         * sysdeps/sparc/sparc32/dl-machine.h
2348         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2349         flushes as the kernel will emulate it when the underlying cpu does
2350         not implement flush.
2352         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2353         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2355         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2356         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2357         trampoline code.
2359         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2360         (__clone): Branch to label .Lerror not __clone_syscall_error.
2361         (.Lerror): Fixup EINVAL setting.
2362         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2365         (__syscall_getgroups, __syscall_setgroups): Add.
2367         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2368         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2369         around sa_mask data.
2371 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2373         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2375         * string/Makefile: Make sure test-ffs does not use builtins.
2377 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2379         * sunrpc/svc.c: Check for NULL pointer.
2381         * nis/libnsl.map: Add public NIS+ xdr functions.
2383         * nis/rpcsvc/nis_callback.h: New file.
2384         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2385         * nis/nis_xdr.h: ... here.
2387         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2388         pointers, use NIS+ defines where possible.
2389         * nis/nis_cache.c: Likewise.
2390         * nis/nis_cache2_xdr.c: Likewise.
2391         * nis/nis_call.c: Likewise.
2392         * nis/nis_checkpoint.c: Likewise.
2393         * nis/nis_clone_dir.c: Likewise.
2394         * nis/nis_clone_obj.c: Likewise.
2395         * nis/nis_clone_res.c: Likewise.
2396         * nis/nis_creategroup.c: Likewise.
2397         * nis/nis_file.c: Likewise.
2398         * nis/nis_free.c: Likewise.
2399         * nis/nis_getservlist.c: Likewise.
2400         * nis/nis_local_names.c: likewise.
2401         * nis/nis_lookup.c: Likewise.
2402         * nis/nis_mkdir.c: Likewise.
2403         * nis/nis_modify.c: Likewise.
2404         * nis/nis_ping.c: Likewise.
2405         * nis/nis_print.c: Likewise.
2406         * nis/nis_remove.c: Likewise.
2407         * nis/nis_removemember.c: Likewise.
2408         * nis/nis_rmdir.c: Likewise.
2409         * nis/nis_server.c: Likewise.
2410         * nis/nis_table.c: Likewise.
2411         * nis/nis_util.c: Likewise.
2412         * nis/nis_verifygroup.c: Likewise.
2413         * nis/nis_xdr.c: Likewise.
2414         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2415         * nis/nis_xdr.c: ... to here.
2417 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2419         * iconvdata/ksc5601.h: Clean up a bit.
2421 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2423         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2424         and process incoming data.
2425         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2426         fragments as invalid.
2427         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2429 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2431         Removal of duplicates like "the the".
2432         * manual/time.texi (TZ Variable): Likewise.
2433         * manual/users.texi (Manipulating the Database): Likewise.
2434         * manual/sysinfo.texi (Filesystem handling): Likewise.
2435         * manual/signal.texi (Signaling Yourself): Likewise.
2436         * manual/message.texi (Message Translation): Likewise.
2437         (Common Usage): Likewise.
2438         * manual/llio.texi: Likewise.
2439         * manual/arith.texi (Old-style number conversion): Likewise.
2440         * manual/argp.texi (Argp): Likewise.
2441         (Argp Parsers): Likewise.
2442         (Argp Help Filtering): Likewise.
2444         * hesiod/README.hesiod: Correct typo.
2446         * manual/llio.texi: Correct typos.
2447         * manual/sysinfo.texi: Likewise.
2449 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2451         * rt/aio.h: Rename __op to __operation for g++.
2453 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2455         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2456         script.
2457         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2458         * iconvdata/gen-8bit.sh: Clean up sed script.
2460         * iconvdata/Makefile: Remove all PERL conditionals; build all
2461         the modules all the time.  Export AWK.
2462         (gen-8bit-gap): Delete setting of PERL.
2463         (gen-8bit-gap-1): Likewise.
2464         (perl-generated-headers): Renamed awk-generated-headers.
2466         * iconvdata/gap.pl: Removed.
2467         * iconvdata/gaptab.pl: Removed.
2468         * iconvdata/gap.awk: New file.
2469         * iconvdata/gaptab.awk: New file.
2471 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2473         * sysdeps/generic/Dist: Add errno-loc.c.
2475         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2476         __new_* functions.
2478 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2480         * stdio-common/bug12.c: New test for fread()/fseek().
2481         * stdio-common/Makefile (tests): Add bug12.
2483 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2485         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2486         constant.
2487         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2488         * debug/execinfo.h: Update declaration.
2490 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2492         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2493         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2494         * debug/execinfo.h: Update declaration.
2496 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2498         * manual/llio.texi: Fix spelling.
2499         * manual/sysinfo.texi: Fix spelling.
2501 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2503         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2504         alias for old name.  Put this on __libc_subfreeres.
2505         * misc/search.h: Declare it.
2507 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2509         * string/bits/string2.h (strcmp): Add missing parens around macro
2510         parameters.
2512 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2514         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2516         * manual/filesys.texi: Document LFS functions.
2517         * manual/llio.texi: Likewise.
2518         * manual/stdio.texi: Likewise.
2519         * manual/time.texi: Likewise.
2521         * manual/llio.texi: Document AIO functions.
2523         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2524         * sysdeps/generic/setrlimit.c: Likewise.
2525         * sysdeps/generic/setrlimit64.c: Likewise.
2526         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2527         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2529 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2531         * sysdeps/generic/getenv.c: Fix last change.
2533 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2535         * sysdeps/generic/backtrace.c: Provide generic implementation.
2537 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2539         * configure.in: Give visual feedback of the default directories we
2540         added.
2542 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2544         * io/fts.c (fts_build): Define oflag only if needed.
2546 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2548         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2550 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2552         * libc.map: Don't export argp's fmtstream handling functions.
2554         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2555         * manual/llio.texi: Document more LFS functions and start documenting
2556         the AIO functions.
2558 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2560         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2561         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2562         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2563         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2565 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2567         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2568         makes it easier to undump emacs.
2569         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2570         for when the endianness can't be determined.
2572 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2574         * nss/Makefile: Add files publickey database support.
2575         * nss/libnss_files.map: Export the required functions.
2576         * nss/nss_files/files-key.c: Implement it.
2577         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2579 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2581         * iconv/gconv_builtin.h: Add aliases for CORBA.
2582         * iconvdata/gconv-modules: Likewise.
2584 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2586         * math/libm-test.c (main): Call exp10_test.
2587         (exp10_test): New function which tests exp10.
2589 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2591         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2592         sigstack.
2594         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2595         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2596         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2598 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2600         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2601         in the variable, not its GOT slot.
2603 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2605         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2606         inline.
2607         * sysdeps/m68k/fpu/e_exp10.c: New file.
2608         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2609         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2611         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2612         _dl_profile_map only if the name matches.
2613         (_dl_start_user): Remember stack address.
2614         * sysdeps/m68k/elf/start.S: Pass new argument to
2615         __libc_start_user.
2617         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2618         definition.
2619         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2620         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2621         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2622         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2623         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2625 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2627         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2628         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2629         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2630         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2631         prototypes.
2632         * sysdeps/libm-i387/e_exp10.S: New file.
2633         * sysdeps/libm-i387/e_exp10f.S: New file.
2634         * sysdeps/libm-i387/e_exp10l.S: New file.
2635         * sysdeps/libm-ieee754/e_exp10.c: New file.
2636         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2637         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2638         * sysdeps/libm-ieee754/w_exp10.c: New file.
2639         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2640         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2641         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2643 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2645         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2646         sys/elf.h and sys/reg.h.
2647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2648         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2649         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2650         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2652         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2653         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2655 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2657         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2658         __data member only for gcc.  Reported by ak@muc.de.
2660         * misc/mntent.h: Undo last patch.
2661         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2662         * misc/tst/mntent.c: Adjust code for this change.
2664         * io/fts.c: Updated from a slightly more recent BSD version.
2665         * io/fts.h: Likewise.
2667         * libc.map: Add __libc_stack_end.
2669         * db2/Makefile (routines): Add lock_region.
2670         * db2/config.h: Update from db-2.4.14.
2671         * db2/db.h: Likewise.
2672         * db2/db_185.h: Likewise.
2673         * db2/db_int.h: Likewise.
2674         * db2/btree/bt_close.c: Likewise.
2675         * db2/btree/bt_compare.c: Likewise.
2676         * db2/btree/bt_conv.c: Likewise.
2677         * db2/btree/bt_cursor.c: Likewise.
2678         * db2/btree/bt_delete.c: Likewise.
2679         * db2/btree/bt_open.c: Likewise.
2680         * db2/btree/bt_page.c: Likewise.
2681         * db2/btree/bt_put.c: Likewise.
2682         * db2/btree/bt_rec.c: Likewise.
2683         * db2/btree/bt_recno.c: Likewise.
2684         * db2/btree/bt_rsearch.c: Likewise.
2685         * db2/btree/bt_search.c: Likewise.
2686         * db2/btree/bt_split.c: Likewise.
2687         * db2/btree/bt_stat.c: Likewise.
2688         * db2/btree/btree.src: Likewise.
2689         * db2/btree/btree_auto.c: Likewise.
2690         * db2/clib/getlong.c: Likewise.
2691         * db2/common/db_appinit.c: Likewise.
2692         * db2/common/db_apprec.c: Likewise.
2693         * db2/common/db_byteorder.c: Likewise.
2694         * db2/common/db_err.c: Likewise.
2695         * db2/common/db_log2.c: Likewise.
2696         * db2/common/db_region.c: Likewise.
2697         * db2/common/db_salloc.c: Likewise.
2698         * db2/common/db_shash.c: Likewise.
2699         * db2/db/db.c: Likewise.
2700         * db2/db/db.src: Likewise.
2701         * db2/db/db_auto.c: Likewise.
2702         * db2/db/db_conv.c: Likewise.
2703         * db2/db/db_dispatch.c: Likewise.
2704         * db2/db/db_dup.c: Likewise.
2705         * db2/db/db_overflow.c: Likewise.
2706         * db2/db/db_pr.c: Likewise.
2707         * db2/db/db_rec.c: Likewise.
2708         * db2/db/db_ret.c: Likewise.
2709         * db2/db/db_thread.c: Likewise.
2710         * db2/db185/db185.c: Likewise.
2711         * db2/db185/db185_int.h: Likewise.
2712         * db2/dbm/dbm.c: Likewise.
2713         * db2/hash/hash.c: Likewise.
2714         * db2/hash/hash.src: Likewise.
2715         * db2/hash/hash_auto.c: Likewise.
2716         * db2/hash/hash_conv.c: Likewise.
2717         * db2/hash/hash_debug.c: Likewise.
2718         * db2/hash/hash_dup.c: Likewise.
2719         * db2/hash/hash_func.c: Likewise.
2720         * db2/hash/hash_page.c: Likewise.
2721         * db2/hash/hash_rec.c: Likewise.
2722         * db2/hash/hash_stat.c: Likewise.
2723         * db2/include/btree.h: Likewise.
2724         * db2/include/btree_ext.h: Likewise.
2725         * db2/include/clib_ext.h: Likewise.
2726         * db2/include/common_ext.h: Likewise.
2727         * db2/include/cxx_int.h: Likewise.
2728         * db2/include/db.h.src: Likewise.
2729         * db2/include/db_185.h.src: Likewise.
2730         * db2/include/db_am.h: Likewise.
2731         * db2/include/db_auto.h: Likewise.
2732         * db2/include/db_cxx.h: Likewise.
2733         * db2/include/db_dispatch.h: Likewise.
2734         * db2/include/db_ext.h: Likewise.
2735         * db2/include/db_int.h.src: Likewise.
2736         * db2/include/db_page.h: Likewise.
2737         * db2/include/db_shash.h: Likewise.
2738         * db2/include/db_swap.h: Likewise.
2739         * db2/include/hash.h: Likewise.
2740         * db2/include/hash_ext.h: Likewise.
2741         * db2/include/lock.h: Likewise.
2742         * db2/include/lock_ext.h: Likewise.
2743         * db2/include/log.h: Likewise.
2744         * db2/include/log_ext.h: Likewise.
2745         * db2/include/mp.h: Likewise.
2746         * db2/include/mp_ext.h: Likewise.
2747         * db2/include/mutex_ext.h: Likewise.
2748         * db2/include/os_ext.h: Likewise.
2749         * db2/include/os_func.h: Likewise.
2750         * db2/include/queue.h: Likewise.
2751         * db2/include/shqueue.h: Likewise.
2752         * db2/include/txn.h: Likewise.
2753         * db2/lock/lock.c: Likewise.
2754         * db2/lock/lock_conflict.c: Likewise.
2755         * db2/lock/lock_deadlock.c: Likewise.
2756         * db2/lock/lock_region.c: Likewise.
2757         * db2/lock/lock_util.c: Likewise.
2758         * db2/log/log.c: Likewise.
2759         * db2/log/log.src: Likewise.
2760         * db2/log/log_archive.c: Likewise.
2761         * db2/log/log_auto.c: Likewise.
2762         * db2/log/log_compare.c: Likewise.
2763         * db2/log/log_findckp.c: Likewise.
2764         * db2/log/log_get.c: Likewise.
2765         * db2/log/log_put.c: Likewise.
2766         * db2/log/log_rec.c: Likewise.
2767         * db2/log/log_register.c: Likewise.
2768         * db2/mp/mp_bh.c: Likewise.
2769         * db2/mp/mp_fget.c: Likewise.
2770         * db2/mp/mp_fopen.c: Likewise.
2771         * db2/mp/mp_fput.c: Likewise.
2772         * db2/mp/mp_fset.c: Likewise.
2773         * db2/mp/mp_open.c: Likewise.
2774         * db2/mp/mp_pr.c: Likewise.
2775         * db2/mp/mp_region.c: Likewise.
2776         * db2/mp/mp_sync.c: Likewise.
2777         * db2/mutex/68020.gcc: Likewise.
2778         * db2/mutex/mutex.c: Likewise.
2779         * db2/mutex/parisc.gcc: Likewise.
2780         * db2/mutex/parisc.hp: Likewise.
2781         * db2/mutex/sco.cc: Likewise.
2782         * db2/os/os_abs.c: Likewise.
2783         * db2/os/os_alloc.c: Likewise.
2784         * db2/os/os_config.c: Likewise.
2785         * db2/os/os_dir.c: Likewise.
2786         * db2/os/os_fid.c: Likewise.
2787         * db2/os/os_fsync.c: Likewise.
2788         * db2/os/os_map.c: Likewise.
2789         * db2/os/os_oflags.c: Likewise.
2790         * db2/os/os_open.c: Likewise.
2791         * db2/os/os_rpath.c: Likewise.
2792         * db2/os/os_rw.c: Likewise.
2793         * db2/os/os_seek.c: Likewise.
2794         * db2/os/os_sleep.c: Likewise.
2795         * db2/os/os_spin.c: Likewise.
2796         * db2/os/os_stat.c: Likewise.
2797         * db2/os/os_unlink.c: Likewise.
2798         * db2/progs/db_archive/db_archive.c: Likewise.
2799         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2800         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2801         * db2/progs/db_dump/db_dump.c: Likewise.
2802         * db2/progs/db_dump185/db_dump185.c: Likewise.
2803         * db2/progs/db_load/db_load.c: Likewise.
2804         * db2/progs/db_printlog/db_printlog.c: Likewise.
2805         * db2/progs/db_recover/db_recover.c: Likewise.
2806         * db2/progs/db_stat/db_stat.c: Likewise.
2807         * db2/txn/txn.c: Likewise.
2808         * db2/txn/txn.src: Likewise.
2809         * db2/txn/txn_auto.c: Likewise.
2810         * db2/txn/txn_rec.c: Likewise.
2812         * elf/rtld.c: Move definition of __libc_stack_end to ...
2813         * sysdeps/generic/dl-sysdep.h: ...here.
2815         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2816         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2817         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2819         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2820         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2821         before following it.
2823 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2825         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2826         from mntent correctly.
2828 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2830         * sunrpc/Makefile (generated): Correct typo.
2832 1998-06-04  Philip Blundell  <philb@gnu.org>
2834         * elf/elf.h (EM_ARM, et al.): New definitions.
2835         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2837 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2839         * localedata/SUPPORTED: Add sk_SK.
2840         * localedata/locales/sk_SK: New file.
2842 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2844         * Makeconfig (subdirs): Add debug.
2845         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2846         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2847         backtrace_symbols.
2848         * sysdeps/generic/backtrace.c: New file.
2849         * sysdeps/generic/backtracesyms.c: New file.
2850         * sysdeps/generic/elf/backtracesyms.c: New file.
2851         * sysdeps/i386/backtrace.c: New file.
2852         * debug/Makefile: New file.
2853         * debug/backtrace-tst.c: New file.
2854         * debug/execinfo.h: New file.
2856 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2858         * elf/sprof.c: Implement call graph profiling.
2860         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2862 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2864         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2865         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2866         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2867         Noticed by Jake Garver <garver@valkyrie.net>.
2869 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2871         * libio/genops.c (__underflow): Read character from read pointer
2872         as unsigned.
2873         (__uflow): Likewise.
2875 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2877         * libc.map: Add _dl_profile.
2878         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2879         this to ELF_DYNAMIC_RELOCATE.
2880         Always allocate array for relocation result if LD_PROFILE is defined.
2881         * elf/ldsodefs.h: Adjust prototypes.
2882         * elf/dl-open.c (_dl_open): Call relocation function with extra
2883         argument.
2884         * elf/rtld.c: Likewise.
2885         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2886         Correct loop condition.
2887         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2888         consider_profile to runtime setup function.
2889         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2890         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2892         * elf/dl-support.c: Define __libc_stack_end.
2893         * elf/rtld.c: Likewise.
2894         * sysdeps/generic/libc-start.c: Store last stack address in
2895         __libc_stack_end.
2896         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2897         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2899         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2900         Include <stdint.h>, not <inttypes.h>.
2902         * elf/sprof.c: Implement flat profiling.
2904         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2905         _IO_funlockfile explicitly.
2906         * libio/fileops.c: Likewise.
2907         * libio/fputc.c: Likewise.
2908         * libio/freopen.c: Likewise.
2909         * libio/freopen64.c: Likewise.
2910         * libio/fseek.c: Likewise.
2911         * libio/fseeko.c: Likewise.
2912         * libio/fseeko64.c: Likewise.
2913         * libio/ftello.c: Likewise.
2914         * libio/ftello64.c: Likewise.
2915         * libio/getc.c: Likewise.
2916         * libio/getchar.c: Likewise.
2917         * libio/iofclose.c: Likewise.
2918         * libio/iofflush.c: Likewise.
2919         * libio/iofgetpos.c: Likewise.
2920         * libio/iofgetpos64.c: Likewise.
2921         * libio/iofgets.c: Likewise.
2922         * libio/iofputs.c: Likewise.
2923         * libio/iofread.c: Likewise.
2924         * libio/iofsetpos.c: Likewise.
2925         * libio/iofsetpos64.c: Likewise.
2926         * libio/ioftell.c: Likewise.
2927         * libio/iofwrite.c: Likewise.
2928         * libio/iogetdelim.c: Likewise.
2929         * libio/iogets.c: Likewise.
2930         * libio/ioputs.c: Likewise.
2931         * libio/ioseekoff.c: Likewise.
2932         * libio/ioseekpos.c: Likewise.
2933         * libio/iosetbuffer.c: Likewise.
2934         * libio/iosetvbuf.c: Likewise.
2935         * libio/ioungetc.c: Likewise.
2936         * libio/iovsprintf.c: Likewise.
2937         * libio/iovsscanf.c: Likewise.
2938         * libio/oldfileops.c: Likewise.
2939         * libio/oldiofclose.c: Likewise.
2940         * libio/peekc.c: Likewise.
2941         * libio/putc.c: Likewise.
2942         * libio/putchar.c: Likewise.
2943         * libio/rewind.c: Likewise.
2945         * malloc/mtrace.c: Pretty print.
2947         * misc/mntent.h (struct mentent): Make string elements const char *.
2949         * nis/nis_printf.c: Optimize I/O a little bit.
2951         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2952         * sysdeps/generic/sigset-cvt-mask.h: New file.
2953         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2954         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2955         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2956         sigset-cvt-mask.h to do the dirty work.
2957         Patches by Joe Keane.
2959         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2961         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2962         syscall_error label in case of PIC anonymous.
2963         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2964         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2965         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2966         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2967         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2968         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2969         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2971 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2973         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2974         we cannot declare the struct element as const.
2975         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2976         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2978 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2980         * manual/Makefile: Include ../Makeconfig earlier.
2981         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2982         exist.
2983         (dir-add.texinfo): Remove useless $(SHELL).
2985 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2987         * Makefile (others): Build programs from install-bin.
2988         * configure.in: Modify config.make only if is was just created and
2989         move that command to second argument of AC_OUTPUT.  Add command to
2990         set config_vars in config.status.
2992 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2994         * malloc/Makefile (address-width): Fix conditional.
2996 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2998         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2999         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
3000         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
3001         version GLIBC_2.1.
3003 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3005         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3006         (Floating Point Parameters): Likewise.
3008 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3010         * hurd/Makefile (routines): Add cthreads.
3012 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3014         * login/login.c (login): Let pututline take care of finding the
3015         positin to insert the UTMP entry.  This corrects a bug where ssh
3016         was not reusing UTMP entries marked as DEAD_PROCESS.
3017         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3019 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3021         * login/Makefile (tests): New variable, add tst-utmp and
3022         tst-utmpx.
3023         * login/tst-utmp.c: New file.
3024         * login/tst-utmpx.c: New file.
3026 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3028         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3029         aliases for _hurd_nerr, for programs that don't use sys_errlist,
3030         but need sys_err.
3032 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3034         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3035         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3037 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3039         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3040         make __read a weak alias.  Use ANSI-style function definition.
3041         * sysdeps/mach/hurd/write.c: Likewise.
3043 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3045         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3046         _sys_errlist.
3048 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
3050         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3051         Renamed from librtld.so.
3053 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3055         * libc.map: Remove _IO_getline_info which was erroneously
3056         introduced in section GLIBC_2.0.
3057         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3059 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3061         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3062         created a weak alias.
3063         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3065 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
3067         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3068         ftruncate function, and create a weak alias to ftruncate.
3070 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3072         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3073         * inet/getnetgrent_r.c: Likewise.
3074         * nss/getXXbyYY_r.c: Likewise.
3075         * nss/getXXent_r.c: Likewise.
3076         * pwd/fgetpwent_r.c: Likewise.
3077         * shadow/sgetspent_r.c: Likewise.
3078         * shadow/fgetspent_r.c: Likewise.
3079         * sunrpc/publickey.c: Likewise.
3081 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3083         * hurd/libhurduser.map: New file.
3084         * mach/libmachuser.map: Likewise.
3086         * libc.map: Add Hurd-specific functions to version 2.1.
3087         Add __flshfp and __fillbf.
3089 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3091         * manual/signal.texi (Basic Signal Handling): Fix typo.
3092         * manual/errno.texi (Error Codes): Likewise.
3094 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
3096         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3097         instead of <sys/socket.h>.
3098         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3101         Finally make it working.
3102         Patch by Mark Hatle <fray@kernel.crashing.org>.
3104 1998-03-22  Paul Eggert  <eggert@twinsun.com>
3106         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3107         a Solaris 2.6 bug.
3109 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
3111         * stdlib/gmp-impl.h: Support strange mixed-endian double format
3112         used by ARM systems.
3113         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3114         FE_EXCEPT_SHIFT.
3115         * sysdeps/arm/bits/fenv.h: Deleted.
3116         * sysdeps/arm/fpu/ieee754.h: New file.
3117         * sysdeps/arm/gmp-mparam.h: New file.
3118         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3119         implementation.
3121 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
3123         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3125         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3126         of ((unused)).  Reported by Bruno Haible.
3128 1998-05-31  Philip Blundell  <philb@gnu.org>
3130         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3131         referring to errno and _errno.
3133         * sysdeps/arm/fpu/feholdexcpt.c: New file.
3135         * sysdeps/i386/fpu_control.h: Fix typo.
3137         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3138         (_JMPBUF_UNWINDS): Added.
3139         * sysdeps/arm/fpu/bits/setjmp.h: New file.
3141 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
3143         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3144         order to build header files, not `generated'.
3146         * Rules (before-compile): New target which depends on all
3147         $(before-compile) files.
3149 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3151         * nis/nis_call.c: Make directory search faster.
3153         * nis/nis_callback.c: Insert public key of user in callback data.
3155         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3157         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3159         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3161         * nis/nis_intern.h: Remove duplicated prototype.
3163 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3165         * sunrpc/auth_des.c: Move prototypes from here ...
3166         * sunrpc/rpc/auth.h: ... to here.
3168         * sunrpc/clnt_tcp.c: Add more control flags.
3169         * sunrpc/clnt_udp.c: Likewise.
3171         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3172         domainname.
3174         * sunrpc/rpc/clnt.h: Document, which control flags are not
3175         implementable.
3177         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3179 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3181         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3182         files crash the program.
3184         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3185         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3186         Reported by Deborah Wallach <kerr@pa.dec.com>.
3188 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3190         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3191         on whether this is a stable release or not (keeps snapshot bug
3192         reports out of the database).
3194         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3195         * sysdeps/arm/sysdep.h: Likewise.
3196         * sysdeps/i386/sysdep.h: Likewise.
3197         * sysdeps/m68k/sysdep.h: Likewise.
3198         * sysdeps/mach/mips/sysdep.h: Likewise.
3199         * sysdeps/mach/sys/reboot.h: Likewise.
3200         * sysdeps/mach/sysdep.h: Likewise.
3201         * sysdeps/unix/alpha/sysdep.h: Likewise.
3202         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3203         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3204         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3205         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3206         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3207         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3208         * sysdeps/unix/i386/sysdep.h: Likewise.
3209         * sysdeps/unix/mips/sysdep.h: Likewise.
3210         * sysdeps/unix/sparc/sysdep.h: Likewise.
3211         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3212         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3213         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3214         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3215         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3218         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3220 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3222         * mach/Machrules: Use $(move-if-change).
3224 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3226         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3227         * Makerules (lib%.so): Depend on $(+interp).
3228         (libc.so): Add interp.os to list of dependencies.
3229         (interp-obj): Remove variable.
3230         * mach/Machrules (+interp): Define to empty since libhurduser and
3231         libmachuser don't need to have the interpreter set.
3233 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3235         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3237         * resolv/gethnamaddr.c: Likewise.
3239         * resolv/res_comp.c: Likewise.
3241 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3243         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3244         so that transparent union works.
3246 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3248         * manual/texinfo.tex: Update to last available version.
3250         * timezone/africa: Update from tzdata1998e.
3251         * timezone/antarctica: Likewise.
3252         * timezone/asia: Likewise.
3253         * timezone/australasia: Likewise.
3254         * timezone/europe: Likewise.
3255         * timezone/iso3166.tab: Likewise.
3256         * timezone/northamerica: Likewise.
3257         * timezone/tzselect.ksh: Likewise.
3258         * timezone/zone.tab: Likewise.
3260 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3262         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3263         Reported by Matt McLean <keys@brio.yikes.com>.
3265 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3267         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3268         do-gencat-test.  Use automatic variables.
3269         ($(objpfx)de.msg): Fix reference to po file.
3271 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3273         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3274         $(move-if-change).
3276 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3278         * intl/dcgettext.c: Fix typo.
3280 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3282         * configure.in: Allow more make versions e.g 3.76.90.
3284 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3286         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3288         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3289         for Hurd.  Patch by Mark Kettenis.
3291 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3293          * mach/Machrules (+preinit, +postinit): Define these variables to
3294          empty because libhurduser and libmachuser don't need startup
3295          files.
3297 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3299          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3300          instead of a raw bitmask.
3302 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3304         * Makeconfig (rpath-dirs): New variable.
3305         (rpath-link): Use it.
3306         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3307         (db-objpfx): Removed.
3308         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3309         * md5-crypt/Makefile: Likewise.
3310         * sysdeps/mach/hurd/Makefile: Likewise.
3312         * Makeconfig (move-if-change): New variable.
3313         * iconvdata/Makefile (move-if-change): Removed.
3314         * manual/Makefile (move-if-change): Set only if undefined, use
3315         local script by default.
3316         * sunrpc/Makefile (move-if-change): Removed.
3317         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3318         $(move-if-change).
3320          * elf/Makefile: Remove all references to obsolete file
3321          $(objpfx)rtldtbl.h.
3322          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3324 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3326         * elf/dl-close.c (_dl_close): Add debugging message.
3328 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3330         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3331         to get Linux version and not gcc version.
3332         Reported by Alan Curry <pacman@cqc.com>.
3334 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3336         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3337         pointers - return unknown error message instead.
3338         Reported by Alan Curry <pacman@cqc.com>.
3340 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3342         * iconvdata/Makefile (modules, sed-generated-headers,
3343         perl-generated-headers): ibm424.h is perl generated.  Make
3344         necessary modifications to compile without perl.
3346 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3348         * hesiod/hesiod.c (read_config_file): Fix typo.
3350 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3352         * version.h: Bump VERSION.
3354         * csu/Makefile (distribute): Add munch-tmpl.c.
3356 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3358         * nis/nis_defaults.c: Fix buffer problems and typos.
3360 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3362         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3363         Patch by Fred Fish.
3365 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3367         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3368         overwriting bugs.
3370         * libio/strops.c (_IO_str_underflow): Read newly available
3371         character from buffer as unsigned.
3373 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3375         * catgets/Makefile (distribute): Add xopen-msg.h.
3376         (generated): Add de.msg and de.cat.
3377         (tests): Add do-gencat-test.
3378         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3379         * catgets/xopen-msg.h: New file.
3381 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3383         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3384         functions.  Optimize filename creation a bit.
3386 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3388         * stdlib/random_r.c: Help gcc to optimize the code.
3389         Patch by Joe Keane <jgk@jgk.org>.
3391 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3393         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3394         tsearch calls.
3396 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3398         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3399         it.
3401 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3403         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3404         * wcsmbs/wcsrtombs.c: Likewise.
3406         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3407         * wcsmbs/wcsmbs-tst1.c: New file.
3409         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3411         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3412         as 1.
3414         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3415         weak.
3417 1998-05-21  Philip Blundell  <philb@gnu.org>
3419         * sysdeps/arm/fpu_control.h: Replace stub file with real
3420         implementation.
3421         * sysdeps/arm/fpu/bits/fenv.h: New file.
3422         * sysdeps/arm/fpu/fesetround.c: Likewise.
3423         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3424         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3425         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3426         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3427         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3428         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3430 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3432         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3433         read instead of mmap.
3435 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3437         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3438         directly instead of include_next.  Add missing semicolons.
3439         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3440         Add missing semicolons.
3442 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3444         * iconvdata/gconv-modules: Add more aliases to please java
3445         environments.
3447 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3449         * stdio-common/vfprintf.c (process_arg): Fix typo.
3451         * iconvdata/TESTS: New tests for EUC-KR.
3453         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3454         * iconvdata/testdata/EUC-KR: New file.
3456 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3458         * math/libm-test.c (hypot_test): Fix a typo.
3460 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3462         * stdio-common/vfprintf.c: When precision is specified for %ls or
3463         %S handle it correctly.
3465 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3467         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3468         the" in one line - fixed it.
3469         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3470         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3471         * posix/unistd.h: Likewise
3473 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3475         * Makeconfig (rpath-link): Add resolvobjdir.
3476         (resolvobjdir): New variable.
3477         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3479 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3481         * elf/dl-close.c: Call shared object terminators at the right time.
3482         Patch by Philippe Troin <phil@fifi.org>.
3484 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3486         * Make-dist (+tsrcs): Also add *.map for every member of
3487         $(extra-libs).
3489         * Makefile (distribute): Don't distribute scripts/printsources and
3490         scripts/=__ify.  Distribute FAQ.in.
3491         (rpm/%): Don't pass subdirs to sub-make.
3493         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3494         instead of $(no_deps).
3496 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3498         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3499         (KNOWN_VALUE, STORE_VALUE): Do it right.
3500         (setenv): Remove unused variable.
3502 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3504         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3505         (CFLAGS-zdump.c): Add $(tz-cflags).
3507         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3508         return type.
3510 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3512         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3513         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3514         if use_localtime.
3515         * time/tzset.c: Update prototype of __tzfile_compute.
3516         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3517         tm_zone and tm_offset here if __use_tzfile.
3519 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3521         * Makerules: Install libc.a even if there are no object file.
3523 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3525         * Makerules (do-makelib): Don't force creating library from
3526         scratch, which is faster and gets correct behaviour if $(subdirs)
3527         is incomplete.
3529 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3531         * Makerules (do-stamp): Make it work when building in source
3532         directory.
3534 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3536         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3537         inhibit-rpath.
3538         * elf/dl-support.c: Likewise.
3539         * elf/ldsodefs.h: Likewise.
3540         * elf/rtld.c: Likewise.
3541         * iconvdata/run-iconv-test.sh: Likewise.
3543 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3545         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3546         variable using the value.
3547         * elf/ldsodefs.h: Declare _dl_ignore_path.
3548         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3549         object against list in _dl_ignore_path and ignore RPATH if on the list.
3550         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3551         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3552         to make sure we get the correct helper libraries loaded.
3554         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3555         "RPATH" string in call to fillin_rpath instead.
3556         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3558 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3560         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3561         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3563 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3565         * manual/terminal.texi (I/O Queues): Fix typo.
3567         * manual/stdio.texi (Closing Streams): Fix grammar.
3569         * manual/arith.texi (Absolute Value): Correct typo.
3570         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3572 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3574         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3575         LD_PROFILE_OUTPUT in SUID binaries.
3576         * intl/dcgettext.c: In SUID binaries don't let language part of
3577         locale value contain path elements.
3578         * intl/explodename.h: Define new function _nl_find_language.
3579         * intl/loadinfo.h: Declare _nl_find_language.
3580         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3581         language part it drop the value is path element is contained.
3583         * locale/setlocale.c: Fix typo.
3585 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3587         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3589         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3591         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3592         log, not a byte-count.
3594         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3595         a.out compatibility.
3597 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3599         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3600         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3601         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3602         * posix/unistd.h: Likewise.
3603         * math/math.h: Likewise.
3604         * manual/users.texi (Manipulating the Database): Likewise.
3605         * manual/signal.texi (Job Control Signals): Likewise.
3606         * manual/message.texi (The gencat program): Likewise.
3607         * manual/filesys.texi (Hard Links): Likewise.
3608         * manual/math.texi (SVID Random): Likewise.
3609         * manual/llio.texi (Waiting for I/O): Likewise.
3610         * manual/io.texi (File Name Errors): Likewise.
3611         * manual/conf.texi (String Parameters): Likewise.
3612         * manual/arith.texi (Infinity): Likewise.
3613         * malloc/malloc.c: Likewise.
3614         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3615         * csu/Makefile: Likewise.
3617 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3619         * manual/memory.texi: Add back accidently removed line.
3621 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3623         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3624         (timeout_handler): New function.
3625         (LOCK_FILE, UNLOCK_FILE): New macros.
3626         Implement file locking with timeout.
3627         (getutent_r_file, internal_getut_r, getutline_r_file,
3628         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3629         locking.
3631 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3633         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3634         directory.
3636 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3638         * rpm/Makefile: Delete inclusion of version.mk.
3640 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3642         * libc.map: Add all libio functions needed libstdc++ with version
3643         2.0, sort entries.
3645 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3647         * iconvdata/Makefile (generated): Add *.stmp files.
3649 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3651         * timezone/Makefile (testdata, build-testdata): New variables, use
3652         them in rules for test data.
3653         ($(objpfx)tst-timezone.out): Depend on test data.
3654         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3655         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3656         New rules to build test data.
3657         (tst-timezone-ENV): Pass TZDIR to point to test data.
3659 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3661         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3662         (the designation sequence is disturbing).
3664 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3666         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3667         * sunrpc/xdr_rec.c: Likewise.
3669 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3671         * posix/Makefile (tests): Add runptests.
3672         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3673         (before-compile): Add ptestcases.h.
3674         (ptestscases.h): Add rule to generate from PTESTS.
3675         * posix/runptests.c: New file.
3676         * posix/PTESTS: New file.
3677         * posix/PTESTS2C.sed: New file.
3679 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3681         * iconv/loop.c: Let user add code to use and set paramaters.
3683         * iconvdata/iso-2022-kr.c: Correct to-loop.
3685         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3686         point to output buffer.
3688         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3689         hanja.
3691         * iconvdata/TESTS: Add ISO-2022-KR test.
3692         * iconvdata/testdata/ISO-2022-KR: New file.
3694 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3696         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3697         and internal_use.
3698         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3699         and internal_use.
3700         * wcsmbs/btowc.c: Likewise.
3701         * wcsmbs/mbrtowcs.c: Likewise.
3702         * wcsmbs/mbsnrtowcs.c: Likewise.
3703         * wcsmbs/mbsrtowcs.c: Likewise.
3704         * wcsmbs/wcrtomb.c: Likewise.
3705         * wcsmbs/wcsnrtombs.c: Likewise.
3706         * wcsmbs/wcsrtombs.c: Likewise.
3707         * wcsmbs/wctob.c: Likewise.
3708         * iconv/skeleton.c: Increment invocation_counter.
3709         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3710         sequence first.
3712         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3713         * iconvdata/iso-2022-jp.c: Likewise.
3714         * iconvdata/iso646.c: Likewise.
3716         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3718 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3720         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3722         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3723         overwriting existing values if it fits.
3725 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3727         * posix/wordexp-test.c: Avoid duplicate messages.
3729         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3730         tsearch.  Correctly interpret values returned by those functions.
3731         (unsetenv): Store pointer to string, not pointer to string pointer.
3733         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3734         DST information and offset in them.
3735         * time/tzset.c (__tz_convert): Pass extra parameters to
3736         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3738 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3740         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3741         stamp files to avoid unnecessary recompilation.
3742         (gen-8bit-gap-table): Likewise.
3743         (move-if-change): New variable.
3744         (all generated .h rules): Change to be .stmp rules.
3745         (%.h): New rule; depend on %.stmp; no commands.
3746         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3747         gen-8bit-gap-1.sh.
3749 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3751         * Makerules (libc-map): Deleted.
3752         (load-map-file): Set to the appropriate compiler switch, not
3753         just the file name.  If libfoo-map is not set, look for a
3754         libfoo.map in the current directory and $(..).
3755         (map-file): New variable, contains just the mapfile name.
3756         (build-shlib): Adjust for new value of load-map-file.
3757         (libc.so): Correct dependencies.
3759         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3760         may not be set anymore.
3762         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3763         Delete libdl-map.  Tweak ld.so link rule to work with changed
3764         variable settings in Makerules.
3765         * iconvdata/Makefile: Tweak build-module to work with changed
3766         variable settings in Makerules.
3768         * db/Makefile: Delete libdb-map.
3769         * hesiod/Makefile: Delete libnss_hesiod-map.
3770         * linuxthreads/Makefile: Delete libpthread-map.
3771         * locale/Makefile: Delete libBrokenLocale-map.
3772         * login/Makefile: Delete libutil-map.
3773         * math/Makefile: Delete libm-map.
3774         * md5-crypt/Makefile: Delete libcrypt-map.
3775         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3776         libnss_nisplus-map, and libnss_compat-map.
3777         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3778         libnss_ldap-map.
3779         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3780         * rt/Makefile: Delete librt-map.
3782 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3784         * configure.in: Instead of substituting `yes' or `no' for whether
3785         --no-whole-archive is available, set @no_whole_archive@ to the
3786         appropriate gcc switch or the empty string.  Likewise for
3787         -fno-exceptions.
3788         * config.make.in: Replace have-no-whole-archive with
3789         no-whole-archive and have-no-exceptions with no-exceptions.
3790         * Makerules: Delete stanzas setting no-whole-archive and
3791         no-exceptions.
3793         * sunrpc/Makefile: Use move-if-change to update generated .h
3794         and .c files.
3796 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3798         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3799         of strchr loop.
3801 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3803         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3804         (__tzfile_compute): Likewise.
3806 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3808         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3809         defines from Linux 2.1.102.
3811 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3813         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3815 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3817         * inet/netinet/in.h: Add defines for multicast.
3818         Reported by Jeremy Hall <jhall@UU.NET>.
3820         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3821         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3822         and unsetenv.  Optimize _LIBC case.
3823         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3824         Define functions with leading __.
3826         * time/tzfile.c: Correct handling of global variables daylight,
3827         timezone, and tzname.
3828         * time/tzset.c: Likewise.
3829         * timezone/Makefile (tests): Add tst-timezone.
3830         * timezone/tst-timezone.c: New file.
3832 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3834         * timezone/asia: Update from tzdata1998d.
3835         * timezone/australasia: Likewise.
3836         * timezone/europe: Likewise.
3838 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3840         * string/string.h: Don't use the optimized versions for the string
3841         functions if optimizing for space.
3843         * stdlib/tst-strtod.c: Add test for -0.0.
3845         * io/ftwtest-sh: Prevent tests from being run by root.
3847         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3848         last addition.  Patch by wkpark@chem.skku.ac.kr.
3850 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3852         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3853         table.
3855 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3857         * iconvdata/gen-8bit.sh: New file.
3858         * iconvdata/gen-8bit-gap.sh: New file.
3859         * iconvdata/gen-8bit-gap-1.sh: New file.
3860         * iconvdata/Makefile (generate-8bit-table): Use shell script
3861         instead of writing the commands directly.
3862         (generate-8bit-gap-table): Likewise.
3863         ($(objpfx)iso8859-7jp.h): Likewise.
3864         (generated headers): Depend on shell script instead of Makefile.
3865         (before-compile): Add $(perl-generated-headers) only if perl is
3866         available.
3867         (headers): Depend on $(perl-generated-headers) only if perl is
3868         available.
3869         (sed-generated-headers): Remove iso8859-7jp.h.
3871 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3873         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3874         (/): Removed.
3876 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3878         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3879         formed charset names to getfct.  Let user override charset
3880         selection by mention charset in locale name.
3882 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3884         * posix/glob.c: Move to ...
3885         * sysdeps/generic/glob.c: ...here.
3886         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3887         elements.
3888         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3889         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3890         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3891         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3892         subdir.
3893         * libc.map [GLIBC_2.1]: Add glob and globfree.
3895 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3897         * sunrpc/Makefile (generated): Restore old list.
3899 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3901         * rt/Makefile (tests): Define only if we have a thread library.
3903         * nis/ypclnt.c: Add: #include <errno.h>.
3905 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3907         * configure.in: Define and substitute RELEASE as well as
3908         VERSION.
3909         * config.make.in: Add RELEASE and VERSION to be substituted.
3910         * Makeconfig: Delete all references to version.mk.
3911         * Make-dist: Likewise.
3912         * MakeTAGS: Likewise.
3913         * elf/Makefile: Likewise.
3915 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3917         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3918         yp_get_default_domain.
3920 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3922         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3923         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3925 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3927         * malloc/malloc.c: Fix for NO_THREADS case.
3929 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3931         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3932         Remove statfs and fstatfs.
3933         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3934         and pwrite as EXTRA.
3935         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3937 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3939         * libc.map: Add capget and capset.
3941 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3943         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3944         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3945         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3946         and Matt McLean <keys@brio.yikes.com>.
3948 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3950         * misc/Makefile (tests): Add tst-mntent.
3951         * misc/tst-mntent.c: New file.
3953 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3955         * autolock.sh: Removed.
3956         * manual/move-if-change: Removed.
3958         * scripts: New directory.
3959         * =__ify: Moved to scripts.
3960         * config.guess: Likewise.
3961         * config.sub: Likewise.
3962         * gen-FAQ.pl: Likewise.
3963         * install-sh: Likewise.
3964         * mkinstalldirs: Likewise.
3965         * move-if-change: Likewise.
3966         * printsources: Likewise.
3967         * rellns.sh: Likewise.
3968         * test-installation.pl: Likewise.
3970         * configure.in: Look in scripts for config.guess, config.sub,
3971         install-sh.
3972         * Makefile: Distribute all above files in their
3973         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3974         * manual/Makefile: Find mkinstalldirs and move-if-change in
3975         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3976         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3977         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3978         * timezone/Makefile: Find rellns-sh in scripts.
3980 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3982         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3983         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3985 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3987         * Makefile (+subdir-inits): Delete variable.
3988         (+init_subdirs): Likewise.
3989         (aux): Likewise.
3990         (before-compile): Likewise.
3991         (libc-init): Delete stanza.
3992         (version-info.h): Delete rule and associated variable.
3993         (distribute): Don't distribute moved files.
3994         * Makerules (interp-obj): It lives in elf now.  Only use it
3995         if $(elf) is set.  Delete rule to build it.
3996         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3997         version.o and version-info.h.  Minor cleanups.
3998         (routines): Add libc-init, sysdep, version.
3999         (generated): Add version-info.h.
4000         * elf/Makefile: Build interp.os.
4002         * interp.c: Moved to elf.
4003         * set-init.c: Moved to csu.
4004         * munch-init.c: Likewise.
4005         * munch.awk: Likewise.
4006         * version.c: Likewise.
4008         * Rules: Unconfuse syntax highlighting with a fake comment.
4010 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4012         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4013         syscalls.
4015 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4017         * iconvdata/Makefile (generated): Set to *-generated-headers
4018         plus gconv-modules.
4019         (tests): Set to iconv-test.
4020         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4021         * posix/Makefile (generated): Set to wordexp-test-result*.
4022         * sunrpc/Makefile (generated): Remove rpcsvc/*.
4023         (generated-dirs): Add rpcsvc.
4024         * libio/Makefile: Clean up.
4026 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
4028         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4029         * Makerules: Likewise.
4030         (+depfiles): Also add sysdep-others.
4031         * Rules: Likewise.
4032         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4033         * iconvdata/Makefile (distribute): Add TESTS.
4034         * localedata/Makefile (repertoires): Rename to repertoiremaps.
4035         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4036         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4037         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4038         sysdep-others, not others.
4039         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4040         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4042 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
4044         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4045         cost_hi and cost_lo.
4046         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4047         Cost parameter and set cost_lo to INT_MAX.
4048         (add_module): Take new parameter and use it to initialize cost_lo.
4049         (read_conf_file): Count modules being loaded and use counter for
4050         new parameter to add_module.
4051         * iconv/gconv_db.c (find_derivation): When look for cost examine
4052         cost_hi and cost_lo.
4054 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
4056         * string/bits/string2.h: Don't use unsigned char * unless really
4057         necessary since this disturbs C++.
4058         * sysdeps/i386/i486/bits/string.h: Likewise.
4059         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4061 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4063         * malloc/malloc.c (top_check): Fix last change.
4065 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4067         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4068         Patch by Matt McLean <keys@brio.yikes.com>.
4070 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4072         * Makerules (lib): Put back dependency on lib-noranlib.
4073         ($(subdirs-stamps)): Remove dependency on stamp.* again.
4075 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4077         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4078         test in __pow2 implementation.
4080 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4082         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4083         Still need *FLAGS-.o because we still sometimes build .o files.
4084         * db2/Makefile: Don't build libndbm.a if !build-static.
4086 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4088         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
4090 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4092         * configure.in: New test for broken gcc on PowerPC.
4093         * sysdeps/powerpc/atomicity.h: Use result of test.
4094         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
4096         * math/libm-test.c: Update many of the epsilon to match actual
4097         performance.
4099         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4100         * sysdeps/libm-ieee754/e_expf.c: Likewise.
4101         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4102         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
4104         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
4106         * sysdeps/powerpc/elf/libc-start.c: New file.
4107         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4108         * sysdeps/powerpc/elf/start.c: Delete.
4110         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4111         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
4113         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4114         few patches.
4116 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
4118         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4119         test for integer.
4121         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4122         * sysdeps/libm-i387/e_powl.S: Likewise.
4124 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4126         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4127         (malloc_check, free_check, realloc_check, memalign_check): Use
4128         them to improve overrun checking.  Overruns of a single byte and
4129         corruption of the top chunk are now detected much more reliably.
4131 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4133         * math/libm-test.c (pow_test): Add test for special value from PR
4134         libc/590.
4136 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
4138         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4139         including linux/errno.h.
4141 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
4143         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4144         Use correct types.
4145         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4146         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
4148 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4150         * Makerules (elide-routines.*): Fix assignments.
4151         (do-makelib): Fix typo.
4152         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4153         makefile.
4155 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4157         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4158         $(objpfx)sysd-dirs): Move them...
4159         * Makeconfig: ... here.
4160         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4161         (stubs): Fix circular depedency.
4162         (do-makelib): Clean up.
4163         (lib): Don't depend on lib-noranlib.
4164         ($(objpfx)stamp.oS): Remove special case for empty
4165         static-only-routines.
4166         (elide-routines.o): Add $(static-only-routines).
4167         (elide-routines$o): Define this instead of elide-routines.$o.
4168         * manual/Makefile (stubs): Fix circular dependency.
4170 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4172         * libio/Makefile (routines): Remove duplicate oldiofclose.
4174 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4176         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4178 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4180         * libio/stdio.h: Fix typo in __REDIRECT.
4181         * io/sys/stat.h: Likewise.
4182         Reported by Myles Uyema <myles@uyema.nws.net>.
4184 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4186         * locale/programs/localedef.c (options): Fix help message.
4188 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4190         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4191         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4193 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4195         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4196         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4197         (ptmalloc_init): Use new function in thread_at_fork call.
4198         (thread_atfork_static): Likewise.
4199         Suggested by Wolfram Gloger and Xavier Leroy.
4201 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4203         * signal/signal.h: Move definitions of struct sigstack and
4204         struct sigaltstack into separate file and include it.
4205         * sysdeps/generic/bits/sigstack.h: New file.
4206         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4207         * signal/Makefile (headers): Add bits/sigstack.h.
4209 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4211         * elf/rtld.c (dl_main): Fix check for number of references to
4212         interpreter object.
4214 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4216         * elf/rtld.c (dl_main): Check has_interp after executing platform
4217         specific code.
4219 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4221         * iconvdata/run-iconv-test.sh: Fix typo.
4223 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4225         * Makerules (+depfiles): Add depfiles for $(tests-static).
4226         Simplified.
4228 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4230         * manual/terminal.texi (Special Characters): Fix description of
4231         c_cc indexes.
4233 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4235         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4236         array.
4237         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4238         of c_cc array.
4240 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4242         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4244 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4246         * intl/locale.alias: Update russian entry.
4248 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4250         * Makerules (static-only-routines): Reimplement in terms of
4251         elide-routines.os.
4252         (shared-only-routines): Reimplement in terms of
4253         elide-routines.X [where X is all object-suffixes except .os].
4255         (stubs): Create stubs file inside the subdir.
4256         (common-mostlyclean): Remove stubs file from inside the subdir.
4257         * Makefile (subdir-stubs): Look for stubs files inside the
4258         subdirs.
4259         * manual/Makefile (stubs): Create dummy stubs file inside the
4260         subdir.
4262 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4264         Build speed improvement: make ar less of a bottleneck.
4266         * Makerules (stamp$o): Just record the object list for later
4267         use.
4268         (libc_foo.a): New rule, depends on subdir stamp files; builds
4269         and ranlibs the library from the lists saved in those files.
4271         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4272         (subdirs-stamp-o): Likewise.
4274         (ar-symtab-name): Delete variable.
4275         (lib%.a): Delete target.
4276         (libc_foo.a(bar.%)): Delete target.
4277         (libc_foo.a($(ar-symtab-name))): Delete target.
4279         (objects objs): Just depend on libobjs and extra-objs.
4280         (libobjs): Depend on the stamp files, not the objects.
4281         (extra-objs): New target, just depends on the extra-objs list.
4283         (CREATE_ARFLAGS): Kill the `ar S' hack.
4285         * config.make.in (have-ar-S): Deleted.
4286         * configure.in: Delete test for `ar S'.  Add test to determine
4287         whether ranlib does anything useful.
4289 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4291         * inet/tst-ether_aton.c: Include <stdio.h>.
4293 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4295         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4297         * locale/Makefile (distribute): Add programs/repertoire.h.
4298         (localedef-modules): Add repertoire.
4299         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4300         * locale/programs/repertoire.c: New file.
4301         * locale/programs/repertoire.h: New file.
4302         * locale/programs/charmap.c: Starting fixing character set handling
4303         to handle multi-byte encodings.
4304         * locale/programs/charset.c: Likewise.
4305         * locale/programs/charset.h: Likewise.
4306         * locale/programs/ld-collate.c: Likewise.
4307         * locale/programs/ld-ctype.c: Likewise.
4308         * locale/programs/linereader.c: Likewise.
4309         * locale/programs/localedef.c: Likewise.
4310         * locale/programs/locfile-kw.gperf: Likewise.
4311         * locale/programs/locfile-kw.h: Likewise.
4312         * locale/programs/locfile-token.h: Likewise.
4313         * locale/programs/locfile.h: Likewise.
4314         * locale/programs/stringtrans.c: Likewise.
4316         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4317         path, extended with "/locales/".
4319 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4321         * sysdeps/arm/memset.S: Fix off by one error.
4323         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4324         __syscall_error rather than syscall_error directly.
4326 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4328         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4329         mmap() syscall for ARM.
4331         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4332         binaries.
4334 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4336         * locale/programs/localedef.c: Recognize repertoire-map option.
4338 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4340         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4341         converting non-hex numbers.
4342         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4344 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4346         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4347         check overflow.
4348         * resolv/Makefile (tests): New, add tst-aton.
4349         * resolv/tst-aton.c: New file.
4351 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4353         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4354         semicolon.
4356 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4358         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4359         by letting the later modify the variable computing the total directly.
4360         * wcsmbs/mbsrtowcs.c: Likewise.
4361         * wcsmbs/wcsnrtombs.c: Likewise.
4362         * wcsmbs/wcsrtombs.c: Likewise.
4364         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4365         it is not used.
4366         * wcsmbs/wctoc.c: Likewise.
4368         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4369         * wcsmbs/wcsrtombs.c: Likewise.
4371         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4373 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4375         * iconv/skeleton.c: Correct counting of actually converted
4376         characters.
4378         * intl/localealias.c (read_alias_file): Use unsigned char for
4379         local variables.  Remove unused variable tp.
4380         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4381         for type of codeset.  For loosing Solaris systems.
4382         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4383         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4384         len if not needed.
4385         Patches by Jim Meyering.
4387         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4388         wcsrtombs must put it into initial state.
4390 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4392         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4393         argument of bswap_XX macro.
4395 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4397         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4398         variable name.
4400 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4402         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4403         semun and use stdarg macros to get the value.
4404         * sysdeps/generic/semctl.c: Don't use union semun.
4406         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4408         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4410         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4411         strings.h.
4413         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4414         defines grouping.
4416         * intl/hash-string.h: Don't include values.h.
4418         * inet/Makefile (tests): Add tst-ether_aton.
4419         * inet/tst-ether_aton.c: New file.
4421         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4422         in hex conversion.
4423         * inet/ether_aton.c (ether_aton): Declare result variable static.
4424         Reported by ahyung@unixg.ubc.ca.
4426         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4427         Define macro _SEM_SEMUN_UNDEFINED instead.
4428         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4430         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4431         * stdio-common/Makefile (tests): Add tst-wc-printf.
4433 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4435         * manual/stdio.texi (Variable Arguments Output): Correct variable
4436         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4438 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4440         * intl/dcgettext.c: Remove unneeded definition of
4441         internal_function.
4443 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4445         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4446         instead of do-iconv-test.
4447         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4448         empty.
4450 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4452         * string/string.h: Fix feature test.
4454 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4456         * iconvdata/iso646.c (BODY): Don't use character constants that
4457         depend on signedness of char.
4459 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4461         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4462         (sysdep_routines): Add s_pread64 and s_pwrite64.
4464 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4466         * iconvdata/Makefile (distribute): Remove generated .h files.
4467         * iconvdata/koi8-r.h: Removed.
4468         * iconvdata/latin-greek-1.h: Removed.
4469         * iconvdata/latin-greek.h: Removed.
4471         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4472         * iconvdata/KOI-8: Likewise.
4473         * iconvdata/KOI-8..UTF8: Likewise.
4474         * iconvdata/KOI8-R: Likewise.
4475         * iconvdata/KOI8-R..UTF8: Likewise.
4477 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4479         * streams/Makefile (headers): Add sys/stropts.h.
4480         * streams/sys/stropts.h: New file.
4482 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4484         * sysdeps/unix/sysv/linux/ttyname.c,
4485         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4486         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4488 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4490         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4491         argument of _itoa_word.
4493 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4495         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4496         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4497         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4498         sigprocmask, resp., instead of EXTRA.
4500         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4501         s_pread64 and s_pwrite64.
4503 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4505         * iconvdata/Makefile: Correct rules to generate gap table.
4506         * iconvdata/gap.pl: Simplify.
4508         * iconvdata/TESTS: Name new tests.
4509         * iconvdata/testdata/CP1250: New file.
4510         * iconvdata/testdata/CP1250..UTF8: New file.
4511         * iconvdata/testdata/CP1251: New file.
4512         * iconvdata/testdata/CP1251..UTF8: New file.
4513         * iconvdata/testdata/CP1252: New file.
4514         * iconvdata/testdata/CP1252..UTF8: New file.
4515         * iconvdata/testdata/CP1253: New file.
4516         * iconvdata/testdata/CP1253..UTF8: New file.
4517         * iconvdata/testdata/CP1254: New file.
4518         * iconvdata/testdata/CP1254..UTF8: New file.
4519         * iconvdata/testdata/CP1255: New file.
4520         * iconvdata/testdata/CP1255..UTF8: New file.
4521         * iconvdata/testdata/CP1256: New file.
4522         * iconvdata/testdata/CP1256..UTF8: New file.
4523         * iconvdata/testdata/CP1257: New file.
4524         * iconvdata/testdata/CP1257..UTF8: New file.
4526 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4528         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4529         * iconvdata/iso-2022-kr.c: New file.
4531         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4532         and ISO-2022-KR.
4534 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4536         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4537         iso8859-8 and iso8859-10.
4538         * iconvdata/iso8859-5.c: Change to use gap method.
4539         * iconvdata/iso8859-7.c: Likewise.
4540         * iconvdata/iso8859-8.c: Likewise.
4541         * iconvdata/iso8859-10.c: Likewise.
4543         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4544         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4545         end of the loop.
4546         * iconvdata/iso-2022-jp.c: New file.
4548         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4549         * iconvdata/ksc5601.h: Unify function interfaces.
4550         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4551         * iconvdata/uhc.c: Likewise.
4553         * iconvdata/gb2312.h: Use correct types.
4555         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4556         size elements of data.
4558 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4560         * string/tst-svc.expect: Adapt for change in .input.
4561         * string/tst-svc.input: More tests.
4563 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4565         * iconvdata/Makefile: Add rules for new modules.
4566         * iconvdata/gconv-modules: Likewise.
4567         * iconvdata/cp737.c: New file.
4568         * iconvdata/cp737.h: New file.
4569         * iconvdata/cp775.c: New file.
4570         * iconvdata/cp775.h: New file.
4571         * iconvdata/cp874.c: New file.
4572         * iconvdata/cp874.h: New file.
4574 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4576         * iconvdata/Makefile: Create target directory before generating
4577         headers.
4579 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4581         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4582         __USER_LABEL_PREFIX__.
4583         (__ASMNAME, __ASMNAME2): New macros.
4585 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4587         * elf/dl-load.c: Include sys/param.h for MAX.
4589 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4591         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4592         __ftruncate the strong symbol, and add weak alias.
4593         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4595 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4597         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4598         Patch by Joe Keane <jgk@jgk.org>.
4600         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4601         free()ing.
4603 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4605         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4606         Patch by Thomas Bushnell, n/BSG.
4608 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4610         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4612 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4614         * iconvdata/Makefile: Put generated headers in build directory.
4616 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4618         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4619         strsep as current directory.
4621         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4622         Java.  Add definitions for unicodelittle implementation.
4623         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4624         * iconv/gconv_simple.c: Define unicodelittle functions.
4626         * iconv/iconv_prog.c: Make program print information about position
4627         of illegal character in input.
4629         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4630         comparison of charset name.
4631         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4632         * iconvdata/ebcdic-at-de-a.c: Likewise.
4633         * iconvdata/ebcdic-at-de.c: Likewise.
4634         * iconvdata/ebcdic-ca-fr.c: Likewise.
4635         * iconvdata/euccn.c: Likewise.
4636         * iconvdata/eucjp.c: Likewise.
4637         * iconvdata/euckr.c: Likewise.
4638         * iconvdata/euctw.c: Likewise.
4639         * iconvdata/hp-roman8.c: Likewise.
4640         * iconvdata/iso6937.c: Likewise.
4641         * iconvdata/iso8859-1.c: Likewise.
4642         * iconvdata/iso8859-10.c: Likewise.
4643         * iconvdata/iso8859-2.c: Likewise.
4644         * iconvdata/iso8859-3.c: Likewise.
4645         * iconvdata/iso8859-4.c: Likewise.
4646         * iconvdata/iso8859-5.c: Likewise.
4647         * iconvdata/iso8859-6.c: Likewise.
4648         * iconvdata/iso8859-7.c: Likewise.
4649         * iconvdata/iso8859-8.c: Likewise.
4650         * iconvdata/iso8859-9.c: Likewise.
4651         * iconvdata/johab.c: Likewise.
4652         * iconvdata/koi-8.c: Likewise.
4653         * iconvdata/koi8-r.c: Likewise.
4654         * iconvdata/latin-greek-1.c: Likewise.
4655         * iconvdata/latin-greek.c: Likewise.
4656         * iconvdata/sjis.c: Likewise.
4657         * iconvdata/t61.c: Likewise.
4658         * iconvdata/uhc.c: Likewise.
4660         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4661         * iconvdata/TESTS: Add tests for ISO646 module.
4662         * iconvdata/gconv-modules: Add new modules.
4663         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4664         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4665         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4666         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4667         * iconvdata/testdate/DIN_66003: Likewise.
4668         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4669         * iconvdata/testdate/DS_2089: Likewise.
4670         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4671         * iconvdata/testdate/ES: Likewise.
4672         * iconvdata/testdate/ES..UTF8: Likewise.
4673         * iconvdata/testdate/ES2: Likewise.
4674         * iconvdata/testdate/ES2..UTF8: Likewise.
4675         * iconvdata/testdate/GB_1988-80: Likewise.
4676         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4677         * iconvdata/testdate/IT: Likewise.
4678         * iconvdata/testdate/IT..UTF8: Likewise.
4679         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4680         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4681         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4682         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4683         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4684         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4685         * iconvdata/testdate/KSC5636: Likewise.
4686         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4687         * iconvdata/testdate/MSZ_7795.3: Likewise.
4688         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4689         * iconvdata/testdate/NC_NC00-10: Likewise.
4690         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4691         * iconvdata/testdate/NF_Z_62-010: Likewise.
4692         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4693         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4694         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4695         * iconvdata/testdate/NS_4551-1: Likewise.
4696         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4697         * iconvdata/testdate/NS_4551-2: Likewise.
4698         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4699         * iconvdata/testdate/PT: Likewise.
4700         * iconvdata/testdate/PT..UTF8: Likewise.
4701         * iconvdata/testdate/PT2: Likewise.
4702         * iconvdata/testdate/PT2..UTF8: Likewise.
4703         * iconvdata/testdate/SEN_850200_B: Likewise.
4704         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4705         * iconvdata/testdate/SEN_850200_C: Likewise.
4706         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4708         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4709         * iconvdata/cns11643l1.h: Likewise.
4710         * iconvdata/latin-greek-1.h: Likewise.
4711         * iconvdata/latin-greek.h: Likewise.
4712         * iconvdata/koi8-r.h: Likewise.
4713         * iconvdata/jis0212.h: Likewise.
4714         * iconvdata/gb2312.h: Likewise.
4715         * iconvdata/ksc5601.h: Likewise.
4717         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4719         * iconvdata/Makefile: Add rules for lots of more modules.
4720         * iconvdata/cp1250.c: New file.
4721         * iconvdata/cp1251.c: New file.
4722         * iconvdata/cp1252.c: New file.
4723         * iconvdata/cp1253.c: New file.
4724         * iconvdata/cp1254.c: New file.
4725         * iconvdata/cp1255.c: New file.
4726         * iconvdata/cp1256.c: New file.
4727         * iconvdata/cp1257.c: New file.
4728         * iconvdata/ebcdic-dk-no-a.c: New file.
4729         * iconvdata/ebcdic-dk-no.c: New file.
4730         * iconvdata/ebcdic-es-a.c: New file.
4731         * iconvdata/ebcdic-es-s.c: New file.
4732         * iconvdata/ebcdic-es.c: New file.
4733         * iconvdata/ebcdic-fi-se-a.c: New file.
4734         * iconvdata/ebcdic-fi-se.c: New file.
4735         * iconvdata/ebcdic-fr.c: New file.
4736         * iconvdata/ebcdic-is-friss.c: New file.
4737         * iconvdata/ebcdic-it.c: New file.
4738         * iconvdata/ebcdic-pt.c: New file.
4739         * iconvdata/ebcdic-uk.c: New file.
4740         * iconvdata/ebcdic-us.c: New file.
4741         * iconvdata/ibm037.c: New file.
4742         * iconvdata/ibm038.c: New file.
4743         * iconvdata/ibm1004.c: New file.
4744         * iconvdata/ibm1026.c: New file.
4745         * iconvdata/ibm1047.c: New file.
4746         * iconvdata/ibm256.c: New file.
4747         * iconvdata/ibm273.c: New file.
4748         * iconvdata/ibm274.c: New file.
4749         * iconvdata/ibm275.c: New file.
4750         * iconvdata/ibm277.c: New file.
4751         * iconvdata/ibm278.c: New file.
4752         * iconvdata/ibm280.c: New file.
4753         * iconvdata/ibm281.c: New file.
4754         * iconvdata/ibm284.c: New file.
4755         * iconvdata/ibm285.c: New file.
4756         * iconvdata/ibm290.c: New file.
4757         * iconvdata/ibm297.c: New file.
4758         * iconvdata/ibm420.c: New file.
4759         * iconvdata/ibm423.c: New file.
4760         * iconvdata/ibm424.c: New file.
4761         * iconvdata/ibm437.c: New file.
4762         * iconvdata/ibm500.c: New file.
4763         * iconvdata/ibm850.c: New file.
4764         * iconvdata/ibm851.c: New file.
4765         * iconvdata/ibm852.c: New file.
4766         * iconvdata/ibm855.c: New file.
4767         * iconvdata/ibm857.c: New file.
4768         * iconvdata/ibm860.c: New file.
4769         * iconvdata/ibm861.c: New file.
4770         * iconvdata/ibm862.c: New file.
4771         * iconvdata/ibm863.c: New file.
4772         * iconvdata/ibm864.c: New file.
4773         * iconvdata/ibm865.c: New file.
4774         * iconvdata/ibm868.c: New file.
4775         * iconvdata/ibm869.c: New file.
4776         * iconvdata/ibm870.c: New file.
4777         * iconvdata/ibm871.c: New file.
4778         * iconvdata/ibm875.c: New file.
4779         * iconvdata/ibm880.c: New file.
4780         * iconvdata/ibm891.c: New file.
4781         * iconvdata/ibm903.c: New file.
4782         * iconvdata/ibm904.c: New file.
4783         * iconvdata/ibm905.c: New file.
4784         * iconvdata/ibm918.c: New file.
4786         * locale/iso-4217.def: Update.
4787         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4789         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4790         formats.
4792 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4794         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4795         LD_LIBRARY_PATH.
4797 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4799         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4800         * Makefile: Likewise.
4801         * posix/Makefile: Likewise.
4802         * sysdeps/mach/hurd/Makefile: Likewise.
4804 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4806         * sysdeps/mach/hurd/bits/dirent.h: New file.
4807         * sysdeps/mach/hurd/readdir64.c: New file.
4808         * sysdeps/mach/hurd/readdir64_r.c: New file.
4810 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4812         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4813         dprintf): Synchronize declarations with libio/stdio.h.
4815 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4817         * elf/dlerror.c (dlerror): Don't assume that
4818         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4819         well-protected, so just use it directly.
4821 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4823         * io/ftw.h (ftw): Fix typo.
4825 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4827         * sysdeps/gnu/utmp_file.c: Fix typo.
4829 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4831         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4832         one part of a test fails move on to the next test.
4834 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4836         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4838 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4840         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4841         as pointers, not signed integers.
4843 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4845         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4847 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4849         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4850         asm symbol name of functions.
4851         * include/features.h: Kill redundant test.
4853         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4854         * io/ftw.h: Likewise.
4855         * io/sys/stat.h: Likewise.
4856         * io/sys/statfs.h: Likewise.
4857         * io/sys/statvfs.h: Likewise.
4858         * libio/stdio.h: Likewise.
4859         * resource/sys/resource.h: Likewise.
4860         * rt/aio.h: Likewise.
4862         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4863          __FAVOR_BSD.
4864         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4866         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4867         a dummy library.
4868         * misc/bsd-compat.c: Removed.
4870 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4872         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4873         function declaration.
4874         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4875         and use them in conversion function.
4876         * iconvdata/Makefile (modules): Re-add ISO6446.
4877         * iconvdata/TEST: Add tests for ASCII variants.
4878         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4879         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4880         * iconvdata/testdata/BS_4730: New file.
4881         * iconvdata/testdata/BS_4730..UTF8: New file.
4883 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4885         * iconv/gconv.h (struct gconv_step): Add element stateful.
4886         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4887         to zero for all internal conversions.
4888         * iconv/skeleton.c: Initialize stateful depending on whether or not
4889         RESET_STATE is defined to one or zero respectively.
4890         * stdlib/mblen.c: Use stateful element of currently selected
4891         converter for result if S is NULL.
4892         * stdlib/mbtowc.c: Likewise.
4893         * stdlib/wctomb.c: Likewise.
4895 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4897         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4899         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4901         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4902         character in comparison with uint32_t.
4903         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4904         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4905         Optimize BODY a bit.
4907         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4908         be defined.
4910         * iconv/skeleton.c: Also reset converted counter in case of an error.
4911         Call reset function using correct value for output buffer start.
4913         * iconvdata/Makefile: Re-enable tests.
4915         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4916         value for to-conversion.
4918         * iconvdata/TESTS: Add new third column.
4919         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4920         not ASCII based.
4921         * iconvdata/testdata/suntzus: New file.
4923         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4924         while reading.  Correctly used base.  Little optimization.
4925         (__strtoul_internal): Likewise.
4927         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4928         was wrong.  Use explicit variable.
4930 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4932         * configure.in: Check for awk.
4933         * config.make.in: Add AWK to be substituted.
4935         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4936         * manual/users.texi: Fix typo exposed by above rewrite.
4938         * Makefile: Invoke awk using AWK variable.
4939         * csu/Makefile: Likewise.
4940         * elf/Makefile: Likewise.
4941         * mach/Makefile: Likewise.
4942         * manual/Makefile: Likewise.
4943         * sysdeps/gnu/Makefile: Likewise.
4944         * sysdeps/mach/hurd/Makefile: Likewise.
4945         * sysdeps/unix/Makefile: Likewise.
4946         * timezone/Makefile: Likewise.
4948 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4950         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4951         array index translation.
4952         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4953         these are defined.
4955         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4957         * sysdeps/mach/hurd/errlist.c: New file.
4958         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4959         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4960         semantics, so rename it.
4962 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4964         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4965         conversions.
4967 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4969         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4970         * wcsmbs/wcsnrtombs.c: Likewise.
4972 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4974         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4976         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4978         * time/strftime.c (my_strftime): Initialize pad variable in
4979         declaration.
4981         * iconvdata/big5.c: Don't use character constants in comparisons
4982         with unsigned value.
4984 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4986         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4987         __libc_siglongjmp to GLIBC_2.1.
4989         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4990         __strerror_r.
4992         * iconv/Makefile: Don't run tests now.
4994         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4995         with correct output buffer.
4997         Major rewrite of the low-level gconv functionality.
4998         * iconv/gconv.c: Rewritten.
4999         * iconv/gconv.h: Likewise.
5000         * iconv/gconv_builtin.c: Likewise.
5001         * iconv/gconv_builtin.h: Likewise.
5002         * iconv/gconv_conf.c: Likewise.
5003         * iconv/gconv_int.h: Likewise.
5004         * iconv/gconv_open.c: Likewise.
5005         * iconv/gconv_simple.c: Likewise.
5006         * iconv/iconv.c: Likewise.
5007         * iconvdata/8bit-gap.c: Likewise.
5008         * iconvdata/8bit-generic.c: Likewise.
5009         * iconvdata/Makefile: Likewise.
5010         * iconvdata/big5.c: Likewise.
5011         * iconvdata/cns11643.c: Likewise.
5012         * iconvdata/cns11643.h: Likewise.
5013         * iconvdata/cns11643l1.c: Likewise.
5014         * iconvdata/cns11643l1.h: Likewise.
5015         * iconvdata/ebcdic-at-de-a.c: Likewise.
5016         * iconvdata/ebcdic-at-de.c: Likewise.
5017         * iconvdata/ebcdic-ca-fr.c: Likewise.
5018         * iconvdata/euccn.c: Likewise.
5019         * iconvdata/eucjp.c: Likewise.
5020         * iconvdata/euckr.c: Likewise.
5021         * iconvdata/euctw.c: Likewise.
5022         * iconvdata/gb2312.c: Likewise.
5023         * iconvdata/gb2312.h: Likewise.
5024         * iconvdata/hp-roman8.c: Likewise.
5025         * iconvdata/iso646.c: Likewise.
5026         * iconvdata/iso6937.c: Likewise.
5027         * iconvdata/iso8859-1.c: Likewise.
5028         * iconvdata/iso8859-10.c: Likewise.
5029         * iconvdata/iso8859-2.c: Likewise.
5030         * iconvdata/iso8859-3.c: Likewise.
5031         * iconvdata/iso8859-4.c: Likewise.
5032         * iconvdata/iso8859-5.c: Likewise.
5033         * iconvdata/iso8859-6.c: Likewise.
5034         * iconvdata/iso8859-7.c: Likewise.
5035         * iconvdata/iso8859-8.c: Likewise.
5036         * iconvdata/iso8859-9.c: Likewise.
5037         * iconvdata/jis0201.c: Likewise.
5038         * iconvdata/jis0201.h: Likewise.
5039         * iconvdata/jis0208.c: Likewise.
5040         * iconvdata/jis0208.h: Likewise.
5041         * iconvdata/jis0212.c: Likewise.
5042         * iconvdata/jis0212.h: Likewise.
5043         * iconvdata/johab.c: Likewise.
5044         * iconvdata/koi-8.c: Likewise.
5045         * iconvdata/koi8-r.c: Likewise.
5046         * iconvdata/ksc5601.c: Likewise.
5047         * iconvdata/ksc5601.h: Likewise.
5048         * iconvdata/latin-greek-1.c: Likewise.
5049         * iconvdata/latin-greek.c: Likewise.
5050         * iconvdata/run-iconv-test.sh: Likewise.
5051         * iconvdata/sjis.c: Likewise.
5052         * iconvdata/t61.c: Likewise.
5053         * iconvdata/uhc.c: Likewise.
5054         * wcsmbs/btowc.c: Likewise.
5055         * wcsmbs/mbrtowc.c: Likewise.
5056         * wcsmbs/mbsnrtowcs.c: Likewise.
5057         * wcsmbs/mbsrtowcs.c: Likewise.
5058         * wcsmbs/wcrtomb.c: Likewise.
5059         * wcsmbs/wcsmbsload.c: Likewise.
5060         * wcsmbs/wcsnrtombs.c: Likewise.
5061         * wcsmbs/wcsrtombs.c: Likewise.
5062         * wcsmbs/wctob.c: Likewise.
5063         * iconv/loop.c: New file.
5064         * iconv/skeleton.c: New file.
5066         * stdlib/mblen.c: Handle empty input string correctly.
5067         * stdlib/mbtowc.c: Likewise.
5069         * posix/getopt.c: Various cleanups.
5071         * sysdeps/arm/bits/setjmp.h: Add copyright text.
5072         * sysdeps/i386/bits/setjmp.h: Likewise.
5073         * sysdeps/m68k/bits/setjmp.h: Likewise.
5074         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5075         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5077         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5078         and make longjmp weak alias.
5080 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
5082         * iconv/Makefile (routines): Only include gconv_dl if building for
5083         an ELF system - dynamic linking is not available on a.out.
5084         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5085         due to above check.
5086         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5087         routines from gconv_dl.
5089 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
5091         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5092         we can compile without libio.
5094 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
5096         * sysdeps/mach/hurd/Subdirs: Remove login.
5098 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
5100         * db2/compat.h: Include <errno.h>, to make sure we get the
5101         definition of EFTYPE before we define it ourselves.
5103 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5105         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5106         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5107         Fix typo to allow inclusion from sys/ioctl.h again.
5109 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5111         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
5113 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5115         * libc.map: Export __strerror_r.  Remove _strerror_internal.
5117 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5119         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5120         Also undefine __strcasestr.
5122 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5124         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5125         aliases do not work with global variables due to copy relocations.
5127 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
5129         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
5131 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
5133         * signal/sighold.c: Include stddef.h for NULL definition.
5134         * signal/sigrelse.c: Likewise.
5135         * sysdeps/posix/sigignore.c: Likewise.
5136         * sysdeps/posix/sigset.c: Likewise.
5137         * sysdeps/posix/waitid.c: Likewise.
5138         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5139         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5140         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5141         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5142         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5144 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
5146         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5147         * login/getutent.c (getutxent): Remove alias.
5148         * login/getutent_r.c (setutxent, pututxline, endutxent):
5149         Remove aliases.
5150         * login/getutid.c (getutxid): Remove alias.
5151         * login/getutline.c (getutxline): Remove alias.
5152         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5153         __getutid, __getutline and __pututline.
5154         * login/utmpx.h: Moved to ...
5155         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5156         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5157         and updwtmpx.
5158         * login/updwtmp.c: Moved to ...
5159         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5160         allowing file name transformation.
5161         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5162         additional file name transformation.
5163         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5164         * login/utmp_file.c: Moved to ...
5165         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5166         Generalized by allowing file name transformation.  Do not
5167         print error message.  Library functions should not print them.
5168         Reported by Jim Meyering.
5169         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5170         with additional file name transformation.
5171         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5172         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5173         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5174         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5175         and bits/utmpx.h.
5176         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5177         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5178         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5179         Define if __USE_GNU.
5180         * sysdeps/generic/setutxent.c: New file.
5181         * sysdeps/generic/getutxent.c: New file.
5182         * sysdeps/generic/endutxent.c: New file.
5183         * sysdeps/generic/getutxid.c: New file.
5184         * sysdeps/generic/getutxline.c: New file.
5185         * sysdeps/generic/pututxline.c: New file.
5186         * sysdeps/generic/utmpxname.c: New file.
5187         * sysdeps/generic/updwtmpx.c: New file.
5188         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5189         * sysdeps/generic/bits/utmpx.h: Remove.
5191 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5193         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5194         ~root test.
5196 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5198         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5200 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5202         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5203         variable using _G_stat64.
5204         * libio/fileops.c: Remove macro definition of fstat, it is in the
5205         global header.
5206         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5208 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5210         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5211         <willy@odie.barnet.ac.uk>.
5213 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5215         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5216         required by IPv6 Basic API.
5217         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5218         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5219         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5220         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5222 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5224         Don't name internal representation since it might be different from
5225         the external form (namely on little endian machines).
5226         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5227         UCS4 into references to INTERNAL.
5228         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5229         Add endianess support to UCS functions.  Change references to
5230         UCS4 into references to INTERNAL.
5231         * iconv/gconv_int.h: Change references to UCS4 into references to
5232         INTERNAL.
5233         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5234         * iconvdata/gconv-modules: Change accordingly.
5235         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5237         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5238         overflow.
5239         * iconvdata/8bit-gap.c: Likewise.
5240         * iconvdata/8bit-generic.c: Likewise.
5241         * iconvdata/big5.c: Likewise.
5242         * iconvdata/euccn.c: Likewise.
5243         * iconvdata/eucjp.c: Likewise.
5244         * iconvdata/euckr.c: Likewise.
5245         * iconvdata/euctw.c: Likewise.
5246         * iconvdata/iso646.c: Likewise.
5247         * iconvdata/iso6937.c: Likewise.
5248         * iconvdata/iso8859-1.c: Likewise.
5249         * iconvdata/johab.c: Likewise.
5250         * iconvdata/sjis.c: Likewise.
5251         * iconvdata/t61.c: Likewise.
5252         * iconvdata/uhc.c: Likewise.
5254         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5255         * iconvdata/8bit-generic.c: Likewise.
5257         * iconvdata/TESTS: Add more tests.
5259         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5261 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5263         * iconvdata/Makefile: Better rules to run tests.
5265         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5266         * iconvdata/testdata/ISO-8859-10: Likewise.
5267         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5268         * iconvdata/testdata/ISO-8859-2: Likewise.
5269         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5270         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5271         * iconvdata/testdata/ISO-8859-3: Likewise.
5272         * iconvdata/testdata/ISO-8859-4: Likewise.
5273         * iconvdata/testdata/ISO-8859-5: Likewise.
5274         * iconvdata/testdata/ISO-8859-6: Likewise.
5275         * iconvdata/testdata/ISO-8859-7: Likewise.
5276         * iconvdata/testdata/ISO-8859-8: Likewise.
5277         * iconvdata/testdata/ISO-8859-9: Likewise.
5279 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5281         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5282         intermediate result (if available).
5284         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5285         last change.
5287         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5288         (distribute): Add run-iconv-test.sh and testdata/*.
5290         * stdlib/testmb.c (main): Simplify mbc array handling.
5292 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5294         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5295         return value on overflow.
5297 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5299         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5300         bits.
5302 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5304         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5305         of non-standard function setbuffer.
5307 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5309         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5311 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5313         * iconvdata/Makefile: Add rules to run tests.
5314         * iconvdata/TESTS: New file.
5315         * iconvdata/run-iconv-test.sh: New file.
5316         * iconvdata/testdata/ISO-8859-1: New file.
5318         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5319         not stdout.
5321 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5323         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5324         counter element of step.
5326         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5328         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5329         termination test.
5330         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5331         ACTUALLY.
5332         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5334 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5336         * Makefile: Include makeconfig before defining rule to regenerate
5337         configure files.
5339         * configure.in: Remove restriction on compiling without static
5340         libs.
5342 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5344         * test-skeleton.c: Provide hook for initializing code before the fork.
5345         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5346         removed.
5348         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5349         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5350         * libio/libioP.h: Adopt _IO_cleanup prototype.
5352         * stdlib/Makefile (tests): Add test-canon2.
5353         * stdlib/test-canon2.c: New file.
5354         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5355         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5356         symlink sequences.
5357         (__realpath): Make real function which checks RESOLVED parameter for
5358         not being NULL.
5360 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5362         * catgets/open_catalog.c (__open_catalog): Fix problems with
5363         reading non-files.  Always close file.
5364         Reported by Cristian Gafton <gafton@redhat.com>.
5366         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5368 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5370         * libc.map: Add various low-level I/O functions.
5372 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5374         * string/Makefile (routines): Remove strerror_r.
5375         * string/strerror_r.c: Removed.
5376         * string/strerror.c: Call __strerror_r for doing the real work.
5377         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5378         add weak alias strerror_r.
5379         * sysdeps/mach/_strerror.c: Likewise.
5380         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5381         * elf/dl-error.c (_dl_signal_error): Likewise.
5382         * elf/dl-profile.c (_dl_start_profile): Likewise.
5383         * gmon/gmon.c (write_gmon): Likewise.
5384         * stdio-common/perror.c: Likewise.
5385         * stdio-common/vfprintf.c: Likewise.
5387 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5389         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5390         (sysdep_headers): Add netatalk/at.h.
5392 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5394         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5395         Formatting fixes.
5397 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5399         * posix/regex.c: Rename __re_syntax_options back to
5400         re_syntax_options, aliases do not work with global variables due
5401         to copy relocations.
5402         (regex_compile): Use syntax parameter instead of
5403         re_syntax_options.
5405 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5407         * configure.in: Document that enable-force-install is default.
5409 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5411         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5412         all needed 36 bits.
5413         * sysdeps/posix/mkstemp.c: Likewise.
5415 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5417         * iconvdata/8bit-gap.c: Simplify step data handling.
5418         * iconvdata/8bit-generic.c: Likewise.
5419         * iconvdata/big5.c: Likewise.
5420         * iconvdata/euccn.c: Likewise.
5421         * iconvdata/eucjp.c: Likewise.
5422         * iconvdata/euckr.c: Likewise.
5423         * iconvdata/euctw.c: Likewise.
5424         * iconvdata/iso6937.c: Likewise.
5425         * iconvdata/iso8859-1.c: Likewise.
5426         * iconvdata/jis0208.h: Likewise.
5427         * iconvdata/jis0212.c: Likewise.
5428         * iconvdata/jis0212.h: Likewise.
5429         * iconvdata/johab.c: Likewise.
5430         * iconvdata/ksc5601.h: Likewise.
5431         * iconvdata/sjis.c: Likewise.
5432         * iconvdata/t61.c: Likewise.
5433         * iconvdata/uhc.c: Likewise.
5435 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5437         * manual/texinfo.texi: Updated from last version.
5439 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5441         * iconvdata/cns11643.c: New file.
5442         * iconvdata/cns11643.h: New file.
5443         * iconvdata/cns11643l1.c: New file.
5444         * iconvdata/cns11643l1.h: New file.
5445         * iconvdata/euctw.c: New file.
5446         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5447         * iconvdata/gconv-modules: Likewise.
5449         * iconvdata/eucjp.c: Several bug fixes and improvements.
5450         * iconvdata/gb2312.h: Likewise.
5451         * iconvdata/jis0201.h: Likewise.
5452         * iconvdata/jis0208.h: Likewise.
5453         * iconvdata/jis0212.h: Likewise.
5455 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5457         * iconvdata/eucjp.c: New file.
5458         * iconvdata/euccn.c: New file.
5459         * iconvdata/gb2312.h: New file.
5460         * iconvdata/gb2312.c: New file.
5461         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5462         * iconvdata/gconv-modules: Likewise.
5464         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5466 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5468         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5469         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5470         Patch by Mark Hatle <fray@kernel.crashing.org>.
5472 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5474         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5475         comment.
5476         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5477         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5479 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5481         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5483         * iconvdata/Makefile: Add rules for big5 conversion.
5484         * iconvdata/gconv-modules: Likewise.
5485         * iconvdata/big5.c: New file.
5487         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5488         Patch by Jim Meyering.
5490 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5492         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5494         * rt/lio_listio.c: Correct total counter handling.
5496         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5497         from request queue.
5499         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5500         of signal on exit even more.
5502         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5503         instead of call to pthread_cond_init.
5504         * rt/lio_listio.c (lio_listio): Likewise.
5505         * rt/lio_listio64.c (lio_listio64): Likewise.
5507         * nis/nis_findserv.c: Include sys/socket.h.
5509 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5511         * Makeconfig (rtobjdir): New variable.
5512         (rpath-link): Add rtobjdir and thread directory, if available.
5514         * test-skeleton.c: Add support to remove temporary files.
5515         Always define test_dir.  Improve message about expected signal.
5517         * rt/Makefile (tests): Add tst-aio.
5518         Add rules for tst-aio to be linked with librt and thread library.
5519         * rt/aio_misc.c: Correct fundamental bugs.
5520         * rt/aio_suspend.c: Correct bug in test for available request.
5521         Initialize conditional variable.
5522         * rt/lio_listio.c: Initialize conditional variable.
5523         * rt/lio_listio64.c: Likewise.
5524         * rt/tst-aio.c: New file.
5526         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5527         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5528         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5529         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5530         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5531         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5532         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5534 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5536         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5538 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5540         * elf/dl-load.c (open_path): Use correct name for test whether
5541         directory in load path exists.
5543         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5544         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5545         Patches by Tom Rini <trini@kernel.crashing.org>.
5547         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5548         * wcsmbs/wcstod_l.c: Likewise.
5549         * wcsmbs/wcstold_l.c: Likewise.
5551         * include/byteswap.h: New file.
5553         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5554         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5556         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5557         declaration.  Patch by Richard Henderson.
5559 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5561         * manual/process.texi (SIGCHLD example): Save errno.
5563 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5565         * posix/regex.c: Define regerror really as __regerror.
5566         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5567         regerror and regfree.
5569         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5570         * stdlib/strtod_l.c: Likewise.
5571         * stdlib/strtold_l.c: Likewise.
5573         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5575         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5577         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5578         Patch by Christian Gafton.
5580 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5582         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5583         for if_indextoname.
5585 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5587         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5589         * manual/socket.texi (Interface Naming): Fix typo.
5591 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5593         * manual/examples/filesrv.c (main): Remove filename first.
5595         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5596         ?F_UNIX.
5598         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5599         instead of PF_UNIX.
5601         * manual/examples/filecli.c (main): Use AF_LOCAL
5602         instead of AF_UNIX.
5604 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5606         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5607         signgam weak alias.
5608         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5609         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5610         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5611         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5612         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5613         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5615         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5617 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5619         * configure.in: Add new option --enable-force-install.  Substitute
5620         force_install.
5621         * config.make.in (force-install): Set from configure.
5622         * Makerules (force-install): New phony target.
5623         * Makeconfig (+force): New variable.
5624         * Makefile: Use it in dependency list of installation targets.
5625         * db/Makefile: Likewise.
5626         * db2/Makefile: Likewise.
5627         * elf/Makefile: Likewise.
5628         * hurd/Makefile: Likewise.
5629         * iconv/Makefile: Likewise.
5630         * iconvdata/Makefile: Likewise.
5631         * intl/Makefile: Likewise.
5632         * localedata/Makefile: Likewise.
5633         * login/Makefile: Likewise.
5634         * po/Makefile: Likewise.
5635         * sunrpc/Makefile: Likewise.
5636         * sysdeps/mach/hurd/Makefile: Likewise.
5637         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5638         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5639         * timezone/Makefile: Likewise.
5641 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5643         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5644         alloc_size.  Pass return value of getcwd syscall to realloc.
5646 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5648         * manual/socket.texi: Spelling fixes.
5650 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5652         * elf/dl-load.c (print_search_path): Remove unused variable.
5654 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5656         * login/utmp_file.c: use __ftruncate not ftruncate.
5657         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5658         for system call and make ftruncate weak alias.
5659         * posix/unistd.h: Add prototype for __ftruncate.
5660         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5661         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5662         instead of snprintf and readv.
5663         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5664         snprintf.
5665         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5666         directly.
5668 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5670         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5671         * iconv/gconv_db.c: Use __ protected regex functions.
5672         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5673         * posix/getopt_init.c: Use __getpid not getpid.
5674         * posix/regex.c: Rename all global functions to start with __ and
5675         make old names weak aliases.
5676         * posix/regex.h: Adopt prototypes for this.
5677         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5678         a weak alias and use __getcwd instead of getcwd.
5679         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5680         * stdlib/strtod.c: Use __btowc instead of btowc.
5681         * stdlib/strtol.c: Likewise.
5682         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5683         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5684         and sys_errlist are weak.
5685         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5686         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5687         * wcsmbs/mbsnrtowcs.c: Likewise.
5688         * wcsmbs/mbsrtowcs.c: Likewise.
5689         * wcsmbs/wcsnrtombs.c: Likewise.
5690         * wcsmbs/wcsrtombs.c: Likewise.
5691         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5692         weak alias.
5693         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5694         * wctype/wctype.c: Define function as __wctype and make wctype
5695         weak alias.
5696         * wctype/wctype.h: Declare __wctype.
5698 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5700         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5702 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5704         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5705         stat64.
5706         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5707         functions.
5708         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5709         for __llseek.
5710         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5711         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5712         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5713         make it a weak alias.
5714         * posix/unistd.h: Declare __lseek64.
5716         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5717         (_IO_file_stat): Fix typo.
5718         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5719         block size from the file.  Use __mempcpy if _LIBC.
5721 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5723         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5724         * wcsmbs/mbrtowc.c: Likewise.
5725         * wcsmbs/mbsnrtowcs.c: Likewise.
5726         * wcsmbs/mbsrtowcs.c: Likewise.
5727         * wcsmbs/wcrtomb.c: Likewise.
5728         * wcsmbs/wcsnrtombs.c: Likewise.
5729         * wcsmbs/wcsrtombs.c: Likewise.
5730         * wcsmbs/wctob.c: Likewise.
5732         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5733         position of next output character correctly.
5734         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5736         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5738         * stdlib/strtod.c: Don't use mbtowc.
5740 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5742         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5743         what we want is smaller than a buffer.
5745 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5747         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5748         this function.
5750 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5752         * configure.in: Recognize --with-headers flag and determine
5753         commandline options to be used in compilation.
5754         * Makeconfig (+includes): Use $(sysincludes).
5755         * config.make.in (sysincludes): Define from SYSINCLUDES.
5756         * glibcbug.in: Use SYSINCLUDES information.
5757         Patches by Zack Weinberg.
5759 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5761         * glibcbug.in: On linux, report version of kernel headers seen
5762         by compiler.
5764 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5766         * libc.map: Add __asprintf to GLIBC_2.1.
5767         * elf/dlerror.c: Use __asprintf, not asprintf.
5768         * libio/stdio.h: Declare __asprintf.
5769         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5770         a weak alias.
5772         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5773         to avoid inclusion from libc_pic.a.
5775         * elf/dl-runtime.c: Undo last patch.
5777         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5779         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5780         as default, use NULL.
5782 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5784         * resolv/Makefile: Include ../Makeconfig - needed for building
5785         static NSS module.
5787 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5789         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5790         static-nss since we don't want hesiod in the static NSS.
5792         * nss/Makefile: Build only nss_files as static.
5794         * nss/function.def: Remove support for service db.
5796 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5798         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5800 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5802         * posix/wordexp-test.c: Make IFS per test-case.
5804 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5806         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5807         ENVIRONMENT.
5809 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5811         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5812         `-print-file-name' to find as and ld.
5814 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5816         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5817         template is wrong.  Remove unused varaible `ignored'.
5819 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5821         * libc.map: Export __libc_sa_len.
5823         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5825 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5827         * iconv/gconv.c: Take care for NULL arguments.
5828         * iconv/gconv_dl.c: Make find_func function global.
5829         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5830         Add prototypes for ASCII conversion functions.
5831         * iconv/gconv_simple.c: Add ASCII conversion functions.
5832         * locale/C-ctype.c: Correct charset name.
5834         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5835         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5836         wcsmbsload.
5837         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5838         * wcsmbs/mbrtowc.c: Likewise.
5839         * wcsmbs/mbsnrtowcs.c: Likewise.
5840         * wcsmbs/mbsrtowcs.c: Likewise.
5841         * wcsmbs/wcrtomb.c: Likewise.
5842         * wcsmbs/wcsnrtombs.c: Likewise.
5843         * wcsmbs/wcsrtombs.c: Likewise.
5844         * wcsmbs/wctob.c: Likewise.
5845         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5846         prototypes for wmemr*.
5847         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5848         * wcsmbs/wcsnlen.c: New file.
5849         * wcsmbs/wcsmbsload.c: New file.
5850         * wcsmbs/wcsmbsload.h: New file.
5852         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5854         * manual/install.texi: Describe some more critical points.
5856         * string/string.h: Add prototype for __strnlen.
5857         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5859         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5860         much less predictable names.
5861         * sysdeps/posix/mkstemp.c: Likewise.
5863 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5865         * manual/libc.texinfo (Top): Change "file namespace" to "local
5866         namespace".
5868         * manual/socket.texi: Change file namespace to local namespace.
5869         (Out-of-Band Data): Remove unneeded variable link.
5870         (Host Address Functions): Use uint32_t consequently and add a
5871         number of clarifications for IPv4/IPv6, classless addresses.
5872         (Internet Namespace): Added some paragraphs about IPv6.
5873         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5875 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5877         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5879         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5880         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5881         (AI_NUMERICHOST): Define.
5882         (getnodebyname): New prototype.
5883         (AI_V4MAPPED, et al.): New constants.
5885         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5886         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5887         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5888         for socket.
5889         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5890         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5892         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5894         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5895         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5896         * socket/Makefile (headers): Add bits/sockunion.h.
5897         * socket/sys/socket.h: Include <bits/sockunion.h>
5898         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5899         <sys/socket.h>, to avoid getting sockaddr_union defined.
5900         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5901         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5902         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5904         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5905         (2.2.x kernels won't have it).
5907 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5909         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5910         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5911         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5912         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5914 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5916         * manual/socket.texi (Socket Addresses): Fix a typo.
5917         (Interface Naming): New section.
5919 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5921         * configure.in: Check for CC using $ac_tool_prefix, to handle
5922         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5923         * config.make.in: Add MIG to be substituted.
5924         * mach/Machrules: Don't define MIG variable.
5926         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5928 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5930         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5931         strdupa to copy rpath.
5933 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5935         * configure.in: Fix gcc version check.
5937         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5938         confusing.
5940 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5942         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5943         of ptsname_r.
5945         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5946         like ttyname_r.
5947         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5948         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5949         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5950         of __ptsname_r accordingly.
5951         * login/openpty.c (openpty): Likewise.
5953 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5955         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5957 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5959         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5961         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5963 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5965         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5966         return value for better error checking.
5968 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5970         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5971         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5973         * elf/elf.h (EM_SPARC64): Remove.
5974         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5975         (HWCAP_SPARC_V9): Add.
5977         * elf/ldsodefs.h (_dl_hwcap): Declare.
5978         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5979         Weaken so dlopen from static progies works.
5980         (WEAKADDR): New macro.
5981         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5982         (LD_SO_PRELOAD): New macro.
5983         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5984         (elf_machine_rela): Weaken _dl_rtld_map.
5986         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5987         to __clone, and remove the later's alias.
5988         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5990         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5991         the kernel's structure.
5993         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5994         Sparc needs a custom value of __KERNEL_NCCS.
5996 1998-04-06  Richard Henderson  <rth@cygnus.com>
5998         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
6000         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
6001         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6003 1998-04-06  Richard Henderson  <rth@cygnus.com>
6005         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6006         as the buffer is not properly aligned.
6007         Reported by Juan Cespedes <cespedes@debian.org>.
6009 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6011         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6012         instead of AF_FILE.
6014 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
6016         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6017         and wc*tomb* functions.
6019 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
6021         * sysdeps/unix/start.c: Fix typo.
6023 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
6025         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
6027 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
6029         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6030         expressions and using array variables.
6031         * sysdeps/libm-ieee754/e_asin.c: Likewise.
6032         * sysdeps/libm-ieee754/e_j0.c: Likewise.
6033         * sysdeps/libm-ieee754/e_j1.c: Likewise.
6034         * sysdeps/libm-ieee754/e_log.c: Likewise.
6035         * sysdeps/libm-ieee754/e_pow.c: Likewise.
6036         * sysdeps/libm-ieee754/k_cos.c: Likewise.
6037         * sysdeps/libm-ieee754/k_sin.c: Likewise.
6038         * sysdeps/libm-ieee754/k_tan.c: Likewise.
6039         * sysdeps/libm-ieee754/s_atan.c: Likewise.
6040         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6041         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6042         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6043         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6045 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
6047         * iconv/gconv.c: Rewrite of the low-level of gconv.
6048         * iconv/gconv.h: Likewise.
6049         * iconv/gconv_builtin.h: Likewise.
6050         * iconv/gconv_close.c: Likewise.
6051         * iconv/gconv_db.: Likewise.
6052         * iconv/gconv_dl.c: Likewise.
6053         * iconv/gconv_int.h: Likewise.
6054         * iconv/gconv_open.c: Likewise.
6055         * iconv/gconv_simple.c: Likewise.
6056         * iconvdata/8bit-gap.c: Adapt for rewrite.
6057         * iconvdata/8bit-generic.c: Likewise.
6058         * iconvdata/euckr.c: Likewise.
6059         * iconvdata/iso646.c: Likewise.
6060         * iconvdata/iso6937.c: Likewise.
6061         * iconvdata/iso8859-1.c: Likewise.
6062         * iconvdata/johab.c: Likewise.
6063         * iconvdata/sjis.c: Likewise.
6064         * iconvdata/t61.c: Likewise.
6065         * iconvdata/uhc.c: Likewise.
6067 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
6069         * iconv/gconv_int.h: New file.  Internal header.
6070         * iconv/Makefile (distribute): Add gconv_int.h.
6071         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6072         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6073         * iconv/gconv_close.c: Likewise.
6074         * iconv/gconv_conf.c: Likewise.
6075         * iconv/gconv_db.c: Likewise.
6076         * iconv/gconv_dl.c: Likewise.
6077         * iconv/gconv_int.h: Likewise.
6078         * iconv/gconv_open.c: Likewise.
6079         * iconv/iconv.c: Likewise.
6080         * iconv/iconv_close.c: Likewise.
6081         * iconv/iconv_open.c: Likewise.
6082         * iconv/iconv_prog.c: Likewise.
6084 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6086         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6087         missing braces.
6089 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6091         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6093 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6095         Based on patch from Pat Beirne:
6096         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6097         PIC and non-PIC now.  Correctly negate error number.
6098         (errno): Use `%' not `@' in .type directives.
6100 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6102         * sysdeps/i386/strtok.S: Change to use single exit point.
6103         * sysdeps/i386/i686/strtok.S: Likewise.
6105 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6107         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6108         default.
6110 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6112         * Makerules (installed-libcs): Fix typo.
6114 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6116         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6117         (UHC-routines): Remove ksc5601.
6119 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6121         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6122         introduced in last change.
6124 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
6126         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6127         before 2.1.92.
6129 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6131         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
6133         * stdlib/isomac.c: Use -isystem instead of -I for system include
6134         dir.
6136 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
6138         * resolv/res_comp.c (underscorechar): New.
6139         (middlechar): Allow '_'.
6141 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6143         * intl/explodename.c (stdlib.h): Include that file only if
6144         STDC_HEADERS or _LIBC.
6145         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6146         Patch by Philippe De Muyter <phdm@macqel.be>.
6148 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6150         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6151         (AC_PROG_CHECK_VER): New macro.
6152         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6153         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6155 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6157         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6158         * sysdeps/i386/i686/strtok.S: New file
6159         * sysdeps/i386/i686/strtok_r.S: New file
6161 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6163         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6164         type to __off64_t.
6165         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6166         parameter as __off64_t instead of __off_t.
6167         (ftello): Make alias for ftello64 instead of ftello.  Change
6168         return type to __off64_t.
6170 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6172         * sysdeps/i386/bits/string.h: Fix various typos.
6173         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6175         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6177 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6179         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6180         lchown syscall correctly.  [PR libc/541].
6182 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6184         * localedata/Makefile: Correct testsuite rules.
6186         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6187         * iconvdata/iso646.c: Fix conversion from UCS4.
6189         * elf/ldsodefs.h: Mark internal function with internal_function.
6190         * elf/dl-addr.c: Likewise.
6191         * elf/dl-close.c: Likewise.
6192         * elf/dl-debug.c: Likewise.
6193         * elf/dl-deps.c: Likewise.
6194         * elf/dl-error.c: Likewise.
6195         * elf/dl-fini.c: Likewise.
6196         * elf/dl-init.c: Likewise.
6197         * elf/dl-load.c: Likewise.
6198         * elf/dl-lookup.c: Likewise.
6199         * elf/dl-object.c: Likewise.
6200         * elf/dl-open.c: Likewise.
6201         * elf/dl-profile.c: Likewise.
6202         * elf/dl-reloc.c: Likewise.
6203         * elf/dl-runtime.c: Likewise.
6204         * elf/dl-symbol.c: Likewise.
6205         * elf/dl-version.c: Likewise.
6206         * elf/dlerror.c: Likewise.
6207         * sysdeps/generic/dl-sysdep.c: Likewise.
6208         * sysdeps/i386/dl-machine.h: Likewise.
6209         * intl/finddomain.c: Likewise.
6210         * intl/gettextP.h: Likewise.
6211         * intl/loadmsgcat.c: Likewise.
6213 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6215         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6216         * iconv/gconv_builtin.h: Add definitions for new builtins.
6217         * iconv/gconv.h: Add prototypes for new builtins.
6219         * iconvdata/Makefile (modules): Add ISO646.
6220         Add rules for ISO646 module.
6221         (distribute): Add iso646.c.
6222         * iconvdata/gconv-modules: Add module and alias definition for
6223         ISO646 charsets.
6224         * iconvdata/iso646.c: New file.
6226 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6228         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6229         * iconv/iconv_prog.c: Implement --list option to print available
6230         coded character sets.
6232 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6234         Make fread() read large blocks straight to the user buffer.
6236         * libio/fileops.c (_IO_file_xsgetn): New function.
6237         (_IO_file_jumps): Use it.
6238         * libio/libioP.h: Prototype it.
6240 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6242         * iconv/gconv_conf.c (builtin_aliases): New variable.
6243         (__gconv_read_conf): Add builtin aliases.
6244         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6245         noop macro before including gconv_builtin.h.
6246         * iconv/gconv_builtin.h: Add alias names.
6248         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6249         number of converted bytes correctly.
6251 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6253         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6254         we only wait for a replay.
6256 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6258         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6259         EUC-KR modules.
6261 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6263         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6264         use PLTJMP() rather than explicit (PLT).
6266         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6267         __libc_start_main().
6269         Based on patch from Pat Beirne:
6270         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6271         Always define, not only #ifndef PIC.
6272         (DO_CALL): Pass fifth argument correctly in R4.
6273         (PSEUDO): Correct test for error, call syscall_error through PLT
6274         if PIC.
6276 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6278         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6279         definitions.
6281 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6283         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6284         JOHAB.so.
6286 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6288         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6289         lstat64.
6291 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6293         * manual/Makefile: Use object-suffixes-for-libc instead of
6294         object-suffixes.
6295         * rpm/Makefile (install-lib): Likewise.
6297 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6299         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6301         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6302         `m68*', not only `m68k'.
6304 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6306         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6308         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6309         install lddlibc4.
6311 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6313         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6314         EUC-KR.
6316         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6317         comment.
6319 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6321         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6322         the init stuff.
6324 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6326         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6327         adjtimex syscall.
6328         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6329         adjtimex.
6330         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6332 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6334         * Makerules (install): Change comment for libc.so following the
6335         libc_nonshared changes.
6337 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6339         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6341         * iconvdata/gap.pl: Avoid using %#06x.
6343 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6345         * Makerules: Use $? instead of S^ when invoking ar.
6347 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6349         * db2/compat.h: Allow EFTYPE being defined.
6350         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6351         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6352         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6353         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6354         (__libc_once): Correctly unlock semaphore.
6355         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6356         * sysdeps/unix/bsd/getpt.c: Fix typo.
6357         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6359 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6361         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6362         macros.
6364 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6366         * include/mntent.h: New file.
6368         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6369         * elf/dl-load.c: Rewrite search path handling.
6370         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6371         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6372         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6373         * elf/ldsodefs.h: Add prototype.
6375 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6377         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6379         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6380         function.
6382         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6384         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6385         New function.
6386         (HWCAP_IMPORTANT): New definition.
6388 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6390         * elf/dl-open.c (_dl_open): Fix a typo.
6391         (_dl_global_scope_alloc): Make it static.
6393 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6395         * Makerules: Remove duplicate rules to handle stamp.oS.
6397 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6399         * manual/examples/inetsrv.c (main): Change prototype of
6400         make_socket following change in mkisock.c.
6402         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6403         example host.
6404         (main): Change prototype of init_sockaddr following change in
6405         isockadd.c.
6407         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6408         * manual/examples/isockad.c (init_sockaddr): Likewise.
6410         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6411         lines for clarification.
6412         (make_named_socket): Use strncpy instead of strcpy.
6413         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6415 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6417         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6418         determining libs to remove.
6419         (postclean): Add soversions.mk.
6420         * Makerules (common-mostlyclean): Add tests-static and generated
6421         files.
6423 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6425         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6426         scanning for \0.
6427         (__strncat_g): Add i686 specific code.
6429 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6431         * manual/install.texi (Reporting Bugs): Ask to include section
6432         names in reports.
6434 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6436         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6437         guard against direct inclusion.
6439 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6441         Rework support for libc_nonshared.a:
6442         * Makeconfig (object-suffixes-for-libc): New variable.
6443         * Rules: Remove handling of static-only and shared-only routines.
6444         * Makerules: Handle them here instead.  Use
6445         object-suffixes-for-libc instead of object-suffixes when dealing
6446         with libc objects.
6447         (object-suffixes-for-rules): Remove variable.
6448         (elide-routines.oS): Elide all routines except static-only
6449         routines.
6450         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6451         empty.
6452         (installed-libcs): Remove special case for .oS.
6453         (rmobjs): Likewise.
6455 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6457         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6458         do-tst-rpmatch): New targets.
6459         (test): Use them.
6460         (install-locales): Ignore comment lines.
6462 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6464         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6465         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6466         ($(objpfx)rtldtbl.h): Likewise.
6467         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6469 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6471         * manual/string.texi (Finding Tokens in a String): Extend strsep
6472         description and correct example.
6474 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6476         * manual/socket.texi: Remove misguided explicit line breaks and
6477         fix the formatting problem instead by reformulating the
6478         paragraphs.
6479         * manual/filesys.texi: Likewise.
6480         * manual/conf.texi: Likewise.  Don't typeset table with index
6481         fonts, that looks worse than a minimally overfull line.
6483 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6485         * nscd/Makefile (nscd-modules): Move definition outside of
6486         conditional.
6488         * pwd/Makefile: Use have-thread-library to test for thread
6489         library.
6491 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6493         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6495         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6497 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6499         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6501 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6503         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6505         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6506         Reported by Andreas Jaeger.
6508 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6510         * elf/Makefile: Fix typo.
6511         (distribute): Add dl-librecon.h.
6512         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6513         * elf/ldd.sh.in: Likewise.
6514         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6515         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6516         Use strsep correctly.
6517         (process_envvars): Allow platform specific variables.
6518         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6519         (_dl_load_cache_lookup): Test cache IDs found against
6520         _dl_correct_cache_id.
6521         * sysdeps/generic/dl-librecon.h: New file.
6522         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6524         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6526 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6528         * config.make.in (ldd-rewrite-script): New variable.
6529         * configure.in: Substitute ldd-rewrite-script.
6530         * elf/Makefile: Rewrite rules to generate ldd script.
6531         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6532         * elf/ldd.sh.in: Likewise.
6533         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6534         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6535         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6536         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6537         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6539 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6541         * inet/rcmd.c (iruserok): Remain setuid to the local user
6542         while .rhosts is actually read, to make .rhosts-over-NFS work
6543         (PR libc/524).  Use iruserfopen() for security checks on both
6544         hosts.equiv and .rhosts.  General cleanup.
6545         (iruserfopen): New function, performs careful checking on
6546         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6547         stuff plus hard links to files.
6549 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6551         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6553         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6555 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6557         * sysdeps/i386/i486/bits/string.h: Fix typos.
6559 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6561         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6562         strong alias.
6564         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6566         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6567         Added.  Used by libm.so on alpha.
6569 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6571         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6572         defined.
6574 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6576         * Makerules (object-suffixes-for-rules): Add .oS only for
6577         building shared library.
6578         Add ranlib rule for nonshared library.
6579         (rmobjs): Fix typo.
6581         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6582         into for shared library only.
6583         (CPPFLAGS-.oS): Add -DPIC.
6584         (libtypes): Use $(object-suffixes-for-rules) instead of
6585         $(object-suffixes).
6587 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6589         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6590         and install lddlibc4.
6592 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6594         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6595         hash.
6596         * iconvdata/gaptab.pl: Likewise.
6598 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6600         * Rules: Allow Makefiles to specify test-static for tests which
6601         cannot be linked dynamically.
6602         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6603         tests-static.
6605         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6607         * misc/error.c: Pretty print.
6609 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6611         * Makerules (libc_nonshared-name): Remove variable.
6612         (installed-libcs): Use libc-name instead.
6613         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6614         dynamic linker.
6616         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6617         libc.a.  Remove explicit reference to dynamic linker.
6619 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6621         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6622         to wchar_t.
6623         * iconv/iconv_prog.c: Correctly test for write failure.
6624         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6625         * iconvdata/gconv-modules: Likewise.
6626         * iconvdata/euckr.c: New file.
6627         * iconvdata/johab.c: New file.
6628         * iconvdata/ksc5601.c: New file.
6629         * iconvdata/ksc5601.h: New file.
6630         * iconvdata/uhc.c: New file.
6631         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6633         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6634         * stdio/fopen.c: Correct handling of 'x' flag.
6635         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6637 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6639         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6640         * sunrpc/rpcsvc/key_prot.x: Likewise.
6641         * sunrpc/key_prot.c: Likewise.
6643 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6645         * sysdeps/i386/bits/string.h: Correct things which never worked.
6646         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6647         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6649 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6651         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6652         defined.  Reported by Thorsten Kukuk.
6654 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6656         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6658 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6660         * manual/install.texi (Supported Configurations): Add
6661         arm-linuxaout and arm-none.
6663 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6665         * version.h (VERSION): Bump to 2.0.93.
6667 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6669         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6671         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6673         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6674         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6676 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6678         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6680 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6682         Put the static-only routines in a separate library.
6683         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6684         variables.
6685         (all-object-suffixes): Add .oS.
6686         * Makerules (libc_static-name): New variable.
6687         (installed-libcs): Add libc_nonshared.a.
6688         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6689         (object-suffixes-for-rules): New variable.  Use it instead of
6690         object-suffixes for generating compilation rules.
6691         (rmobjs): Also remove *.oS.
6692         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6693         ($(objpfx)stamp.oS): New target.
6695 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6697         * Makefile (FAQ): Automatically check in regenerated FAQ.
6699 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6701         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6703 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6705         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6706         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6708         * sysdeps/generic/stub_warning: Removed.
6710         * Makefile (distribute): Add include/des.h.
6712         * manual/Makefile (distribute): Change dir-add.texi to
6713         dir-add.texinfo.
6715         * glibcbug.in: Create files safely when mktemp is not available.
6717         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6718         Patch by a sun <asun@saul1.u.washington.edu>.
6720 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6722         * libc.map: Rename getname to getnetname.
6724 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6726         * manual/maint.texi: Use supported platform in examples.
6728         * manual/install.texi: Document some installation tips.
6730 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6732         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6733         Fix a bug so that it returns an error if a numeric parameter is
6734         unset and WRDE_UNDEF is set.
6735         Patch by Andreas Schwab and Tim Waugh.
6736         * posix/wordexp-test.c: Add new new test.
6738 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6740         * posix/regex.c (regex_compile): Last patch wasn't entirely
6741         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6743 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6745         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6747 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6749         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6750         clobbered registers don't appear as operands.
6752 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6754         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6755         Solaris' sake.
6757         * posix/regex.c (regex_compile): Don't allow non-alphabet
6758         characters in character set name.
6760 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6762         * posix/wordexp.c (w_newword): New function.
6763         (do_parse_glob): New function.
6764         (parse_glob): Use do_parse_glob.  Now handles the case where a
6765         variable expansion causes a field-split.
6766         (wordexp): Use w_newword.
6767         (parse_arith): Likewise.
6768         (exec_comm): Likewise.
6769         (parse_comm): Likewise.
6770         (parse_param): Likewise.
6771         (parse_backtick): Likewise.
6773 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6775         * posix/wordexp-tst.sh: Another test.
6777         * posix/wordexp-test.c: Two new tests.
6779         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6780         directly (the code using realloc was buggy).
6781         (parse_param): Fix typo in comment.
6783 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6785         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6787 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6789         * libc.map: Add more rpc auth functions/variables.
6791         * nscd/nscd.c: Add -g option to argp options.
6793 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6795         * configure.in: Be prepared for gcc 2.9.10 and up.
6796         * configure.in: Add missing disabling of quote characters in
6797         compiler version check.  Reported by HJ Lu.
6799 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6801         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6803 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6805         * intl/locale.alias: Fix spelling of romanian.
6807         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6808         (distribute): Remove des.h.
6809         * include/des.h: New file.
6810         * sunrpc/des.h: Moved to ...
6811         * sunrpc/rpc/rpc_des.h: ...here.
6813 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6815         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6816         Fix paren.
6818 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6820         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6821         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6823 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6825         * elf/ldsodesf.h: New file.
6826         * elf/Makefile (distribute): Add ldsodefs.h.
6827         * elf/link.h: Separate internal information in exter header.
6828         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6829         * elf/dl-minimal.c: Likewise.
6830         * sysdeps/generic/dl-sysdep.c: Likewise.
6831         * elf/sprof.c: Likewise.
6832         * elf/dlsym.c: Likewise.
6833         * elf/dlvsym.c: Likewise.
6834         * elf/dlerror.c: Likewise.
6835         * elf/dladdr.c: Likewise.
6836         * elf/dlclose.c: Likewise.
6837         * elf/dlopen.c: Likewise.
6838         * elf/dl-addr.c: Likewise.
6839         * elf/dl-close.c: Likewise.
6840         * elf/dl-debug.c: Likewise.
6841         * elf/dl-deps.c: Likewise.
6842         * elf/dl-error.c: Likewise.
6843         * elf/dl-fini.c: Likewise.
6844         * elf/dl-init.c: Likewise.
6845         * elf/dl-load.c: Likewise.
6846         * elf/dl-lookup.c: Likewise.
6847         * elf/dl-object.c: Likewise.
6848         * elf/dl-open.c: Likewise.
6849         * elf/dl-profile.c: Likewise.
6850         * elf/dl-reloc.c: Likewise.
6851         * elf/dl-runtime.c: Likewise.
6852         * elf/dl-support.c: Likewise.
6853         * elf/dl-symbol.c: Likewise.
6854         * elf/dl-version.c: Likewise.
6855         * sysdeps/generic/dl-cache.c: Likewise.
6856         * sysdeps/generic/libc-start.c: Likewise.
6857         * iconv/gconv_dl.c: Likewise.
6858         * nss/nsswitch.c: Likewise.
6860 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6862         * manual/nss.texi: The database is not called network but networks.
6863         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6865 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6867         * configure.in: Correct test for compiler version.
6868         Check that LD_LIBRARY_PATH doesn't contain current path.
6870 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6872         * elf/dl-close.c (_dl_close): Fix byte count while removing
6873         the shared object from the global scope list and optimize
6874         a little bit.
6876 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6878         * manual/filesys.texi (Scanning Directory Content): Add missing
6879         closing brace.
6880         (Scanning Directory Content): Fix text.
6882 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6884         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6885         explaining difference of -lmcheck and MALLOC_CHECK_.
6887 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6889         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6890         typos in comments.
6892 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6894         * test-skeleton.c (main): Fix test for exit signal.
6896 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6898         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6900 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6902         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6903         appropriate.
6905 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6907         * libc.map: Export __strtok_r.
6909 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6911         * posix/regex.c (re_compile_fastmap): Remove unused variable
6912         num_regs and adjust comment.
6913         Patch by Jim Meyering <meyering@ascend.com>.
6915         * math/math.h (M_*l): Extend long double constants to be usable
6916         for 128 bit floats.  Patch by Richard Henderson.
6918 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6920         * sysdeps/m68k/m68020/wordcopy.S: New file.
6922 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6924         * posix/wordexp.c: Rewrite parse_param.
6925         Patch by Tim Waugh and Andreas Schwab.
6927 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6929         * Rules: Update timestamps on empty object files.
6931 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6933         * manual/filesys.texi (Scanning Directory Content): Add description
6934         of 64 bits scandir function and friends.
6936 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6938         * glibcbug.in: Use mktemp to generate unique file name for
6939         temporary files.
6941         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6942         ptsname_r.  Use cast for execve call.
6944 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6946         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6947         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6948         * io/sys/statvfs.h: New file.
6949         * sysdeps/generic/fstatvfs.h: New file.
6950         * sysdeps/generic/statvfs.h: New file.
6951         * sysdeps/generic/fstatvfs64.h: New file.
6952         * sysdeps/generic/statvfs64.h: New file.
6953         * sysdeps/generic/bits/statvfs.h: New file.
6954         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6955         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6956         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6958         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6959         and f_ffree elements.
6961         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6962         mount options in enum.
6964 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6966         * configure.in: Check for recent egcs/gcc.
6968 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6970         * libc.map: Add alphasort64, scandir64, versionsort64.
6971         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6972         versionsort64.
6973         * dirent/alphasort64.c: New file.
6974         * dirent/scandir64.c: New file.
6975         * dirent/versionsort64.c: New file.
6976         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6977         versionsort.
6978         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6979         old name weak alias.
6980         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6982         * dirent/alphasort.c: Use strcoll instead of strcmp.
6984         * dirent/scandir.c: Optimize a bit.
6986         * dirent/versionsort.c: Pretty print.
6988 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6990         * string/string.h: Add prototype for __strtok_r.
6992 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6994         * posix/Makefile: Fix typo in last change.
6996 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6998         * dirent/dirent.h (scandir): Make argument of select function const.
6999         * dirent/scandir.c (scandir): Likewise.
7000         Reported by David.Faure@insa-lyon.fr [PR libc/512].
7002 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
7004         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7005         weak alias.
7006         * sysdeps/i386/strtok_r.c: Likewise.
7008         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7009         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7010         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7011         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7012         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7013         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
7015 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7017         * intl/localealias.c: Remove unneeded define for strdup.
7019 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
7021         * manual/argp.texi: Adjust for better TeX output.
7022         * manual/arith.texi: Likewise.
7023         * manual/conf.texi: Likewise.
7024         * manual/filesys.texi: Likewise.
7025         * manual/header.texi: Likewise.
7026         * manual/lgpl.texinfo: Likewise.
7027         * manual/math.texi: Likewise.
7028         * manual/message.texi: Likewise.
7029         * manual/pattern.texi: Likewise.
7030         * manual/process.texi: Likewise.
7031         * manual/signal.texi: Likewise.
7032         * manual/socket.texi: Likewise.
7033         * manual/startup.texi: Likewise.
7034         * manual/stdio.texi: Likewise.
7035         * manual/terminal.texi: Likewise.
7036         * manual/examples/rprintf.c: Likewise.
7037         * manual/examples/testopt.c: Likewise.
7038         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7040 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
7042         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7043         parameter name after seeing a digit if it's enclosed in braces.
7045 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7047         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
7049 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7051         * manual/memory.texi (Heap Consistency Checking): Document
7052         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
7054 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7056         * manual/Makefile: Add missing rules.
7058 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7060         * timezone/Makefile (generated): Define to remove all stamp files.
7062         * sysdeps/generic/strsep.c: Also undefine __strsep.
7064         * string/strdup.c: Undefine __strdup and strdup first.
7065         * string/strndup.c: Likewise.
7067         * string/bits/string2.h: Correct strtok_r and strsep.
7068         Add strndup optimization.
7070         * sysdeps/generic/strsep.c: Little optimization.
7072 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
7074         * string/bits/string2.h: Add optimization for strdup.
7075         Always define __strsep and __strtok_r and make real names available
7076         when feature select macros are defined.
7078 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7080         * manual/install.texi (Installation): Use i486-linux as example
7081         instead of the unsupported sunos4.
7082         (Reporting Bugs): Mention glibcbug script.
7083         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
7085 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7087         * posix/wordexp-tst.sh: Make portable.  Add more tests.
7089         * posix/Makefile (do-globtest do-wordexp-test): New targets.
7091 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
7093         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7094         * sysdeps/generic/libc-start.c: ...here, replacing former content.
7096         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7097         netpacket/packet.h.
7099         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
7101 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7103         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7104         in enumerator for strict standard compliance.
7105         * sysdeps/generic/bits/resource.h: Likewise.
7107 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
7109         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7110         (PLTJMP): New macro.
7112         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7113         longjmp() when floating point enabled.
7114         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7115         * sysdeps/arm/__longjmp.S: Remove floating point code.
7116         * sysdeps/arm/setjmp.S: Likewise.
7118         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7119         * sysdeps/arm/bsd-_setjmp.S: Likewise.
7121         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7122         memset().
7124         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7125         prototype.
7127 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
7129         Based on patches from Pat Beirne and Scott Bambrough:
7131         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
7133         * sysdeps/arm/bits/fenv.h: New file.
7135         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
7136         * sysdeps/arm/elf/setjmp.S: Likewise.
7137         * sysdeps/arm/elf/start.S: Likewise.
7138         * sysdeps/arm/init-first.c: Likewise.
7139         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7140         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
7141         comment about floating point to reflect current reality.
7143         * sysdeps/unix/arm/brk.S: Support PIC.
7144         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7145         re-entrant code.
7146         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7147         return; call syscall_error through PLT.
7148         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7150 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7152         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7153         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7156 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7158         * dirent/list.c (test): Return error value.
7159         (main): Exit with error value.
7161         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7163         * Makefile (distribute): Add test-skeleton.c.
7164         * test-skeleton.c: New file.
7165         * dirent/Makefile (tests): Add opendir-tst1.
7166         * dirent/opendir-tst1.c: New file.
7168 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7170         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7171         Optimize memory handling.
7172         * sysdeps/unix/closedir.c: Optmize memory handling.
7174 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7176         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7177         handling.  Optimize a bit.
7179 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7181         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7182         (parse_param): Fold in Andreas' fixes to do with when the end of
7183         the parameter name has been reached, and quoting inside ${...}.
7184         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7185         $((echo);(ls)).
7187 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7189         * manual/maint.texi: Split out installation and contribution
7190         sections to their own appendices.  Misc cleanups.
7191         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7192         * manual/contrib.texi: New file.
7193         * manual/libc.texinfo: Pull in new appendices.
7194         * manual/header.texi: Correct node pointer.
7196 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7198         * manual/process.texi (Process Completion): Clarify return value
7199         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7201 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7203         * posix/wordexp-test.c: Add more tests.
7204         (testit): Fix logic.
7206         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7207         /dev/null instead of closing it, close pipe.  Always chop off all
7208         trailing newlines.  Kill and reap child before returning error.
7209         (w_addword, parse_glob): Fix memory leak.
7210         (wordexp): Fix dangling pointer problem.
7212 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7214         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7216         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7218         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7219         directory index by only the language.
7221 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7223         * posix/wordexp-tst.sh: Store test results in the
7224         ${common_objpfx}posix directory.
7226         * posix/wordexp-test.c: Remove temporary directory afterwards.
7228 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7230         * libc.map: Export internal versions of cancelable functions.
7232 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7234         * Makerules (MAKEFLAGS): Append `r'.
7236 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7238         * Makeconfig: Define have-thread-library, shared-thread-library
7239         and static-thread-library if a thread library is available.  Don't
7240         define rt.
7241         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7242         nscd-routines to nscd-modules.  Use shared-thread-library and
7243         static-thread-library in dependencies.
7244         * rt/Makefile: Only compile librt if have-thread-library is
7245         defined.
7246         * Makefile (subdirs): Always include rt subdir.
7248 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7250         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7252 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7254         * configure.in: Recognize variations for 32 MIPS processors.
7255         Don't assume ELF systems always have .weak, test for .weakext.
7257 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7259         * configure.in: Irix6 is an ELF platform.
7261 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7263         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7264         unmapping the last loaded segment.
7266 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7268         * configure.in: Set base_os for Irix6.
7269         Correct test for .weakext.
7271 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7273         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7274         (new_line) to _dl_debug_message call.
7276 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7278         * posix/wordexp.c (parse_param): Perform field-splitting after
7279         expanding positional parameter.
7281         * posix/wordexp-tst.sh: Test that field-splitting is performed
7282         after expanding positional parameter.
7284         * posix/wordexp.c (parse_param): Fixed memory leak in
7285         field-splitting after parameter expansion.
7287 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7289         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7290         (get_toplvl_escape): Correctly terminate loop at EOF.
7291         Patch by Cristian Gafton <gafton@redhat.com>.
7293 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7295         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7296         (test_strsep): Likewise.  Correct horrible bugs.
7298         * string/bits/string2.h (strcspn): Optimize also reject string of
7299         length 2 and 3.
7300         (strspn): Likewise.
7301         (strpbrk): Likewise.
7302         (strsep): Likewise.  Correct bug with successive separators and
7303         separators at the end of the string.
7304         * sysdeps/generic/strsep.c: Correct bug with successive separators
7305         and separators at the end of the string.
7307 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7309         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7310         etc) now handled, as well as $$ (pid).
7312         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7313         (distribute): Add wordexp-tst.sh.
7315         * posix/wordexp-tst.sh: New file.
7317         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7318         number of positional parameters.  Renamed substitute_length to
7319         seen_hash.
7320         Don't free(env) is env is NULL.
7322 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7324         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7326 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7328         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7329         for output file replacing gmon.out.
7330         Patch by Dean Gaudet <dgaudet@arctic.org>.
7332 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7334         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7335         up namespace.  Optimize finding end of line.
7337 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7339         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7340         securely.  Optimized.
7341         (process_dl_debug): Add ':' to list of separators.  Optimized.
7343 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7345         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7346         isless, islessequal, islessgreater, isunordered): Return zero or
7347         one.
7349 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7351         * posix/wordexp-test.c: More tests.
7352         (main): Set up arena for pathname expansion tests (in a temporary
7353         directory).
7354         (testit): Don't check word count or word vector if return value is
7355         non-zero.
7357         * posix/wordexp.c (exec_comm): Always chop off terminating
7358         linefeed (just like bash does).
7359         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7360         (!env || !*env)".
7361         (parse_param): For assignment inside parameter expansion, use all
7362         expanded words in assignment rather than just the first.
7363         (parse_param): Corrected return value for parameter expansion of
7364         an unset variable when WRDE_UNDEF is in effect.
7365         (parse_dollars): Don't field-split if quoted.
7366         (wordexp): Opening brace character isn't allowed unquoted.
7368 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7370         * elf/dlerror.c: Fix concurrency problems with error string and
7371         number.
7373         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7374         filter/auxiliary are being loaded.
7376 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7378         * elf/dlerror.c (last_object_name): Removed.
7379         (dlerror): Don't use last_object_name.
7380         (_dl_error_run): Omit second argument to _dl_catch_error.
7381         * elf/dl-error.c (struct catch): Remove objname member.
7382         (_dl_signal_error): Construct string including objname when given.
7383         (_dl_catch_error): Remove objname handling.
7384         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7385         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7386         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7387         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7388         * iconv/gconv_dl.c (dlerror_run): Likewise.
7389         [Corrects PR libc/501].
7391 1998-03-12  Matthias Urlichs <smurf@noris.de>
7393         * nscd/nscd.c: Ignore SIGPIPE.
7395 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7397         * nscd/nscd_getgr_r.c: Use __ protected names.
7398         * nscd/nscd_getpw_r.c: Likewise.
7400 1998-03-12  Matthias Urlichs <smurf@noris.de>
7402         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7403         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7404         null bytes are not transmitted.
7406 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7408         * powerpc/syscalls.list: Correct typo.
7409         * alpha/syscalls.list: Likewise.
7410         * mips/syscalls.list: Likewise.
7412 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7414         * socket/sys/socket.h: Add prototype for __socket.
7416 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7418         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7420         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7421         constants.
7423         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7424         definition here.
7425         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7426         definition here.
7428         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7429         AF_* and PF_* constants.
7431         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7433 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7435         * elf/rtld.c: Update help message.
7436         Install link maps for preloaded objects using main_map as loader.
7438         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7439         * elf/dl-profile.c: Likewise.
7441         * elf/dlsym.c: Little optimization.
7442         * elf/dlvsym.c: Likewise.
7444 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7446         * posix/wordexp-test.c: Move test for parameter list at the very
7447         beginning.
7449 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7451         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7452         WRDE_REUSE flag is set.
7453         (parse_param): Allow `*', `@', and numbers in parameter names.
7454         (parse_dollars): Differentiate between arithmetic expansion and a
7455         command substitution that starts immediately with a sub-shell
7456         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7457         (parse_param): Memory allocated with __alloca in a block was
7458         referenced outside that block.  Adjusted to use malloc/free.
7459         (parse_param): Adjusted field-splitting algorithm so that there is
7460         not necessarily a field split at the end of a parameter expansion.
7462 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7464         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7465         don't free words that have already been allocated.
7466         (parse_param): A dollar sign on its own will never have a pattern
7467         associated with it (like "${HOME%%/}" has), so don't try to free it.
7468         (parse_glob): Attempt to glob when an unquoted `[' is found
7469         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7470         (parse_glob): Sorted out quoting in a glob-able word.
7471         (parse_param): Added $* and $@ handling.
7473 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7475         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7476         parsing it.
7478 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7480         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7481         _dl_debug_message.
7483 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7485         * elf/dl-misc.c: Default for debug output should be stderr.
7486         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7487         * elf/dl-lookup.c: reference_name may be NULL or empty.
7489 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7491         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7493 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7495         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7497         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7499 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7501         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7504 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7506         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7507         init stuff.
7509 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7511         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7512         flag.
7514         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7515         syslog daemon.
7516         (closelog_internal): Don't do anything if not connected.
7518 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7520         * libc.map: Add _dl_debug_message.
7521         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7522         before every line.
7523         * elf/fini.c: Correctly use new _dl_debug_message function.
7524         * elf/init.c: Likewise.
7525         * elf/dl-lookup.c: Likewise.
7526         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7527         * elf/dl-load.c: Likewise.  Add more debugging prints.
7528         * elf/dl-reloc.c: Likewise.
7529         * elf/dl-version.c: Likewise.
7530         * elf/dl-support.c: Add variables for debugging.
7531         * elf/rtld.c: Likewise.  Recognize new debug options.
7532         * elf/link.h: Declare new variables.
7534         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7536 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7538         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7539         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7541 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7543         * posix/wordexp-test.c (command_line_test): New function to allow
7544         testing of specific cases from the command-line.
7546 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7548         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7549         * elf/dl-fini.c (_dl_fini): Likewise.
7550         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7552         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7553         symbol in debug message.
7554         (_dl_lookup_versioned_symbol_skip): Likewise.
7556 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7558         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7559         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7560         * manual/filesys/texi: Document this.
7562 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7564         * manual/filesys.texi: Document the change below.
7566 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7568         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7569         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7571 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7573         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7574         instead scope.  If debugging display information about symbol
7575         resolving.
7576         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7577         (_dl_lookup_symbol_skip): Likewise.
7578         (_dl_lookup_versioned_symbol): Likewise.
7579         (_dl_lookup_versioned_symbol_skip): Likewise.
7580         * elf/dl-support.c: Define _dl_debug_symbols.
7581         * elf/link.h: Add declaration for _dl_debug_symbols.
7582         * elf/rtld.c: Define _dl_debug_symbols.
7583         (process_dl_debug): Recognize symbols option.
7585 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7587         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7588         in correct format.
7589         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7590         with correct parameters.
7591         [!PIC]: Initialize __libc_multiple_libcs.
7593 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7595         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7596         * elf/rtld.c (_dl_debug_bindings): Add definition.
7597         (process_dl_debug): Recognize bindings option.  Update help message.
7598         * elf/link.h (struct link_map): Add l_versyms member.
7599         (_dl_debug_bindings): Add declaration.
7600         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7601         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7602         and l_reloc_result.
7603         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7604         (sym_val): Remove a member, add m as link_map.
7605         (do_lookup): Return result appropriately.
7606         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7607         Call do_lookup correctly.
7608         (_dl_lookup_symbol_skip): Likewise.
7609         (_dl_lookup_versioned_symbol): Likewise.
7610         (_dl_lookup_versioned_symbol_skip): Likewise.
7612 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7614         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7615         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7617         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7618         * libc.map: Add chown to GLIBC_2.1.
7619         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7620         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7622 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7624         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7625         weak alias.
7626         * sysdeps/alpha/ffs.c: Likewise.
7627         * sysdeps/am29k/ffs.c: Likewise.
7628         * sysdeps/i386/ffs.c: Likewise.
7629         * sysdeps/i960/ffs.c: Likewise.
7630         * sysdeps/m68k/ffs.c: Likewise.
7631         * sysdeps/m88k/ffs.c: Likewise.
7632         * sysdeps/powerpc/ffs.c: Likewise.
7633         * sysdeps/rs6000/ffs.c: Likewise.
7634         * sysdeps/vax/ffs.s: Likewise.
7635         * string/string.h: Declare __ffs.
7636         * libc.map: Export it.
7637         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7638         __builtin_ffs, which is not guaranteed to be namespace clean.
7640 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7642         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7643         table, which is much more likely to exist than debugging symbols.
7644         (printsym): Remove const.
7645         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7646         header table.
7648         * libc.map: Export __profile_frequency, used by elf/sprof, to
7649         avoid infinite recursion during startup.
7651 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7653         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7654         Readd lost negate.
7656         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7658 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7660         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7662 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7664         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7665         LD_PRELOAD, and LD_VERBOSE.
7666         (dl_main): Use global variables set by process_envvars instead of
7667         calling getenv.
7668         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7669         LD_LIBRARY_PATH value, this comes with the parameter.
7670         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7671         ("LD_LIBRARY_PATH") to _dl_init_paths.
7673 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7675         * elf/rtld.c (dl_main): Delay initialization of path structure if
7676         the dynamically linker is invoked implicitly until we read the
7677         dynamic section.
7679 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7681         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7683 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7685         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7686         Linux 2.0 and 2.1.
7688         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7690 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7692         * Makeconfig (nisobjdir): Set to path to nis directory.
7693         (rpath-link): Add nisobjdir.
7694         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7696         * elf/Makefile: Pretty print.
7697         * elf/dl-lookup.c: Include unistd.h.
7698         * elf/dl-runtime.c: Likewise.
7700         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7701         (distribute): Add tst-rpmatch.sh.
7702         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7704         New tests for rpmatch function by
7705         Jochen Hein <jochen.hein@delphi.central.de>.
7706         * localedata/tst-rpmatch.c: New file.
7707         * localedata/tst-rpmatch.sh: New file.
7709         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7710         * localedata/locales/de_AT: Likewise.
7712         * posix/getopt.c: Update contact address.
7713         * posix/getopt1.c: Pretty print.
7715         * sysdeps/generic/libc-start.c: Do most of the initialization now
7716         here instead of in start.S.
7717         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7718         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7720         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7721         profil_counter to be public.
7723 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7725         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7726         (parse_param): Coded parameter length expansion (${#var}).
7727         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7728         (parse_param): Cleaned up (fixed) error handling.
7730         * posix/wordexp-test.c: IFS now includes non-whitespace character
7731         (comma).  Added more tests.
7733 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7735         * elf/link.h: Fix typos.
7736         Reported by Andreas Jaeger.
7738         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7739         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7741 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7743         * argp/argp-help.c: Remove last bits of using gettext instead of
7744         dgettext.
7746 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7748         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7749         __libc_start_main.
7750         * csu/Makefile (routines): Add libc-start.
7751         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7752         * elf/dl-lookup.c: Likewise.
7753         * elf/dl-version.c: Likewise.
7754         * sysdeps/i386/dl-machine.h: Likewise.
7755         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7756         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7757         _dl_sysdep_message macros which use _dl_sysdep_output.
7758         * elf/dl-fini.c: Write out which destructor is called while debugging.
7759         * elf/dl-init.c: Likewise for constructor.
7760         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7761         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7762         _dl_sysdep_message.  Add _dl_sysdep_output.
7763         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7764         this file can be opened.
7765         For LD_DEBUG=libs also set _dl_debug_impcalls.
7766         * sysdeps/generic/dl-cache.c: Include unistd.h.
7767         * sysdeps/generic/libc-start.c: New file.
7768         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7769         * sysdeps/i386/elf/start.S: Don't call main directly, call
7770         __libc_start_main instead.
7772         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7774 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7776         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7778 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7780         * argp/argp.h (struct argp): Add new field domain.
7781         * argp/argp-help.c: Change all gettext calls to dgettext and use
7782         domain field from appropriate argp in call.
7783         * argp/argp-parse.c: Likewise.
7785 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7787         * posix/wordexp-test.c: Change testsuite so that it can run even
7788         for ~root != /root.
7790 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7792         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7794 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7796         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7797         Don't store into global errno if we already store through
7798         __errno_location.
7799         * sysdeps/unix/i386/sysdep.S: Likewise.
7800         * sysdeps/unix/alpha/sysdep.S: Likewise.
7801         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7802         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7803         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7804         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7805         PIC).
7807 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7809         * sysdeps/generic/sysdep.h (L): Remove definition.
7810         * sysdeps/i386/sysdep.h (L): Define it here instead.
7812 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7814         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7816         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7818 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7820         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7821         declaration style to avoid warnings.
7823 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7825         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7826         "LD_DEBUG".
7828 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7830         * posix/Makefile (tests): Add wordexp-test.
7831         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7832         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7834 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7836         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7837         dependencies.
7839         * elf/link.h (struct r_search_path_elem): Add two new field for
7840         lib path debugging.
7841         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7842         variable accordingly.
7843         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7844         is considered next along with information about load paths.
7845         * sysdeps/generic/dl-cache.c: Likewise.
7846         * elf/dl-support.c: Define _dl_debug_libs.
7847         * elf/genrtldtbl.awk: Add initializers for two new field in
7848         struct r_search_path_elem.
7850 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7852         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7853         * sysdeps/m68k/lshift.S: Likewise.
7854         * sysdeps/m68k/rshift.S: Likewise.
7855         * sysdeps/m68k/sub_n.S: Likewise.
7856         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7857         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7858         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7860         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7861         [_LIBC_REENTRANT]: Don't store into global errno.
7863         * sysdeps/m68k/sysdep.h: New file.
7864         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7865         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7866         (DO_CALL): Change to expect syscall name as argument.
7867         (PSEUDO): Pass syscall_name to DO_CALL.
7868         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7869         errno.
7871 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7873         * elf/rtld.c: Speed up processing of environment variables.  Do
7874         only one run on the environment by avoiding to call getenv.
7875         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7876         function.  Used by patch above.
7878 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7880         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7881         running nscd.
7882         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7883         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7884         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7886 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7888         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7889         module cannot be found.  Reported by Andreas Jaeger.
7891 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7893         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7894         on platforms which default to unsigned chars.
7895         * nscd/nscd_getpw_r.c: Likewise.
7896         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7897         defining it.
7899 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7901         * elf/Makefile (install-bin): Change = to += for sprof to install
7902         ldd also.
7904 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7906         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7908 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7910         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7912 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7914         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7915         that a failure to connect to nscd doesn't change errno.
7917 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7919         * manual/maint.texi (Reporting Bugs): Change
7920         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7922         * locale/iso-4217.def: Likewise
7924 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7926         * manual/texinfo.tex: Updated.
7928 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7930         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7931         value.
7932         * sysdeps/posix/pathconf.c: Likewise.
7933         * posix/getconf.c: Print `undefined' if pathconf returns -1
7934         without setting errno.
7936 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7938         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7939         problem.
7940         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7941         Patches by Elliot Lee <sopwith@cuc.edu>.
7943 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7945         * elf/link.h (struct link_map): Add new field l_reloc_result.
7946         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7947         of relocation for the object to be profiled.
7948         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7949         to NULL.
7950         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7951         array here.
7952         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7953         contains a result from a previous run use this instead of computing
7954         the value again.
7955         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7957 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7959         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7960         offsets into the GOT.
7961         (RTLD_START): Likewise.
7963 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7965         * elf/sprof.c: Cleanup a bit.
7967 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7969         * sysdeps/generic/sysdep.h (L): New. Define.
7971         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7973         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7975         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7976         to have only one exit point for functions.
7977         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7978         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7979         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7980         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7981         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7983 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7985         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7986         reset errno so that errno isn't set to ENOSYS in the first call.
7987         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7988         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7989         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7990         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7992 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7994         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7995         * sysdeps/i386/addmul_1.S: Likewise.
7996         * sysdeps/i386/lshift.S: Likewise.
7997         * sysdeps/i386/mul_1.S: Likewise.
7998         * sysdeps/i386/rshift.S: Likewise.
7999         * sysdeps/i386/sub_n.S: Likewise.
8000         * sysdeps/i386/submul_1.S: Likewise.
8001         * sysdeps/i386/i586/add_n.S: Likewise.
8002         * sysdeps/i386/i586/addmul_1.S: Likewise.
8003         * sysdeps/i386/i586/lshift.S: Likewise.
8004         * sysdeps/i386/i586/mul_1.S: Likewise.
8005         * sysdeps/i386/i586/rshift.S: Likewise.
8006         * sysdeps/i386/i586/sub_n.S: Likewise.
8007         * sysdeps/i386/i586/submul_1.S: Likewise.
8009         * sysdeps/i386/sysdep.h: Extend last change.
8011         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8012         to have only one exit point for functions.
8014 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8016         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
8017         search.
8019 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
8021         * Makerules: Generate libc.so with absolute paths for the used
8022         shared objects.
8024         * config.make.in: Add MAKEINFO definition.
8026 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8028         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8029         (ENTRY): Use STABS_FUN.
8030         (END): Use STABS_FUN_END.
8031         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
8033         * elf/Makefile: Add rules to build sprof program.
8034         * elf/sprof.c: New file.
8036 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8038         * misc/syslog.c (openlog_internal): Insert missing closing brace.
8040 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8042         * configure.in: Check for working msgfmt version (from GNU gettext
8043         0.10 or later).
8045 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8047         * configure.in: Avoid //s in sysdirs.
8048         Patch by Roland McGrath.
8050         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
8052 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
8054         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8055         setting _dl_global_scope for RTLD_GLOBAL.
8057 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8059         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8060         possible lists of object-suffixes are taken care of.
8062 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
8064         * timezone/private.h: Update from tzcode1998c.
8065         * timezone/zic.c: Likewise.
8066         * timezone/antarctica: Updated from tzdata1998c.
8067         * timezone/asia: Likewise.
8068         * timezone/australasia: Likewise.
8069         * timezone/europe: Likewise.
8070         * timezone/southamerica: Likewise.
8072 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8074         * posix/glob.c (glob_in_dir): Add support for cases insensitive
8075         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
8077 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
8079         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8080         Changed type of TWO43, TWO52 from float to double.
8081         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8082         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8083         Changed type of TWO43 from float to double.
8084         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8085         Use __isinff.
8087 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
8089         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8090         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8091         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
8093 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
8095         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8096         kernel_termios.h.
8097         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8098         Clean up random whitespace.
8099         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8100         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8102         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
8104 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
8106         * shlib-versions: Match alpha*.
8107         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8108         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
8110         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8111         Implement copysign* with and without __ prefix.
8112         Likewise for fabs; use builtin for gcc 2.8.
8113         (floor*): New.
8114         (fdim*): New.
8116         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8117         (R_SPARC*): Match current v9 ABI.
8119         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
8121         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8122         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8123         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8124         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8125         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8126         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8127         * sysdeps/unix/grantpt.c (argv): Fix consts.
8128         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8129         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8131 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8133         * misc/syslog.c: Change to allow user the interpretation of the
8134         outcome even with syslog having no return value.
8136 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8138         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8139         that the number of program headers is >0 (which is wrong for the
8140         loader itself).
8142 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8144         * Makefile (distribute): Add README.libm.
8146 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8148         * time/clocktest.c (main): Correct typo: "--" -> "==".
8150 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8152         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8153         inline function.
8154         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8155         inline functions.
8157         * math/libm.map (__atan2): Added.
8159 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8161         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8162         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8164         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8165         bug.
8167 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8169         * manual/arith.texi (Old-style number conversion): Correct
8170         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8172 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8174         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8175         but does not require it.  Handle missing argv[] values gracefully.
8176         * posix/execl.c: Likewise.
8177         * posix/execle.c: Likewise.
8179 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8181         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8182         bit.
8183         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8185 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8187         * libc.map: Add __adjtimex.
8189 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8191         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8192         Remove memset.
8194 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8196         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8197         to 64.
8199         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8201         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8202         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8204         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8205         for shared library.
8207         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8209         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8210         Added adjtimex and old_adjtimex.
8212         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8213         New.
8214         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8215         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8217         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8218         symbols only for shared library.
8219         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8220         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8221         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8222         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8223         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8224         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8225         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8227         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8228         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8229         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8230         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8231         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8232         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8233         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8234         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8236         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8237         rusage pointer.
8239         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8240         New macros.
8241         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8242         timex and __adjtimex, respectively.
8244         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8246         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8248 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8250         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8251         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8253 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8255         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8257 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8259         * Makefile.in: Disable built-in rules.
8261 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8263         * sysdeps/i386/fpu/t_exp.c: Move to ...
8264         * sysdeps/libm-i387/t_exp.c: ... here.
8266 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8268         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8269         from __exp2_deltatable.
8271 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8273         * nis/ypclnt.c (yp_master): Check result of strdup.
8274         Patch by Thorsten Kukuk.
8276 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8278         * nis/ypclnt.c: Give clnt handle after error checking free, change
8279         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8281 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8283         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8284         Patch by Joe Keane <jgk@jgk.org>.
8286         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8287         * misc/fstab.c: Remove casts in fs_type assignments.
8289 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8291         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8292         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8293         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8294         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8295         * sysdeps/powerpc/bits/fenv.h: Likewise.
8296         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8297         * sysdeps/generic/bits/fenv.h: Likewise.
8298         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8299         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8300         * sysdeps/powerpc/test-arith.c (main): Likewise.
8302 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8304         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8305         the comparison macros.
8307 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8309         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8310         (__log2): Fixed return values.
8311         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8313 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8315         * math/math.h (isunordered): Rename local variables to ensure
8316         correct code.  Reported by HJ Lu.
8318 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8320         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8321         isless, islessequal, islessgreater, isunordered): Fix syntax for
8322         fucompip instruction.
8323         (isless, islessequal): Fix logic.
8325 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8327         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8328         (comparisons_test): New tests for comparison macros.
8330 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8332         * Makeconfig: Filter out frame-pointer effecting options when
8333         compiling profiling or debugging code.
8334         * config.h.in (internal_function): Don't define here if PROF is
8335         defined.
8336         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8337         state.
8338         (__monstartup): If calloc fails set error state and mark array as
8339         not allocated.
8340         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8341         to free array if not  successfully allocated.
8343         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8344         Include elf.h to get macro definitions.
8345         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8347 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8349         * elf/ldd.sh.in: Add compatibility for broken old shells.
8350         * elf/ldd.bash.in: Likewise.
8352 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8354         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8356         * time/clocktest.c (main): Check signal return error.
8358 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8360         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8361         "/" and use do-install-program. Reported by Mark M. Kettenis.
8362         (subdir_install):  Likewise.
8364 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8366         * sunrpc/rpc_sample.c: Fix typo.
8368         * nscd/connections.c: Use locale.
8369         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8370           calloc result.
8371         * nscd/nscd.c: Check if init functions fails.
8372         * nscd/nscd_conf.c: Allow disabling of group cache.
8373         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8374         * nscd/pwdcache.c: Fix debug messages.
8376 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8378         * libc.map: Add __monstartup and _mcleanup for profiling support.
8380 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8382         * libc.map: Export __getpagesize, for binary compatibility with
8383         2.0.
8385 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8387         * posix/globtest.sh: Use --library-path instead of
8388         LD_LIBRARY_PATH.
8389         * localedata/sort-test.sh: Likewise.
8390         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8392 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8394         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8395         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8396         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8398         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8399         kernel_sigaction): Define.
8400         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8401         kernel_sigaction): Define.
8403 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8405         * math/libm-test.c: Change epsilons for libm-ieee754.
8407 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8409         * sysdeps/i386/__longjmp.S: Fix race condition.
8410         Reported by Bruno Haible <haible@ilog.fr>.
8412 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8414         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8415         * iconvdata/8bit-gap.c: Likewise.
8416         * iconvdata/8bit-generic.c: Likewise.
8417         * iconvdata/iso6937.c: Likewise.
8418         * iconvdata/iso8859-1.c: Likewise.
8419         * iconvdata/sjis.c: Likewise.
8420         * iconvdata/t61.c: Likewise.
8422 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8424         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8425         feature tests by positive feature tests.
8427 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8429         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8431 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8433         * elf/dlvsym.c (dlvsym_doit): More corrections.
8434         Patch by Andreas Jaeger.
8436 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8438         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8440 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8442         * libc.map: More reordering for GLIBC_2.1 symbols.
8444 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8446         * libc.map: Move some functions from version GLIBC_2.0 to
8447         GLIBC_2.1, reorder declarations.
8449 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8451         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8452         Patch by zab@thebrain.grumblesmurf.net.
8454 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8456         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8457         NIS+ functions with version GLIBC_2.1.
8459 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8461         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8462         with 2.0 binaries.  Reported by Thorsten Kukuk.
8464 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8466         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8468         * elf/dlsym.c (dlsym_doit): Likewise.
8470 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8472         * elf/link.h: Correct typos.
8474         * iconv/iconv_prog.c: Correct typo.
8476 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8478         * iconv/Makefile: Add rules to build and install iconv program.
8479         * iconv/iconv_prog.c: New file.
8481 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8483         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8484         _dl_lookup_symbol_skip call.
8485         * elf/dlvsym.c (dlvsym_doit): Likewise.
8487 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8489         * libio/iovsscanf.c: Do not include errno.h.
8491 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8493         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8494         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8495         pulling in the whole error list.
8496         (__dcgettext, dcgettext): Removed.
8497         * libc.map: Export _strerror_internal.
8499 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8501         * sysdeps/i386/fpu/t_exp.c: New file.
8503 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8505         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8506         everything with version GLIBC_2.1.
8507         * hesiod/libnss_hesiod.map: Likewise.
8509 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8511         * manual/arith.texi (Old-style number conversion): This node is a
8512         section, not a subsection.
8514 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8516         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8518 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8520         * elf/rtld.c (dl_main): Make sure that the library search paths
8521         have been initialized before the first call to _dl_map_object.
8523 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8525         * Makerules (common-generated): Add libc_pic.os.
8527 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8529         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8530         of the executable.
8532 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8534         * sysdeps/m68k/fpu/t_exp.c: New file.
8536 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8538         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8539         to global errno variable anymore.
8541 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8543         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8544         If PRELOADED is nonzero check in case of an SUID application
8545         whether the shared object has the SUID bit set.
8546         Fix some other problems with handling shared objects in system
8547         specific directories.
8548         (_dl_map_object): Also take extra parameter and pass it to open_path.
8549         * elf/link.h (_dl_map_object): Correct prototype and comment.
8550         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8551         * elf/dl-open.c (_dl_open): Likewise.
8552         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8554         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8556 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8558         * math/libm-test.c (modf_test): Add test for 1.5.
8560         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8561         0 to get always an int.
8563 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8565         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8566         version GLIBC_2.1.
8568 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8570         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8571         trying to read another character.
8573 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8575         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8576         name to lowercase.
8578         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8579         name to lowercase, add test for big enough buffer.
8581 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8583         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8584         Make compatible with older kernels.  Patch by Richard Henderson.
8586 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8588         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8590         * localedata/tst-locale.sh: Comment out first test for now.
8592 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8594         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8595         as 1.
8596         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8597         Likewise.
8599         * libio/iogetline.c (_IO_getline_info): Renamed from
8600         _IO_getline.
8601         (_IO_getline): Just call _IO_getline_info.
8603         * libio/libioP.h (_IO_getline_info): New declaration.
8605         * libc.map (_IO_getline_info, __write): Added.
8607 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8609         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8610         const char* to shut up gcc.
8612 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8614         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8615         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8617         * math/math.h: Define M_* constants always as `double' and add new
8618         macros M_*l which are of type `long double'.
8619         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8620         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8621         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8622         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8623         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8624         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8625         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8626         * math/libm-tst.c: Likewise.
8628         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8629         define as long double unconditionally.
8631 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8633         * manual/arith.texi (Old-style number conversion): Correct some
8634         typos.
8636 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8638         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8639         Restore.
8641         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8643 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8645         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8646         on $(rtld-ldscript).
8648         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8649         starting from 0 not only from `from'.
8650         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8652 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8654         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8655         pass value (or NULL) to _dl_init_paths.
8656         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8657         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8658         environment variable.
8659         * elf/link.h: Change prototype for _dl_init_paths.
8660         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8662         * localedata/Makefile (distribute): Add test files.
8664 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8666         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8667         test1.def, test2.def, test3.def, test4.def}: Simple input files
8668         for localedef. Contributed by Yung-Ching Hsiao
8669         <yhsiao@cae.wisc.edu>.
8671         * localedata/Makefile (tests): Call tst-locale.sh.
8673         * localedata/tst-locale.sh: New file, regression tests for some
8674         localedef problems.
8676 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8678         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8680         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8681         terminated.
8682         * nis/nss_nisplus/nisplus-network.c: Likewise.
8683         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8684         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8685         * nis/nss_nisplus/nisplus-service.c: Likewise.
8687         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8688         and support generating thread safe RPC code.
8689         * sunrpc/rpc_main.c: Add changes.
8690         * sunrpc/rpc_clntout.c: Likewise.
8691         * sunrpc/rpc_cout.c: Likewise.
8692         * sunrpc/rpc_hout.c: Likewise.
8693         * sunrpc/rpc_parse.c: Likewise.
8694         * sunrpc/rpc_sample.c: Likewise.
8695         * sunrpc/rpc_scan.c: Likewise.
8696         * sunrpc/rpc_svcout.c: Likewise.
8697         * sunrpc/rpc_util.c: Likewise.
8698         * sunrpc/rpc_util.h: Add new structs and prototypes.
8699         * sunrpc/proto.h: Remove prototypes for static functions.
8701 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8703         * locale/programs/ld-messages.c (messages_finish): Don't skip
8704         error checking when being quiet.
8705         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8706         (set_class_defaults): Likewise.
8707         * locale/programs/charmap.c (parse_charmap): Likewise.
8708         * locale/programs/ld-collate.c (collate_finish): Likewise.
8709         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8710         * locale/programs/ld-time.c (time_finish): Likewise.
8711         * locale/programs/locfile.c (write_locale_data): Likewise.
8713         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8714         unknown characters and empty ranges.
8715         * locale/programs/ld-collate.c (collate_order_elem): When
8716         processing an ellipsis properly form a linked list in the result
8717         table, fix typo when allocating ordering array.
8718         [PR libc/419]
8720 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8722         * elf/Makefile (ld-map): Define.
8723         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8724         `$(rtld-ldscript)'.
8725         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8726         on $(ld-map).
8727         (rtld-link): Combine the two versions of this definition.  Fixed
8728         to make it work when no symbol versioning is used.
8730 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8732         * Makeconfig (build-program-cmd): Use --library-path parameter to
8733         ld.so instead of environment variable.
8735         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8736         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8738 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8740         * Make-dist: Respect with-cvs setting.
8741         * MakeTAGS (all-pot): Likewise.
8742         * sysdeps/sparc/sparc32/Makefile: Likewise.
8743         * sysdeps/mach/hurd/Makefile: Likewise.
8744         * stdlib/Makefile: Likewise.
8745         * posix/Makefile: Likewise.
8746         * intl/Makefile: Likewise.
8747         * po/Makefile (linguas): Likewise
8749 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8751         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8753 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8755         * libc.map: Add __strcasecmp.
8757         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8758         module.
8760         * nss/getXXent_r.c: If no more module is found don't try to call
8761         setXXent functions but leave unsuccessfully.
8763         * malloc/obstack.h: Cleanups.
8765         * sysdeps/wordsize-32/stdint.h: New file.
8766         * sysdeps/wordsize-64/stdint.h: New file.
8767         * sysdeps/generic/stdint.h: New file.
8768         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8769         * sysdeps/wordsize-64/inttypes.h: Likewise.
8770         * stdlib/Makefile (headers): Add stdint.h.
8772 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8774         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8776 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8778         * timezone: New directory.
8779         * time/README, time/africa, time/antarctica, time/asia,
8780         time/australasia, time/backward, time/checktab.awk,
8781         time/etcetera, time/europe, time/factory, time/ialloc.c,
8782         time/iso3166.tab, time/leapseconds, time/northamerica,
8783         time/pacificnew, time/private.h, time/scheck.c,
8784         time/solar87, time/solar88, time/solar89, time/southamerica,
8785         time/systemv, time/test-tz.c, time/tzfile.h,
8786         time/tzselect.ksh, time/yearistype, time/zdump.c,
8787         time/zic.c, time/zone.tab: Moved to timezone.
8788         * time/tzfile.c: Include tzfile.h from timezone subdir.
8789         * time/tzset.c: Likewise.
8790         * time/Makefile: Cut out all code relating to timezones...
8791         * timezone/Makefile: ...and paste it in here.
8792         * Makefile (subdirs): Add timezone.
8794 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8796         * libc.map (_sys_nerr): Added.
8798         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8799         versioned symbol.
8801 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8803         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8804         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8805         Reported by Craig Metz <cmetz@inner.net>.
8807 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8809         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8810         instead of strcasecmp.
8811         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8813         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8815 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8817         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8818         Patch by Dean Gaudet <dgaudet@arctic.org>.
8820 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8822         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8824 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8826         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8827         with no poll syscall, just include the BSD version.
8828         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8829         kernel without the syscall, include the stub version.
8830         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8831         * sysdeps/generic/getresuid.c: New file.
8832         * sysdeps/generic/getresgid.c: New file.
8834 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8836         * stdio-common/vfscanf.c: Correct last change a bit.
8838 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8840         * elf/Makefile: Don't use --version-script parameter to link ld.so
8841         unconditionally.
8843 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8845         * math/Makefile: Add t_exp.
8846         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8847         constants.
8848         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8849         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8850         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8851         better accuracy.
8852         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8853         algorithm for very large/very small arguments.
8854         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8855         correct algorithm for very large/very small arguments; adjust for
8856         new table.
8857         * sysdeps/libm-ieee754/t_exp.c: New file.
8858         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8860         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8861         back, with comment that explains what breaks when you remove it :-(.
8863         * localedata/xfrm-test.c: Avoid integer overflow.
8865         * stdlib/strfmon.c: char is unsigned, sometimes.
8867         * sysdeps/powerpc/Makefile: Remove quad float support.
8868         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8869         * sysdeps/powerpc/quad_float.h: Likewise.
8870         * sysdeps/powerpc/test-arith.c: Likewise.
8871         * sysdeps/powerpc/test-arithf.c: Likewise.
8873         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8874         * sysdeps/generic/s_exp2f.c: Likewise.
8876         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8877         don't try anything if _SOFT_FLOAT.
8879 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8881         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8882         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8883         * wctype/wctype.c: Likewise.
8884         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8885         changed.  They are incompatible with the _ISxxx values from
8886         <ctype.h> on little endian machines.
8887         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8888         bit number.  This fixes the real bug and restores the integrity of
8889         the ctype locale file.
8890         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8891         * wctype/wcfuncs_l.c: Likewise.
8892         * wctype/wcextra.c: Likewise.
8893         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8894         byte swapping.
8896 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8899         into .bss segment instead of .common, so that aliases on it work.
8901         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8902         .size directives, put into .bss segment instead of initializing it
8903         to 4.
8905 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8907         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8909         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8910         functions.
8911         Make names without __ weak aliases.
8912         (__libc_release, __libc_version): Make them static.
8914         * include/gnu/libc-version.h: New file.
8915         * Makefile (headers): Add gnu/libc-version.h.
8917 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8919         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8920         and use x for member name.
8921         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8923         * stdlib/drand48.c: Change according to member name change.
8924         * stdlib/drand48_r.c: Likewise.
8925         * stdlib/lcong48_r.c: Likewise.
8926         * stdlib/lrand48.c: Likewise.
8927         * stdlib/lrand48_r.c: Likewise.
8928         * stdlib/mrand48.c: Likewise.
8929         * stdlib/mrand48_r.c: Likewise.
8930         * stdlib/seed48.c: Likewise.
8931         * stdlib/seed48_r.c: Likewise.
8932         * stdlib/srand48_r.c: Likewise.
8934 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8936         * nss/test-netdb.c: Add some more test cases.
8938 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8940         * libio/iovsscanf.c: Undo last change modifying errno.
8942 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8944         * stdio-common/vfscanf.c: Never try to read another character
8945         after EOF.  Don't decrement read_in after EOF, it wasn't
8946         incremented in the first place.
8947         (NEXT_WIDE_CHAR): Set First, not first.
8949 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8951         * db/Makefile ($(inst_libdir)/libndbm.a,
8952         $(inst_libdir)/libndbm.so): New targets.
8953         * db2/Makefile: Likewise.
8955 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8957         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8958         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8960 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8962         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8963         <streambuf.h>.
8964         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8966 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8968         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8969         versioned symbols.
8971 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8973         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8974         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8975         Added for libdl.so.
8977 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8979         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8980         extra syscall.
8982         * grp/Makefile: Fix logic when checking for thread package.
8983         * pwd/Makefile: Likewise.
8985 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8987         * elf/Makefile (rtld-map): Replaced by libc-map.
8989         * elf/rtld.map: Removed.
8991         * libc.map (__libc_enable_secure, _dl_catch_error,
8992         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8993         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8994         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8995         _dl_object_relocation_scope, _dl_relocate_object,
8996         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8997         _r_debug): Added for ld.so.
8999 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
9001         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
9002         DO_VERSIONING.
9003         * libio/iofdopen.c: Ditto.
9004         * libio/iofopen.c: Ditto.
9005         * libio/oldfileops.c: Ditto.
9007         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
9008         version GLIBC_2.1.
9010         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
9011         oldsiglist from sysdep_routines and shared-only-routines.
9013         * sysdeps/unix/sysv/linux/errlist.c: New.
9014         * sysdeps/unix/sysv/linux/errlist.h: New.
9015         * sysdeps/unix/sysv/linux/sizes.h: New.
9016         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
9017         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
9019         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
9021         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
9022         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
9023         directive.
9025         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
9027         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
9028         (oldsiglist.c): Removed.
9030         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
9031         (_sys_siglist): Use SYS_SIGLIST instead.
9032         (_sys_nerr): Use SYS_NERR instead.
9034         * sysdeps/gnu/errlist.c: Rebuilt.
9036 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
9038         * elf/Makefile (others-static): New, set to ldconfig.
9039         ($(objpfx)ldconfig): Removed.
9041         * Rules (binaries-all, binaries-static, binaries-shared): New.
9042         Create targets for $(binaries-static) and $(binaries-shared).
9044         * Makeconfig (+link-static, link-libc-static,
9045         link-extra-libs-static): New for static linking.
9047 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9049         * manual/memory.texi (Using the Memory Debugger): Fix typo.
9051         * math/libm-test.c (modf_test): Add one more test for modf.
9053 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
9055         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9056         Rename from __libc_have_rt_sigs and leave as COMMON data.
9058 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
9060         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
9061         of __finite.
9063 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
9065         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
9067 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
9069         * misc/tst-efgcvt.c: Add yet more tests.
9070         * misc/efgcvt_r.c: And correct for these tests again.
9071         Reported by HJ Lu.
9073         * isomac.c: Move to...
9074         * stdlib/isomac.c: ...here.
9075         * Makefile: Move rules for handling isomac...
9076         * stdlib/Makefile: ...to here.
9078 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9080         * misc/tst-efgcvt.c: Add more tests.
9081         * misc/efgcvt_r.c: Correct result for above new tests.
9083 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
9085         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9086         NDIGIT <= 0.
9088 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
9090         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
9091         if the programs weren't built.
9093 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
9095         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
9096         FE_TONEAREST, soldier on regardless and do the best we can.
9097         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
9099 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
9101         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
9102         _STDIO_H, before including <bits/stdio_lim.h>.
9104         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
9106         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
9107         exist.
9109         * sysdeps/arm/sys/ucontext.h: New file.
9111 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
9113         * manual/stdio.texi (Formatted Output Functions): Explicitly say
9114         that the return value from snprintf() does not count the
9115         terminating NUL as a character.
9117 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9119         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
9120         add description for sete[ug]id and general cleanup.
9121         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9123 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9125         * Makefile (parent-clean): Don't remove makefile fragments here.
9126         (postclean): New variable.
9127         (clean): Remove makefile fragments here.
9128         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
9129         (generated): Add isomac and isomanc.out.
9130         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
9131         avoid-generated is set.
9132         (postclean-generated): Add soversion.mk.
9133         ($(common-objpfx)version.mk): Don't include if avoid-generated is
9134         set.
9135         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
9136         avoid-generated is set.
9137         (common-generated): Add libc.so and libc.so$(libc.so-version).
9138         (generated): Add versioned libraries.
9139         (common-mostlyclean): Also remove %.so and %_pic.a.
9140         * csu/Makefile (generated): Add abi-tag.h.
9141         * db2/Makefile (extra-objs): Add getlong.o.
9142         * elf/Makefile (generated): Add ld.so, ldd and
9143         $(rtld-installed-name).
9144         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
9145         * malloc/Makefile (generated): Add mtrace.
9146         * po/Makefile: Don't include version.mk, not needed any more.
9147         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
9148         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
9149         syscall.h -> sys/syscall.h.
9150         (common-generated): Add s-proto.d.
9151         (postclean-generated): Add sysd-syscalls.
9152         * localedata/Makefile (test-output): Add all output files.
9153         (generated): Add test-input and test-output.
9154         (generated-dirs): Add all the dirs.
9156 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9158         * Makefile (test-output, generated, generated-dirs): New
9159         variables.
9161 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9163         * resolv/nss_dns/dns-host.c: Various code cleanups.
9165 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9167         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9168         From Philip Blundell <pb@nexus.co.uk>.
9169         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9171 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9173         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9174         Suggested by debian/sparc porters.
9176 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9178         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9179         for ecvt and fcvt.
9181 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9183         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9184         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9186         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9187         defined even if __USE_POSIX is not defined.
9189 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9192         to support obsolete tty major numbers correctly.
9194 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9196         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9197         directory first and ignore install error.
9199         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9200         128 from ptyno and fix a typo for the BSD style pty.
9202 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9204         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9205         syscalls.list's.
9207 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9209         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9210         getresuid and getresgid.
9212         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9213         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9215         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9216         s_getres[ug]id.
9218         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9219         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9220         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9221         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9223 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9225         * nscd/grpcache.c: Include <stdlib.h>.
9227 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9229         * stdlib/atoll.c: Fix comments.
9231         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9232         * sysdeps/posix/ttyname_r.c: Ditto.
9234 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9236         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9237         __USE_MISC, independent of __USE_UNIX98.
9239 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9241         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9242         Rename from __libc_have_rt_sigs and leave as COMMON data.
9244 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9246         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9247         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9249         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9250         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9251         version symbols.
9252         * include/libc-symbols.h (symbol_version, default_symbol_version):
9253         Provide asm versions and correct !DO_VERSIONING versions.
9254         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9255         the weak symbol list.
9257         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9258         Rename from __libc_have_rt_sigs and leave as COMMON data.
9259         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9260         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9261         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9263 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9265         * sunrpc/Makefile: Correct dependencies of rpcgen.
9267 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9269         * nscd/Makefile: Fix test for available linuxthreads add-on.
9270         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9272 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9274         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9276 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9278         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9280         * manual/errno.texi (Error Messages): Correct description of
9281         strerror_r.  Pointed out by jonas@bagge.se.
9283 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9285         * manual/socket.texi (Host Address Functions): Clarify description
9286         of inet_network.
9288 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9290         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9291         (grantpt): Delete superfluous cast.
9293 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9295         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9296         elf/ldso_install instead of elf/subdir_install.
9297         (elf/ldso_install): New target.
9299         * elf/Makefile (ldso_install): New target.
9301 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9303         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9304         of 1998-01-06.
9306 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9308         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9309         constant expressions.
9311 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9313         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9314         for __nss_configure_lookup.
9315         (output_hostent): Remove unused variable.
9317 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9319         * string/tst-inlcall.c: Fix format string.
9321 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9323         * inet/netinet/in.h: Rename second parameter of bindresvport to
9324         avoid buggy gcc warning. [PR libc/412]
9326 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9328         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9329         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9331         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9332         Follow POSIX and make tv_sec a time_t.
9333         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9334         new tv64 syscall as well as fall back to tv32.
9335         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9336         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9337         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9338         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9339         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9340         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9341         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9342         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9344         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9345         * include/rpcsvc/nis_tags.h: Likewise.
9346         * include/rpcsvc/nislib.h: Likewise.
9348 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9350         * libc.map: Add _h_errno.
9351         * inet/herrno.c: Make _h_errno weak alias.
9353         * login/Makefile (distribute): Add pty-internal.h.
9355         * nscd/Makefile (distribute): Add all the files missing.
9357         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9358         are available.
9360         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9361         and report status at the end.
9363         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9365         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9366         variable.
9367         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9368         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9369         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9371 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9373         * configure.in: Fix --enable-add-ons code.
9375 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9377         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9378         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9379         [PR libc/441]
9381         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9382         occurence in cache.  Reported by Rudolf Leitgeb
9383         <leitgeb@leland.stanford.edu>.
9384         [PR libc/440]
9386 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9388         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9389         that it never is EINTR (which is tested for in _IO_vfscanf).
9391         * Makefile.in: Call sub-make with CVSOPTS.
9393         * elf/Makefile (distribute): Add dl-procinfo.h.
9395         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9397 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9399         * version.h (VERSION): Bump to 2.0.92.
9401 1998-01-31  Phil Blundell  <philb@gnu.org>
9403         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9404         alias for __new_sys_siglist.
9406 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9408         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9409         getgrgid_r.c if thread package is available.
9410         * pwd/Makefile: Likewise.
9411         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9412         * grp/getgrgid_r.c: Likewise.
9413         * pwd/getpwnam_r.c: Likewise.
9414         * pwd/getpwuid_r.c: Likewise.
9416 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9418         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9419         with error to allow user intervention.
9420         * nss/getXXent_r.c: Likewise.
9422 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9424         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9425         AT_PLATFORM string.  Pretty print AT_BASE info.
9427         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9428         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9429         * sysdeps/generic/dl-procinfo.h: New file.
9430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9432 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9434         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9436         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9437         thread and not pthread_detach.
9439         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9441 1998-01-31  Phil Blundell  <philb@gnu.org>
9443         * configure.in: Add --without-cvs option to suppress automatic
9444         checkin of regenerated files.
9445         * config.make.in: Likewise.
9446         * Makefile: Respect with-cvs setting.
9447         * Makerules: Likewise.
9449         * configure.in: Allow the standalone ARM port to be configured.
9451 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9453         * grp/getgrgid_r.c: Define USE_NSCD.
9454         * grp/getgrnam_r.c: Likewise.
9455         * pwd/getpwuid_r.c: Likewise.
9456         * pwd/getpwnam_r.c: Likewise.
9458         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9460         * nss/getXXbyYY_r.c: Try at first nscd.
9462         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9463         * nscd/connections.c: New file.
9464         * nscd/dbg_log.c: New file.
9465         * nscd/dbg_log.h: New file.
9466         * nscd/grpcache.c: New file.
9467         * nscd/nscd.c: New file.
9468         * nscd/nscd.h: New file.
9469         * nscd/nscd_conf.c: New file.
9470         * nscd/nscd_stat.c: New file.
9471         * nscd/pwdcache.c: New file.
9473         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9474         * nscd/nscd_getpw_r.c: Likewise.
9475         * nscd/nscd_proto.h: New, prototypes for client functions.
9477         * nscd/nscd.conf: New, example for a configuration file.
9478         * nscd/nscd.init: New, example for a startup script.
9480         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9481         avoid deadlocks.
9482         * nscd/getgrnam_r.c: Likewise.
9483         * nscd/getpwnam_r.c: Likewise.
9484         * nscd/getpwuid_r.c: Likewise.
9486 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9488         * intl/Makefile: Use CVSOPTS in cvs invocation.
9489         * po/Makefile: Likewise.
9490         * posix/Makefile: Likewise.
9491         * stdlib/Makefile: Likewise.
9493 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9495         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9496         [PR libc/410]
9497         * misc/Makefile (tests): Add tst-efgcvt.
9498         * misc/tst-efgcvt.c: New file.
9500 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9502         * posix/regex.c: Add some more cleanups by Akim Demaille.
9504 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9506         * signal/signal.h: Revert last change.
9507         * string/strsignal.c: Regard signal number NSGI as illegal.
9508         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9509         members.
9511 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9513         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9514         * Makerules: Use CVSOPTS in cvs invocation.
9515         * Makefile: Likewise.
9516         * MakeTAGS: Likewise.
9517         * Make-dist: Likewise.
9519 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9521         * sysdeps/generic/memmem.c: Correct last change.
9523 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9525         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9526         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9528 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9530         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9531         before using RPC.
9533 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9535         * manual/memory.texi (Heap Consistency Checking): mcheck is
9536         declared in <mcheck.h>.
9537         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9539 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9541         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9542         beginning of haystack.
9544 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9546         * nss/nss_files/files-service.c: Correct last patch.
9548 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9550         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9551         __libc_have_rt_sigs.
9552         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9553         including <bits/setjmp.h>.
9554         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9555         Patch from the Debian glibc/SPARC package.
9557 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9559         * sysdeps/alpha/bzero.S: Fix a typo.
9560         * sysdeps/alpha/htonl.S: Ditto.
9561         * sysdeps/alpha/htons.S: Ditto.
9563 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9565         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9567 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9569         * include/cpio.h: Move to ...
9570         * posix/cpio.h: ...here.
9572         * locale/programs/ld-collate.c: Fix typo.
9574         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9576         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9578         * login/utmp_file.c (pututline_file): Don't always report success
9579         if similar entry is found.  Patch by Mark M. Kettenis.
9581 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9583         * manual/Makefile: Don't try to install the info files if makeinfo
9584         is not available.
9586 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9588         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9589         kernel's network ioctls, rather than using <linux/sockios.h> to
9590         get them.  This way we are sure of maintaining compatibility if
9591         the kernel interface should change.
9593 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9595         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9597 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9599         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9602 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9604         Implement System V pseudoterminal handling.
9606         * login/Makefile
9607         (routines): Add getpt, grantpt, unlockpt, ptsname.
9608         (libutil-routines): Remove pty. Add openpty, forkpty.
9609         (distribute): New internal header pty-internal.h.
9610         (others): Add the helper program, pt_chown.
9611         (install-others): Install it, in $(libexecdir), mode 4755.
9613         * login/pty-internal.h: New file.
9614         * login/openpty.c: New file.
9615         * login/forkpty.c: New file.
9616         * login/programs/pt_chown.c: New file.
9618         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9619         * stdlib/stdlib.h: Prototype them.
9621         * config.make.in: Define $(libexecdir).
9622         * Makeconfig: Define $(inst_libexecdir).
9624         * sysdeps/generic/pty.c: Removed.
9625         * sysdeps/unix/sysv/linux/pty.c: Removed.
9627         * sysdeps/generic/getpt.c: Stub out.
9628         * sysdeps/generic/grantpt.c: Likewise.
9629         * sysdeps/generic/ptsname.c: Likewise.
9630         * sysdeps/generic/unlockpt.c: Likewise.
9632         * sysdeps/unix/grantpt.c: New file.
9633         * sysdeps/unix/bsd/getpt.c: New file.
9634         * sysdeps/unix/bsd/unlockpt.c: New file.
9635         * sysdeps/unix/sysv/linux/getpt.c: New file.
9636         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9637         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9639 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9641         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9643 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9645         * nss/Makefile (tests): Add rule for test-netdb.c.
9647         * nss/test-netdb.c: New file.
9649 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9651         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9652         really kept as a variable.  Patch by Richard Henderson,
9653         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9655         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9656         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9657         entries as not existing.
9659 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9661         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9662         zero in alternate form with precision of zero, which must produce
9663         "0".  Add braces to avoid ambiguous `else'.
9665 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9667         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9668         problem with strncpy.
9669         * nis/nss_compat/compat-pwd.c: Likewise.
9670         * nis/nss_compat/comapt-spwd.c: Likewise.
9672 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9674         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9675         by uch@nop.or.jp. [PR libc/437]
9677 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9679         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9681 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9683         * stdio-common/test-popen.c: Include <errno.h>.
9685         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9686         close.
9688         * inet/getnetgrent_r.c: Include <errno.h>.
9690         * db2/db/db_conv.c: Include <string.h> for memcpy.
9692         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9693         so that memcpy is declared.
9695         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9697         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9699 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9701         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9702         overflow while reading line with fgets.
9703         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9705 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9707         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9708         unsigned short, not short.
9709         Reported by Andreas Jaeger.
9711 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9713         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9714         (ccept->accept).
9716         * sysdeps/generic/inttypes.h: Fix spelling.
9718 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9720         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9722         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9724 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9726         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9727         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9728         field for hh modifier.
9729         * stdio-common/vfprint.c: Use is_char field and do not depend in
9730         is_short having the value 2.
9731         Bug reported by Andreas Jaeger.
9733 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9735         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9736         PIC && DO_VERSIONING.
9738 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9740         * Rules: Add rules for $(common-objpfx)dummy$o.
9742 1998-01-26  Richard Henderson  <rth@cygnus.com>
9744         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9745         unimplemented OSF/1 definitions so that they are not accidentally seen.
9747         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9748         of the trampoline function into the macro.
9749         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9750         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9751         kernel 2.1.82 has this fixed.
9753         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9754         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9756 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9758         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9759         support sigaction on kernels > 2.1.7x.
9761 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9763         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9764         if it is empty.
9766         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9767         Patch by David Engel <david@sw.ods.com>.
9769         * configure.in: Fix another typo in --enable-add-ons code.
9771 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9773         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9775 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9777         * nss/nss_files/files-network.c: Correct order of parameters for
9778         getnetbyaddr.
9780 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9782         * db2/Makefile (routines): Add os_alloc.
9783         * db2/db.h: Update from db-2.3.16.
9784         * db2/db_185.h: Likewise.
9785         * db2/db_int.h: Likewise.
9786         * db2/btree/bt_close.c: Likewise.
9787         * db2/btree/bt_cursor.c: Likewise.
9788         * db2/btree/bt_delete.c: Likewise.
9789         * db2/btree/bt_open.c: Likewise.
9790         * db2/btree/bt_page.c: Likewise.
9791         * db2/btree/bt_put.c: Likewise.
9792         * db2/btree/bt_rec.c: Likewise.
9793         * db2/btree/bt_recno.c: Likewise.
9794         * db2/btree/btree_auto.c: Likewise.
9795         * db2/common/db_appinit.c: Likewise.
9796         * db2/common/db_apprec.c: Likewise.
9797         * db2/common/db_err.c: Likewise.
9798         * db2/common/db_region.c: Likewise.
9799         * db2/common/db_shash.c: Likewise.
9800         * db2/db/db.c: Likewise.
9801         * db2/db/db_auto.c: Likewise.
9802         * db2/db/db_conv.c: Likewise.
9803         * db2/db/db_dispatch.c: Likewise.
9804         * db2/db/db_dup.c: Likewise.
9805         * db2/db/db_pr.c: Likewise.
9806         * db2/db/db_rec.c: Likewise.
9807         * db2/db185/db185.c: Likewise.
9808         * db2/dbm/dbm.c: Likewise.
9809         * db2/hash/hash.c: Likewise.
9810         * db2/hash/hash_auto.c: Likewise.
9811         * db2/hash/hash_dup.c: Likewise.
9812         * db2/hash/hash_page.c: Likewise.
9813         * db2/hash/hash_rec.c: Likewise.
9814         * db2/include/btree_ext.h: Likewise.
9815         * db2/include/clib_ext.h: Likewise.
9816         * db2/include/common_ext.h: Likewise.
9817         * db2/include/db.h.src: Likewise.
9818         * db2/include/db_185.h.src: Likewise.
9819         * db2/include/db_am.h: Likewise.
9820         * db2/include/db_ext.h: Likewise.
9821         * db2/include/db_int.h.src: Likewise.
9822         * db2/include/hash_ext.h: Likewise.
9823         * db2/include/lock_ext.h: Likewise.
9824         * db2/include/log.h: Likewise.
9825         * db2/include/log_auto.h: Likewise.
9826         * db2/include/log_ext.h: Likewise.
9827         * db2/include/mp.h: Likewise.
9828         * db2/include/mp_ext.h: Likewise.
9829         * db2/include/mutex_ext.h: Likewise.
9830         * db2/include/os_ext.h: Likewise.
9831         * db2/include/os_func.h: Likewise.
9832         * db2/include/txn_ext.h: Likewise.
9833         * db2/lock/lock.c: Likewise.
9834         * db2/lock/lock_util.c: Likewise.
9835         * db2/log/log.c: Likewise.
9836         * db2/log/log.src: Likewise.
9837         * db2/log/log_archive.c: Likewise.
9838         * db2/log/log_auto.c: Likewise.
9839         * db2/log/log_get.c: Likewise.
9840         * db2/log/log_put.c: Likewise.
9841         * db2/log/log_rec.c: Likewise.
9842         * db2/log/log_register.c: Likewise.
9843         * db2/mp/mp_bh.c: Likewise.
9844         * db2/mp/mp_fget.c: Likewise.
9845         * db2/mp/mp_fopen.c: Likewise.
9846         * db2/mp/mp_fput.c: Likewise.
9847         * db2/mp/mp_pr.c: Likewise.
9848         * db2/mp/mp_sync.c: Likewise.
9849         * db2/mutex/mutex.c: Likewise.
9850         * db2/os/os_alloc.c: Likewise.
9851         * db2/os/os_config.c: Likewise.
9852         * db2/os/os_stat.c: Likewise.
9853         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9854         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9855         * db2/progs/db_load/db_load.c: Likewise.
9856         * db2/progs/db_printlog/db_printlog.c: Likewise.
9857         * db2/progs/db_recover/db_recover.c: Likewise.
9858         * db2/progs/db_stat/db_stat.c: Likewise.
9859         * db2/txn/txn.c: Likewise.
9861         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9862         Unmap memory blocks in reverse order of allocation.
9863         Call munmap with load address added to offset.
9864         Bug reported by Miguel de Icaza.
9866         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9867         up weight array.
9869         * localedata/locales/cs_CZ: Update by Michael Mraka
9870         <michael@informatics.muni.cz>.
9872         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9873         __USE_BSD.
9875         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9876         reading line with fgets.
9877         * nis/nss_compat/compat-pwd.c: Likewise.
9878         * nis/nss_compat/compat-spwd.c: Likewise.
9879         * nss/nss_files/files-XXX.c: Likewise.
9880         * nss/nss_files/files-alias.c: Likewise.
9881         * shadow/fgetspent_r.c: Likewise.
9883         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9885         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9886         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9887         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9889         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9890         FP register content in ucontext_t.
9892 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9894         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9895         calculation.  Patch by Markus Schoder
9896         <Markus.Schoder@dresdner-bank.de>.
9898         * math/libm-test.c (modf_test): Add more tests for modf.
9900         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9901         munlock according to Unix98.
9903 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9905         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9906         AF_INET.
9908 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9910         * sysdeps/posix/ttyname.c: Handle symbolic links.
9911         * sysdeps/posix/ttyname_r.c: Ditto.
9913 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9915         * db2/makedb.c (process_input): Write terminating \0 for value.
9916         (print_database): Simply print value string, don't use length.
9918 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9920         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9921         exit of loop.
9923 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9925         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9926         close all sockets.
9928 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9930         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9931         sigset.
9932         * signal/sighold.c: New file.
9933         * signal/sigrelse.c: New file.
9934         * sysdeps/generic/sigignore.c: New file.
9935         * sysdeps/generic/sigset.c: New file.
9936         * sysdeps/posix/sigignore.c: New file.
9937         * sysdeps/posix/sigset.c: New file.
9938         * signal/signal.h: Add prototypes for new functions.
9940         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9941         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9942         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9943         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9945 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9947         * posix/wordexp.c: Added IFS field-splitting in parameter and
9948         command substitution.  Fixed an IFS-related bug that caused an
9949         infinite loop.
9951 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9953         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9954         and swapcontext.
9955         * stdlib/ucontext.h: Correct prototypes.
9956         * sysdeps/generic/getcontext.c: New file.
9957         * sysdeps/generic/setcontext.c: New file.
9958         * sysdeps/generic/makecontext.c: New file.
9959         * sysdeps/generic/swapcontext.c: New file.
9960         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9962 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9964         * resource/sys/resource.h: Remove #include of ulimit.h which is
9965         not allowed by SUSv2 and not available on other systems.
9966         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9968         * streams/Makefile: New file.
9969         * streams/stropts.h: New file.
9970         * sysdeps/generic/bits/stropts.h: New file.
9971         * sysdeps/generic/isastream.c: New file.
9972         * sysdeps/generic/getmsg.c: New file.
9973         * sysdeps/generic/getpmsg.c: New file.
9974         * sysdeps/generic/putmsg.c: New file.
9975         * sysdeps/generic/putpmsg.c: New file.
9976         * sysdeps/generic/fattach.c: New file.
9977         * sysdeps/generic/fdetach.c: New file.
9978         * sysdeps/unix/inet/Subdirs: Add streams.
9979         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9980         __t_uscalar_t.
9981         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9982         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9983         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9984         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9986         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9987         handle small buffers correctly.
9989 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9991         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9992         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9993         and _dl_runtime_profile.
9995 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9997         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9998         * posix/Makefile (headers): Add cpio.h.
10000 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10002         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
10003         to routines.
10004         * nis/nis_cache.c: New file.
10005         * nis/nis_cache2.h: New file.
10006         * nis/nis_cache2_xdr.c: New file.
10007         * nis/nis_call.c: Changes for cache2_info parameter.
10008         * nis/nis_checkpoint.c: Likewise.
10009         * nis/nis_intern.h: Likewise.
10010         * nis/nis_mkdir.c: Likewise.
10011         * nis/nis_ping.c: Likewise.
10012         * nis/nis_rmdir.c: Likewise.
10013         * nis/nis_server.c: Likewise.
10014         * nis/nis_util.c: Likewise.
10016 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10018         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
10019         return/errnop codes.
10020         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10021         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10022         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10023         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10024         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10025         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10026         * nis/nss_nisplus/nisplus-rpc.c: Likewise
10027         * nis/nss_nisplus/nisplus-service.c: Likewise.
10028         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10030 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10032         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
10033         * nis/nss_nis/nis-ethers.c: Likewise.
10034         * nis/nss_nis/nis-grp.c: Likewise.
10035         * nis/nss_nis/nis-hosts.c: Likewise.
10036         * nis/nss_nis/nis-network.c: Likewise.
10037         * nis/nss_nis/nis-proto.c: Likewise.
10038         * nis/nss_nis/nis-hosts.c: Likewise.
10039         * nis/nss_nis/nis-network.c: Likewise.
10040         * nis/nss_nis/nis-proto.c: Likewise.
10041         * nis/nss_nis/nis-publickey.c: Likewise.
10042         * nis/nss_nis/nis-pwd.c: Likewise.
10043         * nis/nss_nis/nis-rpc.c: Likewise.
10044         * nis/nss_nis/nis-service.c: Likewise.
10045         * nis/nss_nis/nis-spwd.c: Likewise.
10047 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
10049         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
10050         Added to follow latest kernel development.
10052 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
10054         * nss/db-Makefile: Handle empty and comment lines better.
10055         ($(VAR_DB)/services.db): Generate entries with missing protocol
10056         value.
10058 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10060         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
10061           NULL.
10062           (getservbyname): Allow proto == NULL.
10063           Pointed out by David N. Welton <davidw@gate.cks.com>.
10064           [PR libc/430].
10066 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
10068         * nis/nislib/nislib.h: Finally removed.
10070         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
10071         C compiler.  From Kaveh Ghazi.
10072         (TYPE_MINIMUM): Define.
10073         (TYPE_MAXIMUM): Define.
10074         (TIME_T_MIN): Use TYPE_MINIMUM.
10075         (TIME_T_MAX): Use TYPE_MAXIMUM.
10076         Patch by Jim Meyering <meyering@ascend.com>.
10078 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
10080         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
10081         __pread64, __pwrite64, and __getpid.
10083         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
10084         versions.
10086 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10088         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
10089         cancelable socket functions as __libc_xxx with __xxx as weak
10090         alias.
10091         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
10092         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10094         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
10095         redefined.
10096         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10097         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
10098         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10099         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10101         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
10102         and __xxx a weak alias.
10103         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10104         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10105         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10106         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10107         * sysdeps/unix/sysv/linux/send.S: Likewise.
10108         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10109         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10111 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10113         * locale/langinfo.h: Add defines.
10115         * dirent/dirent.h: Add defines for DT_*, check also for
10116         _DIRENT_HAVE_D_TYPE.
10117         Suggested by Roland McGrath.
10119 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10121         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
10122         Update from Linux 2.1.73+79.
10124         * README.template: Update information about possible
10125         configurations.
10127         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
10128         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10129         [PR libc/417].
10131         * manual/time.texi (Priority): Correct description of
10132         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10133         [PR libc/416].
10135 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
10137         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
10138         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
10140 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
10142         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
10143         Andreas Jaeger.
10145 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
10147         * locale/programs/ld-collate.c: Little optimizations.
10149         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10151         * string/Makefile (tests): Add tst-inlcall.
10152         * string/tst-inlcall.c: New file.
10154         * string/strsignal.c: Add support for real-time signals.
10156         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10157         presense of small buffer.
10159         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10161         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10162         for i686.
10164         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10165         _NSIG + 1.
10167 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10169         * Rules: Add explicit rule for dummy.o; at least one library needs
10170           it and it isn't autogenerated by the default rules.
10172 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10174         * math/libm-test.c: Tweak epsilons.
10176 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10178         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10179         child.
10180         (feenv_mask_test): Likewise.
10182 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10184         * Makeconfig: Don't export CPPFLAGS.
10186 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10188         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10189         message.
10191 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10193         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10194         terminating null in key size.
10196 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10198         * nss/nss_files/files-service.c: Fix allocation size to include
10199         length of PROTO.
10201         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10202         applicable.  Fix return value and error checking.
10203         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10204         unparsable lines.
10205         (DB_LOOKUP): Allocate space for terminating null byte.
10207         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10208         uids specially.
10210         * db2/makedb.c (process_input): Continue processing if a duplicate
10211         key is encountered.
10213 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10215         * time/tzfile.h: Updated from tzcode1998b.
10216         * time/zdump.c: Likewise.
10217         * time/zic.c: Likewise.
10218         * time/africa: Update from tzdata1998b.
10219         * time/antarctica: Likewise.
10220         * time/asia: Likewise.
10221         * time/australasia: Likewise.
10222         * time/etcetera: Likewise.
10223         * time/europe: Likewise.
10224         * time/leapseconds: Likewise.
10225         * time/northamerica: Likewise.
10226         * time/southamerica: Likewise.
10228 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10230         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10231         lookups ignoring case.
10232         * nss/nss_files/files-network.c: Do network lookups ignoring
10233         case.
10234         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10235         case.
10236         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10237         case insensitive comparing.
10238         Patches by Cristian Gafton <gafton@redhat.com>.
10240 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10242         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10243         by Roland McGrath. [PR libc/395]
10245 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10247         * manual/arith.texi (Parsing of Integers): Correct description of
10248         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10249         [PR libc/396]
10251 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10253         * misc/lsearch.c (lsearch): Return a pointer to the new element
10254         if one was "allocated".
10256 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10258         * string/strsignal.c: NSIG is not a valid index into
10259         _sys_siglist.  Don't zap the last character of the "Unknown
10260         signal" message.
10262 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10264         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10265         ellipsis expressions.
10267         * locale/programs/charset.c (insert_char): Correctly insert value
10268         of eliipsis expression.
10270 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10272         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10273         <bits/setjmp.h>.
10274         * sysdeps/powerpc/setjmp.S: Likewise.
10275         Patches by Matt McLean <keys@keys.got.net>.
10277         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10279         * Makefile: Undo last patch.
10280         (distribute): Add test-installation.pl.
10282         * configure.in: Correct handling of --enable-add-ons without parameter.
10283         Correct address of WWW pages.
10285         * libc.map: Add _nl_domain_bindings.
10287         * db2/mutex/tsl_parisc.s: New file.
10289         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10290         and extra-module.mk.
10292         * localedata/Makefile (distribute): New.  Add all the files.
10294         * stdlib/Makefile (headers): Add inttypes.h.
10295         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10296         * sysdeps/generic/inttypes.h: New file.
10297         * sysdeps/generic/strtoimax.c: New file.
10298         * sysdeps/generic/strtoumax.c: New file.
10299         * sysdeps/generic/wcstoimax.c: New file.
10300         * sysdeps/generic/wcstoumax.c: New file.
10301         * sysdeps/wordsize-32/Dist: Removed.
10302         * sysdeps/wordsize-32/Makefile: Removed.
10303         * sysdeps/wordsize-64/Dist: Removed.
10304         * sysdeps/wordsize-64/Makefile: Removed.
10305         * sysdeps/generic/bits/environments.h: New file.
10307         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10308         header is still not correct.
10310         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10311         * posix/unistd.h: Likewise.
10312         * sysdeps/generic/sys/mman.h: Likewise.
10313         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10315         * manual/arith.texi: Change definition of mul macro.
10316         * manual/math.texi: Likewise.
10318         * misc/Makefile (routines): Add mmap64.
10319         * sysdeps/generic/mmap64.c: New file.
10320         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10321         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10322         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10323         aliases to mmap.
10324         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10326         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10328         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10330         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10332         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10333         FOPEN_MAX also when included by limits.h.
10334         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10336         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10337         and netrom/netrom.h.
10338         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10339         oldsiglist to sysdep_routines, not aux.
10340         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10342         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10343         and SOL_NETROM definition.
10345         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10347         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10348         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10350 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10352         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10354         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10355         sa_handler with k_sa_handler.
10356         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10357         strong alias.
10358         Reported by a sun.
10360         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10361         __libc_have_rt_sigs here.
10362         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10363         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10364         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10365         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10367 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10369         * sysdeps/powerpc/atomicity.h: New file.
10370         * sysdeps/mach/powerpc/machine-lock.h: New file.
10372         * Rules: Use -fpic to build anything that might end up in a users'
10373         shared library.
10375         * sysdeps/powerpc/s_fdim.c: New file.
10376         * sysdeps/powerpc/s_fdimf.c: New file.
10377         * sysdeps/powerpc/s_fmax.S: New file.
10378         * sysdeps/powerpc/s_fmaxf.S: New file.
10379         * sysdeps/powerpc/s_fmin.S: New file.
10380         * sysdeps/powerpc/s_fminf.S: New file.
10381         * sysdeps/powerpc/s_llrint.c: Now is for double.
10382         * sysdeps/powerpc/s_llrintf.c: New file.
10383         * sysdeps/powerpc/s_llround.c: Now is for double.
10384         * sysdeps/powerpc/s_llroundf.c: New file.
10385         * sysdeps/powerpc/s_lrint.c: Now is for double.
10386         * sysdeps/powerpc/s_lrintf.S: New file.
10387         * sysdeps/powerpc/s_lround.c: Now is for double.
10388         * sysdeps/powerpc/s_lroundf.c: New file.
10389         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10390         lrintf, fdim, fdimf.
10392         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10393         file directly, use its parent.
10395         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10396         (for the third time).
10398 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10400         * posix/sched.h: timespec is in <time.h>.
10402         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10404 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10406         * configure.in: Stop with error if --disable-static is used when
10407         the shared lib uses this library.
10409         * gen-FAQ.pl: I've perl installed in /usr/bin.
10411         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10413         Fix Unix98 conformance problems in the headers.
10414         * catgets/nl_types.h: Define nl_item.
10415         * grp/grp.h: Define gid_t.
10416         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10417         * include/nl_types.h: New file.
10418         * include/ulimit.h: New file.
10419         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10420         constants in POSIX mode.
10421         * io/utime.h: Get definition for time_t.
10422         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10423         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10424         * libio/stdio.h: Define va_list.  Make snprintf also available is
10425         __USE_UNIX98.  Declare getopt function and variables.
10426         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10427         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10428         * math/math.h: Defined M_* constants as double for Unix98 mode.
10429         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10430         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10431         * posix/regex.h: Define REG_NOSYS.
10432         * posix/wordexp.h: Define WRDE_NOSYS.
10433         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10434         500 for Unix98.
10435         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10436         somewhere else as well.  Define clock_t for Unix98.
10437         * posix/sys/wait.h: Define pid_t.
10438         * pwd/pwd.h: Define gid_t, uid_t.
10439         * resource/Makefile (headers): Add ulimit.h.
10440         * resource/ulimit.h: New file.
10441         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10442         instead of second argument.
10443         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10444         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10445         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10446         * signal/signal.h: Define pid_t.
10447         * string/string.h: Don't declare BSD string functions in POSIX mode.
10448         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10449         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10450         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10451         and POSIX.
10453         * inet/test_ifindex.c: Change test so that it does not fail for
10454         interface aliases.
10456         * locale/programs/locale.c (show_info): Use correct cast sequence
10457         for 64bit machines.
10459         * malloc/malloc.c: __malloc_initialized now signals three states:
10460         uninitialized, initializing, initialized.  Used in mcheck.
10461         * malloc/mcheck.c (mabort): Add '\n' to messages.
10462         (mcheck): Allow installation when malloc is uninitialized or is
10463         just initializing.
10465         * manual/memory.texi: Explain mtrace output a bit more.
10467         * math/libm-test.c: Add more epsilons.
10469         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10471         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10472         instead of strcpy for security.
10473         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10474         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10475         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10477         * nss/digits_dots.c: Pretty print.
10479         * posix/getconf.c (vars): Add symbols for programming environment
10480         recognition.  Recognize --version.
10482         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10483         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10484         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10486         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10487         __need_FOPEN_MAX.
10488         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10489         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10490         __need_FOPEN_MAX.
10492         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10493         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10495         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10496         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10497         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10498         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10499         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10500         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10502         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10503         SCNu*.
10504         * sysdeps/wordsize-64/inttypes.h: Likewise.
10506         * time/africa: Update from tzdata1997j.
10507         * time/antarctica: Likewise.
10508         * time/asia: Likewise.
10509         * time/australasia: Likewise.
10510         * time/backward: Likewise.
10511         * time/etcetera: Likewise.
10512         * time/europe: Likewise.
10513         * time/factory: Likewise.
10514         * time/northamerica: Likewise.
10515         * time/pacificnew: Likewise.
10516         * time/southamerica: Likewise.
10518         * time/tzfile.h: Update from tzcode1997h.
10519         * time/zic.c: Likewise.
10521         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10522         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10523         isw*() functions for Unix98.
10524         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10525         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10526         is defined.
10528 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10530         * locale/duplocale.c: Increase usage_count only if less than
10531         MAX_USAGE_COUNT.
10532         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10533         MAX_USAGE_COUNT.
10534         * locale/setlocale.c: Likewise.
10536 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10538         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10539         dependency to make it easier to install it selectively.
10541         * Makerules (.SUFFIXES): Don't define any suffixes.
10543 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10545         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10546         * sysdeps/generic/statfs64.c: Emulate using statfs.
10547         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10548         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10549         * sysdpes/generic/ftruncate64.c: New file.
10550         * sysdpes/generic/truncate64.c: New file.
10552         * sysdeps/generic/bits/stat.h: Add LFS support.
10553         * sysdeps/generic/bits/statfs.h: Likewise.
10555         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10556         [__USE_FILE_OFFSET64]: Make long long constant.
10557         (RLIM64_INFINITY): Likewise.
10559         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10560         for LFS support.
10561         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10562         * sysdeps/generic/bits/resource.h: Likewise.
10564         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10566         * include/features.h: Don't prevent LFS support from defining BSD
10567         and SYSV things.
10569         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10570         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10571         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10573         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10574         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10575         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10577         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10578         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10579         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10580         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10581         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10582         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10583         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10584         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10585         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10586         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10588         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10589         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10590         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10592         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10593         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10594         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10595         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10596         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10598         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10599         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10600         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10601         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10602         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10604         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10605         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10606         [$(subdir)=dirent]: Add getdents64.
10607         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10609         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10611 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10613         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10615         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10616         * sysdeps/generic/getrlimit64.c: Likewise.
10617         * sysdeps/generic/setrlimit.c: Likewise.
10618         * sysdeps/generic/setrlimit64.c: Likewise.
10620 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10622         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10623         using versioning.
10625         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10627         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10629 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10631         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10632         after the codeset name.
10634 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10636         * libc.map: Add get_kernel_syms.
10638 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10640         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10641         static.
10642         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10643         Likewise.  Fix condition.
10645 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10647         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10649 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10651         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10652         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10654 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10656         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10657         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10658         instead.  Oops.
10660 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10662         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10664 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10666         * math/libm-test.c (catanh_test): Change epsilon.
10667         Reported by H.J. Lu.
10669 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10671         * libc.map (__getpid): Added for linuxthreads.
10673 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10675         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10676         it if gcc uses static variable in DWARF2 unwind information
10677         for exception support.
10679         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10681         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10682         HAVE_DWARF2_UNWIND_INFO_STATIC.
10684         * libc.map (__register_frame*, __deregister_frame*): Make them
10685         global.
10687 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10689         * math/libm-test.c: Add more tests for "normal" values.
10691 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10693         * stdio-common/printf_fphex.c: Fix printing of long double number
10694         with a biased exponent of zero.  Fix rounding.
10696 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10698         * sunrpc/rpc_main.c: Accept new flag -$.
10699         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10701 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10703         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10704         dynamic linker first, in case the interface has changed.
10706 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10708         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10709         order.
10711 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10713         * math/tgmath.h: Check for double first, for architectures where
10714         sizeof (long double) == sizeof (double).
10716 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10718         * math/libm-test.c: New tests for "normal" values added for most
10719         functions.
10721 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10723         * version.h (VERSION): Bump to 2.0.91.
10725         * db2/makedb.c (process_input): Fix typo in message.
10726         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10728         * elf/dynamic-link.h: Pretty print.
10730         * elf/rtld.c: Allow multiple preloading of a shared object.
10732         * include/limits.h: Prevent multiple inclusion.
10734         * malloc/Makefile (headers): Add mcheck.h.
10735         (distribute): Remove it here.
10736         * malloc/mcheck.h: Pretty print.
10737         * malloc/mtrace.c (mallenv): Make `const'.
10738         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10739         are none.
10740         * manual/memory.texi: Update descriptor of malloc hooks.
10742         * posix/Makefile (routines): Add waitid.
10743         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10744         on __id_t.
10745         * posix/sys/wait.h: Define idtype_t type.
10746         Add prototype for waitid.
10747         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10748         * sysdeps/generic/waitid.c: Stub for waitid.
10749         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10750         the __need_siginfo_t defined.
10751         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10752         * sysdeps/generic/bits/types.h: Define __id_t.
10753         Correct definition of __FDMASK.
10754         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10755         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10756         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10758         * sysdeps/posix/waitid.c: New file.
10759         Provided by Zack Weinberg.
10761         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10763         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10764         Add missing parameters.
10766         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10767         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10768         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10769         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10770         initialized.
10772         * sysdeps/i386/dl-machine.h: Little cleanup.
10774         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10775         (__finite): Mark function as const.
10776         Add inline code for __ieee754_atan2.
10778         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10779         (but don't use it now).
10780         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10781         __atan.
10782         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10783         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10784         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10785         real part.
10786         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10787         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10788         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10789         __ieee754_atan2 to base 10.
10790         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10791         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10793         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10794         old_kernel_sigaction.
10796         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10798         * wctype/Makefile (routines): Add wctype_l.
10799         * wctype/wctype.h: Add declaration of __wctype_l.
10800         * wctype/wctype_l.c: New file.
10802 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10804         * locale/C-ctype.c: Correct data for isw* functions.
10805         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10806         byte order.
10807         * wctype/test_wctype.c: Add test for isw* functions.
10808         * wctype/wctype.c: Return value with expected byte order.
10810 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10812         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10814 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10816         * iconvdata/Makefile: Fix a typo.
10818         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10819         oldsiglist for shared library.
10821         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10822         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10824         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10825         sys_siglist, sys_sigabbrev): New file. Make them as the old
10826         version GLIBC_2.0.
10828         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10829         to GLIBC_2.1.
10831 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10833         * libio/iofgets.c (_IO_fgets): Return an error only if there
10834         is a new error.
10835         * libio/iogets.c (_IO_gets): Ditto.
10837 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10839         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10841         * libio/Makefile (routines, shared-only-routines): Add
10842         oldiofdopen.
10844         * libio/fileops.c: Don't use _IO_FILE_complete.
10845         * libio/iofdopen.c: Ditto.
10846         * libio/iofopen.c: Ditto.
10847         * libio/iofopen64.c: Ditto.
10848         * libio/iopopen.c: Ditto.
10849         * libio/iovdprintf.c: Ditto.
10851         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10853         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10854         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10856         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10857         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10859         * libio/libio.h (_IO_FILE): Add more fields.
10860         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10861         one if _IO_USE_OLD_IO_FILE is defined
10862         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10863         them _IO_FILE_complete.
10865         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10866         to adjust vtable.
10867         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10868         _IO_JUMPS.
10869         (_IO_FILE_complete): Commented out.
10871         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10872         * libio/oldiofclose.c: Ditto.
10873         * libio/oldiofopen.c: Ditto.
10874         * libio/oldstdfiles.c: Ditto.
10876         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10877         for the old _IO_FILE.
10879         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10880         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10881         and stderr.
10883         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10884         and remove INAME.
10886         * libio/stdio.c (stdin, stdout, stdin): Don't use
10887         _IO_FILE_complete.
10889         * libio/oldiofdopen.c: New.
10891         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10892         hp->_vtable_offset to 0.
10894 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10896         * libc.map (_IO_file_open): Added.
10898         * libio/libioP.h (_IO_file_open): Declared.
10900         * libio/fileops.c (_IO_file_open): New.
10901         (_IO_file_fopen): Call _IO_file_open ().
10903         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10904         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10906 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10908         * signal/signal.h: Fix selection of signal semantics to match
10909         comment.
10911 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10913         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10914         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10915         rt_sigreturn.
10916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10917         [$(subdir)=signal]: Remove rt_sigreturn.
10918         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10919         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10920         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10922 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10924         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10925         declarations.
10927 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10929         * iconvdata/extra-module.mk: Expand extra-objs now.
10931 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10933         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10934         inline functions by feature tests to avoid warning about missing
10935         prototype declarations.
10937 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10939         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10940         return code for non existent +name entries.
10941         * nis/nss_compat/compat-pwd.c: Likewise.
10942         * nis/nss_compat/compat-spwd.c: Likewise.
10944 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10946         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10947         (EIO): Likewise.
10948         (ENOSPC): Likewise.
10949         (EEXIST): Likewise.
10950         (__errno_location): Likewise.
10952         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10954         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10956 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10958         * sunrpc/publickey.c: Use new NSS interface.
10960 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10962         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10964 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10966         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10967         value, to match spirit of the standard.
10968         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10969         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10970         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10972 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10974         * manual/signal.texi (Signal Stack): Remove spurious @item.
10976 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10978         * rt/aio.h: Remove double semicolon.
10980         * rt/librt.map: Add aio_init.
10982 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10984         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10985         * Makefile (subdirs): Replace rt by $(rt).
10987         * shlib-versions: Use version .2 for NSS modules.
10989         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10990         argument.
10991         * pwd/fgetpwent_r.c: Likewise.
10992         * spwd/fgetspent_r.c: Likewise.
10993         * spwd/sgetspent_r.c: Likewise.
10994         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10995         Store error number in *ERRNOP.  Little optimization.
10996         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10997         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10998         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10999         (__internal_getnetgrent_r): New argument.
11000         Call __internal_setnetgrent_reuse with new argument.
11001         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
11002         * inet/netgroup.h: Add argument to prototypes.
11003         * nis/nisplus-parser.h: Likewise.
11004         * nis/nss_compat/compat-grp.c: Change everything to store error
11005         code through provided pointer and not use errno.
11006         * nis/nss_compat/compat-pwd.c: Likewise.
11007         * nis/nss_compat/compat-spwd.c: Likewise.
11008         * nis/nss_nis/nis-alias.c: Likewise.
11009         * nis/nss_nis/nis-ethers.c: Likewise.
11010         * nis/nss_nis/nis-grp.c: Likewise.
11011         * nis/nss_nis/nis-hosts.c: Likewise.
11012         * nis/nss_nis/nis-netgrp.c: Likewise.
11013         * nis/nss_nis/nis-network.c: Likewise.
11014         * nis/nss_nis/nis-proto.c: Likewise.
11015         * nis/nss_nis/nis-publickey.c: Likewise.
11016         * nis/nss_nis/nis-pwd.c: Likewise.
11017         * nis/nss_nis/nis-rpc.c: Likewise.
11018         * nis/nss_nis/nis-service.c: Likewise.
11019         * nis/nss_nis/nis-spwd.c: Likewise.
11020         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11021         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11022         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11023         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11024         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
11025         * nis/nss_nisplus/nisplus-network.c: Likewise.
11026         * nis/nss_nisplus/nisplus-parser.c: Likewise.
11027         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11028         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
11029         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11030         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11031         * nis/nss_nisplus/nisplus-service.c: Likewise.
11032         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11033         * nss/nss_db/db-XXX.c: Likewise.
11034         * nss/nss_db/db-alias.c: Likewise.
11035         * nss/nss_db/db-netgrp.c: Likewise.
11036         * nss/nss_files/files-XXX.c: Likewise
11037         * nss/nss_files/files-alias.c: Likewise
11038         * nss/nss_files/files-netgrp.c: Likewise
11039         * nss/nss_files/files-parse.c: Likewise
11040         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
11041         parameter of get functions.
11042         * nss/getXXent_r.c: Likewise.
11044         * localedata/tst-fmon.c: Print debug info if test fails.
11046         * rt/Makefile (routines): Add aio_notify.
11047         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
11048         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
11049         * rt/aio_fsync.c: Likewise.
11050         * rt/aio_misc.c: Likewise.
11051         * rt/aio_misc.h: Likewise.
11052         * rt/aio_read.c: Likewise.
11053         * rt/aio_read64.c: Likewise.
11054         * rt/aio_suspend.c: Likewise.
11055         * rt/aio_write.c: Likewise.
11056         * rt/aio_write64.c: Likewise.
11057         * rt/lio_listio.c: Likewise.
11058         * rt/lio_listio64.c: Likewise.
11059         * rt/aio_notify.c: New file.
11061         * sysdeps/generic/bits/sigset.h: Pretty print.
11063         * sysdeps/posix/pwrite.c: Define weak alias only if function is
11064         really defined as __pwrite.
11066         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
11067         instead of pread64.
11068         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11070         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11071         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
11072         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
11073         size in syscall.
11074         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11075         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11076         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
11077         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11078         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11079         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11080         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
11081         for ACT being NULL.
11082         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
11083         RT signals.
11084         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
11085         __NR_pread is not defined.
11086         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
11087         __NR_pwrite is not defined.
11089 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11091         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
11092         handle for /etc/group back in some more cases.
11093         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
11094         handle for /etc/passwd back in some more cases.
11095         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
11096         handle for /etc/shadow back in some more cases.
11098 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
11100         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
11101         beyound its size.
11102         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
11103         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
11105 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
11107         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
11108         handling.  Don't use macros, we need functions.  Use inline functions
11109         for optimization.
11110         * sysdeps/wordsize-64/inttypes.h: Likewise.
11111         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
11112         and wcstoumax.
11113         * sysdeps/wordsize-64/Makefile: Likewise.
11114         * sysdeps/wordsize-32/Dist: Likewise.
11115         * sysdeps/wordsize-64/Dist: Likewise.
11116         * sysdeps/wordsize-32/strtoimax.c: New file.
11117         * sysdeps/wordsize-32/strtoumax.c: New file.
11118         * sysdeps/wordsize-32/wcstoimax.c: New file.
11119         * sysdeps/wordsize-32/wcstoumax.c: New file.
11120         * sysdeps/wordsize-64/strtoimax.c: New file.
11121         * sysdeps/wordsize-64/strtoumax.c: New file.
11122         * sysdeps/wordsize-64/wcstoimax.c: New file.
11123         * sysdeps/wordsize-64/wcstoumax.c: New file.
11125 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
11127         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
11128         that transparent union works.
11129         * sysdeps/generic/wait4.c (__wait4): Likewise.
11130         * sysdeps/generic/wait.c (__wait): Likewise.
11132         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
11133         size_t.
11135         * sysdeps/generic/syscall.c (syscall): Return value and arg are
11136         long, to match prototype.
11138         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
11139         have mremap() yet.
11141         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
11143         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
11145         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
11147         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
11148         __rlim_t.
11150         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11152         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11154         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11155         __S_IFLNK.
11157         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11158         <bits/stdio_lim.h>.
11159         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11161 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11163         * posix/sys/wait.h: Don't use transparent unions in C++.
11165 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11167         * time/time.h: Add strfxtime.
11169         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11170         sysv_signal, strfxtime, pread64, pwrite64.
11172 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11174         Alpha changes for EGCS:
11175         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11176         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11177         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11178         (_start): Likewise.
11179         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11181 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11183         The kernel expects the arguments in a different order.
11184         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11185         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11187         * FAQ.in: New file.
11188         * gen-FAQ.pl: New file.
11189         * Makefile (FAQ): Add rule to generate from FAQ.in.
11191         * iconvdata/Makefile: Treat libJIS like the other modules.
11193         * rt/librt.map: New file.
11195         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11196         inclusion.
11197         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11198         comment.
11200 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11202         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11203         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11204         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11205         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11207 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11209         * string/bits/string2.h: Fix spellings.
11211         * string/string.h: Fix spellings.
11213 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11215         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11216         declaration to __syscall_rt_sigaction.
11218         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11219         non-existant <sigcontext.h>.
11221 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11223         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11224         typo.
11226 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11228         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11230         * Makeconfig (shared-thread-library): Correct spelling.
11232         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11233         <asm/pci.h>.
11235 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11237         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11238         constants from Linux headers. Pointed out by
11239         csmall@scooter.o.i.net. [PR libc/369]
11241 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11243         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11245 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11247         * configure.in: If --enable-add-ons is given without an
11248         argument, set the addons list to all subdirs with a configure
11249         script.
11251 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11253         * Makeconfig: Add shared-thread-library variable.
11255         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11256         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11257         here.
11258         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11259         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11260         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11261         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11262         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11263         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11264         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11265         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11266         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11267         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11268         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11269         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11270         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11271         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11272         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11273         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11274         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11275         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11276         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11277         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11278         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11279         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11280         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11281         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11282         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11284         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11285         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11286         * signal/Makefile (headers): Add bits/siginfo.h.
11287         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11288         (distribute): Add testrtsig.h.
11289         * signal/allocrtsig.c: New file.
11290         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11291         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11292         __libc_current_sigrtmax.
11293         * sysdeps/generic/sigqueue.c: New file.
11294         * sysdeps/generic/sigtimedwait.c: New file.
11295         * sysdeps/generic/sigwaitinfo.c: New file.
11296         * sysdeps/generic/testrtsig.h: New file.
11297         * sysdeps/generic/bits/siginfo.h: New file.
11298         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11299         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11300         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11301         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11302         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11303         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11304         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11305         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11306         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11307         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11308         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11309         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11310         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11311         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11312         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11313         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11314         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11315         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11316         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11317         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11318         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11319         and _POSIX_REALTIME_SIGNALS.
11320         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11321         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11322         update _NSIG.
11323         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11324         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11325         definitions.
11327         * Makefile (subdirs): Add rt.
11328         * shlib-versions: Add entry for librt.
11329         * rt/Makefile: New file.
11330         * rt/aio.h: New file.
11331         * rt/aio_cancel.c: New file.
11332         * rt/aio_error.c: New file.
11333         * rt/aio_fsync.c: New file.
11334         * rt/aio_misc.c: New file.
11335         * rt/aio_misc.h: New file.
11336         * rt/aio_read.c: New file.
11337         * rt/aio_read64.c: New file.
11338         * rt/aio_return.c: New file.
11339         * rt/aio_suspend.c: New file.
11340         * rt/aio_write.c: New file.
11341         * rt/aio_write64.c: New file.
11342         * rt/lio_listio.c: New file.
11343         * rt/lio_listio64.c: New file.
11344         * sysdeps/generic/aio_sigqueue.c: New file.
11345         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11346         * sysdeps/unix/sysv/linux/Dist: Add new files
11347         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11348         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11349         rt_sigqueueinfo, rt_sigaction.
11351         * posix/Makefile (headers): Add bits/environments.h.
11352         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11353         and _CS_LFS_CFLAGS on 64bit platforms.
11354         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11355         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11356         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11357         compilation modules.
11358         * sysdeps/wordsize-32/bits/environments.h: New file.
11359         * sysdeps/wordsize-64/bits/environments.h: New file.
11361         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11362         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11363         __libc_pid.
11364         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11365         0xf00baa.
11367         * string/string.h: Add declaration of __strverscmp.
11368         * string/strverscmp.c: Rename function ot __strverscmp and make old
11369         name weak alias.
11371         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11372         * sysdeps/generic/enbl-secure.c: Likewise.
11373         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11375         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11377         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11379 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11381         * posix/sys/wait.h: Use __transparent_union__ instead of
11382         transparent_union.  Reported by Roland McGrath.
11384 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11386         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11387         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11388         [PR libc/366].
11390         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11392         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11394 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11396         * grp/initgroups.c: Increase buffer if it is too small.
11398 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11400         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11401         fields, this is no ISO C.  Reported by Andreas Jaeger.
11403 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11405         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11407 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11409         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11410         _SYS_UTSNAME_H not _UTSNAME_H.
11412 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11414         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11415         computing s_scale.
11417 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11419         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11420         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11421         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11423         * math/libm-test.c (csqrt_test): Add testcase.
11425 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11427         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11428         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11429         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11431 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11433         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11435 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11437         * math/libm-test.c (acos_test): Add more tests.
11438         (asin_test): Likewise.
11439         (atan_test): Likewise.
11440         (exp_test): Likewise.
11441         (sin_test): Likewise.
11442         (sqrt_test): Likewise.
11443         (cpow_test): Likewise.
11444         (csqrt_test): Likewise.
11445         (cexp_test): Correct typo in gcc version test.
11447 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11449         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11450         <bits/setjmp.h>.
11451         * sysdeps/arm/setjmp.S: Likewise.
11453         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11455 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11457         * stdio/stdio.h: Add prototype for tmpfile64().
11459 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11461         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11462         prototype to keep in step with libio version.
11464         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11466 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11468         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11469         cross-compiling.
11471 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11473         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11474         load GOT ptr before jumping to _exit.
11475         Reported by Xavier Leroy.
11477 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11479         * Makefile (subdirs): Add iconvdata and localedata.
11481         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11483         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11485         * iconvdata/8bit-gap.c: New file.
11486         * iconvdata/8bit-generic.c: Renamed from ...
11487         * iconvdata/iso8859-generic.c: ...this.
11488         * iconvdata/configure: Removed.
11489         * iconvdata/Makefile: Add new modules and better rules.
11490         * iconvdata/iso6937.c: Minor bug fixes.
11491         * iconvdata/iso8859-1.c: Likewise.
11492         * iconvdata/t61.c: Likewise.
11493         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11494         Minor bug fixes.
11495         * iconvdata/iso8859-3.c: Likewise.
11496         * iconvdata/iso8859-4.c: Likewise.
11497         * iconvdata/iso8859-5.c: Likewise.
11498         * iconvdata/iso8859-6.c: Likewise.
11499         * iconvdata/iso8859-7.c: Likewise.
11500         * iconvdata/iso8859-8.c: Likewise.
11501         * iconvdata/iso8859-9.c: Likewise.
11502         * iconvdata/iso8859-10.c: Likewise.
11503         * iconvdata/ebcdic-at-de-a.c: New file.
11504         * iconvdata/ebcdic-at-de.c: New file.
11505         * iconvdata/ebcdic-ca-fr.c: New file.
11506         * iconvdata/hp-roman8.c: New file.
11507         * iconvdata/koi-8.c: New file.
11508         * iconvdata/koi8-r.c: New file.
11509         * iconvdata/koi8-h.c: New file.
11510         * iconvdata/latin-greek-1.c: New file.
11511         * iconvdata/latin-greek-1.h: New file.
11512         * iconvdata/latin-greek.c: New file.
11513         * iconvdata/latin-greek.h: New file.
11514         * iconvdata/jis0201.c: New file.
11515         * iconvdata/jis0201.h: New file.
11516         * iconvdata/jis0208.c: New file.
11517         * iconvdata/jis0208.h: New file.
11518         * iconvdata/jis0212.c: New file.
11519         * iconvdata/jis0212.h: New file.
11520         * iconvdata/sjis.c: New file.
11521         * iconvdata/gap.pl: New file.  Script to generate table header.
11522         * iconvdata/gaptab.pl: New file.
11523         * iconvdata/gconv-modules: Add info about new modules.
11525         * locale/programs/charmap.c: Also examine alias names given in charmap
11526         files.
11528         * localedata/*: Add to here from add-on.  We need the information
11529         to generate tables for iconv.
11531         Update from db-2.3.14.
11532         * db2/Makefile: Updated.
11533         * db2/config.h: Likewise.
11534         * db2/db.h: Likewise.
11535         * db2/db_int.h: Likewise.
11536         * db2/btree/bt_cursor.c: Likewise.
11537         * db2/btree/bt_delete.c: Likewise.
11538         * db2/btree/bt_put.c: Likewise.
11539         * db2/btree/bt_search.c: Likewise.
11540         * db2/btree/bt_split.c: Likewise.
11541         * db2/btree/btree_auto.c: Likewise.
11542         * db2/common/db_appinit.c: Likewise.
11543         * db2/common/db_apprec.c: Likewise.
11544         * db2/common/db_err.c: Likewise.
11545         * db2/common/db_region.c: Likewise.
11546         * db2/db/db_auto.c: Likewise.
11547         * db2/db/db_dispatch.c: Likewise.
11548         * db2/db/db_ret.c: Likewise.
11549         * db2/dbm/dbm.c: Likewise.
11550         * db2/hash/hash_auto.c: Likewise.
11551         * db2/include/btree_ext.h: Likewise.
11552         * db2/include/common_ext.h: Likewise.
11553         * db2/include/db.h.src: Likewise.
11554         * db2/include/db_cxx.h: Likewise.
11555         * db2/include/db_ext.h: Likewise.
11556         * db2/include/db_int.h.src: Likewise.
11557         * db2/include/lock.h: Likewise.
11558         * db2/include/log.h: Likewise.
11559         * db2/include/mp.h: Likewise.
11560         * db2/include/mp_ext.h: Likewise.
11561         * db2/include/os_ext.h: Likewise.
11562         * db2/include/os_func.h: Likewise.
11563         * db2/lock/lock.c: Likewise.
11564         * db2/lock/lock_deadlock.c: Likewise.
11565         * db2/log/log.c: Likewise.
11566         * db2/log/log_archive.c: Likewise.
11567         * db2/log/log_auto.c: Likewise.
11568         * db2/log/log_get.c: Likewise.
11569         * db2/log/log_put.c: Likewise.
11570         * db2/mp/mp_bh.c: Likewise.
11571         * db2/mp/mp_fget.c: Likewise.
11572         * db2/mp/mp_fopen.c: Likewise.
11573         * db2/mp/mp_fput.c: Likewise.
11574         * db2/mp/mp_fset.c: Likewise.
11575         * db2/mp/mp_open.c: Likewise.
11576         * db2/mp/mp_pr.c: Likewise.
11577         * db2/mp/mp_region.c: Likewise.
11578         * db2/mp/mp_sync.c: Likewise.
11579         * db2/mutex/README: Likewise.
11580         * db2/mutex/mutex.c: Likewise.
11581         * db2/os/os_open.c: Likewise.
11582         * db2/os/os_func.c: Removed.
11583         * db2/os/os_config.c: New file.
11584         * db2/os/os_spin.c: New file.
11585         * db2/txn/txn.c: Likewise.
11586         * db2/txn/txn_auto.c: Likewise.
11588 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11590         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11591         __typeof for C++ since this fails for class members.
11592         Reported by Neal Becker <neal@ctd.comsat.com>.
11594 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11596         * configure.in: Check for a working makeinfo (3.11 or better).
11597         * config.make.in: Add MAKEINFO to be substituted.
11598         * manual/Makefile: Don't update info if makeinfo is too old.
11600 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11602         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11603         * sysdeps/alpha/__longjmp.S: Likewise.
11604         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11605         not <bits/termios.h>.
11607         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11608         __llseek and make llseek and lseek64 weak aliases.
11609         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11610         Patches by a sun <asun@zoology.washington.edu>.
11612 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11614         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11616         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11617         * misc/sys/syslog.h: Clean up BSD header.
11619 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11621         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11623         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11624         for ctan(+-inf,x).
11625         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11626         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11628         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11629         csqrt (-1), ctanh(i*pi/4).
11631 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11633         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11635 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11637         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11639 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11641         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11643 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11645         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11646         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11647         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11648         of GETCWD_STORYGE_CLASS and put the return type and the
11649         `internal_function' in the right order for gcc 2.7.2.
11651 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11653         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11654         incompatible with Linux 2.1.x.  Packages using modules
11655         (e.g. modutils) should/do provide their own version.  Suggested by
11656         Richard Henderson.
11658         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11660         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11661         [$(subdir)=socket]: Remove sys/module.h.
11663 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11665         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11666         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11668         * iconv/gconv_close.c: Correct freeing of descriptor data.
11669         * iconv/gconv_simple.c: Return correct error values for illegal or
11670         incomplete characters.
11672         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11673         development.
11674         * iconvdata/Makefile: New file.
11675         * iconvdata/configure: Likewise.
11676         * iconvdata/extra-module.mk: Likewise.
11677         * iconvdata/gconv-modules: Likewise.
11678         * iconvdata/iso6937.c: Likewise.
11679         * iconvdata/iso8859-1.c: Likewise.
11680         * iconvdata/iso8859-10.c: Likewise.
11681         * iconvdata/iso8859-10.h: Likewise.
11682         * iconvdata/iso8859-2.c: Likewise.
11683         * iconvdata/iso8859-2.h: Likewise.
11684         * iconvdata/iso8859-3.c: Likewise.
11685         * iconvdata/iso8859-3.h: Likewise.
11686         * iconvdata/iso8859-4.c: Likewise.
11687         * iconvdata/iso8859-4.h: Likewise.
11688         * iconvdata/iso8859-5.c: Likewise.
11689         * iconvdata/iso8859-5.h: Likewise.
11690         * iconvdata/iso8859-6.c: Likewise.
11691         * iconvdata/iso8859-6.h: Likewise.
11692         * iconvdata/iso8859-7.c: Likewise.
11693         * iconvdata/iso8859-7.h: Likewise.
11694         * iconvdata/iso8859-8.c: Likewise.
11695         * iconvdata/iso8859-8.h: Likewise.
11696         * iconvdata/iso8859-9.c: Likewise.
11697         * iconvdata/iso8859-9.h: Likewise.
11698         * iconvdata/iso8859-generic.c: Likewise.
11699         * iconvdata/t61.c: Likewise.
11701         * string/Makefile (routines): Add strcasestr.
11702         * string/string.h: Add prototype for strcasestr.
11703         * sysdeps/generic/strcasestr.c: New file.
11704         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11705         * wcsmbs/wcrtomb.c: Likewise.
11706         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11707         * wcsmbs/wcsnrtombs.c: Likewise.
11708         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11709         partial character is read.
11710         * wcsmbs/wcsrtombs.c: Likewise.
11711         * wcsmbs/wmemrtombs.c: Likewise.
11712         * wcsmbs/wmemrtowcs.c: Likewise.
11714         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11715         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11716         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11717         * sysdeps/i386/elf/setjmp.S: Likewise.
11718         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11719         <bits/termios.h>.
11721         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11722         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11724         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11725         * sysvipc/sys/ipc.h: Likewise.
11726         * sysvipc/sys/msg.h: Likewise.
11727         * sysvipc/sys/sem.h: Likewise.
11728         * sysvipc/sys/shm.h: Likewise.
11730         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11731         used directly.
11732         * sysdeps/alpha/bits/setjmp.h: Likewise.
11733         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11734         * sysdeps/arm/bits/endian.h: Likewise.
11735         * sysdeps/arm/bits/setjmp.h: Likewise.
11736         * sysdeps/generic/bits/byteswap.h: Likewise.
11737         * sysdeps/generic/bits/confname.h: Likewise.
11738         * sysdeps/generic/bits/dirent.h: Likewise.
11739         * sysdeps/generic/bits/dlfcn.h: Likewise.
11740         * sysdeps/generic/bits/endian.h: Likewise.
11741         * sysdeps/generic/bits/fenv.h: Likewise.
11742         * sysdeps/generic/bits/huge_val.h: Likewise.
11743         * sysdeps/generic/bits/in.h: Likewise.
11744         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11745         * sysdeps/generic/bits/ioctls.h: Likewise.
11746         * sysdeps/generic/bits/ipc.h: Likewise.
11747         * sysdeps/generic/bits/msq.h: Likewise.
11748         * sysdeps/generic/bits/poll.h: Likewise.
11749         * sysdeps/generic/bits/resource.h: Likewise.
11750         * sysdeps/generic/bits/sched.h: Likewise.
11751         * sysdeps/generic/bits/sem.h: Likewise.
11752         * sysdeps/generic/bits/setjmp.h: Likewise.
11753         * sysdeps/generic/bits/shm.h: Likewise.
11754         * sysdeps/generic/bits/sigaction.h: Likewise.
11755         * sysdeps/generic/bits/sigcontext.h: Likewise.
11756         * sysdeps/generic/bits/socket.h: Likewise.
11757         * sysdeps/generic/bits/stat.h: Likewise.
11758         * sysdeps/generic/bits/statfs.h: Likewise.
11759         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11760         * sysdeps/generic/bits/termios.h: Likewise.
11761         * sysdeps/generic/bits/time.h: Likewise.
11762         * sysdeps/generic/bits/uio.h: Likewise.
11763         * sysdeps/generic/bits/utmp.h: Likewise.
11764         * sysdeps/generic/bits/utmpx.h: Likewise.
11765         * sysdeps/generic/bits/utsname.h: Likewise.
11766         * sysdeps/generic/bits/waitflags.h: Likewise.
11767         * sysdeps/generic/bits/waitstatus.h: Likewise.
11768         * sysdeps/gnu/bits/utmp.h: Likewise.
11769         * sysdeps/gnu/bits/utmpx.h: Likewise.
11770         * sysdeps/i386/bits/byteswap.h: Likewise.
11771         * sysdeps/i386/bits/endian.h: Likewise.
11772         * sysdeps/i386/bits/huge_val.h: Likewise.
11773         * sysdeps/i386/bits/setjmp.h: Likewise.
11774         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11775         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11776         * sysdeps/m68k/bits/byteswap.h: Likewise.
11777         * sysdeps/m68k/bits/endian.h: Likewise.
11778         * sysdeps/m68k/bits/setjmp.h: Likewise.
11779         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11780         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11781         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11782         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11783         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11784         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11785         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11786         * sysdeps/mips/bits/dlfcn.h: Likewise.
11787         * sysdeps/mips/bits/endian.h: Likewise.
11788         * sysdeps/mips/bits/setjmp.h: Likewise.
11789         * sysdeps/mips/dec/bits/endian.h: Likewise.
11790         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11791         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11792         * sysdeps/mips/p40/bits/endian.h: Likewise.
11793         * sysdeps/powerpc/bits/endian.h: Likewise.
11794         * sysdeps/powerpc/bits/fenv.h: Likewise.
11795         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11796         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11797         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11798         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11799         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11800         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11801         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11802         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11803         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11804         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11805         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11806         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11807         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11808         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11809         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11810         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11811         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11812         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11813         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11814         * sysdeps/unix/common/bits/dirent.h: Likewise.
11815         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11816         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11817         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11818         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11819         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11820         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11821         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11822         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11823         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11824         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11825         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11826         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11827         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11828         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11829         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11830         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11831         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11832         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11833         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11834         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11835         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11836         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11837         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11838         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11839         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11840         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11841         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11842         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11843         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11844         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11845         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11846         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11847         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11848         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11850         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11851         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11852         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11853         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11854         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11855         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11856         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11857         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11858         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11859         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11860         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11861         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11862         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11863         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11864         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11865         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11866         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11867         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11868         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11869         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11872         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11873         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11874         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11875         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11876         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11877         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11878         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11879         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11880         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11881         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11882         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11883         * sysdeps/vax/bits/huge_val.h: Likewise.
11884         * sysdeps/vax/bits/setjmp.h: Likewise.
11885         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11886         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11888 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11890         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11892 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11894         * strftime.c (strftime):
11895         No longer any need to undef or declare if emacs is defined.
11896         (my_strftime): When checking a -1 returned by mktime, don't blow up
11897         if localtime_r returns NULL.
11899 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11901         * README.template: Fix spelling.
11903 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11905         * configure.in: Enhance --enable-add-ons description a wee bit.
11907 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11909         * glibcbug.in: Add more information of build environment and flags.
11911 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11913         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11914         it into ENOENT.
11916 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11918         * elf/dl-support.c: Call __libc_init_secure to make sure
11919         __libc_enable_secure is defined early.
11920         * sysdeps/generic/enbl-secure.c: Change function name to
11921         __libc_init_secure and make it global instead of a constructor.
11923         * iconv/gconv.c: Fix lots of bugs.
11924         * iconv/gconv.h: Likewise.
11925         * iconv/gconv_builtin.h: Likewise.
11926         * iconv/gconv_close.c: Likewise.
11927         * iconv/gconv_conf.c: Likewise.
11928         * iconv/gconv_db.c: Likewise.
11929         * iconv/gconv_dl.c: Likewise.
11930         * iconv/gconv_open.c: Likewise.
11931         * iconv/gconv_simple.c: Likewise.
11932         * iconv/iconv.c: Likewise.
11933         * iconv/iconv_close.c: Likewise.
11934         * iconv/iconv_open.c: Likewise.
11936         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11937         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11938         * wcsmbs/wmemrtombs.c: New file.
11939         * wcsmbs/wmemrtowcs.c: New file.
11941 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11943         * iconv/gconv_simple.c: Fix lots of bugs.
11944         * iconv/iconv_open.c: Normalize names before passing them to
11945         __gconv_open.
11947         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11949         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11950         * stdio-common/test-popen.c: Add test for above change.
11952         * math/libm-test.c: Print test results also using %a format,
11953         specified in PRINTF_XEXPR macro.
11954         * math/test-double.c: Define PRINTF_XEXPR.
11955         * math/test-float.c: Likewise.
11956         * math/test-ldouble.c: Likewise.
11957         * math/test-idouble.c: Likewise.
11958         * math/test-ifloat.c: Likewise.
11959         * math/test-ildoubl.c: Likewise.
11961         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11962         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11963         FP number format.
11965         * stdlib/strtod.c: Little code cleanup.
11967         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11968         compiling in math subdir.
11970         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11971         instead of __LIBC_M81_MATH_INLINES.
11972         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11973         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11974         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11975         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11976         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11977         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11978         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11979         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11980         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11981         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11982         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11983         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11984         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11985         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11986         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11987         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11988         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11989         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11990         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11991         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11992         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11993         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11994         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11995         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11996         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11997         __LIBC_INTERNAL_MATH_INLINES is defined.
11999         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
12000         of compare macros from ISO C 9X.  Optimize generic versions a bit.
12001         Define __signbit inline functions and __ieee754_sqrt which can be
12002         used if the ompiler is fixed.
12004         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
12006 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12008         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
12009         sysdeps/generic in the whole dep file, not only in the first line.
12011 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12013         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
12015 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12017         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
12018         place.
12020 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12022         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
12023         is non-empty.
12025 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
12027         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
12028         return value.
12030 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
12032         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
12033         readlink succeeds but the return value is too long.
12035         * stdio-common/printf_fphex.c: Determine sign of number correctly.
12037 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
12039         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
12040         __remqu for Alpha.
12042 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
12044         * sysdeps/generic/sys/ucontext.h: Stub context file.
12046         * libio/iofprintf.c: Removed.  We use the stdio-common version.
12048         * manual/Makefile (distribute): Add stdio-fp.c.
12050         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
12052         * db2/Makefile (distribute): Add include/os_func.h, README and
12053         mutex/tsl_parisc.s.
12055         * hesiod/Makefile (distribute): Add README.hesiod.
12057 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
12059         * iconv/gconv.c: Correctly call transformation function.
12061         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
12063 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12065         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
12066         wrong results for e.g. remquo (3,2, &x)).
12067         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
12068         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
12070 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12072         * configure.in (ld --version-script): Test if the same symbol
12073         maybe defined in all versions (needed by recent changes to
12074         libc.map and supported with binutils 2.8.1.0.17) and issue warning
12075         if versioning is not supported/enabled.
12076         (bash test): Correct test case.
12078         * math/libm-test.c: Added counting/reporting of number of test cases.
12080         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
12081         use awk instead.
12083         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
12085 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12087         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
12089 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
12091         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
12092         Replace revoke call by use of REVOKE.
12093         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
12094         empty and #include generic version.
12095         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12097 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
12099         * libc.map: Add socket functions with __libc_* names.
12100         Reported by Andreas Jaeger.
12102 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12104         * libc.map: Tidy up (remove duplicates, sort entries).
12106 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12108         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
12110 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
12112         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
12113         again after successful call.
12114         Patch by Marc Lehmann <pcg@goof.com>.
12116 1997-11-17  Paul Eggert  <eggert@twinsun.com>
12118         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
12119         as some hosts need this to declare localtime_r properly.
12121 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
12123         * libc.map: Add iconv_open, iconv, and iconv_close.
12125 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
12127         * iconv/Makefile: New file.
12128         * iconv/gconv.c: New file.
12129         * iconv/gconv.h: New file.
12130         * iconv/gconv_builtin.c: New file.
12131         * iconv/gconv_builtin.h: New file.
12132         * iconv/gconv_close.c: New file.
12133         * iconv/gconv_conf.c: New file.
12134         * iconv/gconv_db.c: New file.
12135         * iconv/gconv_dl.c: New file.
12136         * iconv/gconv_open.c: New file.
12137         * iconv/gconv_simple.c: New file.
12138         * iconv/iconv.c: New file.
12139         * iconv/iconv.h: New file.
12140         * iconv/iconv_close.c: New file.
12141         * iconv/iconv_open.c: New file.
12142         * include/gconv.h: New file.
12144         * Makeconfig: Define gconvdir.
12145         * Makefile (subdirs): Add iconv.
12147         * string/bits/string2.h: Add optimization for strtok_r.
12149         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12150         for NULL.
12151         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12152         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12154         * configure.in: Correct test for bash2.
12155         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12157         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12158         (CFLAGS-locfile.c): Likewise.
12159         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12161         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12162         non-existing entry if the table is full.
12164         * posix/regex.h: Pretty print.
12166         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12168         * sysdeps/posix/ctermid.c: Simplify a bit.
12170         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12172 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12174         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12175         <sys/types.h> instead of <asm/types.h>.
12177 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12179         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12181 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12183         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12184         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12185         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12186         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12187         fclose): Added to GLIBC_2.1.
12189         * libio/Makefile (routines, shared-only-routines): Add
12190         oldiofclose.  Remove oldfreopen.
12192         * libio/freopen.c (freopen): When PIC is defined, call
12193         _IO_old_freopen () for old stdio.
12195         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12196         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12197         for GLIBC_2.1.
12199         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12200         instead of _IO_file_close_it.
12202         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12203         to _IO_2_1_stdxxx_.
12204         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12205         is defined.
12207         * libio/libioP.h (_IO_old_do_flush): New.
12209         * libio/oldfileops.c (_IO_old_file_close_it,
12210         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12211         Call _IO_old_do_flush () instead of _IO_do_flush ().
12212         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12213         _IO_do_write ().
12215         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12216         instead of _IO_file_init ().
12217         Bind old symbols to version GLIBC_2.0.
12219         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12220         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12221         _IO_stdxxx_.
12222         (_IO_check_libio): New function in .init.
12224         * libio/oldiofclose.c: New file.
12226         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12227         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12228         (DEF_STDFILE): Don't use default_symbol_version.
12230         * libio/stdio.c (stdin, stdout, stderr): Set to
12231         _IO_2_1_stdxxx_._
12232         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12233         stdxxx.
12235         * csu/Makefile (distribute): Add init.c.
12236         (extra-objs): Add init.o for ELF.
12237         (start-installed-name): Add $(objpfx)init.o.
12239         * csu/init.c: New file.
12241 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12243         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12244         definition as the default.
12246 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12248         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12250 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12252         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12253         (PR 351).
12255 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12257         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12258         to preserve condition codes on function call.
12260 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12262         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12264 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12266         * math/libm-test.c (asin_test): Add epsilon for float.
12267         (tan_test): Add epsilon for float.
12268         (log1p_test): Add epsilon for float.
12269         (inverse_functions): Add epsilons.
12271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12272         net/if_packet.h.
12274         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12276 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12278         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12279         variable, since $(object-suffixes) is not defined yet.
12281 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12283         * db2/Makefile (distribute): db185/db185_int.src ->
12284         db185/db185_int.h.
12286 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12288         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12289         exactly one.
12291 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12293         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12294         name.
12295         * sysdeps/generic/e_acosl.c: Likewise.
12296         * sysdeps/generic/e_asinl.c: Likewise.
12297         * sysdeps/generic/e_atan2l.c: Likewise.
12298         * sysdeps/generic/e_expl.c: Likewise.
12299         * sysdeps/generic/e_fmodl.c: Likewise.
12300         * sysdeps/generic/e_j0l.c: Likewise.
12301         * sysdeps/generic/e_j1l.c: Likewise.
12302         * sysdeps/generic/e_jnl.c: Likewise.
12303         * sysdeps/generic/e_lgammal_r.c: Likewise.
12304         * sysdeps/generic/e_log10l.c: Likewise.
12305         * sysdeps/generic/e_logl.c: Likewise.
12306         * sysdeps/generic/e_powl.c: Likewise.
12307         * sysdeps/generic/e_sqrtl.c: Likewise.
12308         * sysdeps/generic/e_exp2l.c: Likewise.
12310 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12312         * Make-dist (+sysdep-names): Remove extra paren.
12313         * Makefile (distribute): Add stub-tag.h.
12314         * elf/Makefile (distribute): Add atomicity.h.
12315         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12317         [$(subdir)=socket]: Add net/if_packet.h.
12318         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12319         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12320         net/if_packet.h, scsi/sg.h.
12322 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12324         * Makefile (install): Quote $(CC) expansion.
12326 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12328         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12329         working /proc cwd and no restrictions on path length.  Following
12330         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12332 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12334         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12335         * nis/nss_compat/compat-pwd.c: Likewise.
12336         * nis/nss_compat/compat-spwd.c: Likewise.
12338 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12340         * sysdeps/libm-i387/s_fdim.S: New file.
12341         * sysdeps/libm-i387/s_fdimf.S: New file.
12342         * sysdeps/libm-i387/s_fdiml.S: New file.
12343         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12344         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12345         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12347 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12349         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12350         pointer to unsigned char.
12352 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12354         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12356         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12358         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12360 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12362         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12363         ilogb(0/NaN).
12364         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12365         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12367 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12369         * sysdeps/libm-i387/s_fmin.S: New file.
12370         * sysdeps/libm-i387/s_fminf.S: New file.
12371         * sysdeps/libm-i387/s_fminl.S: New file.
12372         * sysdeps/libm-i387/s_fmax.S: New file.
12373         * sysdeps/libm-i387/s_fmaxf.S: New file.
12374         * sysdeps/libm-i387/s_fmaxl.S: New file.
12375         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12376         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12377         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12378         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12379         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12380         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12382 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12384         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12385         * sysdeps/unix/sysv/linux/send.S: Likewise.
12386         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12387         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12388         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12389         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12390         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12391         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12392         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12394 See ChangeLog.7 for earlier changes.