Update.
[glibc.git] / ChangeLog
blob6a73cb6c4e538879c7593fe3afb7cd37ecfd0591
1 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
5         * manual/filesys.texi: Document truncate and ftruncate.
6         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
8         * shadow/putspent.c: Lock stream while generating the output.
10         * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
11         (__msgwrite): Rewrite accordingly.
12         * sunrpc/svc_unix.c: Likewise.
13         * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
14         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
15         (sysdep_routines): Remove __sendmsg and __recvmsg.
16         * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
17         * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
18         * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
19         * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
20         * sysdeps/unix/sysv/linux/recvmsg.S: New file.
21         * sysdeps/unix/sysv/linux/sendmsg.S: New file.
22         * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
23         struct ucred.  Remove struct cmsgcred.
24         Patches by Thorsten Kukuk.
26 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
28         * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
30 1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>
32         * argp/argp-help.c: Prepare to be used outside glibc without gcc by
33         adding usual alloca cruft.
34         Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
36 1998-04-05  Jim Meyering  <meyering@ascend.com>
38         * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
39         This now depends on HAVE_BTOWC so systems that lack btowc (like
40         solaris-2.5.1) don't lose.
42 1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>
44         * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
45         * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
46         MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
47         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
48         instead of SA_ONSTACK.
49         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
50         sigaltstack, and created a weak alias.  Use SS_DISABLE and
51         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
52         * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
53         of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
54         * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
55         instead of SA_ONSTACK.
56         * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
57         * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
58         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
59         Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
60         SA_ONSTACK where appropriate.
61         * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
62         Likewise.
63         * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
64         Likewise.
65         * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
66         Likewise.
67         * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
68         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
69         the `ss_flags' member of `struct sigaltstack'.
71 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
73         * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
74         (shared-only-routines): Likewise.
75         * libio/oldtmpfile.c: New file
76         * stdio-common/tmpfile.c: Use __fdopen and __close.
77         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
78         tmpfile on symbol version GLIBC_2.1.
79         * stdio-common/tmpfile64.c: Use __fdopen and __close.
80         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
81         * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
82         * stdio-common/tempnam.c: Use __strdup instead of strdup.
83         * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
84         alias.
85         * sysdeps/generic/fdopen.c: Likewise.
86         * sysdeps/mach/hurd/fdopen.c: Likewise.
87         * stdio/stdio.h: Declare __fdopen.
88         * sunrpc/openchild.c: Use __fdopen instead of fdopen.
89         [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
90         * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
91         __stub_open64, it is never defined.
93 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
95         * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
96         * libio/iopopen.c: Unlink file before freeing it if command
97         creation failed.  Avoid unnessary casts.
98         * libio/iofdopen.c:  Avoid unnecessary cast.
99         * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
100         _IO_funlockfile.
101         * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
103 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
105         * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
106         __grpalloc, __grpscan and the corresponding pwd functions, they
107         were removed long ago.
109 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
111         * math/libm-test.c (csqrt_test): Adjust epsilons.
112         (casinh_test): Likewise.
114 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
116         * posix/globtest.sh: Fix typo.  Remove second test output file.
118 1998-08-07  Cristian Gafton  <gafton@redhat.com>
120         * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
121         * shadow/putspent.c (putspent): Likewise.
122         * grp/putgrent.c: New file.
123         * grp/Makefile (routines): Add putgrent.
124         * grp/Versions [GLIBC_2.1]: Add putgrent.
125         * grp/grp.h: Add putgrent prototype.
127 1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>
129         * elf/elf.h: More ELF definitions.
131 1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>
133         * stdio-common/tmpfile.c: Include unistd.h for close prototype.
134         * stdio-common/tmpfile64.c: Likewise.
136         * db2/makedb.c: Generate output file with same access permissions
137         the input file has.
139         * signal/signal.h: Pretty printing.
141 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
143         * misc/mktemp.c: Add include <stlib.h> for prototype, remove
144         unneccessary includes.
145         * misc/mkstemp.c: Likewise.
147 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
149         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
150         is defined.
151         * catgets/open_catalog.c: Likewise.
152         * iconv/iconv_prog.c: Likewise.
153         * intl/loadmsgcat.c: Likewise.
154         * locale/findlocale.c: Likewise.
155         * locale/loadlocale.c: Likewise.
156         * locale/programs/localedef.c: Likewise.
157         * malloc/malloc.c: Likewise.
159         * elf/elf.h: Fix typo.
161         * math/Makefile: Use $(LN_S) instead of ln.
163         * sysdeps/generic/getpgid.c: Fix return type.
165 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
167         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
168         __gen_tempname and simplify the interface.  Strip out the
169         code to do path search and create FILE objects.  This function
170         now takes a mktemp() style template and returns either a name
171         or a file descriptor.
172         (__path_search): New function; searches for directories for
173         temp files.
174         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
175         __path_search, not __stdio_gen_tempname.
177         * libio/stdio.h: Prototype __gen_tempname and __path_search,
178         not __stdio_gen_tempname.
179         * stdio/stdio.h: Likewise.
181         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
182         * stdio-common/tmpfile.c: Likewise.
183         * stdio-common/tmpfile64.c: Likewise.
184         * stdio-common/tmpnam.c: Likewise.
185         * stdio-common/tmpnam_r.c: Likewise.
187         * misc/mkstemp.c: New file.  Use __gen_tempname.
188         * misc/mktemp.c: Likewise.
190         * sysdeps/posix/mkstemp.c: Removed.
191         * sysdeps/posix/mktemp.c: Removed.
192         * sysdeps/generic/mkstemp.c: Removed.
193         * sysdeps/generic/mktemp.c: Removed.
195 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
197         * configure.in: Check, if door add-on is installed.
198         * config.make.in: Add have_doors.
199         * sunrpc/Makefile: Add HAVE_DOOR define.
200         * sunrpc/key_call.c: Add keyserv/door interface.
202         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
203         * sunrpc/clnt_unix.c: Likewise.
205 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
207         * inet/netinet/in.h (IN_CLASSC): Correct mask.
208         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
209         PR libc/727].
211 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
213         * misc/Makefile: Fix installation problem with --disable-shared.
214         * posix/Makefile: Likewise.
216 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
218         * posix/regex.c (re_search_2): Optimize searching for anchored
219         pattern if '^' cannot match at embedded newlines.
220         (regerror): Renamed from __regerror, which it should only be
221         called if _LIBC.
223 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
225         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
227 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
229         * sysdeps/generic/glob.c: Remove obsolete cast.
231 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
233         * Rules (tests): Fix last change.
235 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
237         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
238         Add sys_setresuid.
240 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
242         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
243         as real name for system call and make setresuid a weak alias.  Set
244         caller to seteuid.
245         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
246         `setresuid' syscall if availble.  Fixes problems with sendmail
247         which expects `seteuid' to not set the saved user ID.
249 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
251         * time/tzset.c (__tzstring): Get rid of excessive cleverness
252         which was causing stack corruption.
254 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
256         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
257         off-by-one in wordwrap algorithm when there' a space at the
258         beginning of the buffer.
260 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
262         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
264 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
266         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
268         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
269         definition.
271 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
273         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
275 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
277         * sysdeps/generic/glob.c: Undefine strdup before defining it,
278         because bits/string2.h may have defined it already.
280 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
282         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
283         Fix recognition of 'a' modifier vs. 'a' format.
284         (TYPEMOD): Removed.
286         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
287         for type modifiers.  Fix recognition of 'hh' modifier.
289 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
291         * sunrpc/svc_unix.c: Fix typo.
293 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
295         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
296         syscall.
298 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
300         * sysdeps/i386/ffs.c: Add ffsl entry point.
301         * sysdeps/i386/i686/ffs.c: Likewise.
302         * sysdeps/m68k/ffs.c: Likewise.
303         * sysdeps/powerpc/ffs.c: Likewise.
305         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
306         on i686.
308 1998-07-30  Richard Henderson  <rth@cygnus.com>
310         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
312         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
313         work around gcc bug.
315         * string/string.h (ffsl, ffsll): Prototype.
316         * string/Version (GLIBC_2.1): Add them.
317         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
318         entry points.
319         * sysdeps/alpha/ffsll.S: New file.  Empty.
320         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
321         * sysdeps/generic/ffsll.c: New file.
322         * string/Makefile (routines): Add ffsll.
324 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
326         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
327         strictly ISO C compliant programs.
328         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
330 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
332         * inet/protocols/rwhod.h: Correct typo in comment.
334         * configure.in: Use better regex for gettext.
336 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
338         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
339         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
341         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
343         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
344         caller/callee and the number of calls.
346 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
348         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
349         (__getpid): New function.
350         (abort): New function.
352 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
354         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
356         * nis/nis_cache2_xdr.c: Removed.
357         * nis/nis_cache.c: Removed.
358         * nis/nis_cache2.h: Removed.
360 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
362         * Rules (tests): Depend on tests-static only if build-static == yes.
364         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
365         only if build-static == yes.
367 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
369         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
370         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
372 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
374         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
375         statement, fix typo.
376         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
378 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
380         * manual/pattern.texi (More Flags for Globbing): Fix typo.
382         * manual/math.texi (Special Functions): Fix typo.
384         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
385         constant from Linux 2.1.112.
387         * posix/Makefile (install-lib): Compile libposix.a only if
388         build-static == yes.
390 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
392         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
393         declarations to file level.  Cope with unsupported
394         _SC_GETPW_R_SIZE_MAX.
396 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
398         * stdio-common/tst-printf.c: %z is now recognized by printf.
400         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
401         errors.
402         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
403         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
404         Patch by Stephen L Moshier <moshier@mediaone.net>.
406         * math/libm-test.c (csqrt_test): Correct typo in one test, add
407         another one.
409         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
410         latest kernel change.
412 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
414         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
415         inputs near DBL_MIN.
417 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
419         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
420         warnings when DNSSEC related records are received.
421         * resolv/gethnamaddr.c (getanswer): Likewise.
422         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
424         * signal/signal.h: Add prototype for sysv_signal.
426         * math/libm-test.c (tgamma_test): Remove redundant tests.
428         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
429         where foo does not exist in any of the subdirectories.
430         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
432         * posix/globtest.sh: Add test for this bug.
434         * posix/glob.h: Add GLOB_TILDE_CHECK.
435         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
436         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
437         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
439 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
441         * io/sys/statfs.h: Fix typos.
442         * io/sys/statvfs.h: Fix typos.
444 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
446         * version.h (VERSION): Bump to 2.0.95.
448         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
449         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
450         * math/libm-test.c: Split old gamma_test and move half of it in new
451         function tgamma_test.
452         * math/bits/mathcalls.h: Add declaration of tgamma.
453         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
454         tgamma errors.
455         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
456         and rename to ...
457         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
458         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
459         and rename to ...
460         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
461         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
462         and rename to ...
463         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
464         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
465         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
466         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
468         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
469         modifiers.
470         * stdio-common/vfprintf.c: Likewise.
471         * stdio-common/vfscanf.c: Likewise.
472         * manual/stdio.texi: Document new printf/scanf modifiers.
474         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
475         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
477 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
479         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
480         * sunrpc/Versions: Add new *unix_create functions.
481         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
482         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
483         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
484         with keyserv daemon.
485         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
486         * sunrpc/rpc/svc.h: Likewise.
487         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
488         * sunrpc/svc_tcp.c: Fix typos.
489         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
491         * nis/Makefile: Remove currently not working cache functions.
492         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
493         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
494         CLIENT handles.
495         * nis/nis_file.c: Fix memory leaks.
496         * nis/nis_intern.h: Move internal structs from here ...
497         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
498         * nis/nis_lookup.c: Try at first if last client handle works.
499         * nis/nis_table.c: Likewise.
500         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
501         * nis/nis_mkdir.c: Likewise.
502         * nis/nis_ping.c: Likewise.
503         * nis/nis_rmdir.c: Likewise.
504         * nis/nis_server.c: Likewise.
505         * nis/nis_util.c: Likewise.
506         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
508 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
510         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
511         define as LONG_MAX.
513 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
515         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
516         Correct test whether writev send all data.
517         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
518         received all data.
520 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
522         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
524 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
526         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
527         allow mode to be 0.
528         (__xstat): New function.
529         (__fxstat): New function.
530         (_dl_sysdep_read_whole_file): Removed.  The implementation in
531         `elf/dl-misc.c' now also works for the Hurd.
533 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
535         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
537         * posix/globtest.sh: Also add directories with NSS modules into the
538         library path.
540 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
542         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
543         strtol.
544         (INT_FIELD_MAYBE_NULL): Likewise.
546         * posix/globtest.c: Rewrite for extended test suite.
547         * posix/globtest.sh: More tests.
548         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
550         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
551         Use new macro.
553         * sysdeps/generic/readv.c: Correct return type.
554         * sysdeps/generic/writev.c: Likewise.
556 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
558         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
559         program_invocation_name when compiling outside of glibc.
561 1998-07-26  Philip Blundell  <philb@gnu.org>
563         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
564         like `@' in .type directives.
566         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
567         FE_TONEAREST exists for this platform before using it.
568         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
570         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
571         debugging code.  Correct handling of PC24 relocs.
573         * elf/Makefile (ld-map): Only define if versioning is in use.
575         * sysdeps/arm/fpu_control.h: Move to ...
576         * sysdeps/arm/fpu/fpu_control.h: ... here.
577         * sysdeps/generic/fpu_control.h: Made usable as a dummy
578         implementation.
580         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
582         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
583         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
584         implementation.
585         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
586         Based on patch from Scott Bambrough and Pat Beirne.
588         * shlib-versions: Add appropriate definitions for ARM machines.
590         * README.template: Mention that Linux/ARM with ELF works now.
592 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
594         * Makerules: Generate compilation rules for all object suffixes,
595         not only those currently selected, for sources in the current or
596         object directory.
598 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
600         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
601         match `/' in filename by a character class if requested.
602         * posix/testfnm.c: Rewritten.
603         * posix/testfnm.args: Removed.
605 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
607         * posix/annexc.c (limits_syms): Add missing symbols.
608         (stdarg_syms): Move va_list to `maybe' list.
609         (stdio_syms): Add FOPEN_MAX.
611 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
613         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
614         prevent conflict with __bswap_32.
616 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
618         * nscd/connections.c (pw_send_answer): Make one single writev call.
619         (gr_send_answer): Do the work in two writev calls.  This change
620         changes the protocol.
622         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
623         We now can do the job using two readv calls.
625 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
627         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
628         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
630         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
631         and Elf64_Vernaux.
633 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
635         * configure.in: Recognize pgcc as compiler.
636         Reported by sauron@angband.ee.ualberta.ca.
638 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
640         * nscd/dbg_log.c: Make sure, that debug message is really written.
641         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
643 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
645         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
646         Reported by bwelling@anomaly.munge.com [PR libc/720].
648         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
649         SVID more for gamma(x) with x integer <= 0.
650         Reported by Stephen L Moshier <moshier@mediaone.net>.
652         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
653         Correct test for SVID version of gamma.
655         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
656         emulation mode.
657         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
658         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
660         * string/string.h: Don't use string function optimization for C++
661         as long as we use macros.
663 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
665         * posix/fnmatch.c: Fix completely broken range matching.
667 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
669         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
671 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
673         * Makefile (headers2_0): Add sigstack.h.
675         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
677 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
679         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
680         Reported by Thorsten Kukuk.
682         * string/strcoll.c: Correct problem with empty strings.
683         * string/strxfrm.c: Likewise.
684         Reported by vbzoli@hbrt.hu [PR libc/719].
686 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
688         * sysdeps/posix/tempname.c: Use the random-name generator
689         already used by mktemp/mkstemp.  Honor TMPDIR.
691 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
693         * hurd/Makefile (routines): Remove cthreads.
694         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
696         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
698         * manual/Makefile (distribute): Add summary.texi.
700 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
702         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
704 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
706         * configure.in: Correct expression to match gcc version.
708         * configure.in: Move test for available port after machine
709         variable is defined.
711 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
713         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
714         message, copy the buffer and resize it to what the kernel
715         wants to see.  Bug found and analyzed by Thorsten Kukuk
716         <kukuk@weber-eb.uni-paderborn.de>
718 1998-07-20  Jose M. Moya  <josem@gnu.org>
720         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
721         value.
723 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
725         * sysdeps/mach/hurd/getdomain.c: New file.
726         * sysdeps/mach/hurd/setdomain.c: New file.
728 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
730         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
731         a weak alias.
733 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
735         * libio/libioP.h: Use __PMT in typedef.
736         * libio/strfile.h: Likewise.
738 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
740         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
741         buffer is too small.
742         Reported by John Levon <j_levon@ncc.co.uk>.
744 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
746         * shlib-versions: Remove definition for libSegFault.
748         * memory.texi: Comment out the relocating allocator description.
749         * manual/signal.texi: Remove reference to relocating allocator.
750         * manual/top-menu.texi: Regenerated.
752         * posix/fnmatch.c: Implement [: :] and change to recognize
753         ^ as negation only when not _POSIXLY_CORRECT.
755         * sysdeps/generic/glob.c: Add several optimizations.
757         * posix/glob.h: Undefine __PMT to prevent warnings.
758         Reported by Roland McGrath.
760         * posix/regex.c: Define namespace macros only for _LIBC.
762         * sysdeps/arm/dl-machine.h: Fix typo.
764         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
765         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
766         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
767         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
768         sigpending, sigqueue, and sigtimedwait.
769         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
771         * timezone/leapseconds: Update from tzdata1998f.
773 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
775         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
776         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
777         * libio/stdio.h: Fix typo.
779 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
781         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
782         magic memobj port arg parsing stuff.  Fix it someday when we are ready
783         to really use it.
784         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
785         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
787 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
789         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
791 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
793         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
794         a weak alias.
795         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
796         * sysdeps/generic/sigsuspend.c: Likewise.
798 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
800         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
802 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
804         * Makerules (map-file): Don't use $(wildcard) to find the
805         generated version script, instead look in $(version-maps).
806         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
807         is used.
808         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
809         if versioning is used.  Don't use $(wildcard) to find the
810         generated version script, instead look in $(verson-maps).
812 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
814         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
815         unused function handle.
816         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
817         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
818         * debug/catchsegv.sh: Fix argument processing, quoting and various
819         typos.  Put the crash info always in the current directory.  Find
820         program in $PATH if it contains no directory component.
821         * Makerules (install-lib.so-versioned,
822         install-lib.so-unversioned): New variables.
823         (install-lib-nosubdir): Depend on unversioned libs in
824         slibdir, not libdir.
826 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
828         * Make-dist (+tsrcs): Remove references to %-map variables and
829         *.map files.  Add Versions in subdirs.
830         * Makerules (distinfo-vars): Don't write out %-map variables.
832 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
834         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
835         Include <paths.h> instead.
836         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
837         * sysdeps/unix/sysv/linux/paths.h: Likewise.
838         Reported by Dale Scheetz <dwarf@polaris.net>.
840 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
842         * catgets/open_catalog.c: Strictly check whether catalog file is
843         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
845 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
847         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
849         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
851 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
853         * debug/catchsegv.sh: Fix several stupid bugs.
855         * shlib-versions: Define version for libSegFault.
856         * debug/Makefile: Replace shared lib version number while rewriting.
858 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
860         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
861         Suggested by Roland McGrath.
863 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
865         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
866         generation to control environment.
868 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
870         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
871         Patch by John Tobey <jtobey@banta-im.com>.
873         * manual/llio.texi: Document readv/writev and mmap functions.
874         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
876 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
878         * manual/Makefile (texis): Depend on texis.awk.
879         (nonexamples): Filter out add-on chapters.
880         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
881         (stamp-summary): Depend on $(texis) except summary.texi.
882         ($(inst_infodir)/libc.info): Simplify command.
883         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
884         Fix the generation of the detailed node listing to make it
885         complete again.
886         * manual/math.texi: Fix signature of lgamma_r.
888 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
890         * debug/Makefile (distribute): Add sigcontextinfo.h.
891         Add rules to generate and install catchsegv.
892         * debug/catchsegv.sh: New file.
894 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
896         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
897         port instead of a Mach memory object.
898         (__open): Likewise.
899         (__libc_read): New function.
900         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
901         object.
903 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
905         * debug/Makefile (routines): Add backtracesymsfd.
906         Add rules to generate libSegFault.
907         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
908         * debug/execinfo.h: Declare backtrace_symbols_fd.
909         * sysdeps/generic/backtracesymsfd.c: New file.
910         * sysdeps/generic/elf/backtracesymsfd.c: New file.
911         * sysdeps/generic/segfault.c: New file.
912         * sysdeps/generic/sigcontextinfo.h: New file.
913         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
915         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
917 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
919         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
920         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
922 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
924         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
925         * assert/assert-perr.c: Likewise.
926         * assert/assert.c: Likewise.
927         * gconv_conf.c: Likewise.
928         * libio/iofputs_u.c: Likewise.
929         * malloc/mtrace.c: Likewise.
930         * malloc/obstack.c: Likewise.
931         * misc/error.c: Likewise.
932         * misc/syslog.c: Likewise.
933         * stdio-common/asprintf.c: Likewise.
934         * stdio-common/dprintf.c: Likewise.
935         * stdio-common/getw.c: Likewise.
936         * stdio-common/putw.c: Likewise.
937         * stdio-common/snprintf.c: Likewise.
938         * stdio-common/sprintf.c: Likewise.
939         * stdio-common/sscanf.c: Likewise.
940         * sunrpc/svc_simple.c: Likewise.
941         * sysdeps/generic/abort.c: Likewise.
943         * rt/aio_cancel.c: Don't define ECANCELED here.
944         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
946 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
948         * argp/argp-fmtstream.c: Unify names of used global functions.
949         * argp/argp-help.c: Likewise.
950         * assert/assert-perr.c: Likewise
951         * assert/assert.c: Likewise
952         * dirent/scandir.c: Likewise
953         * dirent/scandir64.c: Likewise
954         * dirent/versionsort.c: Likewise
955         * dirent/versionsort64.c: Likewise
956         * gmon/bb_exit_func.c: Likewise.
957         * gmon/gmon.c: Likewise.
958         * grp/initgroups.c: Likewise.
959         * iconv/gconv_conf.c: Likewise.
960         * inet/getnameinfo.c: Likewise.
961         * inet/getnetgrent_r.c: Likewise.
962         * inet/inet_ntoa.c: Likewise.
963         * inet/rcmd.c: Likewise.
964         * inet/rexec.c: Likewise.
965         * inet/ruserpass.c: Likewise.
966         * io/fts.c: Likewise.
967         * io/ftw.c: Likewise.
968         * io/ftw64.c: Likewise.
969         * io/getdirname.c: Likewise.
970         * io/getwd.c: Likewise.
971         * io/lockf.c: Likewise.
972         * libio/iofdopen.c: Likewise.
973         * libio/iopopen.c: Likewise.
974         * login/utmp_daemon.c: Likewise.
975         * malloc/mtrace.c: Likewise.
976         * malloc/obstack.c
977         * misc/daemon.c: Likewise.
978         * misc/efgcvt_r.c: Likewise.
979         * misc/err.c: Likewise.
980         * misc/error.c: Likewise.
981         * misc/fstab.c: Likewise.
982         * misc/getpass.c: Likewise.
983         * misc/getttyent.c: Likewise.
984         * misc/mntent_r.c: Likewise.
985         * misc/search.h: Likewise.
986         * misc/syslog.c: Likewise.
987         * nscd/nscd_getgr_r.c: Likewise.
988         * nscd/nscd_getpw_r.c: Likewise.
989         * posix/getpgrp.c: Likewise.
990         * posix/wordexp.c: Likewise.
991         * pwd/fgetpwent_r.c: Likewise.
992         * pwd/getpw.c: Likewise.
993         * resolv/herror.c: Likewise.
994         * resolv/res_init.c: Likewise.
995         * shadow/fgetspent_r.c: Likewise.
996         * shadow/lckpwdf.c: Likewise.
997         * signal/sigrelse.c: Likewise.
998         * stdio-common/asprintf.c: Likewise.
999         * stdio-common/dprintf.c: Likewise.
1000         * stdio-common/getw.c: Likewise.
1001         * stdio-common/putw.c: Likewise.
1002         * stdio-common/snprintf.c: Likewise.
1003         * stdio-common/sprintf.c: Likewise.
1004         * stdio-common/sscanf.c: Likewise.
1005         * stdlib/lrand48_r.c: Likewise.
1006         * stdlib/mrand48_r.c: Likewise.
1007         * string/argz-replace.c: Likewise.
1008         * string/envz.c: Likewise.
1009         * sunrpc/auth_des.c: Likewise.
1010         * sunrpc/auth_unix.c: Likewise.
1011         * sunrpc/bindrsvprt.c: Likewise.
1012         * sunrpc/clnt_gen.c: Likewise.
1013         * sunrpc/clnt_perr.c: Likewise.
1014         * sunrpc/clnt_simp.c: Likewise.
1015         * sunrpc/clnt_tcp.c: Likewise.
1016         * sunrpc/clnt_udp.c: Likewise.
1017         * sunrpc/get_myaddr.c: Likewise.
1018         * sunrpc/key_call.c: Likewise.
1019         * sunrpc/netname.c: Likewise.
1020         * sunrpc/openchild.c: Likewise.
1021         * sunrpc/pmap_rmt.c: Likewise.
1022         * sunrpc/rpc_dtable.c: Likewise.
1023         * sunrpc/rtime.c: Likewise.
1024         * sunrpc/svc_run.c: Likewise.
1025         * sunrpc/svc_simple.c: Likewise.
1026         * sunrpc/svc_tcp.c: Likewise.
1027         * sunrpc/svc_udp.c: Likewise.
1028         * sunrpc/svcauth_des.c: Likewise.
1029         * sunrpc/xdr_array.c: Likewise.
1030         * sunrpc/xdr_rec.c: Likewise.
1031         * sunrpc/xdr_ref.c: Likewise.
1032         * sunrpc/xdr_stdio.c: Likewise.
1033         * sysdeps/generic/abort.c: Likewise.
1034         * sysdeps/generic/dl-sysdep.c: Likewise.
1035         * sysdeps/generic/fstatfs64.c: Likewise.
1036         * sysdeps/generic/ftruncate64.c: Likewise.
1037         * sysdeps/generic/getrlimit64.c: Likewise.
1038         * sysdeps/generic/glob.c: Likewise.
1039         * sysdeps/generic/prof-freq.c: Likewise.
1040         * sysdeps/generic/putenv.c: Likewise.
1041         * sysdeps/generic/statfs64.c: Likewise.
1042         * sysdeps/generic/ttyname_r.c: Likewise.
1043         * sysdeps/generic/utmp_file.c: Likewise.
1044         * sysdeps/generic/vlimit.c: Likewise.
1045         * sysdeps/generic/vtimes.c: Likewise.
1046         * sysdeps/posix/cuserid.c: Likewise.
1047         * sysdeps/posix/euidaccess.c: Likewise.
1048         * sysdeps/posix/mkstemp.c: Likewise.
1049         * sysdeps/posix/mktemp.c: Likewise.
1050         * sysdeps/posix/pread.c: Likewise.
1051         * sysdeps/posix/pread64.c: Likewise.
1052         * sysdeps/posix/profil.c: Likewise.
1053         * sysdeps/posix/pwrite.c: Likewise.
1054         * sysdeps/posix/pwrite64.c: Likewise.
1055         * sysdeps/posix/sigblock.c: Likewise.
1056         * sysdeps/posix/sigpause.c: Likewise.
1057         * sysdeps/posix/ttyname.c: Likewise.
1058         * sysdeps/posix/ttyname_r.c: Likewise.
1059         * sysdeps/posix/waitid.c: Likewise.
1060         * sysdeps/unix/getlogin_r.c: Likewise.
1061         * sysdeps/unix/grantpt.c: Likewise.
1062         * sysdeps/unix/rewinddir.c: Likewise.
1063         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1064         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1065         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1066         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1067         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1068         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1069         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1070         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1071         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1072         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1073         * sysvipc/sys/shm.h: Likewise.
1074         * time/ctime_r.c: Likewise.
1075         * time/strptime.c: Likewise.
1076         * wcsmbs/mbrlen.c: Likewise.
1077         * wcsmbs/wcsdup.c: Likewise.
1078         * wcsmbs/wcsxfrm.c: Likewise.
1079         * wctype/wcfuncs.c: Likewise.
1081         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1082         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1083         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1084         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1085         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1086         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1087         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1088         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1090         * grp/fgetgrent_r.c: Use explicit locking of the stream.
1092         * elf/Makefile (rtld-routines): Add dl-environ.
1093         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1094         to...
1095         * sysdeps/generic/dl-environ.c: here.  New file.
1097         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1098         * libio/Versions: Add fputs_unlocked.
1099         * libio/iofputs_u.c: New file.
1100         * libio/stdio.h: Add prototype for fputs_unlocked.
1102         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1103         * sunrpc/rpc/clnt.h: Likewise.
1104         * sunrpc/rpc/pmap_clnt.h: Likewise.
1105         * sunrpc/rpc/svc.h: Likewise.
1106         * sunrpc/rpc/xdr.h: Likewise.
1108         * sysdeps/i386/memchr.S: Correct for more strict gas.
1109         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1110         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1111         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1112         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1114 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1116         * configure.in: Change message for binutils version from
1117         2.8.1.0.17->2.8.1.0.23.
1119 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
1121         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1122         Patch by John Tobey <jtobey@banta-im.com>.
1124 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1126         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1127         instead of sysconf.
1129 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
1131         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1132         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1133         (conv_error): Likewise.
1134         (input_error): Likewise.
1135         (memory_error): Likewise.
1137 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1139         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1140         implementation.  Include <entry.h>.  Replace references to symbol
1141         _start with macro ENTRY_POINT.
1142         (__libc_uid): Remove.
1143         (__libc_multiple_libcs): New variable.
1144         (__libc_stack_end): New variable.
1145         (_dl_hwcap_mask): New variable.
1146         (_dl_important_hwcaps): New function.
1147         (_dl_show_auxv): Mark internal.
1149 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1151         * mach/Makefile: Create target directory before generating
1152         mach-syscalls.mk.
1153         * mach/Machrules: Invoke awk using AWK variable.  Create target
1154         directory before generating server stubs.
1156 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1158         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1160         * configure.in: Allow egcs-2.92.
1162 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1164         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1165         chapter files.  Exorcise the chapters, chapters-incl mess.
1166         Support inserting doc chapters from add-on modules.
1167         (chapters): New variable.
1168         (add-chapters): New variable.
1169         (appendices): New variable.
1170         (libc.texinfo): New target.
1171         (clean): Fix bugs.
1172         (realclean): Fix bugs.
1174         * manual/texis.awk: New file.
1175         * manual/libc-texinfo.sh: New file.
1176         * manual/libc-texinfo.in: New file.
1178         * manual/conf.texi (top @node): Remove next pointer.
1179         * manual/lang.texi (top @node): Remove prev pointer.
1181         * manual/job.texi (top @node): Add explicit pointers.
1182         * manual/message.texi (top @node): Add explicit pointers.
1183         * manual/nss.texi (top @node): Add explicit pointers.
1184         * manual/process.texi (top @node): Add explicit pointers.
1185         * manual/startup.texi (top @node): Add explicit pointers.
1186         * manual/terminal.texi (top @node): Add explicit pointers.
1187         * manual/users.texi (top @node): Add explicit pointers.
1189         * manual/arith.texi: Add %MENU% tag.
1190         * manual/conf.texi: Add %MENU% tag.
1191         * manual/contrib.texi: Add %MENU% tag.
1192         * manual/ctype.texi: Add %MENU% tag.
1193         * manual/errno.texi: Add %MENU% tag.
1194         * manual/filesys.texi: Add %MENU% tag.
1195         * manual/header.texi: Add %MENU% tag.
1196         * manual/install.texi: Add %MENU% tag.
1197         * manual/intro.texi: Add %MENU% tag.
1198         * manual/io.texi: Add %MENU% tag.
1199         * manual/job.texi: Add %MENU% tag.
1200         * manual/lang.texi: Add %MENU% tag.
1201         * manual/llio.texi: Add %MENU% tag.
1202         * manual/locale.texi: Add %MENU% tag.
1203         * manual/maint.texi: Add %MENU% tag.
1204         * manual/math.texi: Add %MENU% tag.
1205         * manual/mbyte.texi: Add %MENU% tag.
1206         * manual/memory.texi: Add %MENU% tag.
1207         * manual/message.texi: Add %MENU% tag.
1208         * manual/nss.texi: Add %MENU% tag.
1209         * manual/pattern.texi: Add %MENU% tag.
1210         * manual/pipe.texi: Add %MENU% tag.
1211         * manual/process.texi: Add %MENU% tag.
1212         * manual/search.texi: Add %MENU% tag.
1213         * manual/setjmp.texi: Add %MENU% tag.
1214         * manual/signal.texi: Add %MENU% tag.
1215         * manual/socket.texi: Add %MENU% tag.
1216         * manual/startup.texi: Add %MENU% tag.
1217         * manual/stdio.texi: Add %MENU% tag.
1218         * manual/string.texi: Add %MENU% tag.
1219         * manual/sysinfo.texi: Add %MENU% tag.
1220         * manual/terminal.texi: Add %MENU% tag.
1221         * manual/time.texi: Add %MENU% tag.
1222         * manual/users.texi: Add %MENU% tag.
1224 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1226         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1227         Update.
1229 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1231         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1232         style declaration to avoid warning.
1233         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1235 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1237         * elf/rtld.c (process_dl_debug): Add missing continue.
1239 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1241         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1242         code needs it.
1244 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1246         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1247         sysd-dirs-done.
1248         * Makerules: Don't generate version maps too early.
1249         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1250         subdirs has changed.
1252 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1254         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1256 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1258         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1259         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1260         return value.
1262 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1264         * elf/dl-open.c (dl_open_worker): New function.
1265         (_dl_open): Call it to do the actual work while catching errors.
1266         * elf/dl-close.c (_dl_close): Only call termination function if
1267         the initialisation function was called.
1269 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1271         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1272         Reported by Felix von Leitner <leitner@amdiv.de>.
1274 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1276         * Make-dist (+sysdep-tsrcs): Add Versions.
1278 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1280         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1281         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1282         * sysdeps/powerpc/Versions: New file.
1283         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1284         and __errno_location.
1285         * misc/Versions: Add brk and sbrk.
1286         * posix/Versions: Add environ, __environ and _environ.
1287         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1289 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1291         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1292         Patch by Zack Weinberg.
1294 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1296         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1297         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1298         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1300 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1302         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1304 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1306         * posix/unistd.h: Simplify #ifdefs.
1308         * libio/libio.h: Undo last change due to possible C++ problems.
1309         * libio/fileops.h: Likewise.
1311 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1313         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1314         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1315         * io/utime.h: Define time_t also for __USE_XOPEN.
1316         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1317         Define *_t types except for pid_t also for __USE_XOPEN.
1318         Define S_* macros also for __USE_XOPEN.
1319         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1320         THOUSEP also for __USE_XOPEN.
1321         * math/math.c: Define M_* macros also for __USE_XOPEN.
1322         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1323         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1324         defined.
1325         * posix/glob.h: Likewise for GLOB_NOSYS.
1326         * posix/regex.h: Likewise for REG_NOSYS.
1327         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1328         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1329         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1330         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1331         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1332         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1333         for __USE_POSIX199309.
1334         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1335         constants also for __USE_XOPEN.
1336         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1338         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1339         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1341         * libio/stdio.h: Don't declare fclose_unlocked.
1343         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1345 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1347         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1348         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1349         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1350         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1351         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1352         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1353         prototype for getopt.
1354         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1355         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1356         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1357         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1358         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1359         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1360         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1361         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1362         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1363         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1364         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1365         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1366         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1367         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1368         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1369         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1370         getc_unlocked, getchar_unlocked, putc_unlocked and
1371         putchar_unlocked.
1373         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1374         from here ...
1375         * stdio-common/Versions: ... to here.
1377 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1379         * Makerules (versioning): Correct typo.
1381 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1383         * elf/Versions: Add _dl_mcount_wrapper_check.
1384         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1385         _dl_mcount_wrapper_check.
1386         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1388         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1389         internal_function.
1390         * elf/ldsodefs.h: Likewise.
1392         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1394         * libio/stdio.h: Make sure va_list is defined for X/Open.
1395         Define P_tmpdir for X/Open.
1397         * posix/regex.h: Fix typo.
1399         * posix/unistd.h: Define intptr_t if not already happened.
1400         Add pthread_atfork prototype.
1401         * sysdeps/generic/bits/types.h: Define __intptr_t.
1402         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1403         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1404         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1405         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1406         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1407         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1408         * sysdeps/wordsize-64/stdint.h: Likewise.
1410         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1412         * signal/Makefile (headers): Add bits/sigthread.h.
1413         * signal/signal.h: Include bits/sigthread.h.
1414         * sysdeps/generic/bits/sigthread.h: New file.
1416         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1418         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1419         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1420         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1421         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1423         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1425         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1426         programs.
1427         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1428         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1429         names.
1431         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1433         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1434         Remove O_READ and O_WRITE definition.
1436         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1437         and RLIM_SAVED_CUR.
1439         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1441 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1443         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1444         scripts directory.  Pass move-if-change to awk.
1445         (common-generated): Add $(version-maps) and sysd-versions.
1446         * versions.awk: Moved to...
1447         * scripts/versions.awk: ... here.  Use move-if-change to void
1448         touching unchanged files.  Print "version-maps = ..." instead of
1449         "all-version-maps = ..." and without $(common-objpfx).  Explain
1450         expected variable names.
1451         * Makefile (distribute): Updated.
1453 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1455         * misc/getttyent.c (getttyent): Don't return with locked stream.
1456         * misc/mntent_r.c (__getmntent_r): Likewise.
1458 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1460         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1461         if stream is line buffered.
1462         (_io_file_overflow): Likewise.
1463         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1464         streams writing '\n' flushes the string.
1466 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1468         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1469         * elf/dl-support.c: Define it here...
1470         * elf/rtld.c: ...and here.
1472 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1474         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1476 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1478         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1479         __ino64_t definition.
1480         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1481         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1483         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1484         script if lddlibc4 failed.
1485         Reported by B. D. Elliott <bde@accessone.com>.
1487 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1489         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1490         Improve generated strings a bit.
1492 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1494         * posix/Makefile (generated): Remove $(objpfx) from the names.
1496 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1498         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1499         format string.
1501         * libio/iofread_u.c: Include <stdio.h> for prototype.
1502         * libio/iofwrite_u.c: Likewise.
1504 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1506         * db2/Versions: New file.
1508 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1510         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1511         ($(common-objpfx)sysd-versions): Remove rule.
1512         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1513         Pass name of Versions.def file to script and redirect output to
1514         target.  Include it and make all generated version maps depend on
1515         it.
1516         * versions.awk: Print out variable definition containing all
1517         generated version maps.  Print error messages to stderr.  Remove
1518         temp file.
1520 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1522         * posix/annexc.c (check_header): Terminate macro name before
1523         comparing.
1524         (get_null_defines): Allow builtin macros with parameters.
1525         (fmt, testfmt): Add -D_LIBC.
1526         * posix/Makefile: Remove bogus duplicate include directories from
1527         annexc test command.
1529 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1531         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1532         password scheme.
1533         (_nss_nis_getpwnam_r): Likewise.
1534         (_nss_nis_getpwuid_r): Likewise.
1536 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1538         * libio/Versions: Move symbols whose source lives in
1539         stdio-common to ...
1540         * stdio-common/Versions: ... here.
1541         * stdio/Versions: Add missing symbols.
1543 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1545         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1546         __syscall_sendmsg.
1547         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1548         __syscall_recvmsg.
1549         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1550         and make __recvmsg and recvmsg weak aliases.
1551         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1552         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1553         and __syscall_sendmsg.
1555 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1557         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1558         stream.
1559         * inet/ruserpass.c (token): Likewise.
1560         * nss/nsswitch.c (nss_parse_file): Likewise.
1561         * intl/localealias.c: Likewise.  Also for ferror.
1562         * time/getdate.c (__getdate_r): Likewise.
1564         * libio/Makefile (routines): Add iofgets_u.
1565         * libio/iofgets_u.c: New file.
1566         * libio/Versions: Add fgets_unlocked.
1567         * libio/stdio.h: Add prototype for fgets_unlocked.
1569         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1570         * misc/getusershell.c (initshells): Likewise.
1571         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1572         fgets_unlocked.
1573         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1574         * resolv/res_init.c (res_init): Likewise.
1575         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1577 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1579         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1580         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1582 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1584         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1585         _unlocked functions.
1587         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1588         is a private FILE.
1590 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1592         * csu/Makefile: Build crt files in lib pass.
1593         * db2/Makefile (distribute): Add mutex/sco.cc.
1594         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1595         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1596         s-proto.d if avoid-generated is set.
1598         * sysdeps/alpha/Dist: List only one file per line.
1599         * sysdeps/generic/Dist: Likewise.
1600         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1601         * sysdeps/sparc/sparc32/Dist: Likewise.
1602         * sysdeps/unix/Dist: Likewise.
1603         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1605         * sysdeps/mach/hurd/i386/Dist: New file.
1606         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1607         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1608         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1609         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1611 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1613         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1614         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1616         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1618         * time/tzfile.c (decode): Optimize by using bswap_32.
1619         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1620         __tzname array values.
1621         (__tzfile_compute): Correct setting of __tzname array values.
1622         * time/tzset.c (__tzstring): Clean up a bit.
1624 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1626         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1628 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1630         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1631         that fd can be bigger than FD_SETSIZE.
1633 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1635         * nscd/grpcache.c: Include <unistd.h>.
1636         * nscd/pwdcache.c: Likewise.
1638         * nis/nis_modify.c: Include <string.h>.
1639         * nis/nis_add.c: Likewise.
1640         * nis/nis_checkpoint.c: Likewise.
1641         * posix/runptests.c: Likewise.
1642         * sysdeps/generic/statvfs64.c: Likewise.
1643         * sysdeps/generic/fstatvfs64.c: Likewise.
1645 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1647         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1648         to match data from Unicode.
1649         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1651 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1653         * stdio-common/printf.h: Define printf_function and
1654         printf_arginfo_function types using __PMT not __P.
1655         Reported by Marc Lehmann.
1657 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1659         * assert/test-assert.c: New test.
1660         * assert/test-assert-perr.c: New test.
1661         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1663 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1665         BSD-style SCM_CREDS support.
1667         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1668         SCM_CREDS.
1669         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1670         visible SCM_CREDS packet to what the kernel wants.
1671         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1672         SCM_CREDS packet output by kernel to what users want.
1674         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1675         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1676         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1677         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1679         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1680         __sendmsg and __recvmsg to sysdep_routines.
1681         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1683 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1685         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1686         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1687         * nscd/nscd.c: Check, if pthread_create fails.
1689 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1691         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1692         format strings.
1693         * stdio-common/bug1.c (main): Likewise.
1694         * stdio-common/bug5.c (main): Likewise.
1695         * stdio-common/tstgetln.c (main): Likewise.
1696         * elf/sprof.c (generate_call_graph): Likewise.
1697         (load_shobj): Likewise.
1698         * posix/runptests.c (main): Likewise.
1699         * string/tst-strlen.c (main): Likewise.
1701         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1702         variable q3.
1703         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1705 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1707         * wctype/Versions: Add __towctrans.
1708         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1710 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1712         * grp/initgroups.c (compat_call): Only call dynamically loaded
1713         functions if they are really present.
1715 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1717         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1718         #ifdef that contains __BEGIN_DECLS.
1720 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1722         * libio/iofwrite.c: Fix return value when size == 0.
1724 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1726         * posix/Makefile (distribute): Add annexc.c.
1727         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1729 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1732         bits/pthreadtypes.h here, and do not clobber headers.
1734         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1736 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1738         * timezone/tst-timezone.c: Add tests for tzname variable.
1740 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1742         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1743         rule that lists all of them as targets.
1744         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1745         fragment that defines $(vers-libs) based on contents of that file;
1746         then include it.
1747         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1748         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1749         Predicate all this on avoid-generated unset as well as versioning.
1751 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1753         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1755 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1757         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1758         a copy.
1759         * Makefile: Add rules to generate map files.
1760         (distribute): Remove libc.map, add Versions.def and versions.awk.
1761         * Makerules: Change rules to find map files on common-objpfx.
1762         * elf/Makefile: Likewise.
1763         * md5-crypt/Makefile: Likewise.
1764         * nis/Makefile (libnsl-map): Remove.
1765         * Versions.def: New file.
1766         * versions.awk: New file.
1767         * argp/Versions: New file.
1768         * assert/Versions: New file.
1769         * catgets/Versions: New file.
1770         * csu/Versions: New file.
1771         * ctype/Versions: New file.
1772         * db/Versions: New file.
1773         * debug/Versions: New file.
1774         * dirent/Versions: New file.
1775         * elf/Versions: New file.
1776         * gmon/Versions: New file.
1777         * grp/Versions: New file.
1778         * hesiod/Versions: New file.
1779         * hurd/Versions: New file.
1780         * iconv/Versions: New file.
1781         * inet/Versions: New file.
1782         * intl/Versions: New file.
1783         * io/Versions: New file.
1784         * libio/Versions: New file.
1785         * linuxthreads/Versions: New file.
1786         * locale/Versions: New file.
1787         * login/Versions: New file.
1788         * malloc/Versions: New file.
1789         * math/Versions: New file.
1790         * md5-crypt/Versions: New file.
1791         * misc/Versions: New file.
1792         * nis/Versions: New file.
1793         * nss/Versions: New file.
1794         * posix/Versions: New file.
1795         * pwd/Versions: New file.
1796         * resolv/Versions: New file.
1797         * resource/Versions: New file.
1798         * rt/Versions: New file.
1799         * setjmp/Versions: New file.
1800         * shadow/Versions: New file.
1801         * signal/Versions: New file.
1802         * socket/Versions: New file.
1803         * stdio/Versions: New file.
1804         * stdio-common/Versions: New file.
1805         * stdlib/Versions: New file.
1806         * streams/Versions: New file.
1807         * string/Versions: New file.
1808         * sunrpc/Versions: New file.
1809         * sysdeps/alpha/Versions: New file.
1810         * sysdeps/alpha/fpu/Versions: New file.
1811         * sysdeps/i386/Versions: New file.
1812         * sysdeps/sparc/Versions: New file.
1813         * sysdeps/unix/sysv/Versions: New file.
1814         * sysdeps/unix/sysv/linux/Versions: New file.
1815         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1816         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1817         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1818         * sysvipc/Versions: New file.
1819         * termios/Versions: New file.
1820         * time/Versions: New file.
1821         * wcsmbs/Versions: New file.
1822         * wctype/Versions: New file.
1823         * libc.map: Removed.
1824         * db/libdb.map: Removed.
1825         * elf/libdl.map: Removed.
1826         * hesiod/libnss_hesiod.map: Removed.
1827         * hurd/libhurduser.map: Removed.
1828         * hurd/libmachuser.map: Removed.
1829         * linuxthreads/libpthread.map: Removed.
1830         * locale/libBrokenLocale.map: Removed.
1831         * login/libutil.map: Removed.
1832         * math/libm.map: Removed.
1833         * md5-crypt/libcrypt.map: Removed.
1834         * nis/libnsl.map: Removed.
1835         * nis/libnsl_compat.map: Removed.
1836         * nis/libnss_nis.map: Removed.
1837         * nis/libnss_nisplus.map: Removed.
1838         * nss/libnss_db.map: Removed.
1839         * nss/libnss_files.map: Removed.
1840         * resolv/libnss_dns.map: Removed.
1841         * resolv/libresolv.map: Removed.
1842         * rt/librt.map: Removed.
1844         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1845         Fix typos.
1847         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1848         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1850         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1851         correct size.
1853 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1855         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1856         in comment.
1858         * nscd/nscd.c: Include unistd.h.
1860 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1862         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1863         became cleverer.
1865 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1867         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1869 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1871         * scripts/test-installation.pl: Include <stdio.h> in test program
1872         to make it strictly conforming.
1874 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1876         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1877         not a strong alias.
1878         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1881         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1883 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1885         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1886         not a strong alias.
1888 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1890         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1891         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1892         bits/pthreadtypes.h.
1894 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1896         * include/aio.h: New file.
1897         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1898         (tests): Build and run annexc program.
1899         * posix/annexc.c: New file.
1900         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1901         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1902         * rt/aio_misc.c: Include limits.h.
1903         * rt/aio_notify.c: Include errno.h.
1904         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1905         Define size_t.
1906         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1907         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1908         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1909         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1910         kernel doesn't do this.
1911         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1912         __USE_LARGEFILE64 is defined.
1913         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1914         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1915         if requested.
1916         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1918         * stdlib/isomac.c: Avoid include_next warning.
1920 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1922         * argp/argp.h: Use __PMT instead of __P for function pointer.
1923         * iconv/gconv.h: Likewise.
1924         * io/fts.h: Likewise.
1925         * io/ftw.h: Likewise.
1926         * libio/libio.h: Likewise.
1927         * malloc/mcheck.h: Likewise.
1928         * misc/search.h: Likewise.
1929         * posix/glob.h: Likewise.
1930         * resolv/resolv.h: Likewise.
1931         * signal/signal.h: Likewise.
1932         * stdlib/stdlib.h: Likewise.
1933         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1934         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1936 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1938         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1940 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1942         * posix/wordexp.c (parse_param): Fix memory leak.
1944 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1946         * libc.map: Export _IO_ftrylockfile.
1948 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1950         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1951         __get[pu]id.
1953 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1955         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1957         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1958         same search list twice.
1960 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1962         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1963         used to optimize loop/select.
1965 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1967         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1968         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1969         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1970         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1971         * sysdeps/arm/init-first.c: Likewise.
1972         * posix/getopt_init.c: Don't use __libc_pid.
1973         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1974         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1975         * libc.map: Remove __libc_uid and __libc_pid.
1977 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1979         * sunrpc/rtime.c (rtime): Use poll instead of select.
1981 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1983         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1984         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1985         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1986         Patches from FreeBSD current.
1988 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1990         * nscd/connections.c (handle_new_request): Handle POLLHUP
1991         correctly.
1992         (close_sockets): Correct parameter to dbg_log.
1994 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1997         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1998         (elf_machine_fixup_plt): Likewise.
1999         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2000         _dl_pagesize not set, use system call to always get correct answer.
2001         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2002         (__syscall_getpagesize): Add
2004 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
2006         * resolv/res_send.c (res_send): Fix typo.
2008 1998-06-25  Andi Kleen <ak@muc.de>
2010         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2011         * resolv/res_send.c (res_send): Likewise.
2013 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2015         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2016         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2018 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
2020         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2021         * math/atest-exp2.c (exp_mpn, main): Likewise.
2022         * math/atest-sincos.c (main): Likewise.
2024         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
2025         base handling away from strtoul.  Always reset errno.
2027         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2029         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2030         _dl_profile_map if _dl_name_match_p.
2031         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
2032         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
2034         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2035         as early-clobber.
2037         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2038         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2039         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2041 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2043         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2045 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2047         * nis/nis_call.c: Don't copy server structure.
2048         * nis/nis_intern.h: Remove unused entries.
2049         * nis/nis_table.c: Rewrite __create_ib_request.
2051 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
2053         * configure.in: Check for -fexceptions.
2054         * config.make.in: Define exceptions, not no-exceptions.
2055         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
2056         __P to use throw().
2057         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2058         $(exceptions).
2059         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2060         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2061         lfind, and lsearch prototpypes.
2062         * stdlib/stdlib.h: Likewise for bsearch and qsort.
2064 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2066         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2068 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2070         * Makefile (remove-old-headers): Make phony.
2072         * configure.in: Substitute @old_glibc_headers@.
2074 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2076         * libc.map: Remove __libc_uid.
2078 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2080         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2081         typos.
2083 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2085         * libc.map: Add Alpha-specific io function from protected namespace.
2087 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
2089         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2090         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2091         CPPFLAGS.
2093         * libc.map: Export __sigaction.
2095 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2097         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2098         (from Linux 2.1.107).
2100 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
2102         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2103         position when file was opened here.
2104         Reported by Howard Chu <hyc@platinum.com>.
2106         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2107         undefined in a second inclusion.
2109 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2111         * sysdeps/mach/hurd/i386/Makefile: New file.
2112         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2113         __libc_init_secure.
2114         (_hurd_stack_setup): Renamed
2115         from __libc_init_first.
2116         (__libc_init_first): New function.
2117         * sysdeps/mach/hurd/i386/static-start.S: New file.
2119 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2121         * sysdeps/mach/hurd/i386/init-first.c
2123 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2125         * grp/initgroups.c: Use _CALL_DL_FCT.
2127 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2129         * elf/rtld.c (process_dl_debug): Add missing continue.
2131 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2133         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2135 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2137         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2139 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
2141         * config.make.in: Remove LDAP support.
2142         * nss/Makefile: Likewise.
2144 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2146         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2147         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2148         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2149         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2151 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2153         * mach/Makefile: Change `mv' invocations to `mv -f'.
2154         * mach/Machrules: Likewise.
2156 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2158         * config.make.in (old-glibc-headers): Add it.
2160         * configure.in: Add test for glibc 2.0.x headers.
2162         * Makefile (headers2_0): New variable - contains so far only
2163         Linux/Intel glibc 2.0.x headers.
2164         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2165         (install): Depend on remove-old-headers.
2167 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2169         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2170         make ftruncate a weak alias.
2171         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2172         __ftruncate.
2173         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2174         (truncate): Fix function defenition to match prototype.
2176 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2178         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2179         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2181 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2183         * sysdeps/generic/glob.c: Make it possible to include glob.h
2184         before loading glob.c.
2185         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2187 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2189         * nscd/connections.c: Use poll() instead of select().
2191 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2193         * sysdeps/generic/Dist: Fix typo.
2195 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2197         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2198         * nis/nis_addmember.c: Likewise.
2199         * nis/nis_call.c: Likewise.
2200         * nis/nis_creategroup.c: Likewise.
2201         * nis/nis_destroygroup.c: Likewise.
2202         * nis/nis_findserv.c: Likewise.
2203         * nis/nis_ismember.c: Likewise.
2204         * nis/nis_print.c: Likewise.
2205         * nis/nis_print_group_entry.c: Likewise.
2206         * nis/nis_removemember.c: Likewise.
2207         * nis/nis_verifygroup.c: Likewise.
2208         * nis/ypclnt.c: Likewise.
2210         * nis/nis_file.c: Close file handles.
2212         * nis/nis_callback.c: Fix typo.
2214 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2216         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2217         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2218         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2219         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2220         * nis/nss_nis/nis-initgroups.c: Likewise.
2221         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2222         __nss_lookup_function and make it public.
2223         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2224         module if exists, else use old method.
2226 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2228         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2229         definition.
2230         * nss/getXXent_r.c (set_function, end_function, get_function):
2231         Likewise.  Reported by Thorsten Kukuk.
2233         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2235 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2237         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2238         1998-06-16 and distribute kernel_termios.h.
2240         * nis/Makefile (distribute): Add nis_xdr.h.
2242 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2244         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2245         kernels that don't have sigaltstack.
2247 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2249         * sysdeps/generic/bits/sem.h: Don't define union semun.
2251         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2253         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2254         here.
2255         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2256         definition here.
2258 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2260         * signal/signal.h: Add prototype for __sigaltstack.
2261         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2262         Remove sigstack entry.
2263         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2264         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2266         * sysdeps/i386/backtrace.c: Add casts.
2268 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2270         * intl/dcgettext.c: use complete type name.
2271         * intl/hash-string.h: Likewise.
2273         * intl/localealias.c: Undo patch from 1998-04-29.
2274         * intl/l10nflist.c: Likewise.
2275         * intl/loadinfo.h: Likewise.
2277 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2279         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2281 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2283         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2284         _dl_mcount, _dl_mcount_wrapper.
2285         * elf/Makefile (routines): Add dl-profstub.
2286         * elf/dl-profstub.c: New file.
2287         * elf/dl-support.c: Don't define _dl_profile_map.
2288         * elf/rtld.c: Likewise.
2289         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2290         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2291         Define _CALL_DL_FCT.
2292         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2293         loaded object.
2294         * iconv/gconv_db.c: Likewise.
2295         * iconv/skeleton.c: Likewise.
2296         * nss/getXXbyYY_r.c: Likewise.
2297         * nss/getXXent_r.c: Likewise.
2298         * nss/nsswitch.c: Likewise.
2300 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2302         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2303         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2304         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2306 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2308         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2309         longestdbl.
2311 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2313         * iconvdata/Makefile (modules): Add MACINTOSH.
2314         (MACINTOSH-routines): New variable.
2315         (distribute): Add macintosh.c.
2316         (awk-generated-headers): Add macintosh.h.
2317         Add rule for macintosh.h generation.
2318         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2319         * iconvdata/macintosh.c: New file.
2321 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2323         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2325         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2326         only should happen for cy != 0.
2328         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2329         glob.h.
2331 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2333         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2334         to compare stack addresses.
2336 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2338         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2339         defining prototypes.
2341 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2343         * sysdeps/sparc/sparc32/dl-machine.h
2344         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2345         flushes as the kernel will emulate it when the underlying cpu does
2346         not implement flush.
2348         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2349         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2351         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2352         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2353         trampoline code.
2355         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2356         (__clone): Branch to label .Lerror not __clone_syscall_error.
2357         (.Lerror): Fixup EINVAL setting.
2358         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2359         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2360         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2361         (__syscall_getgroups, __syscall_setgroups): Add.
2363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2364         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2365         around sa_mask data.
2367 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2369         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2371         * string/Makefile: Make sure test-ffs does not use builtins.
2373 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2375         * sunrpc/svc.c: Check for NULL pointer.
2377         * nis/libnsl.map: Add public NIS+ xdr functions.
2379         * nis/rpcsvc/nis_callback.h: New file.
2380         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2381         * nis/nis_xdr.h: ... here.
2383         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2384         pointers, use NIS+ defines where possible.
2385         * nis/nis_cache.c: Likewise.
2386         * nis/nis_cache2_xdr.c: Likewise.
2387         * nis/nis_call.c: Likewise.
2388         * nis/nis_checkpoint.c: Likewise.
2389         * nis/nis_clone_dir.c: Likewise.
2390         * nis/nis_clone_obj.c: Likewise.
2391         * nis/nis_clone_res.c: Likewise.
2392         * nis/nis_creategroup.c: Likewise.
2393         * nis/nis_file.c: Likewise.
2394         * nis/nis_free.c: Likewise.
2395         * nis/nis_getservlist.c: Likewise.
2396         * nis/nis_local_names.c: likewise.
2397         * nis/nis_lookup.c: Likewise.
2398         * nis/nis_mkdir.c: Likewise.
2399         * nis/nis_modify.c: Likewise.
2400         * nis/nis_ping.c: Likewise.
2401         * nis/nis_print.c: Likewise.
2402         * nis/nis_remove.c: Likewise.
2403         * nis/nis_removemember.c: Likewise.
2404         * nis/nis_rmdir.c: Likewise.
2405         * nis/nis_server.c: Likewise.
2406         * nis/nis_table.c: Likewise.
2407         * nis/nis_util.c: Likewise.
2408         * nis/nis_verifygroup.c: Likewise.
2409         * nis/nis_xdr.c: Likewise.
2410         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2411         * nis/nis_xdr.c: ... to here.
2413 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2415         * iconvdata/ksc5601.h: Clean up a bit.
2417 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2419         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2420         and process incoming data.
2421         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2422         fragments as invalid.
2423         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2425 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2427         Removal of duplicates like "the the".
2428         * manual/time.texi (TZ Variable): Likewise.
2429         * manual/users.texi (Manipulating the Database): Likewise.
2430         * manual/sysinfo.texi (Filesystem handling): Likewise.
2431         * manual/signal.texi (Signaling Yourself): Likewise.
2432         * manual/message.texi (Message Translation): Likewise.
2433         (Common Usage): Likewise.
2434         * manual/llio.texi: Likewise.
2435         * manual/arith.texi (Old-style number conversion): Likewise.
2436         * manual/argp.texi (Argp): Likewise.
2437         (Argp Parsers): Likewise.
2438         (Argp Help Filtering): Likewise.
2440         * hesiod/README.hesiod: Correct typo.
2442         * manual/llio.texi: Correct typos.
2443         * manual/sysinfo.texi: Likewise.
2445 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2447         * rt/aio.h: Rename __op to __operation for g++.
2449 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2451         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2452         script.
2453         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2454         * iconvdata/gen-8bit.sh: Clean up sed script.
2456         * iconvdata/Makefile: Remove all PERL conditionals; build all
2457         the modules all the time.  Export AWK.
2458         (gen-8bit-gap): Delete setting of PERL.
2459         (gen-8bit-gap-1): Likewise.
2460         (perl-generated-headers): Renamed awk-generated-headers.
2462         * iconvdata/gap.pl: Removed.
2463         * iconvdata/gaptab.pl: Removed.
2464         * iconvdata/gap.awk: New file.
2465         * iconvdata/gaptab.awk: New file.
2467 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2469         * sysdeps/generic/Dist: Add errno-loc.c.
2471         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2472         __new_* functions.
2474 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2476         * stdio-common/bug12.c: New test for fread()/fseek().
2477         * stdio-common/Makefile (tests): Add bug12.
2479 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2481         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2482         constant.
2483         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2484         * debug/execinfo.h: Update declaration.
2486 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2488         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2489         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2490         * debug/execinfo.h: Update declaration.
2492 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2494         * manual/llio.texi: Fix spelling.
2495         * manual/sysinfo.texi: Fix spelling.
2497 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2499         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2500         alias for old name.  Put this on __libc_subfreeres.
2501         * misc/search.h: Declare it.
2503 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2505         * string/bits/string2.h (strcmp): Add missing parens around macro
2506         parameters.
2508 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2510         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2512         * manual/filesys.texi: Document LFS functions.
2513         * manual/llio.texi: Likewise.
2514         * manual/stdio.texi: Likewise.
2515         * manual/time.texi: Likewise.
2517         * manual/llio.texi: Document AIO functions.
2519         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2520         * sysdeps/generic/setrlimit.c: Likewise.
2521         * sysdeps/generic/setrlimit64.c: Likewise.
2522         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2523         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2525 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2527         * sysdeps/generic/getenv.c: Fix last change.
2529 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2531         * sysdeps/generic/backtrace.c: Provide generic implementation.
2533 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2535         * configure.in: Give visual feedback of the default directories we
2536         added.
2538 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2540         * io/fts.c (fts_build): Define oflag only if needed.
2542 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2544         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2546 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2548         * libc.map: Don't export argp's fmtstream handling functions.
2550         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2551         * manual/llio.texi: Document more LFS functions and start documenting
2552         the AIO functions.
2554 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2556         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2557         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2558         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2559         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2561 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2563         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2564         makes it easier to undump emacs.
2565         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2566         for when the endianness can't be determined.
2568 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2570         * nss/Makefile: Add files publickey database support.
2571         * nss/libnss_files.map: Export the required functions.
2572         * nss/nss_files/files-key.c: Implement it.
2573         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2575 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2577         * iconv/gconv_builtin.h: Add aliases for CORBA.
2578         * iconvdata/gconv-modules: Likewise.
2580 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2582         * math/libm-test.c (main): Call exp10_test.
2583         (exp10_test): New function which tests exp10.
2585 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2587         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2588         sigstack.
2590         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2591         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2592         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2594 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2596         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2597         in the variable, not its GOT slot.
2599 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2601         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2602         inline.
2603         * sysdeps/m68k/fpu/e_exp10.c: New file.
2604         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2605         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2607         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2608         _dl_profile_map only if the name matches.
2609         (_dl_start_user): Remember stack address.
2610         * sysdeps/m68k/elf/start.S: Pass new argument to
2611         __libc_start_user.
2613         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2614         definition.
2615         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2616         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2617         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2618         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2619         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2621 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2623         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2624         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2625         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2626         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2627         prototypes.
2628         * sysdeps/libm-i387/e_exp10.S: New file.
2629         * sysdeps/libm-i387/e_exp10f.S: New file.
2630         * sysdeps/libm-i387/e_exp10l.S: New file.
2631         * sysdeps/libm-ieee754/e_exp10.c: New file.
2632         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2633         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2634         * sysdeps/libm-ieee754/w_exp10.c: New file.
2635         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2636         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2637         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2639 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2641         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2642         sys/elf.h and sys/reg.h.
2643         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2644         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2645         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2646         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2648         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2649         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2651 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2653         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2654         __data member only for gcc.  Reported by ak@muc.de.
2656         * misc/mntent.h: Undo last patch.
2657         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2658         * misc/tst/mntent.c: Adjust code for this change.
2660         * io/fts.c: Updated from a slightly more recent BSD version.
2661         * io/fts.h: Likewise.
2663         * libc.map: Add __libc_stack_end.
2665         * db2/Makefile (routines): Add lock_region.
2666         * db2/config.h: Update from db-2.4.14.
2667         * db2/db.h: Likewise.
2668         * db2/db_185.h: Likewise.
2669         * db2/db_int.h: Likewise.
2670         * db2/btree/bt_close.c: Likewise.
2671         * db2/btree/bt_compare.c: Likewise.
2672         * db2/btree/bt_conv.c: Likewise.
2673         * db2/btree/bt_cursor.c: Likewise.
2674         * db2/btree/bt_delete.c: Likewise.
2675         * db2/btree/bt_open.c: Likewise.
2676         * db2/btree/bt_page.c: Likewise.
2677         * db2/btree/bt_put.c: Likewise.
2678         * db2/btree/bt_rec.c: Likewise.
2679         * db2/btree/bt_recno.c: Likewise.
2680         * db2/btree/bt_rsearch.c: Likewise.
2681         * db2/btree/bt_search.c: Likewise.
2682         * db2/btree/bt_split.c: Likewise.
2683         * db2/btree/bt_stat.c: Likewise.
2684         * db2/btree/btree.src: Likewise.
2685         * db2/btree/btree_auto.c: Likewise.
2686         * db2/clib/getlong.c: Likewise.
2687         * db2/common/db_appinit.c: Likewise.
2688         * db2/common/db_apprec.c: Likewise.
2689         * db2/common/db_byteorder.c: Likewise.
2690         * db2/common/db_err.c: Likewise.
2691         * db2/common/db_log2.c: Likewise.
2692         * db2/common/db_region.c: Likewise.
2693         * db2/common/db_salloc.c: Likewise.
2694         * db2/common/db_shash.c: Likewise.
2695         * db2/db/db.c: Likewise.
2696         * db2/db/db.src: Likewise.
2697         * db2/db/db_auto.c: Likewise.
2698         * db2/db/db_conv.c: Likewise.
2699         * db2/db/db_dispatch.c: Likewise.
2700         * db2/db/db_dup.c: Likewise.
2701         * db2/db/db_overflow.c: Likewise.
2702         * db2/db/db_pr.c: Likewise.
2703         * db2/db/db_rec.c: Likewise.
2704         * db2/db/db_ret.c: Likewise.
2705         * db2/db/db_thread.c: Likewise.
2706         * db2/db185/db185.c: Likewise.
2707         * db2/db185/db185_int.h: Likewise.
2708         * db2/dbm/dbm.c: Likewise.
2709         * db2/hash/hash.c: Likewise.
2710         * db2/hash/hash.src: Likewise.
2711         * db2/hash/hash_auto.c: Likewise.
2712         * db2/hash/hash_conv.c: Likewise.
2713         * db2/hash/hash_debug.c: Likewise.
2714         * db2/hash/hash_dup.c: Likewise.
2715         * db2/hash/hash_func.c: Likewise.
2716         * db2/hash/hash_page.c: Likewise.
2717         * db2/hash/hash_rec.c: Likewise.
2718         * db2/hash/hash_stat.c: Likewise.
2719         * db2/include/btree.h: Likewise.
2720         * db2/include/btree_ext.h: Likewise.
2721         * db2/include/clib_ext.h: Likewise.
2722         * db2/include/common_ext.h: Likewise.
2723         * db2/include/cxx_int.h: Likewise.
2724         * db2/include/db.h.src: Likewise.
2725         * db2/include/db_185.h.src: Likewise.
2726         * db2/include/db_am.h: Likewise.
2727         * db2/include/db_auto.h: Likewise.
2728         * db2/include/db_cxx.h: Likewise.
2729         * db2/include/db_dispatch.h: Likewise.
2730         * db2/include/db_ext.h: Likewise.
2731         * db2/include/db_int.h.src: Likewise.
2732         * db2/include/db_page.h: Likewise.
2733         * db2/include/db_shash.h: Likewise.
2734         * db2/include/db_swap.h: Likewise.
2735         * db2/include/hash.h: Likewise.
2736         * db2/include/hash_ext.h: Likewise.
2737         * db2/include/lock.h: Likewise.
2738         * db2/include/lock_ext.h: Likewise.
2739         * db2/include/log.h: Likewise.
2740         * db2/include/log_ext.h: Likewise.
2741         * db2/include/mp.h: Likewise.
2742         * db2/include/mp_ext.h: Likewise.
2743         * db2/include/mutex_ext.h: Likewise.
2744         * db2/include/os_ext.h: Likewise.
2745         * db2/include/os_func.h: Likewise.
2746         * db2/include/queue.h: Likewise.
2747         * db2/include/shqueue.h: Likewise.
2748         * db2/include/txn.h: Likewise.
2749         * db2/lock/lock.c: Likewise.
2750         * db2/lock/lock_conflict.c: Likewise.
2751         * db2/lock/lock_deadlock.c: Likewise.
2752         * db2/lock/lock_region.c: Likewise.
2753         * db2/lock/lock_util.c: Likewise.
2754         * db2/log/log.c: Likewise.
2755         * db2/log/log.src: Likewise.
2756         * db2/log/log_archive.c: Likewise.
2757         * db2/log/log_auto.c: Likewise.
2758         * db2/log/log_compare.c: Likewise.
2759         * db2/log/log_findckp.c: Likewise.
2760         * db2/log/log_get.c: Likewise.
2761         * db2/log/log_put.c: Likewise.
2762         * db2/log/log_rec.c: Likewise.
2763         * db2/log/log_register.c: Likewise.
2764         * db2/mp/mp_bh.c: Likewise.
2765         * db2/mp/mp_fget.c: Likewise.
2766         * db2/mp/mp_fopen.c: Likewise.
2767         * db2/mp/mp_fput.c: Likewise.
2768         * db2/mp/mp_fset.c: Likewise.
2769         * db2/mp/mp_open.c: Likewise.
2770         * db2/mp/mp_pr.c: Likewise.
2771         * db2/mp/mp_region.c: Likewise.
2772         * db2/mp/mp_sync.c: Likewise.
2773         * db2/mutex/68020.gcc: Likewise.
2774         * db2/mutex/mutex.c: Likewise.
2775         * db2/mutex/parisc.gcc: Likewise.
2776         * db2/mutex/parisc.hp: Likewise.
2777         * db2/mutex/sco.cc: Likewise.
2778         * db2/os/os_abs.c: Likewise.
2779         * db2/os/os_alloc.c: Likewise.
2780         * db2/os/os_config.c: Likewise.
2781         * db2/os/os_dir.c: Likewise.
2782         * db2/os/os_fid.c: Likewise.
2783         * db2/os/os_fsync.c: Likewise.
2784         * db2/os/os_map.c: Likewise.
2785         * db2/os/os_oflags.c: Likewise.
2786         * db2/os/os_open.c: Likewise.
2787         * db2/os/os_rpath.c: Likewise.
2788         * db2/os/os_rw.c: Likewise.
2789         * db2/os/os_seek.c: Likewise.
2790         * db2/os/os_sleep.c: Likewise.
2791         * db2/os/os_spin.c: Likewise.
2792         * db2/os/os_stat.c: Likewise.
2793         * db2/os/os_unlink.c: Likewise.
2794         * db2/progs/db_archive/db_archive.c: Likewise.
2795         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2796         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2797         * db2/progs/db_dump/db_dump.c: Likewise.
2798         * db2/progs/db_dump185/db_dump185.c: Likewise.
2799         * db2/progs/db_load/db_load.c: Likewise.
2800         * db2/progs/db_printlog/db_printlog.c: Likewise.
2801         * db2/progs/db_recover/db_recover.c: Likewise.
2802         * db2/progs/db_stat/db_stat.c: Likewise.
2803         * db2/txn/txn.c: Likewise.
2804         * db2/txn/txn.src: Likewise.
2805         * db2/txn/txn_auto.c: Likewise.
2806         * db2/txn/txn_rec.c: Likewise.
2808         * elf/rtld.c: Move definition of __libc_stack_end to ...
2809         * sysdeps/generic/dl-sysdep.h: ...here.
2811         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2812         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2813         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2815         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2816         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2817         before following it.
2819 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2821         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2822         from mntent correctly.
2824 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2826         * sunrpc/Makefile (generated): Correct typo.
2828 1998-06-04  Philip Blundell  <philb@gnu.org>
2830         * elf/elf.h (EM_ARM, et al.): New definitions.
2831         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2833 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2835         * localedata/SUPPORTED: Add sk_SK.
2836         * localedata/locales/sk_SK: New file.
2838 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2840         * Makeconfig (subdirs): Add debug.
2841         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2842         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2843         backtrace_symbols.
2844         * sysdeps/generic/backtrace.c: New file.
2845         * sysdeps/generic/backtracesyms.c: New file.
2846         * sysdeps/generic/elf/backtracesyms.c: New file.
2847         * sysdeps/i386/backtrace.c: New file.
2848         * debug/Makefile: New file.
2849         * debug/backtrace-tst.c: New file.
2850         * debug/execinfo.h: New file.
2852 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2854         * elf/sprof.c: Implement call graph profiling.
2856         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2858 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2860         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2861         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2862         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2863         Noticed by Jake Garver <garver@valkyrie.net>.
2865 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2867         * libio/genops.c (__underflow): Read character from read pointer
2868         as unsigned.
2869         (__uflow): Likewise.
2871 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2873         * libc.map: Add _dl_profile.
2874         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2875         this to ELF_DYNAMIC_RELOCATE.
2876         Always allocate array for relocation result if LD_PROFILE is defined.
2877         * elf/ldsodefs.h: Adjust prototypes.
2878         * elf/dl-open.c (_dl_open): Call relocation function with extra
2879         argument.
2880         * elf/rtld.c: Likewise.
2881         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2882         Correct loop condition.
2883         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2884         consider_profile to runtime setup function.
2885         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2886         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2888         * elf/dl-support.c: Define __libc_stack_end.
2889         * elf/rtld.c: Likewise.
2890         * sysdeps/generic/libc-start.c: Store last stack address in
2891         __libc_stack_end.
2892         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2893         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2895         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2896         Include <stdint.h>, not <inttypes.h>.
2898         * elf/sprof.c: Implement flat profiling.
2900         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2901         _IO_funlockfile explicitly.
2902         * libio/fileops.c: Likewise.
2903         * libio/fputc.c: Likewise.
2904         * libio/freopen.c: Likewise.
2905         * libio/freopen64.c: Likewise.
2906         * libio/fseek.c: Likewise.
2907         * libio/fseeko.c: Likewise.
2908         * libio/fseeko64.c: Likewise.
2909         * libio/ftello.c: Likewise.
2910         * libio/ftello64.c: Likewise.
2911         * libio/getc.c: Likewise.
2912         * libio/getchar.c: Likewise.
2913         * libio/iofclose.c: Likewise.
2914         * libio/iofflush.c: Likewise.
2915         * libio/iofgetpos.c: Likewise.
2916         * libio/iofgetpos64.c: Likewise.
2917         * libio/iofgets.c: Likewise.
2918         * libio/iofputs.c: Likewise.
2919         * libio/iofread.c: Likewise.
2920         * libio/iofsetpos.c: Likewise.
2921         * libio/iofsetpos64.c: Likewise.
2922         * libio/ioftell.c: Likewise.
2923         * libio/iofwrite.c: Likewise.
2924         * libio/iogetdelim.c: Likewise.
2925         * libio/iogets.c: Likewise.
2926         * libio/ioputs.c: Likewise.
2927         * libio/ioseekoff.c: Likewise.
2928         * libio/ioseekpos.c: Likewise.
2929         * libio/iosetbuffer.c: Likewise.
2930         * libio/iosetvbuf.c: Likewise.
2931         * libio/ioungetc.c: Likewise.
2932         * libio/iovsprintf.c: Likewise.
2933         * libio/iovsscanf.c: Likewise.
2934         * libio/oldfileops.c: Likewise.
2935         * libio/oldiofclose.c: Likewise.
2936         * libio/peekc.c: Likewise.
2937         * libio/putc.c: Likewise.
2938         * libio/putchar.c: Likewise.
2939         * libio/rewind.c: Likewise.
2941         * malloc/mtrace.c: Pretty print.
2943         * misc/mntent.h (struct mentent): Make string elements const char *.
2945         * nis/nis_printf.c: Optimize I/O a little bit.
2947         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2948         * sysdeps/generic/sigset-cvt-mask.h: New file.
2949         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2950         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2951         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2952         sigset-cvt-mask.h to do the dirty work.
2953         Patches by Joe Keane.
2955         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2957         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2958         syscall_error label in case of PIC anonymous.
2959         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2960         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2961         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2962         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2963         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2964         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2965         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2967 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2969         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2970         we cannot declare the struct element as const.
2971         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2972         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2974 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2976         * manual/Makefile: Include ../Makeconfig earlier.
2977         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2978         exist.
2979         (dir-add.texinfo): Remove useless $(SHELL).
2981 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2983         * Makefile (others): Build programs from install-bin.
2984         * configure.in: Modify config.make only if is was just created and
2985         move that command to second argument of AC_OUTPUT.  Add command to
2986         set config_vars in config.status.
2988 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2990         * malloc/Makefile (address-width): Fix conditional.
2992 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2994         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2995         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2996         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2997         version GLIBC_2.1.
2999 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3001         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3002         (Floating Point Parameters): Likewise.
3004 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3006         * hurd/Makefile (routines): Add cthreads.
3008 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3010         * login/login.c (login): Let pututline take care of finding the
3011         positin to insert the UTMP entry.  This corrects a bug where ssh
3012         was not reusing UTMP entries marked as DEAD_PROCESS.
3013         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3015 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3017         * login/Makefile (tests): New variable, add tst-utmp and
3018         tst-utmpx.
3019         * login/tst-utmp.c: New file.
3020         * login/tst-utmpx.c: New file.
3022 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3024         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3025         aliases for _hurd_nerr, for programs that don't use sys_errlist,
3026         but need sys_err.
3028 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3030         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3031         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3033 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3035         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3036         make __read a weak alias.  Use ANSI-style function definition.
3037         * sysdeps/mach/hurd/write.c: Likewise.
3039 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3041         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3042         _sys_errlist.
3044 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
3046         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3047         Renamed from librtld.so.
3049 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3051         * libc.map: Remove _IO_getline_info which was erroneously
3052         introduced in section GLIBC_2.0.
3053         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3055 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3057         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3058         created a weak alias.
3059         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3061 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
3063         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3064         ftruncate function, and create a weak alias to ftruncate.
3066 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3068         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3069         * inet/getnetgrent_r.c: Likewise.
3070         * nss/getXXbyYY_r.c: Likewise.
3071         * nss/getXXent_r.c: Likewise.
3072         * pwd/fgetpwent_r.c: Likewise.
3073         * shadow/sgetspent_r.c: Likewise.
3074         * shadow/fgetspent_r.c: Likewise.
3075         * sunrpc/publickey.c: Likewise.
3077 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3079         * hurd/libhurduser.map: New file.
3080         * mach/libmachuser.map: Likewise.
3082         * libc.map: Add Hurd-specific functions to version 2.1.
3083         Add __flshfp and __fillbf.
3085 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3087         * manual/signal.texi (Basic Signal Handling): Fix typo.
3088         * manual/errno.texi (Error Codes): Likewise.
3090 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
3092         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3093         instead of <sys/socket.h>.
3094         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3096         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3097         Finally make it working.
3098         Patch by Mark Hatle <fray@kernel.crashing.org>.
3100 1998-03-22  Paul Eggert  <eggert@twinsun.com>
3102         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3103         a Solaris 2.6 bug.
3105 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
3107         * stdlib/gmp-impl.h: Support strange mixed-endian double format
3108         used by ARM systems.
3109         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3110         FE_EXCEPT_SHIFT.
3111         * sysdeps/arm/bits/fenv.h: Deleted.
3112         * sysdeps/arm/fpu/ieee754.h: New file.
3113         * sysdeps/arm/gmp-mparam.h: New file.
3114         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3115         implementation.
3117 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
3119         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3121         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3122         of ((unused)).  Reported by Bruno Haible.
3124 1998-05-31  Philip Blundell  <philb@gnu.org>
3126         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3127         referring to errno and _errno.
3129         * sysdeps/arm/fpu/feholdexcpt.c: New file.
3131         * sysdeps/i386/fpu_control.h: Fix typo.
3133         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3134         (_JMPBUF_UNWINDS): Added.
3135         * sysdeps/arm/fpu/bits/setjmp.h: New file.
3137 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
3139         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3140         order to build header files, not `generated'.
3142         * Rules (before-compile): New target which depends on all
3143         $(before-compile) files.
3145 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3147         * nis/nis_call.c: Make directory search faster.
3149         * nis/nis_callback.c: Insert public key of user in callback data.
3151         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3153         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3155         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3157         * nis/nis_intern.h: Remove duplicated prototype.
3159 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3161         * sunrpc/auth_des.c: Move prototypes from here ...
3162         * sunrpc/rpc/auth.h: ... to here.
3164         * sunrpc/clnt_tcp.c: Add more control flags.
3165         * sunrpc/clnt_udp.c: Likewise.
3167         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3168         domainname.
3170         * sunrpc/rpc/clnt.h: Document, which control flags are not
3171         implementable.
3173         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3175 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3177         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3178         files crash the program.
3180         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3181         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3182         Reported by Deborah Wallach <kerr@pa.dec.com>.
3184 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3186         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3187         on whether this is a stable release or not (keeps snapshot bug
3188         reports out of the database).
3190         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3191         * sysdeps/arm/sysdep.h: Likewise.
3192         * sysdeps/i386/sysdep.h: Likewise.
3193         * sysdeps/m68k/sysdep.h: Likewise.
3194         * sysdeps/mach/mips/sysdep.h: Likewise.
3195         * sysdeps/mach/sys/reboot.h: Likewise.
3196         * sysdeps/mach/sysdep.h: Likewise.
3197         * sysdeps/unix/alpha/sysdep.h: Likewise.
3198         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3199         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3200         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3201         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3202         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3203         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3204         * sysdeps/unix/i386/sysdep.h: Likewise.
3205         * sysdeps/unix/mips/sysdep.h: Likewise.
3206         * sysdeps/unix/sparc/sysdep.h: Likewise.
3207         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3208         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3209         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3210         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3214         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3216 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3218         * mach/Machrules: Use $(move-if-change).
3220 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3222         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3223         * Makerules (lib%.so): Depend on $(+interp).
3224         (libc.so): Add interp.os to list of dependencies.
3225         (interp-obj): Remove variable.
3226         * mach/Machrules (+interp): Define to empty since libhurduser and
3227         libmachuser don't need to have the interpreter set.
3229 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3231         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3233         * resolv/gethnamaddr.c: Likewise.
3235         * resolv/res_comp.c: Likewise.
3237 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3239         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3240         so that transparent union works.
3242 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3244         * manual/texinfo.tex: Update to last available version.
3246         * timezone/africa: Update from tzdata1998e.
3247         * timezone/antarctica: Likewise.
3248         * timezone/asia: Likewise.
3249         * timezone/australasia: Likewise.
3250         * timezone/europe: Likewise.
3251         * timezone/iso3166.tab: Likewise.
3252         * timezone/northamerica: Likewise.
3253         * timezone/tzselect.ksh: Likewise.
3254         * timezone/zone.tab: Likewise.
3256 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3258         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3259         Reported by Matt McLean <keys@brio.yikes.com>.
3261 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3263         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3264         do-gencat-test.  Use automatic variables.
3265         ($(objpfx)de.msg): Fix reference to po file.
3267 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3269         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3270         $(move-if-change).
3272 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3274         * intl/dcgettext.c: Fix typo.
3276 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3278         * configure.in: Allow more make versions e.g 3.76.90.
3280 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3282         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3284         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3285         for Hurd.  Patch by Mark Kettenis.
3287 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3289          * mach/Machrules (+preinit, +postinit): Define these variables to
3290          empty because libhurduser and libmachuser don't need startup
3291          files.
3293 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3295          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3296          instead of a raw bitmask.
3298 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3300         * Makeconfig (rpath-dirs): New variable.
3301         (rpath-link): Use it.
3302         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3303         (db-objpfx): Removed.
3304         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3305         * md5-crypt/Makefile: Likewise.
3306         * sysdeps/mach/hurd/Makefile: Likewise.
3308         * Makeconfig (move-if-change): New variable.
3309         * iconvdata/Makefile (move-if-change): Removed.
3310         * manual/Makefile (move-if-change): Set only if undefined, use
3311         local script by default.
3312         * sunrpc/Makefile (move-if-change): Removed.
3313         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3314         $(move-if-change).
3316          * elf/Makefile: Remove all references to obsolete file
3317          $(objpfx)rtldtbl.h.
3318          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3320 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3322         * elf/dl-close.c (_dl_close): Add debugging message.
3324 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3326         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3327         to get Linux version and not gcc version.
3328         Reported by Alan Curry <pacman@cqc.com>.
3330 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3332         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3333         pointers - return unknown error message instead.
3334         Reported by Alan Curry <pacman@cqc.com>.
3336 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3338         * iconvdata/Makefile (modules, sed-generated-headers,
3339         perl-generated-headers): ibm424.h is perl generated.  Make
3340         necessary modifications to compile without perl.
3342 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3344         * hesiod/hesiod.c (read_config_file): Fix typo.
3346 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3348         * version.h: Bump VERSION.
3350         * csu/Makefile (distribute): Add munch-tmpl.c.
3352 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3354         * nis/nis_defaults.c: Fix buffer problems and typos.
3356 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3358         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3359         Patch by Fred Fish.
3361 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3363         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3364         overwriting bugs.
3366         * libio/strops.c (_IO_str_underflow): Read newly available
3367         character from buffer as unsigned.
3369 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3371         * catgets/Makefile (distribute): Add xopen-msg.h.
3372         (generated): Add de.msg and de.cat.
3373         (tests): Add do-gencat-test.
3374         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3375         * catgets/xopen-msg.h: New file.
3377 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3379         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3380         functions.  Optimize filename creation a bit.
3382 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3384         * stdlib/random_r.c: Help gcc to optimize the code.
3385         Patch by Joe Keane <jgk@jgk.org>.
3387 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3389         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3390         tsearch calls.
3392 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3394         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3395         it.
3397 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3399         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3400         * wcsmbs/wcsrtombs.c: Likewise.
3402         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3403         * wcsmbs/wcsmbs-tst1.c: New file.
3405         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3407         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3408         as 1.
3410         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3411         weak.
3413 1998-05-21  Philip Blundell  <philb@gnu.org>
3415         * sysdeps/arm/fpu_control.h: Replace stub file with real
3416         implementation.
3417         * sysdeps/arm/fpu/bits/fenv.h: New file.
3418         * sysdeps/arm/fpu/fesetround.c: Likewise.
3419         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3420         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3421         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3422         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3423         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3424         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3426 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3428         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3429         read instead of mmap.
3431 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3433         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3434         directly instead of include_next.  Add missing semicolons.
3435         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3436         Add missing semicolons.
3438 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3440         * iconvdata/gconv-modules: Add more aliases to please java
3441         environments.
3443 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3445         * stdio-common/vfprintf.c (process_arg): Fix typo.
3447         * iconvdata/TESTS: New tests for EUC-KR.
3449         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3450         * iconvdata/testdata/EUC-KR: New file.
3452 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3454         * math/libm-test.c (hypot_test): Fix a typo.
3456 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3458         * stdio-common/vfprintf.c: When precision is specified for %ls or
3459         %S handle it correctly.
3461 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3463         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3464         the" in one line - fixed it.
3465         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3466         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3467         * posix/unistd.h: Likewise
3469 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3471         * Makeconfig (rpath-link): Add resolvobjdir.
3472         (resolvobjdir): New variable.
3473         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3475 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3477         * elf/dl-close.c: Call shared object terminators at the right time.
3478         Patch by Philippe Troin <phil@fifi.org>.
3480 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3482         * Make-dist (+tsrcs): Also add *.map for every member of
3483         $(extra-libs).
3485         * Makefile (distribute): Don't distribute scripts/printsources and
3486         scripts/=__ify.  Distribute FAQ.in.
3487         (rpm/%): Don't pass subdirs to sub-make.
3489         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3490         instead of $(no_deps).
3492 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3494         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3495         (KNOWN_VALUE, STORE_VALUE): Do it right.
3496         (setenv): Remove unused variable.
3498 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3500         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3501         (CFLAGS-zdump.c): Add $(tz-cflags).
3503         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3504         return type.
3506 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3508         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3509         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3510         if use_localtime.
3511         * time/tzset.c: Update prototype of __tzfile_compute.
3512         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3513         tm_zone and tm_offset here if __use_tzfile.
3515 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3517         * Makerules: Install libc.a even if there are no object file.
3519 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3521         * Makerules (do-makelib): Don't force creating library from
3522         scratch, which is faster and gets correct behaviour if $(subdirs)
3523         is incomplete.
3525 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3527         * Makerules (do-stamp): Make it work when building in source
3528         directory.
3530 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3532         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3533         inhibit-rpath.
3534         * elf/dl-support.c: Likewise.
3535         * elf/ldsodefs.h: Likewise.
3536         * elf/rtld.c: Likewise.
3537         * iconvdata/run-iconv-test.sh: Likewise.
3539 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3541         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3542         variable using the value.
3543         * elf/ldsodefs.h: Declare _dl_ignore_path.
3544         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3545         object against list in _dl_ignore_path and ignore RPATH if on the list.
3546         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3547         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3548         to make sure we get the correct helper libraries loaded.
3550         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3551         "RPATH" string in call to fillin_rpath instead.
3552         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3554 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3556         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3557         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3559 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3561         * manual/terminal.texi (I/O Queues): Fix typo.
3563         * manual/stdio.texi (Closing Streams): Fix grammar.
3565         * manual/arith.texi (Absolute Value): Correct typo.
3566         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3568 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3570         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3571         LD_PROFILE_OUTPUT in SUID binaries.
3572         * intl/dcgettext.c: In SUID binaries don't let language part of
3573         locale value contain path elements.
3574         * intl/explodename.h: Define new function _nl_find_language.
3575         * intl/loadinfo.h: Declare _nl_find_language.
3576         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3577         language part it drop the value is path element is contained.
3579         * locale/setlocale.c: Fix typo.
3581 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3583         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3585         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3587         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3588         log, not a byte-count.
3590         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3591         a.out compatibility.
3593 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3595         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3596         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3597         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3598         * posix/unistd.h: Likewise.
3599         * math/math.h: Likewise.
3600         * manual/users.texi (Manipulating the Database): Likewise.
3601         * manual/signal.texi (Job Control Signals): Likewise.
3602         * manual/message.texi (The gencat program): Likewise.
3603         * manual/filesys.texi (Hard Links): Likewise.
3604         * manual/math.texi (SVID Random): Likewise.
3605         * manual/llio.texi (Waiting for I/O): Likewise.
3606         * manual/io.texi (File Name Errors): Likewise.
3607         * manual/conf.texi (String Parameters): Likewise.
3608         * manual/arith.texi (Infinity): Likewise.
3609         * malloc/malloc.c: Likewise.
3610         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3611         * csu/Makefile: Likewise.
3613 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3615         * manual/memory.texi: Add back accidently removed line.
3617 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3619         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3620         (timeout_handler): New function.
3621         (LOCK_FILE, UNLOCK_FILE): New macros.
3622         Implement file locking with timeout.
3623         (getutent_r_file, internal_getut_r, getutline_r_file,
3624         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3625         locking.
3627 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3629         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3630         directory.
3632 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3634         * rpm/Makefile: Delete inclusion of version.mk.
3636 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3638         * libc.map: Add all libio functions needed libstdc++ with version
3639         2.0, sort entries.
3641 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3643         * iconvdata/Makefile (generated): Add *.stmp files.
3645 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3647         * timezone/Makefile (testdata, build-testdata): New variables, use
3648         them in rules for test data.
3649         ($(objpfx)tst-timezone.out): Depend on test data.
3650         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3651         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3652         New rules to build test data.
3653         (tst-timezone-ENV): Pass TZDIR to point to test data.
3655 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3657         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3658         (the designation sequence is disturbing).
3660 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3662         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3663         * sunrpc/xdr_rec.c: Likewise.
3665 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3667         * posix/Makefile (tests): Add runptests.
3668         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3669         (before-compile): Add ptestcases.h.
3670         (ptestscases.h): Add rule to generate from PTESTS.
3671         * posix/runptests.c: New file.
3672         * posix/PTESTS: New file.
3673         * posix/PTESTS2C.sed: New file.
3675 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3677         * iconv/loop.c: Let user add code to use and set paramaters.
3679         * iconvdata/iso-2022-kr.c: Correct to-loop.
3681         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3682         point to output buffer.
3684         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3685         hanja.
3687         * iconvdata/TESTS: Add ISO-2022-KR test.
3688         * iconvdata/testdata/ISO-2022-KR: New file.
3690 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3692         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3693         and internal_use.
3694         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3695         and internal_use.
3696         * wcsmbs/btowc.c: Likewise.
3697         * wcsmbs/mbrtowcs.c: Likewise.
3698         * wcsmbs/mbsnrtowcs.c: Likewise.
3699         * wcsmbs/mbsrtowcs.c: Likewise.
3700         * wcsmbs/wcrtomb.c: Likewise.
3701         * wcsmbs/wcsnrtombs.c: Likewise.
3702         * wcsmbs/wcsrtombs.c: Likewise.
3703         * wcsmbs/wctob.c: Likewise.
3704         * iconv/skeleton.c: Increment invocation_counter.
3705         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3706         sequence first.
3708         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3709         * iconvdata/iso-2022-jp.c: Likewise.
3710         * iconvdata/iso646.c: Likewise.
3712         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3714 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3716         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3718         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3719         overwriting existing values if it fits.
3721 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3723         * posix/wordexp-test.c: Avoid duplicate messages.
3725         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3726         tsearch.  Correctly interpret values returned by those functions.
3727         (unsetenv): Store pointer to string, not pointer to string pointer.
3729         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3730         DST information and offset in them.
3731         * time/tzset.c (__tz_convert): Pass extra parameters to
3732         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3734 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3736         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3737         stamp files to avoid unnecessary recompilation.
3738         (gen-8bit-gap-table): Likewise.
3739         (move-if-change): New variable.
3740         (all generated .h rules): Change to be .stmp rules.
3741         (%.h): New rule; depend on %.stmp; no commands.
3742         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3743         gen-8bit-gap-1.sh.
3745 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3747         * Makerules (libc-map): Deleted.
3748         (load-map-file): Set to the appropriate compiler switch, not
3749         just the file name.  If libfoo-map is not set, look for a
3750         libfoo.map in the current directory and $(..).
3751         (map-file): New variable, contains just the mapfile name.
3752         (build-shlib): Adjust for new value of load-map-file.
3753         (libc.so): Correct dependencies.
3755         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3756         may not be set anymore.
3758         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3759         Delete libdl-map.  Tweak ld.so link rule to work with changed
3760         variable settings in Makerules.
3761         * iconvdata/Makefile: Tweak build-module to work with changed
3762         variable settings in Makerules.
3764         * db/Makefile: Delete libdb-map.
3765         * hesiod/Makefile: Delete libnss_hesiod-map.
3766         * linuxthreads/Makefile: Delete libpthread-map.
3767         * locale/Makefile: Delete libBrokenLocale-map.
3768         * login/Makefile: Delete libutil-map.
3769         * math/Makefile: Delete libm-map.
3770         * md5-crypt/Makefile: Delete libcrypt-map.
3771         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3772         libnss_nisplus-map, and libnss_compat-map.
3773         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3774         libnss_ldap-map.
3775         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3776         * rt/Makefile: Delete librt-map.
3778 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3780         * configure.in: Instead of substituting `yes' or `no' for whether
3781         --no-whole-archive is available, set @no_whole_archive@ to the
3782         appropriate gcc switch or the empty string.  Likewise for
3783         -fno-exceptions.
3784         * config.make.in: Replace have-no-whole-archive with
3785         no-whole-archive and have-no-exceptions with no-exceptions.
3786         * Makerules: Delete stanzas setting no-whole-archive and
3787         no-exceptions.
3789         * sunrpc/Makefile: Use move-if-change to update generated .h
3790         and .c files.
3792 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3794         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3795         of strchr loop.
3797 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3799         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3800         (__tzfile_compute): Likewise.
3802 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3804         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3805         defines from Linux 2.1.102.
3807 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3809         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3811 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3813         * inet/netinet/in.h: Add defines for multicast.
3814         Reported by Jeremy Hall <jhall@UU.NET>.
3816         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3817         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3818         and unsetenv.  Optimize _LIBC case.
3819         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3820         Define functions with leading __.
3822         * time/tzfile.c: Correct handling of global variables daylight,
3823         timezone, and tzname.
3824         * time/tzset.c: Likewise.
3825         * timezone/Makefile (tests): Add tst-timezone.
3826         * timezone/tst-timezone.c: New file.
3828 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3830         * timezone/asia: Update from tzdata1998d.
3831         * timezone/australasia: Likewise.
3832         * timezone/europe: Likewise.
3834 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3836         * string/string.h: Don't use the optimized versions for the string
3837         functions if optimizing for space.
3839         * stdlib/tst-strtod.c: Add test for -0.0.
3841         * io/ftwtest-sh: Prevent tests from being run by root.
3843         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3844         last addition.  Patch by wkpark@chem.skku.ac.kr.
3846 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3848         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3849         table.
3851 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3853         * iconvdata/gen-8bit.sh: New file.
3854         * iconvdata/gen-8bit-gap.sh: New file.
3855         * iconvdata/gen-8bit-gap-1.sh: New file.
3856         * iconvdata/Makefile (generate-8bit-table): Use shell script
3857         instead of writing the commands directly.
3858         (generate-8bit-gap-table): Likewise.
3859         ($(objpfx)iso8859-7jp.h): Likewise.
3860         (generated headers): Depend on shell script instead of Makefile.
3861         (before-compile): Add $(perl-generated-headers) only if perl is
3862         available.
3863         (headers): Depend on $(perl-generated-headers) only if perl is
3864         available.
3865         (sed-generated-headers): Remove iso8859-7jp.h.
3867 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3869         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3870         (/): Removed.
3872 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3874         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3875         formed charset names to getfct.  Let user override charset
3876         selection by mention charset in locale name.
3878 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3880         * posix/glob.c: Move to ...
3881         * sysdeps/generic/glob.c: ...here.
3882         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3883         elements.
3884         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3885         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3886         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3887         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3888         subdir.
3889         * libc.map [GLIBC_2.1]: Add glob and globfree.
3891 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3893         * sunrpc/Makefile (generated): Restore old list.
3895 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3897         * rt/Makefile (tests): Define only if we have a thread library.
3899         * nis/ypclnt.c: Add: #include <errno.h>.
3901 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3903         * configure.in: Define and substitute RELEASE as well as
3904         VERSION.
3905         * config.make.in: Add RELEASE and VERSION to be substituted.
3906         * Makeconfig: Delete all references to version.mk.
3907         * Make-dist: Likewise.
3908         * MakeTAGS: Likewise.
3909         * elf/Makefile: Likewise.
3911 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3913         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3914         yp_get_default_domain.
3916 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3918         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3919         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3921 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3923         * malloc/malloc.c: Fix for NO_THREADS case.
3925 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3927         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3928         Remove statfs and fstatfs.
3929         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3930         and pwrite as EXTRA.
3931         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3933 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3935         * libc.map: Add capget and capset.
3937 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3939         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3940         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3941         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3942         and Matt McLean <keys@brio.yikes.com>.
3944 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3946         * misc/Makefile (tests): Add tst-mntent.
3947         * misc/tst-mntent.c: New file.
3949 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3951         * autolock.sh: Removed.
3952         * manual/move-if-change: Removed.
3954         * scripts: New directory.
3955         * =__ify: Moved to scripts.
3956         * config.guess: Likewise.
3957         * config.sub: Likewise.
3958         * gen-FAQ.pl: Likewise.
3959         * install-sh: Likewise.
3960         * mkinstalldirs: Likewise.
3961         * move-if-change: Likewise.
3962         * printsources: Likewise.
3963         * rellns.sh: Likewise.
3964         * test-installation.pl: Likewise.
3966         * configure.in: Look in scripts for config.guess, config.sub,
3967         install-sh.
3968         * Makefile: Distribute all above files in their
3969         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3970         * manual/Makefile: Find mkinstalldirs and move-if-change in
3971         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3972         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3973         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3974         * timezone/Makefile: Find rellns-sh in scripts.
3976 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3978         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3979         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3981 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3983         * Makefile (+subdir-inits): Delete variable.
3984         (+init_subdirs): Likewise.
3985         (aux): Likewise.
3986         (before-compile): Likewise.
3987         (libc-init): Delete stanza.
3988         (version-info.h): Delete rule and associated variable.
3989         (distribute): Don't distribute moved files.
3990         * Makerules (interp-obj): It lives in elf now.  Only use it
3991         if $(elf) is set.  Delete rule to build it.
3992         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3993         version.o and version-info.h.  Minor cleanups.
3994         (routines): Add libc-init, sysdep, version.
3995         (generated): Add version-info.h.
3996         * elf/Makefile: Build interp.os.
3998         * interp.c: Moved to elf.
3999         * set-init.c: Moved to csu.
4000         * munch-init.c: Likewise.
4001         * munch.awk: Likewise.
4002         * version.c: Likewise.
4004         * Rules: Unconfuse syntax highlighting with a fake comment.
4006 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4008         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4009         syscalls.
4011 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4013         * iconvdata/Makefile (generated): Set to *-generated-headers
4014         plus gconv-modules.
4015         (tests): Set to iconv-test.
4016         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4017         * posix/Makefile (generated): Set to wordexp-test-result*.
4018         * sunrpc/Makefile (generated): Remove rpcsvc/*.
4019         (generated-dirs): Add rpcsvc.
4020         * libio/Makefile: Clean up.
4022 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
4024         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4025         * Makerules: Likewise.
4026         (+depfiles): Also add sysdep-others.
4027         * Rules: Likewise.
4028         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4029         * iconvdata/Makefile (distribute): Add TESTS.
4030         * localedata/Makefile (repertoires): Rename to repertoiremaps.
4031         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4032         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4033         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4034         sysdep-others, not others.
4035         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4036         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4038 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
4040         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4041         cost_hi and cost_lo.
4042         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4043         Cost parameter and set cost_lo to INT_MAX.
4044         (add_module): Take new parameter and use it to initialize cost_lo.
4045         (read_conf_file): Count modules being loaded and use counter for
4046         new parameter to add_module.
4047         * iconv/gconv_db.c (find_derivation): When look for cost examine
4048         cost_hi and cost_lo.
4050 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
4052         * string/bits/string2.h: Don't use unsigned char * unless really
4053         necessary since this disturbs C++.
4054         * sysdeps/i386/i486/bits/string.h: Likewise.
4055         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4057 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4059         * malloc/malloc.c (top_check): Fix last change.
4061 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4063         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4064         Patch by Matt McLean <keys@brio.yikes.com>.
4066 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4068         * Makerules (lib): Put back dependency on lib-noranlib.
4069         ($(subdirs-stamps)): Remove dependency on stamp.* again.
4071 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4073         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4074         test in __pow2 implementation.
4076 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4078         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4079         Still need *FLAGS-.o because we still sometimes build .o files.
4080         * db2/Makefile: Don't build libndbm.a if !build-static.
4082 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4084         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
4086 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4088         * configure.in: New test for broken gcc on PowerPC.
4089         * sysdeps/powerpc/atomicity.h: Use result of test.
4090         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
4092         * math/libm-test.c: Update many of the epsilon to match actual
4093         performance.
4095         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4096         * sysdeps/libm-ieee754/e_expf.c: Likewise.
4097         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4098         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
4100         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
4102         * sysdeps/powerpc/elf/libc-start.c: New file.
4103         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4104         * sysdeps/powerpc/elf/start.c: Delete.
4106         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4107         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
4109         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4110         few patches.
4112 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
4114         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4115         test for integer.
4117         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4118         * sysdeps/libm-i387/e_powl.S: Likewise.
4120 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4122         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4123         (malloc_check, free_check, realloc_check, memalign_check): Use
4124         them to improve overrun checking.  Overruns of a single byte and
4125         corruption of the top chunk are now detected much more reliably.
4127 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4129         * math/libm-test.c (pow_test): Add test for special value from PR
4130         libc/590.
4132 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
4134         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4135         including linux/errno.h.
4137 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
4139         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4140         Use correct types.
4141         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4142         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
4144 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4146         * Makerules (elide-routines.*): Fix assignments.
4147         (do-makelib): Fix typo.
4148         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4149         makefile.
4151 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4153         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4154         $(objpfx)sysd-dirs): Move them...
4155         * Makeconfig: ... here.
4156         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4157         (stubs): Fix circular depedency.
4158         (do-makelib): Clean up.
4159         (lib): Don't depend on lib-noranlib.
4160         ($(objpfx)stamp.oS): Remove special case for empty
4161         static-only-routines.
4162         (elide-routines.o): Add $(static-only-routines).
4163         (elide-routines$o): Define this instead of elide-routines.$o.
4164         * manual/Makefile (stubs): Fix circular dependency.
4166 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4168         * libio/Makefile (routines): Remove duplicate oldiofclose.
4170 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4172         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4174 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4176         * libio/stdio.h: Fix typo in __REDIRECT.
4177         * io/sys/stat.h: Likewise.
4178         Reported by Myles Uyema <myles@uyema.nws.net>.
4180 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4182         * locale/programs/localedef.c (options): Fix help message.
4184 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4186         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4187         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4189 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4191         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4192         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4193         (ptmalloc_init): Use new function in thread_at_fork call.
4194         (thread_atfork_static): Likewise.
4195         Suggested by Wolfram Gloger and Xavier Leroy.
4197 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4199         * signal/signal.h: Move definitions of struct sigstack and
4200         struct sigaltstack into separate file and include it.
4201         * sysdeps/generic/bits/sigstack.h: New file.
4202         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4203         * signal/Makefile (headers): Add bits/sigstack.h.
4205 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4207         * elf/rtld.c (dl_main): Fix check for number of references to
4208         interpreter object.
4210 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4212         * elf/rtld.c (dl_main): Check has_interp after executing platform
4213         specific code.
4215 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217         * iconvdata/run-iconv-test.sh: Fix typo.
4219 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4221         * Makerules (+depfiles): Add depfiles for $(tests-static).
4222         Simplified.
4224 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4226         * manual/terminal.texi (Special Characters): Fix description of
4227         c_cc indexes.
4229 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4231         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4232         array.
4233         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4234         of c_cc array.
4236 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4238         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4240 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4242         * intl/locale.alias: Update russian entry.
4244 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4246         * Makerules (static-only-routines): Reimplement in terms of
4247         elide-routines.os.
4248         (shared-only-routines): Reimplement in terms of
4249         elide-routines.X [where X is all object-suffixes except .os].
4251         (stubs): Create stubs file inside the subdir.
4252         (common-mostlyclean): Remove stubs file from inside the subdir.
4253         * Makefile (subdir-stubs): Look for stubs files inside the
4254         subdirs.
4255         * manual/Makefile (stubs): Create dummy stubs file inside the
4256         subdir.
4258 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4260         Build speed improvement: make ar less of a bottleneck.
4262         * Makerules (stamp$o): Just record the object list for later
4263         use.
4264         (libc_foo.a): New rule, depends on subdir stamp files; builds
4265         and ranlibs the library from the lists saved in those files.
4267         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4268         (subdirs-stamp-o): Likewise.
4270         (ar-symtab-name): Delete variable.
4271         (lib%.a): Delete target.
4272         (libc_foo.a(bar.%)): Delete target.
4273         (libc_foo.a($(ar-symtab-name))): Delete target.
4275         (objects objs): Just depend on libobjs and extra-objs.
4276         (libobjs): Depend on the stamp files, not the objects.
4277         (extra-objs): New target, just depends on the extra-objs list.
4279         (CREATE_ARFLAGS): Kill the `ar S' hack.
4281         * config.make.in (have-ar-S): Deleted.
4282         * configure.in: Delete test for `ar S'.  Add test to determine
4283         whether ranlib does anything useful.
4285 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4287         * inet/tst-ether_aton.c: Include <stdio.h>.
4289 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4291         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4293         * locale/Makefile (distribute): Add programs/repertoire.h.
4294         (localedef-modules): Add repertoire.
4295         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4296         * locale/programs/repertoire.c: New file.
4297         * locale/programs/repertoire.h: New file.
4298         * locale/programs/charmap.c: Starting fixing character set handling
4299         to handle multi-byte encodings.
4300         * locale/programs/charset.c: Likewise.
4301         * locale/programs/charset.h: Likewise.
4302         * locale/programs/ld-collate.c: Likewise.
4303         * locale/programs/ld-ctype.c: Likewise.
4304         * locale/programs/linereader.c: Likewise.
4305         * locale/programs/localedef.c: Likewise.
4306         * locale/programs/locfile-kw.gperf: Likewise.
4307         * locale/programs/locfile-kw.h: Likewise.
4308         * locale/programs/locfile-token.h: Likewise.
4309         * locale/programs/locfile.h: Likewise.
4310         * locale/programs/stringtrans.c: Likewise.
4312         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4313         path, extended with "/locales/".
4315 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4317         * sysdeps/arm/memset.S: Fix off by one error.
4319         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4320         __syscall_error rather than syscall_error directly.
4322 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4324         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4325         mmap() syscall for ARM.
4327         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4328         binaries.
4330 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4332         * locale/programs/localedef.c: Recognize repertoire-map option.
4334 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4336         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4337         converting non-hex numbers.
4338         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4340 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4342         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4343         check overflow.
4344         * resolv/Makefile (tests): New, add tst-aton.
4345         * resolv/tst-aton.c: New file.
4347 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4349         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4350         semicolon.
4352 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4354         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4355         by letting the later modify the variable computing the total directly.
4356         * wcsmbs/mbsrtowcs.c: Likewise.
4357         * wcsmbs/wcsnrtombs.c: Likewise.
4358         * wcsmbs/wcsrtombs.c: Likewise.
4360         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4361         it is not used.
4362         * wcsmbs/wctoc.c: Likewise.
4364         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4365         * wcsmbs/wcsrtombs.c: Likewise.
4367         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4369 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4371         * iconv/skeleton.c: Correct counting of actually converted
4372         characters.
4374         * intl/localealias.c (read_alias_file): Use unsigned char for
4375         local variables.  Remove unused variable tp.
4376         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4377         for type of codeset.  For loosing Solaris systems.
4378         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4379         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4380         len if not needed.
4381         Patches by Jim Meyering.
4383         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4384         wcsrtombs must put it into initial state.
4386 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4388         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4389         argument of bswap_XX macro.
4391 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4393         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4394         variable name.
4396 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4398         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4399         semun and use stdarg macros to get the value.
4400         * sysdeps/generic/semctl.c: Don't use union semun.
4402         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4404         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4406         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4407         strings.h.
4409         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4410         defines grouping.
4412         * intl/hash-string.h: Don't include values.h.
4414         * inet/Makefile (tests): Add tst-ether_aton.
4415         * inet/tst-ether_aton.c: New file.
4417         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4418         in hex conversion.
4419         * inet/ether_aton.c (ether_aton): Declare result variable static.
4420         Reported by ahyung@unixg.ubc.ca.
4422         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4423         Define macro _SEM_SEMUN_UNDEFINED instead.
4424         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4426         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4427         * stdio-common/Makefile (tests): Add tst-wc-printf.
4429 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4431         * manual/stdio.texi (Variable Arguments Output): Correct variable
4432         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4434 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4436         * intl/dcgettext.c: Remove unneeded definition of
4437         internal_function.
4439 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4441         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4442         instead of do-iconv-test.
4443         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4444         empty.
4446 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4448         * string/string.h: Fix feature test.
4450 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4452         * iconvdata/iso646.c (BODY): Don't use character constants that
4453         depend on signedness of char.
4455 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4457         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4458         (sysdep_routines): Add s_pread64 and s_pwrite64.
4460 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4462         * iconvdata/Makefile (distribute): Remove generated .h files.
4463         * iconvdata/koi8-r.h: Removed.
4464         * iconvdata/latin-greek-1.h: Removed.
4465         * iconvdata/latin-greek.h: Removed.
4467         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4468         * iconvdata/KOI-8: Likewise.
4469         * iconvdata/KOI-8..UTF8: Likewise.
4470         * iconvdata/KOI8-R: Likewise.
4471         * iconvdata/KOI8-R..UTF8: Likewise.
4473 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4475         * streams/Makefile (headers): Add sys/stropts.h.
4476         * streams/sys/stropts.h: New file.
4478 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4480         * sysdeps/unix/sysv/linux/ttyname.c,
4481         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4482         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4484 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4486         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4487         argument of _itoa_word.
4489 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4491         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4492         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4493         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4494         sigprocmask, resp., instead of EXTRA.
4496         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4497         s_pread64 and s_pwrite64.
4499 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4501         * iconvdata/Makefile: Correct rules to generate gap table.
4502         * iconvdata/gap.pl: Simplify.
4504         * iconvdata/TESTS: Name new tests.
4505         * iconvdata/testdata/CP1250: New file.
4506         * iconvdata/testdata/CP1250..UTF8: New file.
4507         * iconvdata/testdata/CP1251: New file.
4508         * iconvdata/testdata/CP1251..UTF8: New file.
4509         * iconvdata/testdata/CP1252: New file.
4510         * iconvdata/testdata/CP1252..UTF8: New file.
4511         * iconvdata/testdata/CP1253: New file.
4512         * iconvdata/testdata/CP1253..UTF8: New file.
4513         * iconvdata/testdata/CP1254: New file.
4514         * iconvdata/testdata/CP1254..UTF8: New file.
4515         * iconvdata/testdata/CP1255: New file.
4516         * iconvdata/testdata/CP1255..UTF8: New file.
4517         * iconvdata/testdata/CP1256: New file.
4518         * iconvdata/testdata/CP1256..UTF8: New file.
4519         * iconvdata/testdata/CP1257: New file.
4520         * iconvdata/testdata/CP1257..UTF8: New file.
4522 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4524         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4525         * iconvdata/iso-2022-kr.c: New file.
4527         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4528         and ISO-2022-KR.
4530 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4532         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4533         iso8859-8 and iso8859-10.
4534         * iconvdata/iso8859-5.c: Change to use gap method.
4535         * iconvdata/iso8859-7.c: Likewise.
4536         * iconvdata/iso8859-8.c: Likewise.
4537         * iconvdata/iso8859-10.c: Likewise.
4539         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4540         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4541         end of the loop.
4542         * iconvdata/iso-2022-jp.c: New file.
4544         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4545         * iconvdata/ksc5601.h: Unify function interfaces.
4546         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4547         * iconvdata/uhc.c: Likewise.
4549         * iconvdata/gb2312.h: Use correct types.
4551         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4552         size elements of data.
4554 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4556         * string/tst-svc.expect: Adapt for change in .input.
4557         * string/tst-svc.input: More tests.
4559 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4561         * iconvdata/Makefile: Add rules for new modules.
4562         * iconvdata/gconv-modules: Likewise.
4563         * iconvdata/cp737.c: New file.
4564         * iconvdata/cp737.h: New file.
4565         * iconvdata/cp775.c: New file.
4566         * iconvdata/cp775.h: New file.
4567         * iconvdata/cp874.c: New file.
4568         * iconvdata/cp874.h: New file.
4570 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4572         * iconvdata/Makefile: Create target directory before generating
4573         headers.
4575 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4577         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4578         __USER_LABEL_PREFIX__.
4579         (__ASMNAME, __ASMNAME2): New macros.
4581 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4583         * elf/dl-load.c: Include sys/param.h for MAX.
4585 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4587         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4588         __ftruncate the strong symbol, and add weak alias.
4589         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4591 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4593         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4594         Patch by Joe Keane <jgk@jgk.org>.
4596         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4597         free()ing.
4599 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4601         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4602         Patch by Thomas Bushnell, n/BSG.
4604 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4606         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4608 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4610         * iconvdata/Makefile: Put generated headers in build directory.
4612 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4614         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4615         strsep as current directory.
4617         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4618         Java.  Add definitions for unicodelittle implementation.
4619         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4620         * iconv/gconv_simple.c: Define unicodelittle functions.
4622         * iconv/iconv_prog.c: Make program print information about position
4623         of illegal character in input.
4625         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4626         comparison of charset name.
4627         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4628         * iconvdata/ebcdic-at-de-a.c: Likewise.
4629         * iconvdata/ebcdic-at-de.c: Likewise.
4630         * iconvdata/ebcdic-ca-fr.c: Likewise.
4631         * iconvdata/euccn.c: Likewise.
4632         * iconvdata/eucjp.c: Likewise.
4633         * iconvdata/euckr.c: Likewise.
4634         * iconvdata/euctw.c: Likewise.
4635         * iconvdata/hp-roman8.c: Likewise.
4636         * iconvdata/iso6937.c: Likewise.
4637         * iconvdata/iso8859-1.c: Likewise.
4638         * iconvdata/iso8859-10.c: Likewise.
4639         * iconvdata/iso8859-2.c: Likewise.
4640         * iconvdata/iso8859-3.c: Likewise.
4641         * iconvdata/iso8859-4.c: Likewise.
4642         * iconvdata/iso8859-5.c: Likewise.
4643         * iconvdata/iso8859-6.c: Likewise.
4644         * iconvdata/iso8859-7.c: Likewise.
4645         * iconvdata/iso8859-8.c: Likewise.
4646         * iconvdata/iso8859-9.c: Likewise.
4647         * iconvdata/johab.c: Likewise.
4648         * iconvdata/koi-8.c: Likewise.
4649         * iconvdata/koi8-r.c: Likewise.
4650         * iconvdata/latin-greek-1.c: Likewise.
4651         * iconvdata/latin-greek.c: Likewise.
4652         * iconvdata/sjis.c: Likewise.
4653         * iconvdata/t61.c: Likewise.
4654         * iconvdata/uhc.c: Likewise.
4656         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4657         * iconvdata/TESTS: Add tests for ISO646 module.
4658         * iconvdata/gconv-modules: Add new modules.
4659         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4660         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4661         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4662         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4663         * iconvdata/testdate/DIN_66003: Likewise.
4664         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4665         * iconvdata/testdate/DS_2089: Likewise.
4666         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4667         * iconvdata/testdate/ES: Likewise.
4668         * iconvdata/testdate/ES..UTF8: Likewise.
4669         * iconvdata/testdate/ES2: Likewise.
4670         * iconvdata/testdate/ES2..UTF8: Likewise.
4671         * iconvdata/testdate/GB_1988-80: Likewise.
4672         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4673         * iconvdata/testdate/IT: Likewise.
4674         * iconvdata/testdate/IT..UTF8: Likewise.
4675         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4676         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4677         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4678         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4679         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4680         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4681         * iconvdata/testdate/KSC5636: Likewise.
4682         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4683         * iconvdata/testdate/MSZ_7795.3: Likewise.
4684         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4685         * iconvdata/testdate/NC_NC00-10: Likewise.
4686         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4687         * iconvdata/testdate/NF_Z_62-010: Likewise.
4688         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4689         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4690         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4691         * iconvdata/testdate/NS_4551-1: Likewise.
4692         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4693         * iconvdata/testdate/NS_4551-2: Likewise.
4694         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4695         * iconvdata/testdate/PT: Likewise.
4696         * iconvdata/testdate/PT..UTF8: Likewise.
4697         * iconvdata/testdate/PT2: Likewise.
4698         * iconvdata/testdate/PT2..UTF8: Likewise.
4699         * iconvdata/testdate/SEN_850200_B: Likewise.
4700         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4701         * iconvdata/testdate/SEN_850200_C: Likewise.
4702         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4704         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4705         * iconvdata/cns11643l1.h: Likewise.
4706         * iconvdata/latin-greek-1.h: Likewise.
4707         * iconvdata/latin-greek.h: Likewise.
4708         * iconvdata/koi8-r.h: Likewise.
4709         * iconvdata/jis0212.h: Likewise.
4710         * iconvdata/gb2312.h: Likewise.
4711         * iconvdata/ksc5601.h: Likewise.
4713         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4715         * iconvdata/Makefile: Add rules for lots of more modules.
4716         * iconvdata/cp1250.c: New file.
4717         * iconvdata/cp1251.c: New file.
4718         * iconvdata/cp1252.c: New file.
4719         * iconvdata/cp1253.c: New file.
4720         * iconvdata/cp1254.c: New file.
4721         * iconvdata/cp1255.c: New file.
4722         * iconvdata/cp1256.c: New file.
4723         * iconvdata/cp1257.c: New file.
4724         * iconvdata/ebcdic-dk-no-a.c: New file.
4725         * iconvdata/ebcdic-dk-no.c: New file.
4726         * iconvdata/ebcdic-es-a.c: New file.
4727         * iconvdata/ebcdic-es-s.c: New file.
4728         * iconvdata/ebcdic-es.c: New file.
4729         * iconvdata/ebcdic-fi-se-a.c: New file.
4730         * iconvdata/ebcdic-fi-se.c: New file.
4731         * iconvdata/ebcdic-fr.c: New file.
4732         * iconvdata/ebcdic-is-friss.c: New file.
4733         * iconvdata/ebcdic-it.c: New file.
4734         * iconvdata/ebcdic-pt.c: New file.
4735         * iconvdata/ebcdic-uk.c: New file.
4736         * iconvdata/ebcdic-us.c: New file.
4737         * iconvdata/ibm037.c: New file.
4738         * iconvdata/ibm038.c: New file.
4739         * iconvdata/ibm1004.c: New file.
4740         * iconvdata/ibm1026.c: New file.
4741         * iconvdata/ibm1047.c: New file.
4742         * iconvdata/ibm256.c: New file.
4743         * iconvdata/ibm273.c: New file.
4744         * iconvdata/ibm274.c: New file.
4745         * iconvdata/ibm275.c: New file.
4746         * iconvdata/ibm277.c: New file.
4747         * iconvdata/ibm278.c: New file.
4748         * iconvdata/ibm280.c: New file.
4749         * iconvdata/ibm281.c: New file.
4750         * iconvdata/ibm284.c: New file.
4751         * iconvdata/ibm285.c: New file.
4752         * iconvdata/ibm290.c: New file.
4753         * iconvdata/ibm297.c: New file.
4754         * iconvdata/ibm420.c: New file.
4755         * iconvdata/ibm423.c: New file.
4756         * iconvdata/ibm424.c: New file.
4757         * iconvdata/ibm437.c: New file.
4758         * iconvdata/ibm500.c: New file.
4759         * iconvdata/ibm850.c: New file.
4760         * iconvdata/ibm851.c: New file.
4761         * iconvdata/ibm852.c: New file.
4762         * iconvdata/ibm855.c: New file.
4763         * iconvdata/ibm857.c: New file.
4764         * iconvdata/ibm860.c: New file.
4765         * iconvdata/ibm861.c: New file.
4766         * iconvdata/ibm862.c: New file.
4767         * iconvdata/ibm863.c: New file.
4768         * iconvdata/ibm864.c: New file.
4769         * iconvdata/ibm865.c: New file.
4770         * iconvdata/ibm868.c: New file.
4771         * iconvdata/ibm869.c: New file.
4772         * iconvdata/ibm870.c: New file.
4773         * iconvdata/ibm871.c: New file.
4774         * iconvdata/ibm875.c: New file.
4775         * iconvdata/ibm880.c: New file.
4776         * iconvdata/ibm891.c: New file.
4777         * iconvdata/ibm903.c: New file.
4778         * iconvdata/ibm904.c: New file.
4779         * iconvdata/ibm905.c: New file.
4780         * iconvdata/ibm918.c: New file.
4782         * locale/iso-4217.def: Update.
4783         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4785         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4786         formats.
4788 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4790         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4791         LD_LIBRARY_PATH.
4793 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4795         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4796         * Makefile: Likewise.
4797         * posix/Makefile: Likewise.
4798         * sysdeps/mach/hurd/Makefile: Likewise.
4800 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4802         * sysdeps/mach/hurd/bits/dirent.h: New file.
4803         * sysdeps/mach/hurd/readdir64.c: New file.
4804         * sysdeps/mach/hurd/readdir64_r.c: New file.
4806 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4808         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4809         dprintf): Synchronize declarations with libio/stdio.h.
4811 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4813         * elf/dlerror.c (dlerror): Don't assume that
4814         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4815         well-protected, so just use it directly.
4817 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4819         * io/ftw.h (ftw): Fix typo.
4821 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4823         * sysdeps/gnu/utmp_file.c: Fix typo.
4825 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4827         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4828         one part of a test fails move on to the next test.
4830 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4832         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4834 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4836         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4837         as pointers, not signed integers.
4839 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4841         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4843 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4845         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4846         asm symbol name of functions.
4847         * include/features.h: Kill redundant test.
4849         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4850         * io/ftw.h: Likewise.
4851         * io/sys/stat.h: Likewise.
4852         * io/sys/statfs.h: Likewise.
4853         * io/sys/statvfs.h: Likewise.
4854         * libio/stdio.h: Likewise.
4855         * resource/sys/resource.h: Likewise.
4856         * rt/aio.h: Likewise.
4858         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4859          __FAVOR_BSD.
4860         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4862         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4863         a dummy library.
4864         * misc/bsd-compat.c: Removed.
4866 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4868         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4869         function declaration.
4870         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4871         and use them in conversion function.
4872         * iconvdata/Makefile (modules): Re-add ISO6446.
4873         * iconvdata/TEST: Add tests for ASCII variants.
4874         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4875         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4876         * iconvdata/testdata/BS_4730: New file.
4877         * iconvdata/testdata/BS_4730..UTF8: New file.
4879 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4881         * iconv/gconv.h (struct gconv_step): Add element stateful.
4882         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4883         to zero for all internal conversions.
4884         * iconv/skeleton.c: Initialize stateful depending on whether or not
4885         RESET_STATE is defined to one or zero respectively.
4886         * stdlib/mblen.c: Use stateful element of currently selected
4887         converter for result if S is NULL.
4888         * stdlib/mbtowc.c: Likewise.
4889         * stdlib/wctomb.c: Likewise.
4891 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4893         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4895         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4897         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4898         character in comparison with uint32_t.
4899         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4900         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4901         Optimize BODY a bit.
4903         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4904         be defined.
4906         * iconv/skeleton.c: Also reset converted counter in case of an error.
4907         Call reset function using correct value for output buffer start.
4909         * iconvdata/Makefile: Re-enable tests.
4911         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4912         value for to-conversion.
4914         * iconvdata/TESTS: Add new third column.
4915         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4916         not ASCII based.
4917         * iconvdata/testdata/suntzus: New file.
4919         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4920         while reading.  Correctly used base.  Little optimization.
4921         (__strtoul_internal): Likewise.
4923         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4924         was wrong.  Use explicit variable.
4926 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4928         * configure.in: Check for awk.
4929         * config.make.in: Add AWK to be substituted.
4931         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4932         * manual/users.texi: Fix typo exposed by above rewrite.
4934         * Makefile: Invoke awk using AWK variable.
4935         * csu/Makefile: Likewise.
4936         * elf/Makefile: Likewise.
4937         * mach/Makefile: Likewise.
4938         * manual/Makefile: Likewise.
4939         * sysdeps/gnu/Makefile: Likewise.
4940         * sysdeps/mach/hurd/Makefile: Likewise.
4941         * sysdeps/unix/Makefile: Likewise.
4942         * timezone/Makefile: Likewise.
4944 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4946         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4947         array index translation.
4948         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4949         these are defined.
4951         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4953         * sysdeps/mach/hurd/errlist.c: New file.
4954         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4955         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4956         semantics, so rename it.
4958 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4960         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4961         conversions.
4963 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4965         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4966         * wcsmbs/wcsnrtombs.c: Likewise.
4968 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4970         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4972         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4974         * time/strftime.c (my_strftime): Initialize pad variable in
4975         declaration.
4977         * iconvdata/big5.c: Don't use character constants in comparisons
4978         with unsigned value.
4980 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4982         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4983         __libc_siglongjmp to GLIBC_2.1.
4985         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4986         __strerror_r.
4988         * iconv/Makefile: Don't run tests now.
4990         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4991         with correct output buffer.
4993         Major rewrite of the low-level gconv functionality.
4994         * iconv/gconv.c: Rewritten.
4995         * iconv/gconv.h: Likewise.
4996         * iconv/gconv_builtin.c: Likewise.
4997         * iconv/gconv_builtin.h: Likewise.
4998         * iconv/gconv_conf.c: Likewise.
4999         * iconv/gconv_int.h: Likewise.
5000         * iconv/gconv_open.c: Likewise.
5001         * iconv/gconv_simple.c: Likewise.
5002         * iconv/iconv.c: Likewise.
5003         * iconvdata/8bit-gap.c: Likewise.
5004         * iconvdata/8bit-generic.c: Likewise.
5005         * iconvdata/Makefile: Likewise.
5006         * iconvdata/big5.c: Likewise.
5007         * iconvdata/cns11643.c: Likewise.
5008         * iconvdata/cns11643.h: Likewise.
5009         * iconvdata/cns11643l1.c: Likewise.
5010         * iconvdata/cns11643l1.h: Likewise.
5011         * iconvdata/ebcdic-at-de-a.c: Likewise.
5012         * iconvdata/ebcdic-at-de.c: Likewise.
5013         * iconvdata/ebcdic-ca-fr.c: Likewise.
5014         * iconvdata/euccn.c: Likewise.
5015         * iconvdata/eucjp.c: Likewise.
5016         * iconvdata/euckr.c: Likewise.
5017         * iconvdata/euctw.c: Likewise.
5018         * iconvdata/gb2312.c: Likewise.
5019         * iconvdata/gb2312.h: Likewise.
5020         * iconvdata/hp-roman8.c: Likewise.
5021         * iconvdata/iso646.c: Likewise.
5022         * iconvdata/iso6937.c: Likewise.
5023         * iconvdata/iso8859-1.c: Likewise.
5024         * iconvdata/iso8859-10.c: Likewise.
5025         * iconvdata/iso8859-2.c: Likewise.
5026         * iconvdata/iso8859-3.c: Likewise.
5027         * iconvdata/iso8859-4.c: Likewise.
5028         * iconvdata/iso8859-5.c: Likewise.
5029         * iconvdata/iso8859-6.c: Likewise.
5030         * iconvdata/iso8859-7.c: Likewise.
5031         * iconvdata/iso8859-8.c: Likewise.
5032         * iconvdata/iso8859-9.c: Likewise.
5033         * iconvdata/jis0201.c: Likewise.
5034         * iconvdata/jis0201.h: Likewise.
5035         * iconvdata/jis0208.c: Likewise.
5036         * iconvdata/jis0208.h: Likewise.
5037         * iconvdata/jis0212.c: Likewise.
5038         * iconvdata/jis0212.h: Likewise.
5039         * iconvdata/johab.c: Likewise.
5040         * iconvdata/koi-8.c: Likewise.
5041         * iconvdata/koi8-r.c: Likewise.
5042         * iconvdata/ksc5601.c: Likewise.
5043         * iconvdata/ksc5601.h: Likewise.
5044         * iconvdata/latin-greek-1.c: Likewise.
5045         * iconvdata/latin-greek.c: Likewise.
5046         * iconvdata/run-iconv-test.sh: Likewise.
5047         * iconvdata/sjis.c: Likewise.
5048         * iconvdata/t61.c: Likewise.
5049         * iconvdata/uhc.c: Likewise.
5050         * wcsmbs/btowc.c: Likewise.
5051         * wcsmbs/mbrtowc.c: Likewise.
5052         * wcsmbs/mbsnrtowcs.c: Likewise.
5053         * wcsmbs/mbsrtowcs.c: Likewise.
5054         * wcsmbs/wcrtomb.c: Likewise.
5055         * wcsmbs/wcsmbsload.c: Likewise.
5056         * wcsmbs/wcsnrtombs.c: Likewise.
5057         * wcsmbs/wcsrtombs.c: Likewise.
5058         * wcsmbs/wctob.c: Likewise.
5059         * iconv/loop.c: New file.
5060         * iconv/skeleton.c: New file.
5062         * stdlib/mblen.c: Handle empty input string correctly.
5063         * stdlib/mbtowc.c: Likewise.
5065         * posix/getopt.c: Various cleanups.
5067         * sysdeps/arm/bits/setjmp.h: Add copyright text.
5068         * sysdeps/i386/bits/setjmp.h: Likewise.
5069         * sysdeps/m68k/bits/setjmp.h: Likewise.
5070         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5071         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5073         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5074         and make longjmp weak alias.
5076 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
5078         * iconv/Makefile (routines): Only include gconv_dl if building for
5079         an ELF system - dynamic linking is not available on a.out.
5080         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5081         due to above check.
5082         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5083         routines from gconv_dl.
5085 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
5087         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5088         we can compile without libio.
5090 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
5092         * sysdeps/mach/hurd/Subdirs: Remove login.
5094 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
5096         * db2/compat.h: Include <errno.h>, to make sure we get the
5097         definition of EFTYPE before we define it ourselves.
5099 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5101         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5102         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5103         Fix typo to allow inclusion from sys/ioctl.h again.
5105 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5107         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
5109 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5111         * libc.map: Export __strerror_r.  Remove _strerror_internal.
5113 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5115         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5116         Also undefine __strcasestr.
5118 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5120         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5121         aliases do not work with global variables due to copy relocations.
5123 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
5125         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
5127 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
5129         * signal/sighold.c: Include stddef.h for NULL definition.
5130         * signal/sigrelse.c: Likewise.
5131         * sysdeps/posix/sigignore.c: Likewise.
5132         * sysdeps/posix/sigset.c: Likewise.
5133         * sysdeps/posix/waitid.c: Likewise.
5134         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5135         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5136         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5137         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5138         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5140 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
5142         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5143         * login/getutent.c (getutxent): Remove alias.
5144         * login/getutent_r.c (setutxent, pututxline, endutxent):
5145         Remove aliases.
5146         * login/getutid.c (getutxid): Remove alias.
5147         * login/getutline.c (getutxline): Remove alias.
5148         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5149         __getutid, __getutline and __pututline.
5150         * login/utmpx.h: Moved to ...
5151         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5152         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5153         and updwtmpx.
5154         * login/updwtmp.c: Moved to ...
5155         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5156         allowing file name transformation.
5157         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5158         additional file name transformation.
5159         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5160         * login/utmp_file.c: Moved to ...
5161         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5162         Generalized by allowing file name transformation.  Do not
5163         print error message.  Library functions should not print them.
5164         Reported by Jim Meyering.
5165         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5166         with additional file name transformation.
5167         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5168         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5169         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5170         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5171         and bits/utmpx.h.
5172         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5173         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5174         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5175         Define if __USE_GNU.
5176         * sysdeps/generic/setutxent.c: New file.
5177         * sysdeps/generic/getutxent.c: New file.
5178         * sysdeps/generic/endutxent.c: New file.
5179         * sysdeps/generic/getutxid.c: New file.
5180         * sysdeps/generic/getutxline.c: New file.
5181         * sysdeps/generic/pututxline.c: New file.
5182         * sysdeps/generic/utmpxname.c: New file.
5183         * sysdeps/generic/updwtmpx.c: New file.
5184         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5185         * sysdeps/generic/bits/utmpx.h: Remove.
5187 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5189         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5190         ~root test.
5192 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5194         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5196 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5198         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5199         variable using _G_stat64.
5200         * libio/fileops.c: Remove macro definition of fstat, it is in the
5201         global header.
5202         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5204 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5206         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5207         <willy@odie.barnet.ac.uk>.
5209 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5211         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5212         required by IPv6 Basic API.
5213         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5214         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5215         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5216         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5218 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5220         Don't name internal representation since it might be different from
5221         the external form (namely on little endian machines).
5222         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5223         UCS4 into references to INTERNAL.
5224         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5225         Add endianess support to UCS functions.  Change references to
5226         UCS4 into references to INTERNAL.
5227         * iconv/gconv_int.h: Change references to UCS4 into references to
5228         INTERNAL.
5229         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5230         * iconvdata/gconv-modules: Change accordingly.
5231         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5233         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5234         overflow.
5235         * iconvdata/8bit-gap.c: Likewise.
5236         * iconvdata/8bit-generic.c: Likewise.
5237         * iconvdata/big5.c: Likewise.
5238         * iconvdata/euccn.c: Likewise.
5239         * iconvdata/eucjp.c: Likewise.
5240         * iconvdata/euckr.c: Likewise.
5241         * iconvdata/euctw.c: Likewise.
5242         * iconvdata/iso646.c: Likewise.
5243         * iconvdata/iso6937.c: Likewise.
5244         * iconvdata/iso8859-1.c: Likewise.
5245         * iconvdata/johab.c: Likewise.
5246         * iconvdata/sjis.c: Likewise.
5247         * iconvdata/t61.c: Likewise.
5248         * iconvdata/uhc.c: Likewise.
5250         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5251         * iconvdata/8bit-generic.c: Likewise.
5253         * iconvdata/TESTS: Add more tests.
5255         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5257 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5259         * iconvdata/Makefile: Better rules to run tests.
5261         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5262         * iconvdata/testdata/ISO-8859-10: Likewise.
5263         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5264         * iconvdata/testdata/ISO-8859-2: Likewise.
5265         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5266         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5267         * iconvdata/testdata/ISO-8859-3: Likewise.
5268         * iconvdata/testdata/ISO-8859-4: Likewise.
5269         * iconvdata/testdata/ISO-8859-5: Likewise.
5270         * iconvdata/testdata/ISO-8859-6: Likewise.
5271         * iconvdata/testdata/ISO-8859-7: Likewise.
5272         * iconvdata/testdata/ISO-8859-8: Likewise.
5273         * iconvdata/testdata/ISO-8859-9: Likewise.
5275 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5277         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5278         intermediate result (if available).
5280         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5281         last change.
5283         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5284         (distribute): Add run-iconv-test.sh and testdata/*.
5286         * stdlib/testmb.c (main): Simplify mbc array handling.
5288 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5290         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5291         return value on overflow.
5293 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5295         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5296         bits.
5298 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5300         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5301         of non-standard function setbuffer.
5303 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5305         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5307 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5309         * iconvdata/Makefile: Add rules to run tests.
5310         * iconvdata/TESTS: New file.
5311         * iconvdata/run-iconv-test.sh: New file.
5312         * iconvdata/testdata/ISO-8859-1: New file.
5314         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5315         not stdout.
5317 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5319         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5320         counter element of step.
5322         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5324         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5325         termination test.
5326         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5327         ACTUALLY.
5328         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5330 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5332         * Makefile: Include makeconfig before defining rule to regenerate
5333         configure files.
5335         * configure.in: Remove restriction on compiling without static
5336         libs.
5338 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5340         * test-skeleton.c: Provide hook for initializing code before the fork.
5341         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5342         removed.
5344         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5345         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5346         * libio/libioP.h: Adopt _IO_cleanup prototype.
5348         * stdlib/Makefile (tests): Add test-canon2.
5349         * stdlib/test-canon2.c: New file.
5350         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5351         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5352         symlink sequences.
5353         (__realpath): Make real function which checks RESOLVED parameter for
5354         not being NULL.
5356 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5358         * catgets/open_catalog.c (__open_catalog): Fix problems with
5359         reading non-files.  Always close file.
5360         Reported by Cristian Gafton <gafton@redhat.com>.
5362         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5364 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5366         * libc.map: Add various low-level I/O functions.
5368 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5370         * string/Makefile (routines): Remove strerror_r.
5371         * string/strerror_r.c: Removed.
5372         * string/strerror.c: Call __strerror_r for doing the real work.
5373         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5374         add weak alias strerror_r.
5375         * sysdeps/mach/_strerror.c: Likewise.
5376         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5377         * elf/dl-error.c (_dl_signal_error): Likewise.
5378         * elf/dl-profile.c (_dl_start_profile): Likewise.
5379         * gmon/gmon.c (write_gmon): Likewise.
5380         * stdio-common/perror.c: Likewise.
5381         * stdio-common/vfprintf.c: Likewise.
5383 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5385         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5386         (sysdep_headers): Add netatalk/at.h.
5388 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5390         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5391         Formatting fixes.
5393 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5395         * posix/regex.c: Rename __re_syntax_options back to
5396         re_syntax_options, aliases do not work with global variables due
5397         to copy relocations.
5398         (regex_compile): Use syntax parameter instead of
5399         re_syntax_options.
5401 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5403         * configure.in: Document that enable-force-install is default.
5405 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5407         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5408         all needed 36 bits.
5409         * sysdeps/posix/mkstemp.c: Likewise.
5411 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5413         * iconvdata/8bit-gap.c: Simplify step data handling.
5414         * iconvdata/8bit-generic.c: Likewise.
5415         * iconvdata/big5.c: Likewise.
5416         * iconvdata/euccn.c: Likewise.
5417         * iconvdata/eucjp.c: Likewise.
5418         * iconvdata/euckr.c: Likewise.
5419         * iconvdata/euctw.c: Likewise.
5420         * iconvdata/iso6937.c: Likewise.
5421         * iconvdata/iso8859-1.c: Likewise.
5422         * iconvdata/jis0208.h: Likewise.
5423         * iconvdata/jis0212.c: Likewise.
5424         * iconvdata/jis0212.h: Likewise.
5425         * iconvdata/johab.c: Likewise.
5426         * iconvdata/ksc5601.h: Likewise.
5427         * iconvdata/sjis.c: Likewise.
5428         * iconvdata/t61.c: Likewise.
5429         * iconvdata/uhc.c: Likewise.
5431 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5433         * manual/texinfo.texi: Updated from last version.
5435 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5437         * iconvdata/cns11643.c: New file.
5438         * iconvdata/cns11643.h: New file.
5439         * iconvdata/cns11643l1.c: New file.
5440         * iconvdata/cns11643l1.h: New file.
5441         * iconvdata/euctw.c: New file.
5442         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5443         * iconvdata/gconv-modules: Likewise.
5445         * iconvdata/eucjp.c: Several bug fixes and improvements.
5446         * iconvdata/gb2312.h: Likewise.
5447         * iconvdata/jis0201.h: Likewise.
5448         * iconvdata/jis0208.h: Likewise.
5449         * iconvdata/jis0212.h: Likewise.
5451 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5453         * iconvdata/eucjp.c: New file.
5454         * iconvdata/euccn.c: New file.
5455         * iconvdata/gb2312.h: New file.
5456         * iconvdata/gb2312.c: New file.
5457         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5458         * iconvdata/gconv-modules: Likewise.
5460         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5462 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5464         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5465         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5466         Patch by Mark Hatle <fray@kernel.crashing.org>.
5468 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5470         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5471         comment.
5472         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5473         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5475 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5477         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5479         * iconvdata/Makefile: Add rules for big5 conversion.
5480         * iconvdata/gconv-modules: Likewise.
5481         * iconvdata/big5.c: New file.
5483         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5484         Patch by Jim Meyering.
5486 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5488         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5490         * rt/lio_listio.c: Correct total counter handling.
5492         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5493         from request queue.
5495         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5496         of signal on exit even more.
5498         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5499         instead of call to pthread_cond_init.
5500         * rt/lio_listio.c (lio_listio): Likewise.
5501         * rt/lio_listio64.c (lio_listio64): Likewise.
5503         * nis/nis_findserv.c: Include sys/socket.h.
5505 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5507         * Makeconfig (rtobjdir): New variable.
5508         (rpath-link): Add rtobjdir and thread directory, if available.
5510         * test-skeleton.c: Add support to remove temporary files.
5511         Always define test_dir.  Improve message about expected signal.
5513         * rt/Makefile (tests): Add tst-aio.
5514         Add rules for tst-aio to be linked with librt and thread library.
5515         * rt/aio_misc.c: Correct fundamental bugs.
5516         * rt/aio_suspend.c: Correct bug in test for available request.
5517         Initialize conditional variable.
5518         * rt/lio_listio.c: Initialize conditional variable.
5519         * rt/lio_listio64.c: Likewise.
5520         * rt/tst-aio.c: New file.
5522         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5523         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5524         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5525         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5526         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5527         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5528         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5530 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5532         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5534 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5536         * elf/dl-load.c (open_path): Use correct name for test whether
5537         directory in load path exists.
5539         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5540         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5541         Patches by Tom Rini <trini@kernel.crashing.org>.
5543         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5544         * wcsmbs/wcstod_l.c: Likewise.
5545         * wcsmbs/wcstold_l.c: Likewise.
5547         * include/byteswap.h: New file.
5549         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5550         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5552         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5553         declaration.  Patch by Richard Henderson.
5555 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5557         * manual/process.texi (SIGCHLD example): Save errno.
5559 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5561         * posix/regex.c: Define regerror really as __regerror.
5562         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5563         regerror and regfree.
5565         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5566         * stdlib/strtod_l.c: Likewise.
5567         * stdlib/strtold_l.c: Likewise.
5569         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5571         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5573         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5574         Patch by Christian Gafton.
5576 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5578         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5579         for if_indextoname.
5581 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5583         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5585         * manual/socket.texi (Interface Naming): Fix typo.
5587 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5589         * manual/examples/filesrv.c (main): Remove filename first.
5591         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5592         ?F_UNIX.
5594         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5595         instead of PF_UNIX.
5597         * manual/examples/filecli.c (main): Use AF_LOCAL
5598         instead of AF_UNIX.
5600 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5602         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5603         signgam weak alias.
5604         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5605         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5606         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5607         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5608         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5609         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5611         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5613 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5615         * configure.in: Add new option --enable-force-install.  Substitute
5616         force_install.
5617         * config.make.in (force-install): Set from configure.
5618         * Makerules (force-install): New phony target.
5619         * Makeconfig (+force): New variable.
5620         * Makefile: Use it in dependency list of installation targets.
5621         * db/Makefile: Likewise.
5622         * db2/Makefile: Likewise.
5623         * elf/Makefile: Likewise.
5624         * hurd/Makefile: Likewise.
5625         * iconv/Makefile: Likewise.
5626         * iconvdata/Makefile: Likewise.
5627         * intl/Makefile: Likewise.
5628         * localedata/Makefile: Likewise.
5629         * login/Makefile: Likewise.
5630         * po/Makefile: Likewise.
5631         * sunrpc/Makefile: Likewise.
5632         * sysdeps/mach/hurd/Makefile: Likewise.
5633         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5634         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5635         * timezone/Makefile: Likewise.
5637 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5639         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5640         alloc_size.  Pass return value of getcwd syscall to realloc.
5642 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5644         * manual/socket.texi: Spelling fixes.
5646 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5648         * elf/dl-load.c (print_search_path): Remove unused variable.
5650 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5652         * login/utmp_file.c: use __ftruncate not ftruncate.
5653         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5654         for system call and make ftruncate weak alias.
5655         * posix/unistd.h: Add prototype for __ftruncate.
5656         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5657         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5658         instead of snprintf and readv.
5659         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5660         snprintf.
5661         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5662         directly.
5664 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5666         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5667         * iconv/gconv_db.c: Use __ protected regex functions.
5668         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5669         * posix/getopt_init.c: Use __getpid not getpid.
5670         * posix/regex.c: Rename all global functions to start with __ and
5671         make old names weak aliases.
5672         * posix/regex.h: Adopt prototypes for this.
5673         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5674         a weak alias and use __getcwd instead of getcwd.
5675         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5676         * stdlib/strtod.c: Use __btowc instead of btowc.
5677         * stdlib/strtol.c: Likewise.
5678         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5679         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5680         and sys_errlist are weak.
5681         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5682         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5683         * wcsmbs/mbsnrtowcs.c: Likewise.
5684         * wcsmbs/mbsrtowcs.c: Likewise.
5685         * wcsmbs/wcsnrtombs.c: Likewise.
5686         * wcsmbs/wcsrtombs.c: Likewise.
5687         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5688         weak alias.
5689         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5690         * wctype/wctype.c: Define function as __wctype and make wctype
5691         weak alias.
5692         * wctype/wctype.h: Declare __wctype.
5694 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5696         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5698 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5700         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5701         stat64.
5702         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5703         functions.
5704         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5705         for __llseek.
5706         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5707         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5708         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5709         make it a weak alias.
5710         * posix/unistd.h: Declare __lseek64.
5712         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5713         (_IO_file_stat): Fix typo.
5714         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5715         block size from the file.  Use __mempcpy if _LIBC.
5717 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5719         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5720         * wcsmbs/mbrtowc.c: Likewise.
5721         * wcsmbs/mbsnrtowcs.c: Likewise.
5722         * wcsmbs/mbsrtowcs.c: Likewise.
5723         * wcsmbs/wcrtomb.c: Likewise.
5724         * wcsmbs/wcsnrtombs.c: Likewise.
5725         * wcsmbs/wcsrtombs.c: Likewise.
5726         * wcsmbs/wctob.c: Likewise.
5728         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5729         position of next output character correctly.
5730         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5732         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5734         * stdlib/strtod.c: Don't use mbtowc.
5736 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5738         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5739         what we want is smaller than a buffer.
5741 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5743         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5744         this function.
5746 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5748         * configure.in: Recognize --with-headers flag and determine
5749         commandline options to be used in compilation.
5750         * Makeconfig (+includes): Use $(sysincludes).
5751         * config.make.in (sysincludes): Define from SYSINCLUDES.
5752         * glibcbug.in: Use SYSINCLUDES information.
5753         Patches by Zack Weinberg.
5755 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5757         * glibcbug.in: On linux, report version of kernel headers seen
5758         by compiler.
5760 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5762         * libc.map: Add __asprintf to GLIBC_2.1.
5763         * elf/dlerror.c: Use __asprintf, not asprintf.
5764         * libio/stdio.h: Declare __asprintf.
5765         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5766         a weak alias.
5768         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5769         to avoid inclusion from libc_pic.a.
5771         * elf/dl-runtime.c: Undo last patch.
5773         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5775         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5776         as default, use NULL.
5778 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5780         * resolv/Makefile: Include ../Makeconfig - needed for building
5781         static NSS module.
5783 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5785         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5786         static-nss since we don't want hesiod in the static NSS.
5788         * nss/Makefile: Build only nss_files as static.
5790         * nss/function.def: Remove support for service db.
5792 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5794         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5796 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5798         * posix/wordexp-test.c: Make IFS per test-case.
5800 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5802         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5803         ENVIRONMENT.
5805 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5807         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5808         `-print-file-name' to find as and ld.
5810 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5812         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5813         template is wrong.  Remove unused varaible `ignored'.
5815 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5817         * libc.map: Export __libc_sa_len.
5819         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5821 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5823         * iconv/gconv.c: Take care for NULL arguments.
5824         * iconv/gconv_dl.c: Make find_func function global.
5825         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5826         Add prototypes for ASCII conversion functions.
5827         * iconv/gconv_simple.c: Add ASCII conversion functions.
5828         * locale/C-ctype.c: Correct charset name.
5830         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5831         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5832         wcsmbsload.
5833         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5834         * wcsmbs/mbrtowc.c: Likewise.
5835         * wcsmbs/mbsnrtowcs.c: Likewise.
5836         * wcsmbs/mbsrtowcs.c: Likewise.
5837         * wcsmbs/wcrtomb.c: Likewise.
5838         * wcsmbs/wcsnrtombs.c: Likewise.
5839         * wcsmbs/wcsrtombs.c: Likewise.
5840         * wcsmbs/wctob.c: Likewise.
5841         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5842         prototypes for wmemr*.
5843         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5844         * wcsmbs/wcsnlen.c: New file.
5845         * wcsmbs/wcsmbsload.c: New file.
5846         * wcsmbs/wcsmbsload.h: New file.
5848         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5850         * manual/install.texi: Describe some more critical points.
5852         * string/string.h: Add prototype for __strnlen.
5853         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5855         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5856         much less predictable names.
5857         * sysdeps/posix/mkstemp.c: Likewise.
5859 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5861         * manual/libc.texinfo (Top): Change "file namespace" to "local
5862         namespace".
5864         * manual/socket.texi: Change file namespace to local namespace.
5865         (Out-of-Band Data): Remove unneeded variable link.
5866         (Host Address Functions): Use uint32_t consequently and add a
5867         number of clarifications for IPv4/IPv6, classless addresses.
5868         (Internet Namespace): Added some paragraphs about IPv6.
5869         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5871 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5873         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5875         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5876         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5877         (AI_NUMERICHOST): Define.
5878         (getnodebyname): New prototype.
5879         (AI_V4MAPPED, et al.): New constants.
5881         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5882         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5883         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5884         for socket.
5885         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5886         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5888         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5890         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5891         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5892         * socket/Makefile (headers): Add bits/sockunion.h.
5893         * socket/sys/socket.h: Include <bits/sockunion.h>
5894         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5895         <sys/socket.h>, to avoid getting sockaddr_union defined.
5896         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5897         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5898         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5900         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5901         (2.2.x kernels won't have it).
5903 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5905         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5906         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5907         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5908         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5910 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5912         * manual/socket.texi (Socket Addresses): Fix a typo.
5913         (Interface Naming): New section.
5915 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5917         * configure.in: Check for CC using $ac_tool_prefix, to handle
5918         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5919         * config.make.in: Add MIG to be substituted.
5920         * mach/Machrules: Don't define MIG variable.
5922         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5924 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5926         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5927         strdupa to copy rpath.
5929 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5931         * configure.in: Fix gcc version check.
5933         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5934         confusing.
5936 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5938         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5939         of ptsname_r.
5941         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5942         like ttyname_r.
5943         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5944         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5945         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5946         of __ptsname_r accordingly.
5947         * login/openpty.c (openpty): Likewise.
5949 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5951         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5953 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5955         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5957         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5959 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5961         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5962         return value for better error checking.
5964 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5966         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5967         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5969         * elf/elf.h (EM_SPARC64): Remove.
5970         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5971         (HWCAP_SPARC_V9): Add.
5973         * elf/ldsodefs.h (_dl_hwcap): Declare.
5974         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5975         Weaken so dlopen from static progies works.
5976         (WEAKADDR): New macro.
5977         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5978         (LD_SO_PRELOAD): New macro.
5979         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5980         (elf_machine_rela): Weaken _dl_rtld_map.
5982         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5983         to __clone, and remove the later's alias.
5984         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5986         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5987         the kernel's structure.
5989         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5990         Sparc needs a custom value of __KERNEL_NCCS.
5992 1998-04-06  Richard Henderson  <rth@cygnus.com>
5994         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5996         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5997         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5999 1998-04-06  Richard Henderson  <rth@cygnus.com>
6001         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6002         as the buffer is not properly aligned.
6003         Reported by Juan Cespedes <cespedes@debian.org>.
6005 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6007         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6008         instead of AF_FILE.
6010 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
6012         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6013         and wc*tomb* functions.
6015 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
6017         * sysdeps/unix/start.c: Fix typo.
6019 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
6021         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
6023 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
6025         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6026         expressions and using array variables.
6027         * sysdeps/libm-ieee754/e_asin.c: Likewise.
6028         * sysdeps/libm-ieee754/e_j0.c: Likewise.
6029         * sysdeps/libm-ieee754/e_j1.c: Likewise.
6030         * sysdeps/libm-ieee754/e_log.c: Likewise.
6031         * sysdeps/libm-ieee754/e_pow.c: Likewise.
6032         * sysdeps/libm-ieee754/k_cos.c: Likewise.
6033         * sysdeps/libm-ieee754/k_sin.c: Likewise.
6034         * sysdeps/libm-ieee754/k_tan.c: Likewise.
6035         * sysdeps/libm-ieee754/s_atan.c: Likewise.
6036         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6037         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6038         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6039         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6041 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
6043         * iconv/gconv.c: Rewrite of the low-level of gconv.
6044         * iconv/gconv.h: Likewise.
6045         * iconv/gconv_builtin.h: Likewise.
6046         * iconv/gconv_close.c: Likewise.
6047         * iconv/gconv_db.: Likewise.
6048         * iconv/gconv_dl.c: Likewise.
6049         * iconv/gconv_int.h: Likewise.
6050         * iconv/gconv_open.c: Likewise.
6051         * iconv/gconv_simple.c: Likewise.
6052         * iconvdata/8bit-gap.c: Adapt for rewrite.
6053         * iconvdata/8bit-generic.c: Likewise.
6054         * iconvdata/euckr.c: Likewise.
6055         * iconvdata/iso646.c: Likewise.
6056         * iconvdata/iso6937.c: Likewise.
6057         * iconvdata/iso8859-1.c: Likewise.
6058         * iconvdata/johab.c: Likewise.
6059         * iconvdata/sjis.c: Likewise.
6060         * iconvdata/t61.c: Likewise.
6061         * iconvdata/uhc.c: Likewise.
6063 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
6065         * iconv/gconv_int.h: New file.  Internal header.
6066         * iconv/Makefile (distribute): Add gconv_int.h.
6067         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6068         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6069         * iconv/gconv_close.c: Likewise.
6070         * iconv/gconv_conf.c: Likewise.
6071         * iconv/gconv_db.c: Likewise.
6072         * iconv/gconv_dl.c: Likewise.
6073         * iconv/gconv_int.h: Likewise.
6074         * iconv/gconv_open.c: Likewise.
6075         * iconv/iconv.c: Likewise.
6076         * iconv/iconv_close.c: Likewise.
6077         * iconv/iconv_open.c: Likewise.
6078         * iconv/iconv_prog.c: Likewise.
6080 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6082         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6083         missing braces.
6085 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6087         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6089 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6091         Based on patch from Pat Beirne:
6092         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6093         PIC and non-PIC now.  Correctly negate error number.
6094         (errno): Use `%' not `@' in .type directives.
6096 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6098         * sysdeps/i386/strtok.S: Change to use single exit point.
6099         * sysdeps/i386/i686/strtok.S: Likewise.
6101 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6103         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6104         default.
6106 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6108         * Makerules (installed-libcs): Fix typo.
6110 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6112         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6113         (UHC-routines): Remove ksc5601.
6115 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6117         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6118         introduced in last change.
6120 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
6122         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6123         before 2.1.92.
6125 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6127         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
6129         * stdlib/isomac.c: Use -isystem instead of -I for system include
6130         dir.
6132 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
6134         * resolv/res_comp.c (underscorechar): New.
6135         (middlechar): Allow '_'.
6137 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6139         * intl/explodename.c (stdlib.h): Include that file only if
6140         STDC_HEADERS or _LIBC.
6141         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6142         Patch by Philippe De Muyter <phdm@macqel.be>.
6144 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6146         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6147         (AC_PROG_CHECK_VER): New macro.
6148         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6149         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6151 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6153         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6154         * sysdeps/i386/i686/strtok.S: New file
6155         * sysdeps/i386/i686/strtok_r.S: New file
6157 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6159         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6160         type to __off64_t.
6161         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6162         parameter as __off64_t instead of __off_t.
6163         (ftello): Make alias for ftello64 instead of ftello.  Change
6164         return type to __off64_t.
6166 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6168         * sysdeps/i386/bits/string.h: Fix various typos.
6169         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6171         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6173 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6175         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6176         lchown syscall correctly.  [PR libc/541].
6178 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6180         * localedata/Makefile: Correct testsuite rules.
6182         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6183         * iconvdata/iso646.c: Fix conversion from UCS4.
6185         * elf/ldsodefs.h: Mark internal function with internal_function.
6186         * elf/dl-addr.c: Likewise.
6187         * elf/dl-close.c: Likewise.
6188         * elf/dl-debug.c: Likewise.
6189         * elf/dl-deps.c: Likewise.
6190         * elf/dl-error.c: Likewise.
6191         * elf/dl-fini.c: Likewise.
6192         * elf/dl-init.c: Likewise.
6193         * elf/dl-load.c: Likewise.
6194         * elf/dl-lookup.c: Likewise.
6195         * elf/dl-object.c: Likewise.
6196         * elf/dl-open.c: Likewise.
6197         * elf/dl-profile.c: Likewise.
6198         * elf/dl-reloc.c: Likewise.
6199         * elf/dl-runtime.c: Likewise.
6200         * elf/dl-symbol.c: Likewise.
6201         * elf/dl-version.c: Likewise.
6202         * elf/dlerror.c: Likewise.
6203         * sysdeps/generic/dl-sysdep.c: Likewise.
6204         * sysdeps/i386/dl-machine.h: Likewise.
6205         * intl/finddomain.c: Likewise.
6206         * intl/gettextP.h: Likewise.
6207         * intl/loadmsgcat.c: Likewise.
6209 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6211         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6212         * iconv/gconv_builtin.h: Add definitions for new builtins.
6213         * iconv/gconv.h: Add prototypes for new builtins.
6215         * iconvdata/Makefile (modules): Add ISO646.
6216         Add rules for ISO646 module.
6217         (distribute): Add iso646.c.
6218         * iconvdata/gconv-modules: Add module and alias definition for
6219         ISO646 charsets.
6220         * iconvdata/iso646.c: New file.
6222 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6224         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6225         * iconv/iconv_prog.c: Implement --list option to print available
6226         coded character sets.
6228 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6230         Make fread() read large blocks straight to the user buffer.
6232         * libio/fileops.c (_IO_file_xsgetn): New function.
6233         (_IO_file_jumps): Use it.
6234         * libio/libioP.h: Prototype it.
6236 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6238         * iconv/gconv_conf.c (builtin_aliases): New variable.
6239         (__gconv_read_conf): Add builtin aliases.
6240         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6241         noop macro before including gconv_builtin.h.
6242         * iconv/gconv_builtin.h: Add alias names.
6244         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6245         number of converted bytes correctly.
6247 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6249         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6250         we only wait for a replay.
6252 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6254         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6255         EUC-KR modules.
6257 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6259         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6260         use PLTJMP() rather than explicit (PLT).
6262         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6263         __libc_start_main().
6265         Based on patch from Pat Beirne:
6266         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6267         Always define, not only #ifndef PIC.
6268         (DO_CALL): Pass fifth argument correctly in R4.
6269         (PSEUDO): Correct test for error, call syscall_error through PLT
6270         if PIC.
6272 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6274         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6275         definitions.
6277 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6279         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6280         JOHAB.so.
6282 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6284         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6285         lstat64.
6287 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6289         * manual/Makefile: Use object-suffixes-for-libc instead of
6290         object-suffixes.
6291         * rpm/Makefile (install-lib): Likewise.
6293 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6295         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6297         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6298         `m68*', not only `m68k'.
6300 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6302         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6304         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6305         install lddlibc4.
6307 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6309         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6310         EUC-KR.
6312         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6313         comment.
6315 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6317         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6318         the init stuff.
6320 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6322         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6323         adjtimex syscall.
6324         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6325         adjtimex.
6326         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6328 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6330         * Makerules (install): Change comment for libc.so following the
6331         libc_nonshared changes.
6333 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6335         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6337         * iconvdata/gap.pl: Avoid using %#06x.
6339 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6341         * Makerules: Use $? instead of S^ when invoking ar.
6343 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6345         * db2/compat.h: Allow EFTYPE being defined.
6346         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6347         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6348         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6349         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6350         (__libc_once): Correctly unlock semaphore.
6351         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6352         * sysdeps/unix/bsd/getpt.c: Fix typo.
6353         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6355 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6357         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6358         macros.
6360 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6362         * include/mntent.h: New file.
6364         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6365         * elf/dl-load.c: Rewrite search path handling.
6366         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6367         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6368         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6369         * elf/ldsodefs.h: Add prototype.
6371 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6373         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6375         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6376         function.
6378         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6380         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6381         New function.
6382         (HWCAP_IMPORTANT): New definition.
6384 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6386         * elf/dl-open.c (_dl_open): Fix a typo.
6387         (_dl_global_scope_alloc): Make it static.
6389 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6391         * Makerules: Remove duplicate rules to handle stamp.oS.
6393 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6395         * manual/examples/inetsrv.c (main): Change prototype of
6396         make_socket following change in mkisock.c.
6398         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6399         example host.
6400         (main): Change prototype of init_sockaddr following change in
6401         isockadd.c.
6403         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6404         * manual/examples/isockad.c (init_sockaddr): Likewise.
6406         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6407         lines for clarification.
6408         (make_named_socket): Use strncpy instead of strcpy.
6409         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6411 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6413         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6414         determining libs to remove.
6415         (postclean): Add soversions.mk.
6416         * Makerules (common-mostlyclean): Add tests-static and generated
6417         files.
6419 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6421         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6422         scanning for \0.
6423         (__strncat_g): Add i686 specific code.
6425 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6427         * manual/install.texi (Reporting Bugs): Ask to include section
6428         names in reports.
6430 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6432         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6433         guard against direct inclusion.
6435 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6437         Rework support for libc_nonshared.a:
6438         * Makeconfig (object-suffixes-for-libc): New variable.
6439         * Rules: Remove handling of static-only and shared-only routines.
6440         * Makerules: Handle them here instead.  Use
6441         object-suffixes-for-libc instead of object-suffixes when dealing
6442         with libc objects.
6443         (object-suffixes-for-rules): Remove variable.
6444         (elide-routines.oS): Elide all routines except static-only
6445         routines.
6446         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6447         empty.
6448         (installed-libcs): Remove special case for .oS.
6449         (rmobjs): Likewise.
6451 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6453         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6454         do-tst-rpmatch): New targets.
6455         (test): Use them.
6456         (install-locales): Ignore comment lines.
6458 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6460         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6461         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6462         ($(objpfx)rtldtbl.h): Likewise.
6463         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6465 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6467         * manual/string.texi (Finding Tokens in a String): Extend strsep
6468         description and correct example.
6470 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6472         * manual/socket.texi: Remove misguided explicit line breaks and
6473         fix the formatting problem instead by reformulating the
6474         paragraphs.
6475         * manual/filesys.texi: Likewise.
6476         * manual/conf.texi: Likewise.  Don't typeset table with index
6477         fonts, that looks worse than a minimally overfull line.
6479 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6481         * nscd/Makefile (nscd-modules): Move definition outside of
6482         conditional.
6484         * pwd/Makefile: Use have-thread-library to test for thread
6485         library.
6487 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6489         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6491         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6493 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6495         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6497 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6499         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6501         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6502         Reported by Andreas Jaeger.
6504 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6506         * elf/Makefile: Fix typo.
6507         (distribute): Add dl-librecon.h.
6508         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6509         * elf/ldd.sh.in: Likewise.
6510         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6511         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6512         Use strsep correctly.
6513         (process_envvars): Allow platform specific variables.
6514         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6515         (_dl_load_cache_lookup): Test cache IDs found against
6516         _dl_correct_cache_id.
6517         * sysdeps/generic/dl-librecon.h: New file.
6518         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6520         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6522 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6524         * config.make.in (ldd-rewrite-script): New variable.
6525         * configure.in: Substitute ldd-rewrite-script.
6526         * elf/Makefile: Rewrite rules to generate ldd script.
6527         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6528         * elf/ldd.sh.in: Likewise.
6529         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6530         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6531         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6532         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6533         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6535 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6537         * inet/rcmd.c (iruserok): Remain setuid to the local user
6538         while .rhosts is actually read, to make .rhosts-over-NFS work
6539         (PR libc/524).  Use iruserfopen() for security checks on both
6540         hosts.equiv and .rhosts.  General cleanup.
6541         (iruserfopen): New function, performs careful checking on
6542         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6543         stuff plus hard links to files.
6545 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6547         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6549         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6551 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6553         * sysdeps/i386/i486/bits/string.h: Fix typos.
6555 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6557         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6558         strong alias.
6560         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6562         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6563         Added.  Used by libm.so on alpha.
6565 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6567         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6568         defined.
6570 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6572         * Makerules (object-suffixes-for-rules): Add .oS only for
6573         building shared library.
6574         Add ranlib rule for nonshared library.
6575         (rmobjs): Fix typo.
6577         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6578         into for shared library only.
6579         (CPPFLAGS-.oS): Add -DPIC.
6580         (libtypes): Use $(object-suffixes-for-rules) instead of
6581         $(object-suffixes).
6583 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6585         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6586         and install lddlibc4.
6588 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6590         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6591         hash.
6592         * iconvdata/gaptab.pl: Likewise.
6594 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6596         * Rules: Allow Makefiles to specify test-static for tests which
6597         cannot be linked dynamically.
6598         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6599         tests-static.
6601         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6603         * misc/error.c: Pretty print.
6605 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6607         * Makerules (libc_nonshared-name): Remove variable.
6608         (installed-libcs): Use libc-name instead.
6609         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6610         dynamic linker.
6612         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6613         libc.a.  Remove explicit reference to dynamic linker.
6615 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6617         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6618         to wchar_t.
6619         * iconv/iconv_prog.c: Correctly test for write failure.
6620         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6621         * iconvdata/gconv-modules: Likewise.
6622         * iconvdata/euckr.c: New file.
6623         * iconvdata/johab.c: New file.
6624         * iconvdata/ksc5601.c: New file.
6625         * iconvdata/ksc5601.h: New file.
6626         * iconvdata/uhc.c: New file.
6627         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6629         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6630         * stdio/fopen.c: Correct handling of 'x' flag.
6631         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6633 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6635         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6636         * sunrpc/rpcsvc/key_prot.x: Likewise.
6637         * sunrpc/key_prot.c: Likewise.
6639 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6641         * sysdeps/i386/bits/string.h: Correct things which never worked.
6642         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6643         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6645 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6647         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6648         defined.  Reported by Thorsten Kukuk.
6650 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6652         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6654 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6656         * manual/install.texi (Supported Configurations): Add
6657         arm-linuxaout and arm-none.
6659 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6661         * version.h (VERSION): Bump to 2.0.93.
6663 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6665         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6667         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6669         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6670         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6672 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6674         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6676 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6678         Put the static-only routines in a separate library.
6679         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6680         variables.
6681         (all-object-suffixes): Add .oS.
6682         * Makerules (libc_static-name): New variable.
6683         (installed-libcs): Add libc_nonshared.a.
6684         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6685         (object-suffixes-for-rules): New variable.  Use it instead of
6686         object-suffixes for generating compilation rules.
6687         (rmobjs): Also remove *.oS.
6688         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6689         ($(objpfx)stamp.oS): New target.
6691 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6693         * Makefile (FAQ): Automatically check in regenerated FAQ.
6695 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6697         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6699 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6701         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6702         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6704         * sysdeps/generic/stub_warning: Removed.
6706         * Makefile (distribute): Add include/des.h.
6708         * manual/Makefile (distribute): Change dir-add.texi to
6709         dir-add.texinfo.
6711         * glibcbug.in: Create files safely when mktemp is not available.
6713         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6714         Patch by a sun <asun@saul1.u.washington.edu>.
6716 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6718         * libc.map: Rename getname to getnetname.
6720 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6722         * manual/maint.texi: Use supported platform in examples.
6724         * manual/install.texi: Document some installation tips.
6726 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6728         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6729         Fix a bug so that it returns an error if a numeric parameter is
6730         unset and WRDE_UNDEF is set.
6731         Patch by Andreas Schwab and Tim Waugh.
6732         * posix/wordexp-test.c: Add new new test.
6734 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6736         * posix/regex.c (regex_compile): Last patch wasn't entirely
6737         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6739 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6741         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6743 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6745         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6746         clobbered registers don't appear as operands.
6748 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6750         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6751         Solaris' sake.
6753         * posix/regex.c (regex_compile): Don't allow non-alphabet
6754         characters in character set name.
6756 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6758         * posix/wordexp.c (w_newword): New function.
6759         (do_parse_glob): New function.
6760         (parse_glob): Use do_parse_glob.  Now handles the case where a
6761         variable expansion causes a field-split.
6762         (wordexp): Use w_newword.
6763         (parse_arith): Likewise.
6764         (exec_comm): Likewise.
6765         (parse_comm): Likewise.
6766         (parse_param): Likewise.
6767         (parse_backtick): Likewise.
6769 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6771         * posix/wordexp-tst.sh: Another test.
6773         * posix/wordexp-test.c: Two new tests.
6775         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6776         directly (the code using realloc was buggy).
6777         (parse_param): Fix typo in comment.
6779 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6781         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6783 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6785         * libc.map: Add more rpc auth functions/variables.
6787         * nscd/nscd.c: Add -g option to argp options.
6789 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6791         * configure.in: Be prepared for gcc 2.9.10 and up.
6792         * configure.in: Add missing disabling of quote characters in
6793         compiler version check.  Reported by HJ Lu.
6795 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6797         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6799 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6801         * intl/locale.alias: Fix spelling of romanian.
6803         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6804         (distribute): Remove des.h.
6805         * include/des.h: New file.
6806         * sunrpc/des.h: Moved to ...
6807         * sunrpc/rpc/rpc_des.h: ...here.
6809 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6811         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6812         Fix paren.
6814 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6816         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6817         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6819 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6821         * elf/ldsodesf.h: New file.
6822         * elf/Makefile (distribute): Add ldsodefs.h.
6823         * elf/link.h: Separate internal information in exter header.
6824         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6825         * elf/dl-minimal.c: Likewise.
6826         * sysdeps/generic/dl-sysdep.c: Likewise.
6827         * elf/sprof.c: Likewise.
6828         * elf/dlsym.c: Likewise.
6829         * elf/dlvsym.c: Likewise.
6830         * elf/dlerror.c: Likewise.
6831         * elf/dladdr.c: Likewise.
6832         * elf/dlclose.c: Likewise.
6833         * elf/dlopen.c: Likewise.
6834         * elf/dl-addr.c: Likewise.
6835         * elf/dl-close.c: Likewise.
6836         * elf/dl-debug.c: Likewise.
6837         * elf/dl-deps.c: Likewise.
6838         * elf/dl-error.c: Likewise.
6839         * elf/dl-fini.c: Likewise.
6840         * elf/dl-init.c: Likewise.
6841         * elf/dl-load.c: Likewise.
6842         * elf/dl-lookup.c: Likewise.
6843         * elf/dl-object.c: Likewise.
6844         * elf/dl-open.c: Likewise.
6845         * elf/dl-profile.c: Likewise.
6846         * elf/dl-reloc.c: Likewise.
6847         * elf/dl-runtime.c: Likewise.
6848         * elf/dl-support.c: Likewise.
6849         * elf/dl-symbol.c: Likewise.
6850         * elf/dl-version.c: Likewise.
6851         * sysdeps/generic/dl-cache.c: Likewise.
6852         * sysdeps/generic/libc-start.c: Likewise.
6853         * iconv/gconv_dl.c: Likewise.
6854         * nss/nsswitch.c: Likewise.
6856 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6858         * manual/nss.texi: The database is not called network but networks.
6859         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6861 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6863         * configure.in: Correct test for compiler version.
6864         Check that LD_LIBRARY_PATH doesn't contain current path.
6866 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6868         * elf/dl-close.c (_dl_close): Fix byte count while removing
6869         the shared object from the global scope list and optimize
6870         a little bit.
6872 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6874         * manual/filesys.texi (Scanning Directory Content): Add missing
6875         closing brace.
6876         (Scanning Directory Content): Fix text.
6878 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6880         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6881         explaining difference of -lmcheck and MALLOC_CHECK_.
6883 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6885         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6886         typos in comments.
6888 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6890         * test-skeleton.c (main): Fix test for exit signal.
6892 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6894         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6896 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6898         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6899         appropriate.
6901 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6903         * libc.map: Export __strtok_r.
6905 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6907         * posix/regex.c (re_compile_fastmap): Remove unused variable
6908         num_regs and adjust comment.
6909         Patch by Jim Meyering <meyering@ascend.com>.
6911         * math/math.h (M_*l): Extend long double constants to be usable
6912         for 128 bit floats.  Patch by Richard Henderson.
6914 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6916         * sysdeps/m68k/m68020/wordcopy.S: New file.
6918 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6920         * posix/wordexp.c: Rewrite parse_param.
6921         Patch by Tim Waugh and Andreas Schwab.
6923 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6925         * Rules: Update timestamps on empty object files.
6927 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6929         * manual/filesys.texi (Scanning Directory Content): Add description
6930         of 64 bits scandir function and friends.
6932 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6934         * glibcbug.in: Use mktemp to generate unique file name for
6935         temporary files.
6937         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6938         ptsname_r.  Use cast for execve call.
6940 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6942         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6943         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6944         * io/sys/statvfs.h: New file.
6945         * sysdeps/generic/fstatvfs.h: New file.
6946         * sysdeps/generic/statvfs.h: New file.
6947         * sysdeps/generic/fstatvfs64.h: New file.
6948         * sysdeps/generic/statvfs64.h: New file.
6949         * sysdeps/generic/bits/statvfs.h: New file.
6950         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6951         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6952         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6954         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6955         and f_ffree elements.
6957         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6958         mount options in enum.
6960 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6962         * configure.in: Check for recent egcs/gcc.
6964 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6966         * libc.map: Add alphasort64, scandir64, versionsort64.
6967         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6968         versionsort64.
6969         * dirent/alphasort64.c: New file.
6970         * dirent/scandir64.c: New file.
6971         * dirent/versionsort64.c: New file.
6972         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6973         versionsort.
6974         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6975         old name weak alias.
6976         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6978         * dirent/alphasort.c: Use strcoll instead of strcmp.
6980         * dirent/scandir.c: Optimize a bit.
6982         * dirent/versionsort.c: Pretty print.
6984 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6986         * string/string.h: Add prototype for __strtok_r.
6988 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6990         * posix/Makefile: Fix typo in last change.
6992 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6994         * dirent/dirent.h (scandir): Make argument of select function const.
6995         * dirent/scandir.c (scandir): Likewise.
6996         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6998 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
7000         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7001         weak alias.
7002         * sysdeps/i386/strtok_r.c: Likewise.
7004         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7005         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7006         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7007         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7008         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7009         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
7011 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7013         * intl/localealias.c: Remove unneeded define for strdup.
7015 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
7017         * manual/argp.texi: Adjust for better TeX output.
7018         * manual/arith.texi: Likewise.
7019         * manual/conf.texi: Likewise.
7020         * manual/filesys.texi: Likewise.
7021         * manual/header.texi: Likewise.
7022         * manual/lgpl.texinfo: Likewise.
7023         * manual/math.texi: Likewise.
7024         * manual/message.texi: Likewise.
7025         * manual/pattern.texi: Likewise.
7026         * manual/process.texi: Likewise.
7027         * manual/signal.texi: Likewise.
7028         * manual/socket.texi: Likewise.
7029         * manual/startup.texi: Likewise.
7030         * manual/stdio.texi: Likewise.
7031         * manual/terminal.texi: Likewise.
7032         * manual/examples/rprintf.c: Likewise.
7033         * manual/examples/testopt.c: Likewise.
7034         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7036 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
7038         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7039         parameter name after seeing a digit if it's enclosed in braces.
7041 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7043         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
7045 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7047         * manual/memory.texi (Heap Consistency Checking): Document
7048         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
7050 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7052         * manual/Makefile: Add missing rules.
7054 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7056         * timezone/Makefile (generated): Define to remove all stamp files.
7058         * sysdeps/generic/strsep.c: Also undefine __strsep.
7060         * string/strdup.c: Undefine __strdup and strdup first.
7061         * string/strndup.c: Likewise.
7063         * string/bits/string2.h: Correct strtok_r and strsep.
7064         Add strndup optimization.
7066         * sysdeps/generic/strsep.c: Little optimization.
7068 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
7070         * string/bits/string2.h: Add optimization for strdup.
7071         Always define __strsep and __strtok_r and make real names available
7072         when feature select macros are defined.
7074 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7076         * manual/install.texi (Installation): Use i486-linux as example
7077         instead of the unsupported sunos4.
7078         (Reporting Bugs): Mention glibcbug script.
7079         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
7081 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7083         * posix/wordexp-tst.sh: Make portable.  Add more tests.
7085         * posix/Makefile (do-globtest do-wordexp-test): New targets.
7087 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
7089         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7090         * sysdeps/generic/libc-start.c: ...here, replacing former content.
7092         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7093         netpacket/packet.h.
7095         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
7097 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7099         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7100         in enumerator for strict standard compliance.
7101         * sysdeps/generic/bits/resource.h: Likewise.
7103 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
7105         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7106         (PLTJMP): New macro.
7108         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7109         longjmp() when floating point enabled.
7110         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7111         * sysdeps/arm/__longjmp.S: Remove floating point code.
7112         * sysdeps/arm/setjmp.S: Likewise.
7114         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7115         * sysdeps/arm/bsd-_setjmp.S: Likewise.
7117         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7118         memset().
7120         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7121         prototype.
7123 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
7125         Based on patches from Pat Beirne and Scott Bambrough:
7127         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
7129         * sysdeps/arm/bits/fenv.h: New file.
7131         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
7132         * sysdeps/arm/elf/setjmp.S: Likewise.
7133         * sysdeps/arm/elf/start.S: Likewise.
7134         * sysdeps/arm/init-first.c: Likewise.
7135         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7136         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
7137         comment about floating point to reflect current reality.
7139         * sysdeps/unix/arm/brk.S: Support PIC.
7140         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7141         re-entrant code.
7142         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7143         return; call syscall_error through PLT.
7144         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7146 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7148         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7149         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7152 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7154         * dirent/list.c (test): Return error value.
7155         (main): Exit with error value.
7157         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7159         * Makefile (distribute): Add test-skeleton.c.
7160         * test-skeleton.c: New file.
7161         * dirent/Makefile (tests): Add opendir-tst1.
7162         * dirent/opendir-tst1.c: New file.
7164 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7166         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7167         Optimize memory handling.
7168         * sysdeps/unix/closedir.c: Optmize memory handling.
7170 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7172         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7173         handling.  Optimize a bit.
7175 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7177         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7178         (parse_param): Fold in Andreas' fixes to do with when the end of
7179         the parameter name has been reached, and quoting inside ${...}.
7180         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7181         $((echo);(ls)).
7183 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7185         * manual/maint.texi: Split out installation and contribution
7186         sections to their own appendices.  Misc cleanups.
7187         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7188         * manual/contrib.texi: New file.
7189         * manual/libc.texinfo: Pull in new appendices.
7190         * manual/header.texi: Correct node pointer.
7192 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7194         * manual/process.texi (Process Completion): Clarify return value
7195         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7197 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7199         * posix/wordexp-test.c: Add more tests.
7200         (testit): Fix logic.
7202         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7203         /dev/null instead of closing it, close pipe.  Always chop off all
7204         trailing newlines.  Kill and reap child before returning error.
7205         (w_addword, parse_glob): Fix memory leak.
7206         (wordexp): Fix dangling pointer problem.
7208 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7210         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7212         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7214         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7215         directory index by only the language.
7217 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7219         * posix/wordexp-tst.sh: Store test results in the
7220         ${common_objpfx}posix directory.
7222         * posix/wordexp-test.c: Remove temporary directory afterwards.
7224 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7226         * libc.map: Export internal versions of cancelable functions.
7228 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7230         * Makerules (MAKEFLAGS): Append `r'.
7232 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7234         * Makeconfig: Define have-thread-library, shared-thread-library
7235         and static-thread-library if a thread library is available.  Don't
7236         define rt.
7237         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7238         nscd-routines to nscd-modules.  Use shared-thread-library and
7239         static-thread-library in dependencies.
7240         * rt/Makefile: Only compile librt if have-thread-library is
7241         defined.
7242         * Makefile (subdirs): Always include rt subdir.
7244 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7246         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7248 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7250         * configure.in: Recognize variations for 32 MIPS processors.
7251         Don't assume ELF systems always have .weak, test for .weakext.
7253 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7255         * configure.in: Irix6 is an ELF platform.
7257 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7259         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7260         unmapping the last loaded segment.
7262 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7264         * configure.in: Set base_os for Irix6.
7265         Correct test for .weakext.
7267 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7269         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7270         (new_line) to _dl_debug_message call.
7272 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7274         * posix/wordexp.c (parse_param): Perform field-splitting after
7275         expanding positional parameter.
7277         * posix/wordexp-tst.sh: Test that field-splitting is performed
7278         after expanding positional parameter.
7280         * posix/wordexp.c (parse_param): Fixed memory leak in
7281         field-splitting after parameter expansion.
7283 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7285         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7286         (get_toplvl_escape): Correctly terminate loop at EOF.
7287         Patch by Cristian Gafton <gafton@redhat.com>.
7289 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7291         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7292         (test_strsep): Likewise.  Correct horrible bugs.
7294         * string/bits/string2.h (strcspn): Optimize also reject string of
7295         length 2 and 3.
7296         (strspn): Likewise.
7297         (strpbrk): Likewise.
7298         (strsep): Likewise.  Correct bug with successive separators and
7299         separators at the end of the string.
7300         * sysdeps/generic/strsep.c: Correct bug with successive separators
7301         and separators at the end of the string.
7303 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7305         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7306         etc) now handled, as well as $$ (pid).
7308         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7309         (distribute): Add wordexp-tst.sh.
7311         * posix/wordexp-tst.sh: New file.
7313         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7314         number of positional parameters.  Renamed substitute_length to
7315         seen_hash.
7316         Don't free(env) is env is NULL.
7318 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7320         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7322 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7324         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7325         for output file replacing gmon.out.
7326         Patch by Dean Gaudet <dgaudet@arctic.org>.
7328 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7330         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7331         up namespace.  Optimize finding end of line.
7333 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7335         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7336         securely.  Optimized.
7337         (process_dl_debug): Add ':' to list of separators.  Optimized.
7339 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7341         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7342         isless, islessequal, islessgreater, isunordered): Return zero or
7343         one.
7345 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7347         * posix/wordexp-test.c: More tests.
7348         (main): Set up arena for pathname expansion tests (in a temporary
7349         directory).
7350         (testit): Don't check word count or word vector if return value is
7351         non-zero.
7353         * posix/wordexp.c (exec_comm): Always chop off terminating
7354         linefeed (just like bash does).
7355         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7356         (!env || !*env)".
7357         (parse_param): For assignment inside parameter expansion, use all
7358         expanded words in assignment rather than just the first.
7359         (parse_param): Corrected return value for parameter expansion of
7360         an unset variable when WRDE_UNDEF is in effect.
7361         (parse_dollars): Don't field-split if quoted.
7362         (wordexp): Opening brace character isn't allowed unquoted.
7364 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7366         * elf/dlerror.c: Fix concurrency problems with error string and
7367         number.
7369         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7370         filter/auxiliary are being loaded.
7372 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7374         * elf/dlerror.c (last_object_name): Removed.
7375         (dlerror): Don't use last_object_name.
7376         (_dl_error_run): Omit second argument to _dl_catch_error.
7377         * elf/dl-error.c (struct catch): Remove objname member.
7378         (_dl_signal_error): Construct string including objname when given.
7379         (_dl_catch_error): Remove objname handling.
7380         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7381         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7382         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7383         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7384         * iconv/gconv_dl.c (dlerror_run): Likewise.
7385         [Corrects PR libc/501].
7387 1998-03-12  Matthias Urlichs <smurf@noris.de>
7389         * nscd/nscd.c: Ignore SIGPIPE.
7391 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7393         * nscd/nscd_getgr_r.c: Use __ protected names.
7394         * nscd/nscd_getpw_r.c: Likewise.
7396 1998-03-12  Matthias Urlichs <smurf@noris.de>
7398         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7399         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7400         null bytes are not transmitted.
7402 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7404         * powerpc/syscalls.list: Correct typo.
7405         * alpha/syscalls.list: Likewise.
7406         * mips/syscalls.list: Likewise.
7408 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7410         * socket/sys/socket.h: Add prototype for __socket.
7412 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7414         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7416         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7417         constants.
7419         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7420         definition here.
7421         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7422         definition here.
7424         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7425         AF_* and PF_* constants.
7427         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7429 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7431         * elf/rtld.c: Update help message.
7432         Install link maps for preloaded objects using main_map as loader.
7434         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7435         * elf/dl-profile.c: Likewise.
7437         * elf/dlsym.c: Little optimization.
7438         * elf/dlvsym.c: Likewise.
7440 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7442         * posix/wordexp-test.c: Move test for parameter list at the very
7443         beginning.
7445 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7447         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7448         WRDE_REUSE flag is set.
7449         (parse_param): Allow `*', `@', and numbers in parameter names.
7450         (parse_dollars): Differentiate between arithmetic expansion and a
7451         command substitution that starts immediately with a sub-shell
7452         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7453         (parse_param): Memory allocated with __alloca in a block was
7454         referenced outside that block.  Adjusted to use malloc/free.
7455         (parse_param): Adjusted field-splitting algorithm so that there is
7456         not necessarily a field split at the end of a parameter expansion.
7458 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7460         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7461         don't free words that have already been allocated.
7462         (parse_param): A dollar sign on its own will never have a pattern
7463         associated with it (like "${HOME%%/}" has), so don't try to free it.
7464         (parse_glob): Attempt to glob when an unquoted `[' is found
7465         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7466         (parse_glob): Sorted out quoting in a glob-able word.
7467         (parse_param): Added $* and $@ handling.
7469 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7471         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7472         parsing it.
7474 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7476         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7477         _dl_debug_message.
7479 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7481         * elf/dl-misc.c: Default for debug output should be stderr.
7482         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7483         * elf/dl-lookup.c: reference_name may be NULL or empty.
7485 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7487         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7489 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7491         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7493         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7495 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7497         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7500 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7502         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7503         init stuff.
7505 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7507         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7508         flag.
7510         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7511         syslog daemon.
7512         (closelog_internal): Don't do anything if not connected.
7514 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7516         * libc.map: Add _dl_debug_message.
7517         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7518         before every line.
7519         * elf/fini.c: Correctly use new _dl_debug_message function.
7520         * elf/init.c: Likewise.
7521         * elf/dl-lookup.c: Likewise.
7522         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7523         * elf/dl-load.c: Likewise.  Add more debugging prints.
7524         * elf/dl-reloc.c: Likewise.
7525         * elf/dl-version.c: Likewise.
7526         * elf/dl-support.c: Add variables for debugging.
7527         * elf/rtld.c: Likewise.  Recognize new debug options.
7528         * elf/link.h: Declare new variables.
7530         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7532 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7534         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7535         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7537 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7539         * posix/wordexp-test.c (command_line_test): New function to allow
7540         testing of specific cases from the command-line.
7542 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7544         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7545         * elf/dl-fini.c (_dl_fini): Likewise.
7546         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7548         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7549         symbol in debug message.
7550         (_dl_lookup_versioned_symbol_skip): Likewise.
7552 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7554         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7555         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7556         * manual/filesys/texi: Document this.
7558 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7560         * manual/filesys.texi: Document the change below.
7562 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7564         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7565         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7567 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7569         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7570         instead scope.  If debugging display information about symbol
7571         resolving.
7572         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7573         (_dl_lookup_symbol_skip): Likewise.
7574         (_dl_lookup_versioned_symbol): Likewise.
7575         (_dl_lookup_versioned_symbol_skip): Likewise.
7576         * elf/dl-support.c: Define _dl_debug_symbols.
7577         * elf/link.h: Add declaration for _dl_debug_symbols.
7578         * elf/rtld.c: Define _dl_debug_symbols.
7579         (process_dl_debug): Recognize symbols option.
7581 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7583         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7584         in correct format.
7585         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7586         with correct parameters.
7587         [!PIC]: Initialize __libc_multiple_libcs.
7589 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7591         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7592         * elf/rtld.c (_dl_debug_bindings): Add definition.
7593         (process_dl_debug): Recognize bindings option.  Update help message.
7594         * elf/link.h (struct link_map): Add l_versyms member.
7595         (_dl_debug_bindings): Add declaration.
7596         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7597         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7598         and l_reloc_result.
7599         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7600         (sym_val): Remove a member, add m as link_map.
7601         (do_lookup): Return result appropriately.
7602         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7603         Call do_lookup correctly.
7604         (_dl_lookup_symbol_skip): Likewise.
7605         (_dl_lookup_versioned_symbol): Likewise.
7606         (_dl_lookup_versioned_symbol_skip): Likewise.
7608 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7610         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7611         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7613         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7614         * libc.map: Add chown to GLIBC_2.1.
7615         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7616         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7618 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7620         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7621         weak alias.
7622         * sysdeps/alpha/ffs.c: Likewise.
7623         * sysdeps/am29k/ffs.c: Likewise.
7624         * sysdeps/i386/ffs.c: Likewise.
7625         * sysdeps/i960/ffs.c: Likewise.
7626         * sysdeps/m68k/ffs.c: Likewise.
7627         * sysdeps/m88k/ffs.c: Likewise.
7628         * sysdeps/powerpc/ffs.c: Likewise.
7629         * sysdeps/rs6000/ffs.c: Likewise.
7630         * sysdeps/vax/ffs.s: Likewise.
7631         * string/string.h: Declare __ffs.
7632         * libc.map: Export it.
7633         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7634         __builtin_ffs, which is not guaranteed to be namespace clean.
7636 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7638         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7639         table, which is much more likely to exist than debugging symbols.
7640         (printsym): Remove const.
7641         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7642         header table.
7644         * libc.map: Export __profile_frequency, used by elf/sprof, to
7645         avoid infinite recursion during startup.
7647 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7649         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7650         Readd lost negate.
7652         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7654 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7656         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7658 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7660         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7661         LD_PRELOAD, and LD_VERBOSE.
7662         (dl_main): Use global variables set by process_envvars instead of
7663         calling getenv.
7664         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7665         LD_LIBRARY_PATH value, this comes with the parameter.
7666         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7667         ("LD_LIBRARY_PATH") to _dl_init_paths.
7669 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7671         * elf/rtld.c (dl_main): Delay initialization of path structure if
7672         the dynamically linker is invoked implicitly until we read the
7673         dynamic section.
7675 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7677         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7679 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7681         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7682         Linux 2.0 and 2.1.
7684         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7686 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7688         * Makeconfig (nisobjdir): Set to path to nis directory.
7689         (rpath-link): Add nisobjdir.
7690         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7692         * elf/Makefile: Pretty print.
7693         * elf/dl-lookup.c: Include unistd.h.
7694         * elf/dl-runtime.c: Likewise.
7696         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7697         (distribute): Add tst-rpmatch.sh.
7698         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7700         New tests for rpmatch function by
7701         Jochen Hein <jochen.hein@delphi.central.de>.
7702         * localedata/tst-rpmatch.c: New file.
7703         * localedata/tst-rpmatch.sh: New file.
7705         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7706         * localedata/locales/de_AT: Likewise.
7708         * posix/getopt.c: Update contact address.
7709         * posix/getopt1.c: Pretty print.
7711         * sysdeps/generic/libc-start.c: Do most of the initialization now
7712         here instead of in start.S.
7713         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7714         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7716         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7717         profil_counter to be public.
7719 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7721         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7722         (parse_param): Coded parameter length expansion (${#var}).
7723         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7724         (parse_param): Cleaned up (fixed) error handling.
7726         * posix/wordexp-test.c: IFS now includes non-whitespace character
7727         (comma).  Added more tests.
7729 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7731         * elf/link.h: Fix typos.
7732         Reported by Andreas Jaeger.
7734         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7735         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7737 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7739         * argp/argp-help.c: Remove last bits of using gettext instead of
7740         dgettext.
7742 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7744         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7745         __libc_start_main.
7746         * csu/Makefile (routines): Add libc-start.
7747         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7748         * elf/dl-lookup.c: Likewise.
7749         * elf/dl-version.c: Likewise.
7750         * sysdeps/i386/dl-machine.h: Likewise.
7751         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7752         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7753         _dl_sysdep_message macros which use _dl_sysdep_output.
7754         * elf/dl-fini.c: Write out which destructor is called while debugging.
7755         * elf/dl-init.c: Likewise for constructor.
7756         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7757         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7758         _dl_sysdep_message.  Add _dl_sysdep_output.
7759         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7760         this file can be opened.
7761         For LD_DEBUG=libs also set _dl_debug_impcalls.
7762         * sysdeps/generic/dl-cache.c: Include unistd.h.
7763         * sysdeps/generic/libc-start.c: New file.
7764         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7765         * sysdeps/i386/elf/start.S: Don't call main directly, call
7766         __libc_start_main instead.
7768         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7770 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7772         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7774 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7776         * argp/argp.h (struct argp): Add new field domain.
7777         * argp/argp-help.c: Change all gettext calls to dgettext and use
7778         domain field from appropriate argp in call.
7779         * argp/argp-parse.c: Likewise.
7781 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7783         * posix/wordexp-test.c: Change testsuite so that it can run even
7784         for ~root != /root.
7786 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7788         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7790 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7792         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7793         Don't store into global errno if we already store through
7794         __errno_location.
7795         * sysdeps/unix/i386/sysdep.S: Likewise.
7796         * sysdeps/unix/alpha/sysdep.S: Likewise.
7797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7798         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7800         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7801         PIC).
7803 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7805         * sysdeps/generic/sysdep.h (L): Remove definition.
7806         * sysdeps/i386/sysdep.h (L): Define it here instead.
7808 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7810         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7812         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7814 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7816         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7817         declaration style to avoid warnings.
7819 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7821         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7822         "LD_DEBUG".
7824 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7826         * posix/Makefile (tests): Add wordexp-test.
7827         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7828         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7830 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7832         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7833         dependencies.
7835         * elf/link.h (struct r_search_path_elem): Add two new field for
7836         lib path debugging.
7837         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7838         variable accordingly.
7839         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7840         is considered next along with information about load paths.
7841         * sysdeps/generic/dl-cache.c: Likewise.
7842         * elf/dl-support.c: Define _dl_debug_libs.
7843         * elf/genrtldtbl.awk: Add initializers for two new field in
7844         struct r_search_path_elem.
7846 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7848         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7849         * sysdeps/m68k/lshift.S: Likewise.
7850         * sysdeps/m68k/rshift.S: Likewise.
7851         * sysdeps/m68k/sub_n.S: Likewise.
7852         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7853         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7854         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7856         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7857         [_LIBC_REENTRANT]: Don't store into global errno.
7859         * sysdeps/m68k/sysdep.h: New file.
7860         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7861         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7862         (DO_CALL): Change to expect syscall name as argument.
7863         (PSEUDO): Pass syscall_name to DO_CALL.
7864         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7865         errno.
7867 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7869         * elf/rtld.c: Speed up processing of environment variables.  Do
7870         only one run on the environment by avoiding to call getenv.
7871         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7872         function.  Used by patch above.
7874 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7876         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7877         running nscd.
7878         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7879         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7880         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7882 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7884         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7885         module cannot be found.  Reported by Andreas Jaeger.
7887 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7889         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7890         on platforms which default to unsigned chars.
7891         * nscd/nscd_getpw_r.c: Likewise.
7892         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7893         defining it.
7895 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7897         * elf/Makefile (install-bin): Change = to += for sprof to install
7898         ldd also.
7900 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7902         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7904 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7906         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7908 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7910         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7911         that a failure to connect to nscd doesn't change errno.
7913 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7915         * manual/maint.texi (Reporting Bugs): Change
7916         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7918         * locale/iso-4217.def: Likewise
7920 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7922         * manual/texinfo.tex: Updated.
7924 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7926         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7927         value.
7928         * sysdeps/posix/pathconf.c: Likewise.
7929         * posix/getconf.c: Print `undefined' if pathconf returns -1
7930         without setting errno.
7932 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7934         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7935         problem.
7936         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7937         Patches by Elliot Lee <sopwith@cuc.edu>.
7939 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7941         * elf/link.h (struct link_map): Add new field l_reloc_result.
7942         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7943         of relocation for the object to be profiled.
7944         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7945         to NULL.
7946         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7947         array here.
7948         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7949         contains a result from a previous run use this instead of computing
7950         the value again.
7951         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7953 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7955         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7956         offsets into the GOT.
7957         (RTLD_START): Likewise.
7959 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7961         * elf/sprof.c: Cleanup a bit.
7963 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7965         * sysdeps/generic/sysdep.h (L): New. Define.
7967         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7969         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7971         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7972         to have only one exit point for functions.
7973         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7974         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7975         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7976         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7977         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7979 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7981         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7982         reset errno so that errno isn't set to ENOSYS in the first call.
7983         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7984         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7985         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7986         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7988 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7990         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7991         * sysdeps/i386/addmul_1.S: Likewise.
7992         * sysdeps/i386/lshift.S: Likewise.
7993         * sysdeps/i386/mul_1.S: Likewise.
7994         * sysdeps/i386/rshift.S: Likewise.
7995         * sysdeps/i386/sub_n.S: Likewise.
7996         * sysdeps/i386/submul_1.S: Likewise.
7997         * sysdeps/i386/i586/add_n.S: Likewise.
7998         * sysdeps/i386/i586/addmul_1.S: Likewise.
7999         * sysdeps/i386/i586/lshift.S: Likewise.
8000         * sysdeps/i386/i586/mul_1.S: Likewise.
8001         * sysdeps/i386/i586/rshift.S: Likewise.
8002         * sysdeps/i386/i586/sub_n.S: Likewise.
8003         * sysdeps/i386/i586/submul_1.S: Likewise.
8005         * sysdeps/i386/sysdep.h: Extend last change.
8007         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8008         to have only one exit point for functions.
8010 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8012         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
8013         search.
8015 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
8017         * Makerules: Generate libc.so with absolute paths for the used
8018         shared objects.
8020         * config.make.in: Add MAKEINFO definition.
8022 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8024         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8025         (ENTRY): Use STABS_FUN.
8026         (END): Use STABS_FUN_END.
8027         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
8029         * elf/Makefile: Add rules to build sprof program.
8030         * elf/sprof.c: New file.
8032 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8034         * misc/syslog.c (openlog_internal): Insert missing closing brace.
8036 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8038         * configure.in: Check for working msgfmt version (from GNU gettext
8039         0.10 or later).
8041 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8043         * configure.in: Avoid //s in sysdirs.
8044         Patch by Roland McGrath.
8046         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
8048 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
8050         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8051         setting _dl_global_scope for RTLD_GLOBAL.
8053 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8055         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8056         possible lists of object-suffixes are taken care of.
8058 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
8060         * timezone/private.h: Update from tzcode1998c.
8061         * timezone/zic.c: Likewise.
8062         * timezone/antarctica: Updated from tzdata1998c.
8063         * timezone/asia: Likewise.
8064         * timezone/australasia: Likewise.
8065         * timezone/europe: Likewise.
8066         * timezone/southamerica: Likewise.
8068 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8070         * posix/glob.c (glob_in_dir): Add support for cases insensitive
8071         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
8073 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
8075         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8076         Changed type of TWO43, TWO52 from float to double.
8077         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8078         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8079         Changed type of TWO43 from float to double.
8080         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8081         Use __isinff.
8083 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
8085         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8086         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8087         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
8089 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
8091         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8092         kernel_termios.h.
8093         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8094         Clean up random whitespace.
8095         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8096         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8098         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
8100 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
8102         * shlib-versions: Match alpha*.
8103         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8104         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
8106         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8107         Implement copysign* with and without __ prefix.
8108         Likewise for fabs; use builtin for gcc 2.8.
8109         (floor*): New.
8110         (fdim*): New.
8112         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8113         (R_SPARC*): Match current v9 ABI.
8115         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
8117         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8118         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8119         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8120         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8121         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8122         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8123         * sysdeps/unix/grantpt.c (argv): Fix consts.
8124         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8125         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8127 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8129         * misc/syslog.c: Change to allow user the interpretation of the
8130         outcome even with syslog having no return value.
8132 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8134         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8135         that the number of program headers is >0 (which is wrong for the
8136         loader itself).
8138 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8140         * Makefile (distribute): Add README.libm.
8142 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8144         * time/clocktest.c (main): Correct typo: "--" -> "==".
8146 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8148         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8149         inline function.
8150         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8151         inline functions.
8153         * math/libm.map (__atan2): Added.
8155 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8157         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8158         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8160         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8161         bug.
8163 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8165         * manual/arith.texi (Old-style number conversion): Correct
8166         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8168 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8170         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8171         but does not require it.  Handle missing argv[] values gracefully.
8172         * posix/execl.c: Likewise.
8173         * posix/execle.c: Likewise.
8175 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8177         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8178         bit.
8179         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8181 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8183         * libc.map: Add __adjtimex.
8185 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8187         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8188         Remove memset.
8190 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8192         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8193         to 64.
8195         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8197         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8198         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8200         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8201         for shared library.
8203         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8205         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8206         Added adjtimex and old_adjtimex.
8208         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8209         New.
8210         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8211         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8213         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8214         symbols only for shared library.
8215         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8216         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8217         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8218         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8219         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8220         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8221         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8223         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8224         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8225         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8226         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8227         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8228         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8229         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8230         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8232         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8233         rusage pointer.
8235         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8236         New macros.
8237         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8238         timex and __adjtimex, respectively.
8240         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8242         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8244 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8246         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8247         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8249 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8251         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8253 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8255         * Makefile.in: Disable built-in rules.
8257 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8259         * sysdeps/i386/fpu/t_exp.c: Move to ...
8260         * sysdeps/libm-i387/t_exp.c: ... here.
8262 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8264         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8265         from __exp2_deltatable.
8267 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8269         * nis/ypclnt.c (yp_master): Check result of strdup.
8270         Patch by Thorsten Kukuk.
8272 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8274         * nis/ypclnt.c: Give clnt handle after error checking free, change
8275         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8277 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8279         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8280         Patch by Joe Keane <jgk@jgk.org>.
8282         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8283         * misc/fstab.c: Remove casts in fs_type assignments.
8285 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8287         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8288         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8289         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8290         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8291         * sysdeps/powerpc/bits/fenv.h: Likewise.
8292         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8293         * sysdeps/generic/bits/fenv.h: Likewise.
8294         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8295         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8296         * sysdeps/powerpc/test-arith.c (main): Likewise.
8298 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8300         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8301         the comparison macros.
8303 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8305         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8306         (__log2): Fixed return values.
8307         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8309 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8311         * math/math.h (isunordered): Rename local variables to ensure
8312         correct code.  Reported by HJ Lu.
8314 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8316         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8317         isless, islessequal, islessgreater, isunordered): Fix syntax for
8318         fucompip instruction.
8319         (isless, islessequal): Fix logic.
8321 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8323         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8324         (comparisons_test): New tests for comparison macros.
8326 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8328         * Makeconfig: Filter out frame-pointer effecting options when
8329         compiling profiling or debugging code.
8330         * config.h.in (internal_function): Don't define here if PROF is
8331         defined.
8332         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8333         state.
8334         (__monstartup): If calloc fails set error state and mark array as
8335         not allocated.
8336         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8337         to free array if not  successfully allocated.
8339         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8340         Include elf.h to get macro definitions.
8341         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8343 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8345         * elf/ldd.sh.in: Add compatibility for broken old shells.
8346         * elf/ldd.bash.in: Likewise.
8348 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8350         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8352         * time/clocktest.c (main): Check signal return error.
8354 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8356         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8357         "/" and use do-install-program. Reported by Mark M. Kettenis.
8358         (subdir_install):  Likewise.
8360 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8362         * sunrpc/rpc_sample.c: Fix typo.
8364         * nscd/connections.c: Use locale.
8365         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8366           calloc result.
8367         * nscd/nscd.c: Check if init functions fails.
8368         * nscd/nscd_conf.c: Allow disabling of group cache.
8369         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8370         * nscd/pwdcache.c: Fix debug messages.
8372 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8374         * libc.map: Add __monstartup and _mcleanup for profiling support.
8376 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8378         * libc.map: Export __getpagesize, for binary compatibility with
8379         2.0.
8381 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8383         * posix/globtest.sh: Use --library-path instead of
8384         LD_LIBRARY_PATH.
8385         * localedata/sort-test.sh: Likewise.
8386         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8388 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8390         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8391         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8392         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8394         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8395         kernel_sigaction): Define.
8396         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8397         kernel_sigaction): Define.
8399 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8401         * math/libm-test.c: Change epsilons for libm-ieee754.
8403 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8405         * sysdeps/i386/__longjmp.S: Fix race condition.
8406         Reported by Bruno Haible <haible@ilog.fr>.
8408 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8410         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8411         * iconvdata/8bit-gap.c: Likewise.
8412         * iconvdata/8bit-generic.c: Likewise.
8413         * iconvdata/iso6937.c: Likewise.
8414         * iconvdata/iso8859-1.c: Likewise.
8415         * iconvdata/sjis.c: Likewise.
8416         * iconvdata/t61.c: Likewise.
8418 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8420         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8421         feature tests by positive feature tests.
8423 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8425         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8427 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8429         * elf/dlvsym.c (dlvsym_doit): More corrections.
8430         Patch by Andreas Jaeger.
8432 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8434         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8436 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8438         * libc.map: More reordering for GLIBC_2.1 symbols.
8440 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8442         * libc.map: Move some functions from version GLIBC_2.0 to
8443         GLIBC_2.1, reorder declarations.
8445 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8447         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8448         Patch by zab@thebrain.grumblesmurf.net.
8450 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8452         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8453         NIS+ functions with version GLIBC_2.1.
8455 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8457         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8458         with 2.0 binaries.  Reported by Thorsten Kukuk.
8460 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8462         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8464         * elf/dlsym.c (dlsym_doit): Likewise.
8466 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8468         * elf/link.h: Correct typos.
8470         * iconv/iconv_prog.c: Correct typo.
8472 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8474         * iconv/Makefile: Add rules to build and install iconv program.
8475         * iconv/iconv_prog.c: New file.
8477 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8479         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8480         _dl_lookup_symbol_skip call.
8481         * elf/dlvsym.c (dlvsym_doit): Likewise.
8483 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8485         * libio/iovsscanf.c: Do not include errno.h.
8487 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8489         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8490         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8491         pulling in the whole error list.
8492         (__dcgettext, dcgettext): Removed.
8493         * libc.map: Export _strerror_internal.
8495 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8497         * sysdeps/i386/fpu/t_exp.c: New file.
8499 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8501         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8502         everything with version GLIBC_2.1.
8503         * hesiod/libnss_hesiod.map: Likewise.
8505 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8507         * manual/arith.texi (Old-style number conversion): This node is a
8508         section, not a subsection.
8510 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8512         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8514 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8516         * elf/rtld.c (dl_main): Make sure that the library search paths
8517         have been initialized before the first call to _dl_map_object.
8519 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8521         * Makerules (common-generated): Add libc_pic.os.
8523 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8525         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8526         of the executable.
8528 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8530         * sysdeps/m68k/fpu/t_exp.c: New file.
8532 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8534         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8535         to global errno variable anymore.
8537 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8539         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8540         If PRELOADED is nonzero check in case of an SUID application
8541         whether the shared object has the SUID bit set.
8542         Fix some other problems with handling shared objects in system
8543         specific directories.
8544         (_dl_map_object): Also take extra parameter and pass it to open_path.
8545         * elf/link.h (_dl_map_object): Correct prototype and comment.
8546         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8547         * elf/dl-open.c (_dl_open): Likewise.
8548         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8550         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8552 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8554         * math/libm-test.c (modf_test): Add test for 1.5.
8556         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8557         0 to get always an int.
8559 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8561         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8562         version GLIBC_2.1.
8564 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8566         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8567         trying to read another character.
8569 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8571         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8572         name to lowercase.
8574         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8575         name to lowercase, add test for big enough buffer.
8577 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8579         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8580         Make compatible with older kernels.  Patch by Richard Henderson.
8582 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8584         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8586         * localedata/tst-locale.sh: Comment out first test for now.
8588 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8590         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8591         as 1.
8592         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8593         Likewise.
8595         * libio/iogetline.c (_IO_getline_info): Renamed from
8596         _IO_getline.
8597         (_IO_getline): Just call _IO_getline_info.
8599         * libio/libioP.h (_IO_getline_info): New declaration.
8601         * libc.map (_IO_getline_info, __write): Added.
8603 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8605         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8606         const char* to shut up gcc.
8608 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8610         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8611         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8613         * math/math.h: Define M_* constants always as `double' and add new
8614         macros M_*l which are of type `long double'.
8615         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8616         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8617         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8618         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8619         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8620         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8621         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8622         * math/libm-tst.c: Likewise.
8624         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8625         define as long double unconditionally.
8627 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8629         * manual/arith.texi (Old-style number conversion): Correct some
8630         typos.
8632 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8634         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8635         Restore.
8637         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8639 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8641         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8642         on $(rtld-ldscript).
8644         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8645         starting from 0 not only from `from'.
8646         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8648 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8650         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8651         pass value (or NULL) to _dl_init_paths.
8652         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8653         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8654         environment variable.
8655         * elf/link.h: Change prototype for _dl_init_paths.
8656         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8658         * localedata/Makefile (distribute): Add test files.
8660 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8662         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8663         test1.def, test2.def, test3.def, test4.def}: Simple input files
8664         for localedef. Contributed by Yung-Ching Hsiao
8665         <yhsiao@cae.wisc.edu>.
8667         * localedata/Makefile (tests): Call tst-locale.sh.
8669         * localedata/tst-locale.sh: New file, regression tests for some
8670         localedef problems.
8672 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8674         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8676         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8677         terminated.
8678         * nis/nss_nisplus/nisplus-network.c: Likewise.
8679         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8680         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8681         * nis/nss_nisplus/nisplus-service.c: Likewise.
8683         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8684         and support generating thread safe RPC code.
8685         * sunrpc/rpc_main.c: Add changes.
8686         * sunrpc/rpc_clntout.c: Likewise.
8687         * sunrpc/rpc_cout.c: Likewise.
8688         * sunrpc/rpc_hout.c: Likewise.
8689         * sunrpc/rpc_parse.c: Likewise.
8690         * sunrpc/rpc_sample.c: Likewise.
8691         * sunrpc/rpc_scan.c: Likewise.
8692         * sunrpc/rpc_svcout.c: Likewise.
8693         * sunrpc/rpc_util.c: Likewise.
8694         * sunrpc/rpc_util.h: Add new structs and prototypes.
8695         * sunrpc/proto.h: Remove prototypes for static functions.
8697 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8699         * locale/programs/ld-messages.c (messages_finish): Don't skip
8700         error checking when being quiet.
8701         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8702         (set_class_defaults): Likewise.
8703         * locale/programs/charmap.c (parse_charmap): Likewise.
8704         * locale/programs/ld-collate.c (collate_finish): Likewise.
8705         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8706         * locale/programs/ld-time.c (time_finish): Likewise.
8707         * locale/programs/locfile.c (write_locale_data): Likewise.
8709         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8710         unknown characters and empty ranges.
8711         * locale/programs/ld-collate.c (collate_order_elem): When
8712         processing an ellipsis properly form a linked list in the result
8713         table, fix typo when allocating ordering array.
8714         [PR libc/419]
8716 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8718         * elf/Makefile (ld-map): Define.
8719         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8720         `$(rtld-ldscript)'.
8721         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8722         on $(ld-map).
8723         (rtld-link): Combine the two versions of this definition.  Fixed
8724         to make it work when no symbol versioning is used.
8726 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8728         * Makeconfig (build-program-cmd): Use --library-path parameter to
8729         ld.so instead of environment variable.
8731         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8732         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8734 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8736         * Make-dist: Respect with-cvs setting.
8737         * MakeTAGS (all-pot): Likewise.
8738         * sysdeps/sparc/sparc32/Makefile: Likewise.
8739         * sysdeps/mach/hurd/Makefile: Likewise.
8740         * stdlib/Makefile: Likewise.
8741         * posix/Makefile: Likewise.
8742         * intl/Makefile: Likewise.
8743         * po/Makefile (linguas): Likewise
8745 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8747         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8749 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8751         * libc.map: Add __strcasecmp.
8753         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8754         module.
8756         * nss/getXXent_r.c: If no more module is found don't try to call
8757         setXXent functions but leave unsuccessfully.
8759         * malloc/obstack.h: Cleanups.
8761         * sysdeps/wordsize-32/stdint.h: New file.
8762         * sysdeps/wordsize-64/stdint.h: New file.
8763         * sysdeps/generic/stdint.h: New file.
8764         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8765         * sysdeps/wordsize-64/inttypes.h: Likewise.
8766         * stdlib/Makefile (headers): Add stdint.h.
8768 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8770         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8772 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8774         * timezone: New directory.
8775         * time/README, time/africa, time/antarctica, time/asia,
8776         time/australasia, time/backward, time/checktab.awk,
8777         time/etcetera, time/europe, time/factory, time/ialloc.c,
8778         time/iso3166.tab, time/leapseconds, time/northamerica,
8779         time/pacificnew, time/private.h, time/scheck.c,
8780         time/solar87, time/solar88, time/solar89, time/southamerica,
8781         time/systemv, time/test-tz.c, time/tzfile.h,
8782         time/tzselect.ksh, time/yearistype, time/zdump.c,
8783         time/zic.c, time/zone.tab: Moved to timezone.
8784         * time/tzfile.c: Include tzfile.h from timezone subdir.
8785         * time/tzset.c: Likewise.
8786         * time/Makefile: Cut out all code relating to timezones...
8787         * timezone/Makefile: ...and paste it in here.
8788         * Makefile (subdirs): Add timezone.
8790 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8792         * libc.map (_sys_nerr): Added.
8794         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8795         versioned symbol.
8797 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8799         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8800         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8801         Reported by Craig Metz <cmetz@inner.net>.
8803 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8805         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8806         instead of strcasecmp.
8807         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8809         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8811 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8813         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8814         Patch by Dean Gaudet <dgaudet@arctic.org>.
8816 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8818         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8820 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8822         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8823         with no poll syscall, just include the BSD version.
8824         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8825         kernel without the syscall, include the stub version.
8826         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8827         * sysdeps/generic/getresuid.c: New file.
8828         * sysdeps/generic/getresgid.c: New file.
8830 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8832         * stdio-common/vfscanf.c: Correct last change a bit.
8834 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8836         * elf/Makefile: Don't use --version-script parameter to link ld.so
8837         unconditionally.
8839 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8841         * math/Makefile: Add t_exp.
8842         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8843         constants.
8844         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8845         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8846         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8847         better accuracy.
8848         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8849         algorithm for very large/very small arguments.
8850         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8851         correct algorithm for very large/very small arguments; adjust for
8852         new table.
8853         * sysdeps/libm-ieee754/t_exp.c: New file.
8854         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8856         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8857         back, with comment that explains what breaks when you remove it :-(.
8859         * localedata/xfrm-test.c: Avoid integer overflow.
8861         * stdlib/strfmon.c: char is unsigned, sometimes.
8863         * sysdeps/powerpc/Makefile: Remove quad float support.
8864         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8865         * sysdeps/powerpc/quad_float.h: Likewise.
8866         * sysdeps/powerpc/test-arith.c: Likewise.
8867         * sysdeps/powerpc/test-arithf.c: Likewise.
8869         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8870         * sysdeps/generic/s_exp2f.c: Likewise.
8872         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8873         don't try anything if _SOFT_FLOAT.
8875 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8877         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8878         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8879         * wctype/wctype.c: Likewise.
8880         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8881         changed.  They are incompatible with the _ISxxx values from
8882         <ctype.h> on little endian machines.
8883         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8884         bit number.  This fixes the real bug and restores the integrity of
8885         the ctype locale file.
8886         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8887         * wctype/wcfuncs_l.c: Likewise.
8888         * wctype/wcextra.c: Likewise.
8889         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8890         byte swapping.
8892 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8895         into .bss segment instead of .common, so that aliases on it work.
8897         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8898         .size directives, put into .bss segment instead of initializing it
8899         to 4.
8901 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8903         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8905         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8906         functions.
8907         Make names without __ weak aliases.
8908         (__libc_release, __libc_version): Make them static.
8910         * include/gnu/libc-version.h: New file.
8911         * Makefile (headers): Add gnu/libc-version.h.
8913 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8915         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8916         and use x for member name.
8917         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8919         * stdlib/drand48.c: Change according to member name change.
8920         * stdlib/drand48_r.c: Likewise.
8921         * stdlib/lcong48_r.c: Likewise.
8922         * stdlib/lrand48.c: Likewise.
8923         * stdlib/lrand48_r.c: Likewise.
8924         * stdlib/mrand48.c: Likewise.
8925         * stdlib/mrand48_r.c: Likewise.
8926         * stdlib/seed48.c: Likewise.
8927         * stdlib/seed48_r.c: Likewise.
8928         * stdlib/srand48_r.c: Likewise.
8930 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8932         * nss/test-netdb.c: Add some more test cases.
8934 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8936         * libio/iovsscanf.c: Undo last change modifying errno.
8938 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8940         * stdio-common/vfscanf.c: Never try to read another character
8941         after EOF.  Don't decrement read_in after EOF, it wasn't
8942         incremented in the first place.
8943         (NEXT_WIDE_CHAR): Set First, not first.
8945 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8947         * db/Makefile ($(inst_libdir)/libndbm.a,
8948         $(inst_libdir)/libndbm.so): New targets.
8949         * db2/Makefile: Likewise.
8951 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8953         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8954         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8956 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8958         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8959         <streambuf.h>.
8960         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8962 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8964         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8965         versioned symbols.
8967 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8969         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8970         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8971         Added for libdl.so.
8973 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8975         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8976         extra syscall.
8978         * grp/Makefile: Fix logic when checking for thread package.
8979         * pwd/Makefile: Likewise.
8981 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8983         * elf/Makefile (rtld-map): Replaced by libc-map.
8985         * elf/rtld.map: Removed.
8987         * libc.map (__libc_enable_secure, _dl_catch_error,
8988         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8989         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8990         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8991         _dl_object_relocation_scope, _dl_relocate_object,
8992         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8993         _r_debug): Added for ld.so.
8995 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8997         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8998         DO_VERSIONING.
8999         * libio/iofdopen.c: Ditto.
9000         * libio/iofopen.c: Ditto.
9001         * libio/oldfileops.c: Ditto.
9003         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
9004         version GLIBC_2.1.
9006         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
9007         oldsiglist from sysdep_routines and shared-only-routines.
9009         * sysdeps/unix/sysv/linux/errlist.c: New.
9010         * sysdeps/unix/sysv/linux/errlist.h: New.
9011         * sysdeps/unix/sysv/linux/sizes.h: New.
9012         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
9013         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
9015         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
9017         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
9018         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
9019         directive.
9021         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
9023         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
9024         (oldsiglist.c): Removed.
9026         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
9027         (_sys_siglist): Use SYS_SIGLIST instead.
9028         (_sys_nerr): Use SYS_NERR instead.
9030         * sysdeps/gnu/errlist.c: Rebuilt.
9032 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
9034         * elf/Makefile (others-static): New, set to ldconfig.
9035         ($(objpfx)ldconfig): Removed.
9037         * Rules (binaries-all, binaries-static, binaries-shared): New.
9038         Create targets for $(binaries-static) and $(binaries-shared).
9040         * Makeconfig (+link-static, link-libc-static,
9041         link-extra-libs-static): New for static linking.
9043 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9045         * manual/memory.texi (Using the Memory Debugger): Fix typo.
9047         * math/libm-test.c (modf_test): Add one more test for modf.
9049 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
9051         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9052         Rename from __libc_have_rt_sigs and leave as COMMON data.
9054 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
9056         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
9057         of __finite.
9059 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
9061         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
9063 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
9065         * misc/tst-efgcvt.c: Add yet more tests.
9066         * misc/efgcvt_r.c: And correct for these tests again.
9067         Reported by HJ Lu.
9069         * isomac.c: Move to...
9070         * stdlib/isomac.c: ...here.
9071         * Makefile: Move rules for handling isomac...
9072         * stdlib/Makefile: ...to here.
9074 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9076         * misc/tst-efgcvt.c: Add more tests.
9077         * misc/efgcvt_r.c: Correct result for above new tests.
9079 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
9081         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9082         NDIGIT <= 0.
9084 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
9086         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
9087         if the programs weren't built.
9089 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
9091         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
9092         FE_TONEAREST, soldier on regardless and do the best we can.
9093         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
9095 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
9097         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
9098         _STDIO_H, before including <bits/stdio_lim.h>.
9100         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
9102         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
9103         exist.
9105         * sysdeps/arm/sys/ucontext.h: New file.
9107 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
9109         * manual/stdio.texi (Formatted Output Functions): Explicitly say
9110         that the return value from snprintf() does not count the
9111         terminating NUL as a character.
9113 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9115         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
9116         add description for sete[ug]id and general cleanup.
9117         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9119 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9121         * Makefile (parent-clean): Don't remove makefile fragments here.
9122         (postclean): New variable.
9123         (clean): Remove makefile fragments here.
9124         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
9125         (generated): Add isomac and isomanc.out.
9126         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
9127         avoid-generated is set.
9128         (postclean-generated): Add soversion.mk.
9129         ($(common-objpfx)version.mk): Don't include if avoid-generated is
9130         set.
9131         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
9132         avoid-generated is set.
9133         (common-generated): Add libc.so and libc.so$(libc.so-version).
9134         (generated): Add versioned libraries.
9135         (common-mostlyclean): Also remove %.so and %_pic.a.
9136         * csu/Makefile (generated): Add abi-tag.h.
9137         * db2/Makefile (extra-objs): Add getlong.o.
9138         * elf/Makefile (generated): Add ld.so, ldd and
9139         $(rtld-installed-name).
9140         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
9141         * malloc/Makefile (generated): Add mtrace.
9142         * po/Makefile: Don't include version.mk, not needed any more.
9143         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
9144         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
9145         syscall.h -> sys/syscall.h.
9146         (common-generated): Add s-proto.d.
9147         (postclean-generated): Add sysd-syscalls.
9148         * localedata/Makefile (test-output): Add all output files.
9149         (generated): Add test-input and test-output.
9150         (generated-dirs): Add all the dirs.
9152 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9154         * Makefile (test-output, generated, generated-dirs): New
9155         variables.
9157 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9159         * resolv/nss_dns/dns-host.c: Various code cleanups.
9161 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9163         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9164         From Philip Blundell <pb@nexus.co.uk>.
9165         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9167 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9169         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9170         Suggested by debian/sparc porters.
9172 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9174         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9175         for ecvt and fcvt.
9177 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9179         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9180         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9182         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9183         defined even if __USE_POSIX is not defined.
9185 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9187         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9188         to support obsolete tty major numbers correctly.
9190 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9192         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9193         directory first and ignore install error.
9195         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9196         128 from ptyno and fix a typo for the BSD style pty.
9198 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9200         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9201         syscalls.list's.
9203 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9205         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9206         getresuid and getresgid.
9208         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9209         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9211         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9212         s_getres[ug]id.
9214         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9215         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9216         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9217         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9219 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9221         * nscd/grpcache.c: Include <stdlib.h>.
9223 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9225         * stdlib/atoll.c: Fix comments.
9227         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9228         * sysdeps/posix/ttyname_r.c: Ditto.
9230 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9232         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9233         __USE_MISC, independent of __USE_UNIX98.
9235 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9237         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9238         Rename from __libc_have_rt_sigs and leave as COMMON data.
9240 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9242         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9243         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9245         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9246         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9247         version symbols.
9248         * include/libc-symbols.h (symbol_version, default_symbol_version):
9249         Provide asm versions and correct !DO_VERSIONING versions.
9250         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9251         the weak symbol list.
9253         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9254         Rename from __libc_have_rt_sigs and leave as COMMON data.
9255         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9256         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9257         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9259 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9261         * sunrpc/Makefile: Correct dependencies of rpcgen.
9263 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9265         * nscd/Makefile: Fix test for available linuxthreads add-on.
9266         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9268 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9270         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9272 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9274         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9276         * manual/errno.texi (Error Messages): Correct description of
9277         strerror_r.  Pointed out by jonas@bagge.se.
9279 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9281         * manual/socket.texi (Host Address Functions): Clarify description
9282         of inet_network.
9284 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9286         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9287         (grantpt): Delete superfluous cast.
9289 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9291         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9292         elf/ldso_install instead of elf/subdir_install.
9293         (elf/ldso_install): New target.
9295         * elf/Makefile (ldso_install): New target.
9297 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9299         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9300         of 1998-01-06.
9302 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9304         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9305         constant expressions.
9307 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9309         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9310         for __nss_configure_lookup.
9311         (output_hostent): Remove unused variable.
9313 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9315         * string/tst-inlcall.c: Fix format string.
9317 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9319         * inet/netinet/in.h: Rename second parameter of bindresvport to
9320         avoid buggy gcc warning. [PR libc/412]
9322 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9324         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9325         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9327         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9328         Follow POSIX and make tv_sec a time_t.
9329         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9330         new tv64 syscall as well as fall back to tv32.
9331         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9332         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9333         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9334         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9335         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9336         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9337         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9338         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9340         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9341         * include/rpcsvc/nis_tags.h: Likewise.
9342         * include/rpcsvc/nislib.h: Likewise.
9344 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9346         * libc.map: Add _h_errno.
9347         * inet/herrno.c: Make _h_errno weak alias.
9349         * login/Makefile (distribute): Add pty-internal.h.
9351         * nscd/Makefile (distribute): Add all the files missing.
9353         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9354         are available.
9356         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9357         and report status at the end.
9359         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9361         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9362         variable.
9363         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9367 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9369         * configure.in: Fix --enable-add-ons code.
9371 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9373         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9374         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9375         [PR libc/441]
9377         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9378         occurence in cache.  Reported by Rudolf Leitgeb
9379         <leitgeb@leland.stanford.edu>.
9380         [PR libc/440]
9382 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9384         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9385         that it never is EINTR (which is tested for in _IO_vfscanf).
9387         * Makefile.in: Call sub-make with CVSOPTS.
9389         * elf/Makefile (distribute): Add dl-procinfo.h.
9391         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9393 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9395         * version.h (VERSION): Bump to 2.0.92.
9397 1998-01-31  Phil Blundell  <philb@gnu.org>
9399         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9400         alias for __new_sys_siglist.
9402 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9404         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9405         getgrgid_r.c if thread package is available.
9406         * pwd/Makefile: Likewise.
9407         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9408         * grp/getgrgid_r.c: Likewise.
9409         * pwd/getpwnam_r.c: Likewise.
9410         * pwd/getpwuid_r.c: Likewise.
9412 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9414         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9415         with error to allow user intervention.
9416         * nss/getXXent_r.c: Likewise.
9418 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9420         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9421         AT_PLATFORM string.  Pretty print AT_BASE info.
9423         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9424         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9425         * sysdeps/generic/dl-procinfo.h: New file.
9426         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9428 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9430         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9432         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9433         thread and not pthread_detach.
9435         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9437 1998-01-31  Phil Blundell  <philb@gnu.org>
9439         * configure.in: Add --without-cvs option to suppress automatic
9440         checkin of regenerated files.
9441         * config.make.in: Likewise.
9442         * Makefile: Respect with-cvs setting.
9443         * Makerules: Likewise.
9445         * configure.in: Allow the standalone ARM port to be configured.
9447 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9449         * grp/getgrgid_r.c: Define USE_NSCD.
9450         * grp/getgrnam_r.c: Likewise.
9451         * pwd/getpwuid_r.c: Likewise.
9452         * pwd/getpwnam_r.c: Likewise.
9454         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9456         * nss/getXXbyYY_r.c: Try at first nscd.
9458         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9459         * nscd/connections.c: New file.
9460         * nscd/dbg_log.c: New file.
9461         * nscd/dbg_log.h: New file.
9462         * nscd/grpcache.c: New file.
9463         * nscd/nscd.c: New file.
9464         * nscd/nscd.h: New file.
9465         * nscd/nscd_conf.c: New file.
9466         * nscd/nscd_stat.c: New file.
9467         * nscd/pwdcache.c: New file.
9469         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9470         * nscd/nscd_getpw_r.c: Likewise.
9471         * nscd/nscd_proto.h: New, prototypes for client functions.
9473         * nscd/nscd.conf: New, example for a configuration file.
9474         * nscd/nscd.init: New, example for a startup script.
9476         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9477         avoid deadlocks.
9478         * nscd/getgrnam_r.c: Likewise.
9479         * nscd/getpwnam_r.c: Likewise.
9480         * nscd/getpwuid_r.c: Likewise.
9482 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9484         * intl/Makefile: Use CVSOPTS in cvs invocation.
9485         * po/Makefile: Likewise.
9486         * posix/Makefile: Likewise.
9487         * stdlib/Makefile: Likewise.
9489 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9491         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9492         [PR libc/410]
9493         * misc/Makefile (tests): Add tst-efgcvt.
9494         * misc/tst-efgcvt.c: New file.
9496 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9498         * posix/regex.c: Add some more cleanups by Akim Demaille.
9500 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9502         * signal/signal.h: Revert last change.
9503         * string/strsignal.c: Regard signal number NSGI as illegal.
9504         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9505         members.
9507 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9509         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9510         * Makerules: Use CVSOPTS in cvs invocation.
9511         * Makefile: Likewise.
9512         * MakeTAGS: Likewise.
9513         * Make-dist: Likewise.
9515 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9517         * sysdeps/generic/memmem.c: Correct last change.
9519 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9521         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9522         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9524 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9526         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9527         before using RPC.
9529 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9531         * manual/memory.texi (Heap Consistency Checking): mcheck is
9532         declared in <mcheck.h>.
9533         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9535 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9537         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9538         beginning of haystack.
9540 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9542         * nss/nss_files/files-service.c: Correct last patch.
9544 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9546         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9547         __libc_have_rt_sigs.
9548         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9549         including <bits/setjmp.h>.
9550         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9551         Patch from the Debian glibc/SPARC package.
9553 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9555         * sysdeps/alpha/bzero.S: Fix a typo.
9556         * sysdeps/alpha/htonl.S: Ditto.
9557         * sysdeps/alpha/htons.S: Ditto.
9559 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9561         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9563 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9565         * include/cpio.h: Move to ...
9566         * posix/cpio.h: ...here.
9568         * locale/programs/ld-collate.c: Fix typo.
9570         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9572         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9574         * login/utmp_file.c (pututline_file): Don't always report success
9575         if similar entry is found.  Patch by Mark M. Kettenis.
9577 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9579         * manual/Makefile: Don't try to install the info files if makeinfo
9580         is not available.
9582 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9584         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9585         kernel's network ioctls, rather than using <linux/sockios.h> to
9586         get them.  This way we are sure of maintaining compatibility if
9587         the kernel interface should change.
9589 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9591         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9593 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9595         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9598 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9600         Implement System V pseudoterminal handling.
9602         * login/Makefile
9603         (routines): Add getpt, grantpt, unlockpt, ptsname.
9604         (libutil-routines): Remove pty. Add openpty, forkpty.
9605         (distribute): New internal header pty-internal.h.
9606         (others): Add the helper program, pt_chown.
9607         (install-others): Install it, in $(libexecdir), mode 4755.
9609         * login/pty-internal.h: New file.
9610         * login/openpty.c: New file.
9611         * login/forkpty.c: New file.
9612         * login/programs/pt_chown.c: New file.
9614         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9615         * stdlib/stdlib.h: Prototype them.
9617         * config.make.in: Define $(libexecdir).
9618         * Makeconfig: Define $(inst_libexecdir).
9620         * sysdeps/generic/pty.c: Removed.
9621         * sysdeps/unix/sysv/linux/pty.c: Removed.
9623         * sysdeps/generic/getpt.c: Stub out.
9624         * sysdeps/generic/grantpt.c: Likewise.
9625         * sysdeps/generic/ptsname.c: Likewise.
9626         * sysdeps/generic/unlockpt.c: Likewise.
9628         * sysdeps/unix/grantpt.c: New file.
9629         * sysdeps/unix/bsd/getpt.c: New file.
9630         * sysdeps/unix/bsd/unlockpt.c: New file.
9631         * sysdeps/unix/sysv/linux/getpt.c: New file.
9632         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9633         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9635 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9637         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9639 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9641         * nss/Makefile (tests): Add rule for test-netdb.c.
9643         * nss/test-netdb.c: New file.
9645 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9647         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9648         really kept as a variable.  Patch by Richard Henderson,
9649         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9651         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9652         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9653         entries as not existing.
9655 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9657         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9658         zero in alternate form with precision of zero, which must produce
9659         "0".  Add braces to avoid ambiguous `else'.
9661 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9663         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9664         problem with strncpy.
9665         * nis/nss_compat/compat-pwd.c: Likewise.
9666         * nis/nss_compat/comapt-spwd.c: Likewise.
9668 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9670         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9671         by uch@nop.or.jp. [PR libc/437]
9673 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9675         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9677 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9679         * stdio-common/test-popen.c: Include <errno.h>.
9681         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9682         close.
9684         * inet/getnetgrent_r.c: Include <errno.h>.
9686         * db2/db/db_conv.c: Include <string.h> for memcpy.
9688         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9689         so that memcpy is declared.
9691         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9693         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9695 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9697         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9698         overflow while reading line with fgets.
9699         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9701 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9703         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9704         unsigned short, not short.
9705         Reported by Andreas Jaeger.
9707 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9709         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9710         (ccept->accept).
9712         * sysdeps/generic/inttypes.h: Fix spelling.
9714 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9716         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9718         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9720 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9722         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9723         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9724         field for hh modifier.
9725         * stdio-common/vfprint.c: Use is_char field and do not depend in
9726         is_short having the value 2.
9727         Bug reported by Andreas Jaeger.
9729 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9731         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9732         PIC && DO_VERSIONING.
9734 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9736         * Rules: Add rules for $(common-objpfx)dummy$o.
9738 1998-01-26  Richard Henderson  <rth@cygnus.com>
9740         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9741         unimplemented OSF/1 definitions so that they are not accidentally seen.
9743         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9744         of the trampoline function into the macro.
9745         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9746         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9747         kernel 2.1.82 has this fixed.
9749         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9750         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9752 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9754         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9755         support sigaction on kernels > 2.1.7x.
9757 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9759         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9760         if it is empty.
9762         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9763         Patch by David Engel <david@sw.ods.com>.
9765         * configure.in: Fix another typo in --enable-add-ons code.
9767 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9769         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9771 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9773         * nss/nss_files/files-network.c: Correct order of parameters for
9774         getnetbyaddr.
9776 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9778         * db2/Makefile (routines): Add os_alloc.
9779         * db2/db.h: Update from db-2.3.16.
9780         * db2/db_185.h: Likewise.
9781         * db2/db_int.h: Likewise.
9782         * db2/btree/bt_close.c: Likewise.
9783         * db2/btree/bt_cursor.c: Likewise.
9784         * db2/btree/bt_delete.c: Likewise.
9785         * db2/btree/bt_open.c: Likewise.
9786         * db2/btree/bt_page.c: Likewise.
9787         * db2/btree/bt_put.c: Likewise.
9788         * db2/btree/bt_rec.c: Likewise.
9789         * db2/btree/bt_recno.c: Likewise.
9790         * db2/btree/btree_auto.c: Likewise.
9791         * db2/common/db_appinit.c: Likewise.
9792         * db2/common/db_apprec.c: Likewise.
9793         * db2/common/db_err.c: Likewise.
9794         * db2/common/db_region.c: Likewise.
9795         * db2/common/db_shash.c: Likewise.
9796         * db2/db/db.c: Likewise.
9797         * db2/db/db_auto.c: Likewise.
9798         * db2/db/db_conv.c: Likewise.
9799         * db2/db/db_dispatch.c: Likewise.
9800         * db2/db/db_dup.c: Likewise.
9801         * db2/db/db_pr.c: Likewise.
9802         * db2/db/db_rec.c: Likewise.
9803         * db2/db185/db185.c: Likewise.
9804         * db2/dbm/dbm.c: Likewise.
9805         * db2/hash/hash.c: Likewise.
9806         * db2/hash/hash_auto.c: Likewise.
9807         * db2/hash/hash_dup.c: Likewise.
9808         * db2/hash/hash_page.c: Likewise.
9809         * db2/hash/hash_rec.c: Likewise.
9810         * db2/include/btree_ext.h: Likewise.
9811         * db2/include/clib_ext.h: Likewise.
9812         * db2/include/common_ext.h: Likewise.
9813         * db2/include/db.h.src: Likewise.
9814         * db2/include/db_185.h.src: Likewise.
9815         * db2/include/db_am.h: Likewise.
9816         * db2/include/db_ext.h: Likewise.
9817         * db2/include/db_int.h.src: Likewise.
9818         * db2/include/hash_ext.h: Likewise.
9819         * db2/include/lock_ext.h: Likewise.
9820         * db2/include/log.h: Likewise.
9821         * db2/include/log_auto.h: Likewise.
9822         * db2/include/log_ext.h: Likewise.
9823         * db2/include/mp.h: Likewise.
9824         * db2/include/mp_ext.h: Likewise.
9825         * db2/include/mutex_ext.h: Likewise.
9826         * db2/include/os_ext.h: Likewise.
9827         * db2/include/os_func.h: Likewise.
9828         * db2/include/txn_ext.h: Likewise.
9829         * db2/lock/lock.c: Likewise.
9830         * db2/lock/lock_util.c: Likewise.
9831         * db2/log/log.c: Likewise.
9832         * db2/log/log.src: Likewise.
9833         * db2/log/log_archive.c: Likewise.
9834         * db2/log/log_auto.c: Likewise.
9835         * db2/log/log_get.c: Likewise.
9836         * db2/log/log_put.c: Likewise.
9837         * db2/log/log_rec.c: Likewise.
9838         * db2/log/log_register.c: Likewise.
9839         * db2/mp/mp_bh.c: Likewise.
9840         * db2/mp/mp_fget.c: Likewise.
9841         * db2/mp/mp_fopen.c: Likewise.
9842         * db2/mp/mp_fput.c: Likewise.
9843         * db2/mp/mp_pr.c: Likewise.
9844         * db2/mp/mp_sync.c: Likewise.
9845         * db2/mutex/mutex.c: Likewise.
9846         * db2/os/os_alloc.c: Likewise.
9847         * db2/os/os_config.c: Likewise.
9848         * db2/os/os_stat.c: Likewise.
9849         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9850         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9851         * db2/progs/db_load/db_load.c: Likewise.
9852         * db2/progs/db_printlog/db_printlog.c: Likewise.
9853         * db2/progs/db_recover/db_recover.c: Likewise.
9854         * db2/progs/db_stat/db_stat.c: Likewise.
9855         * db2/txn/txn.c: Likewise.
9857         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9858         Unmap memory blocks in reverse order of allocation.
9859         Call munmap with load address added to offset.
9860         Bug reported by Miguel de Icaza.
9862         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9863         up weight array.
9865         * localedata/locales/cs_CZ: Update by Michael Mraka
9866         <michael@informatics.muni.cz>.
9868         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9869         __USE_BSD.
9871         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9872         reading line with fgets.
9873         * nis/nss_compat/compat-pwd.c: Likewise.
9874         * nis/nss_compat/compat-spwd.c: Likewise.
9875         * nss/nss_files/files-XXX.c: Likewise.
9876         * nss/nss_files/files-alias.c: Likewise.
9877         * shadow/fgetspent_r.c: Likewise.
9879         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9881         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9882         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9883         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9885         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9886         FP register content in ucontext_t.
9888 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9890         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9891         calculation.  Patch by Markus Schoder
9892         <Markus.Schoder@dresdner-bank.de>.
9894         * math/libm-test.c (modf_test): Add more tests for modf.
9896         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9897         munlock according to Unix98.
9899 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9901         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9902         AF_INET.
9904 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9906         * sysdeps/posix/ttyname.c: Handle symbolic links.
9907         * sysdeps/posix/ttyname_r.c: Ditto.
9909 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9911         * db2/makedb.c (process_input): Write terminating \0 for value.
9912         (print_database): Simply print value string, don't use length.
9914 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9916         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9917         exit of loop.
9919 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9921         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9922         close all sockets.
9924 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9926         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9927         sigset.
9928         * signal/sighold.c: New file.
9929         * signal/sigrelse.c: New file.
9930         * sysdeps/generic/sigignore.c: New file.
9931         * sysdeps/generic/sigset.c: New file.
9932         * sysdeps/posix/sigignore.c: New file.
9933         * sysdeps/posix/sigset.c: New file.
9934         * signal/signal.h: Add prototypes for new functions.
9936         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9937         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9938         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9939         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9941 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9943         * posix/wordexp.c: Added IFS field-splitting in parameter and
9944         command substitution.  Fixed an IFS-related bug that caused an
9945         infinite loop.
9947 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9949         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9950         and swapcontext.
9951         * stdlib/ucontext.h: Correct prototypes.
9952         * sysdeps/generic/getcontext.c: New file.
9953         * sysdeps/generic/setcontext.c: New file.
9954         * sysdeps/generic/makecontext.c: New file.
9955         * sysdeps/generic/swapcontext.c: New file.
9956         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9958 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9960         * resource/sys/resource.h: Remove #include of ulimit.h which is
9961         not allowed by SUSv2 and not available on other systems.
9962         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9964         * streams/Makefile: New file.
9965         * streams/stropts.h: New file.
9966         * sysdeps/generic/bits/stropts.h: New file.
9967         * sysdeps/generic/isastream.c: New file.
9968         * sysdeps/generic/getmsg.c: New file.
9969         * sysdeps/generic/getpmsg.c: New file.
9970         * sysdeps/generic/putmsg.c: New file.
9971         * sysdeps/generic/putpmsg.c: New file.
9972         * sysdeps/generic/fattach.c: New file.
9973         * sysdeps/generic/fdetach.c: New file.
9974         * sysdeps/unix/inet/Subdirs: Add streams.
9975         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9976         __t_uscalar_t.
9977         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9978         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9979         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9980         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9982         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9983         handle small buffers correctly.
9985 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9987         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9988         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9989         and _dl_runtime_profile.
9991 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9993         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9994         * posix/Makefile (headers): Add cpio.h.
9996 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9998         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9999         to routines.
10000         * nis/nis_cache.c: New file.
10001         * nis/nis_cache2.h: New file.
10002         * nis/nis_cache2_xdr.c: New file.
10003         * nis/nis_call.c: Changes for cache2_info parameter.
10004         * nis/nis_checkpoint.c: Likewise.
10005         * nis/nis_intern.h: Likewise.
10006         * nis/nis_mkdir.c: Likewise.
10007         * nis/nis_ping.c: Likewise.
10008         * nis/nis_rmdir.c: Likewise.
10009         * nis/nis_server.c: Likewise.
10010         * nis/nis_util.c: Likewise.
10012 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10014         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
10015         return/errnop codes.
10016         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10017         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10018         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10019         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10020         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10021         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10022         * nis/nss_nisplus/nisplus-rpc.c: Likewise
10023         * nis/nss_nisplus/nisplus-service.c: Likewise.
10024         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10026 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10028         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
10029         * nis/nss_nis/nis-ethers.c: Likewise.
10030         * nis/nss_nis/nis-grp.c: Likewise.
10031         * nis/nss_nis/nis-hosts.c: Likewise.
10032         * nis/nss_nis/nis-network.c: Likewise.
10033         * nis/nss_nis/nis-proto.c: Likewise.
10034         * nis/nss_nis/nis-hosts.c: Likewise.
10035         * nis/nss_nis/nis-network.c: Likewise.
10036         * nis/nss_nis/nis-proto.c: Likewise.
10037         * nis/nss_nis/nis-publickey.c: Likewise.
10038         * nis/nss_nis/nis-pwd.c: Likewise.
10039         * nis/nss_nis/nis-rpc.c: Likewise.
10040         * nis/nss_nis/nis-service.c: Likewise.
10041         * nis/nss_nis/nis-spwd.c: Likewise.
10043 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
10045         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
10046         Added to follow latest kernel development.
10048 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
10050         * nss/db-Makefile: Handle empty and comment lines better.
10051         ($(VAR_DB)/services.db): Generate entries with missing protocol
10052         value.
10054 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10056         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
10057           NULL.
10058           (getservbyname): Allow proto == NULL.
10059           Pointed out by David N. Welton <davidw@gate.cks.com>.
10060           [PR libc/430].
10062 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
10064         * nis/nislib/nislib.h: Finally removed.
10066         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
10067         C compiler.  From Kaveh Ghazi.
10068         (TYPE_MINIMUM): Define.
10069         (TYPE_MAXIMUM): Define.
10070         (TIME_T_MIN): Use TYPE_MINIMUM.
10071         (TIME_T_MAX): Use TYPE_MAXIMUM.
10072         Patch by Jim Meyering <meyering@ascend.com>.
10074 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
10076         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
10077         __pread64, __pwrite64, and __getpid.
10079         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
10080         versions.
10082 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10084         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
10085         cancelable socket functions as __libc_xxx with __xxx as weak
10086         alias.
10087         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
10088         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10090         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
10091         redefined.
10092         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10093         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
10094         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10095         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10097         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
10098         and __xxx a weak alias.
10099         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10100         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10101         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10102         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10103         * sysdeps/unix/sysv/linux/send.S: Likewise.
10104         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10105         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10107 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10109         * locale/langinfo.h: Add defines.
10111         * dirent/dirent.h: Add defines for DT_*, check also for
10112         _DIRENT_HAVE_D_TYPE.
10113         Suggested by Roland McGrath.
10115 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10117         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
10118         Update from Linux 2.1.73+79.
10120         * README.template: Update information about possible
10121         configurations.
10123         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
10124         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10125         [PR libc/417].
10127         * manual/time.texi (Priority): Correct description of
10128         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10129         [PR libc/416].
10131 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
10133         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
10134         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
10136 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
10138         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
10139         Andreas Jaeger.
10141 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
10143         * locale/programs/ld-collate.c: Little optimizations.
10145         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10147         * string/Makefile (tests): Add tst-inlcall.
10148         * string/tst-inlcall.c: New file.
10150         * string/strsignal.c: Add support for real-time signals.
10152         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10153         presense of small buffer.
10155         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10157         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10158         for i686.
10160         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10161         _NSIG + 1.
10163 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10165         * Rules: Add explicit rule for dummy.o; at least one library needs
10166           it and it isn't autogenerated by the default rules.
10168 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10170         * math/libm-test.c: Tweak epsilons.
10172 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10174         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10175         child.
10176         (feenv_mask_test): Likewise.
10178 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10180         * Makeconfig: Don't export CPPFLAGS.
10182 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10184         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10185         message.
10187 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10189         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10190         terminating null in key size.
10192 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10194         * nss/nss_files/files-service.c: Fix allocation size to include
10195         length of PROTO.
10197         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10198         applicable.  Fix return value and error checking.
10199         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10200         unparsable lines.
10201         (DB_LOOKUP): Allocate space for terminating null byte.
10203         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10204         uids specially.
10206         * db2/makedb.c (process_input): Continue processing if a duplicate
10207         key is encountered.
10209 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10211         * time/tzfile.h: Updated from tzcode1998b.
10212         * time/zdump.c: Likewise.
10213         * time/zic.c: Likewise.
10214         * time/africa: Update from tzdata1998b.
10215         * time/antarctica: Likewise.
10216         * time/asia: Likewise.
10217         * time/australasia: Likewise.
10218         * time/etcetera: Likewise.
10219         * time/europe: Likewise.
10220         * time/leapseconds: Likewise.
10221         * time/northamerica: Likewise.
10222         * time/southamerica: Likewise.
10224 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10226         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10227         lookups ignoring case.
10228         * nss/nss_files/files-network.c: Do network lookups ignoring
10229         case.
10230         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10231         case.
10232         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10233         case insensitive comparing.
10234         Patches by Cristian Gafton <gafton@redhat.com>.
10236 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10238         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10239         by Roland McGrath. [PR libc/395]
10241 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10243         * manual/arith.texi (Parsing of Integers): Correct description of
10244         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10245         [PR libc/396]
10247 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10249         * misc/lsearch.c (lsearch): Return a pointer to the new element
10250         if one was "allocated".
10252 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10254         * string/strsignal.c: NSIG is not a valid index into
10255         _sys_siglist.  Don't zap the last character of the "Unknown
10256         signal" message.
10258 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10260         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10261         ellipsis expressions.
10263         * locale/programs/charset.c (insert_char): Correctly insert value
10264         of eliipsis expression.
10266 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10268         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10269         <bits/setjmp.h>.
10270         * sysdeps/powerpc/setjmp.S: Likewise.
10271         Patches by Matt McLean <keys@keys.got.net>.
10273         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10275         * Makefile: Undo last patch.
10276         (distribute): Add test-installation.pl.
10278         * configure.in: Correct handling of --enable-add-ons without parameter.
10279         Correct address of WWW pages.
10281         * libc.map: Add _nl_domain_bindings.
10283         * db2/mutex/tsl_parisc.s: New file.
10285         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10286         and extra-module.mk.
10288         * localedata/Makefile (distribute): New.  Add all the files.
10290         * stdlib/Makefile (headers): Add inttypes.h.
10291         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10292         * sysdeps/generic/inttypes.h: New file.
10293         * sysdeps/generic/strtoimax.c: New file.
10294         * sysdeps/generic/strtoumax.c: New file.
10295         * sysdeps/generic/wcstoimax.c: New file.
10296         * sysdeps/generic/wcstoumax.c: New file.
10297         * sysdeps/wordsize-32/Dist: Removed.
10298         * sysdeps/wordsize-32/Makefile: Removed.
10299         * sysdeps/wordsize-64/Dist: Removed.
10300         * sysdeps/wordsize-64/Makefile: Removed.
10301         * sysdeps/generic/bits/environments.h: New file.
10303         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10304         header is still not correct.
10306         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10307         * posix/unistd.h: Likewise.
10308         * sysdeps/generic/sys/mman.h: Likewise.
10309         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10311         * manual/arith.texi: Change definition of mul macro.
10312         * manual/math.texi: Likewise.
10314         * misc/Makefile (routines): Add mmap64.
10315         * sysdeps/generic/mmap64.c: New file.
10316         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10317         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10318         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10319         aliases to mmap.
10320         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10322         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10324         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10326         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10328         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10329         FOPEN_MAX also when included by limits.h.
10330         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10332         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10333         and netrom/netrom.h.
10334         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10335         oldsiglist to sysdep_routines, not aux.
10336         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10338         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10339         and SOL_NETROM definition.
10341         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10343         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10344         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10346 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10348         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10350         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10351         sa_handler with k_sa_handler.
10352         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10353         strong alias.
10354         Reported by a sun.
10356         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10357         __libc_have_rt_sigs here.
10358         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10359         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10360         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10361         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10363 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10365         * sysdeps/powerpc/atomicity.h: New file.
10366         * sysdeps/mach/powerpc/machine-lock.h: New file.
10368         * Rules: Use -fpic to build anything that might end up in a users'
10369         shared library.
10371         * sysdeps/powerpc/s_fdim.c: New file.
10372         * sysdeps/powerpc/s_fdimf.c: New file.
10373         * sysdeps/powerpc/s_fmax.S: New file.
10374         * sysdeps/powerpc/s_fmaxf.S: New file.
10375         * sysdeps/powerpc/s_fmin.S: New file.
10376         * sysdeps/powerpc/s_fminf.S: New file.
10377         * sysdeps/powerpc/s_llrint.c: Now is for double.
10378         * sysdeps/powerpc/s_llrintf.c: New file.
10379         * sysdeps/powerpc/s_llround.c: Now is for double.
10380         * sysdeps/powerpc/s_llroundf.c: New file.
10381         * sysdeps/powerpc/s_lrint.c: Now is for double.
10382         * sysdeps/powerpc/s_lrintf.S: New file.
10383         * sysdeps/powerpc/s_lround.c: Now is for double.
10384         * sysdeps/powerpc/s_lroundf.c: New file.
10385         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10386         lrintf, fdim, fdimf.
10388         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10389         file directly, use its parent.
10391         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10392         (for the third time).
10394 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10396         * posix/sched.h: timespec is in <time.h>.
10398         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10400 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10402         * configure.in: Stop with error if --disable-static is used when
10403         the shared lib uses this library.
10405         * gen-FAQ.pl: I've perl installed in /usr/bin.
10407         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10409         Fix Unix98 conformance problems in the headers.
10410         * catgets/nl_types.h: Define nl_item.
10411         * grp/grp.h: Define gid_t.
10412         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10413         * include/nl_types.h: New file.
10414         * include/ulimit.h: New file.
10415         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10416         constants in POSIX mode.
10417         * io/utime.h: Get definition for time_t.
10418         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10419         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10420         * libio/stdio.h: Define va_list.  Make snprintf also available is
10421         __USE_UNIX98.  Declare getopt function and variables.
10422         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10423         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10424         * math/math.h: Defined M_* constants as double for Unix98 mode.
10425         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10426         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10427         * posix/regex.h: Define REG_NOSYS.
10428         * posix/wordexp.h: Define WRDE_NOSYS.
10429         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10430         500 for Unix98.
10431         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10432         somewhere else as well.  Define clock_t for Unix98.
10433         * posix/sys/wait.h: Define pid_t.
10434         * pwd/pwd.h: Define gid_t, uid_t.
10435         * resource/Makefile (headers): Add ulimit.h.
10436         * resource/ulimit.h: New file.
10437         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10438         instead of second argument.
10439         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10440         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10441         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10442         * signal/signal.h: Define pid_t.
10443         * string/string.h: Don't declare BSD string functions in POSIX mode.
10444         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10445         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10446         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10447         and POSIX.
10449         * inet/test_ifindex.c: Change test so that it does not fail for
10450         interface aliases.
10452         * locale/programs/locale.c (show_info): Use correct cast sequence
10453         for 64bit machines.
10455         * malloc/malloc.c: __malloc_initialized now signals three states:
10456         uninitialized, initializing, initialized.  Used in mcheck.
10457         * malloc/mcheck.c (mabort): Add '\n' to messages.
10458         (mcheck): Allow installation when malloc is uninitialized or is
10459         just initializing.
10461         * manual/memory.texi: Explain mtrace output a bit more.
10463         * math/libm-test.c: Add more epsilons.
10465         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10467         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10468         instead of strcpy for security.
10469         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10470         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10471         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10473         * nss/digits_dots.c: Pretty print.
10475         * posix/getconf.c (vars): Add symbols for programming environment
10476         recognition.  Recognize --version.
10478         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10479         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10480         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10482         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10483         __need_FOPEN_MAX.
10484         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10485         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10486         __need_FOPEN_MAX.
10488         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10489         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10491         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10492         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10493         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10494         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10495         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10496         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10498         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10499         SCNu*.
10500         * sysdeps/wordsize-64/inttypes.h: Likewise.
10502         * time/africa: Update from tzdata1997j.
10503         * time/antarctica: Likewise.
10504         * time/asia: Likewise.
10505         * time/australasia: Likewise.
10506         * time/backward: Likewise.
10507         * time/etcetera: Likewise.
10508         * time/europe: Likewise.
10509         * time/factory: Likewise.
10510         * time/northamerica: Likewise.
10511         * time/pacificnew: Likewise.
10512         * time/southamerica: Likewise.
10514         * time/tzfile.h: Update from tzcode1997h.
10515         * time/zic.c: Likewise.
10517         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10518         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10519         isw*() functions for Unix98.
10520         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10521         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10522         is defined.
10524 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10526         * locale/duplocale.c: Increase usage_count only if less than
10527         MAX_USAGE_COUNT.
10528         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10529         MAX_USAGE_COUNT.
10530         * locale/setlocale.c: Likewise.
10532 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10534         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10535         dependency to make it easier to install it selectively.
10537         * Makerules (.SUFFIXES): Don't define any suffixes.
10539 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10541         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10542         * sysdeps/generic/statfs64.c: Emulate using statfs.
10543         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10544         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10545         * sysdpes/generic/ftruncate64.c: New file.
10546         * sysdpes/generic/truncate64.c: New file.
10548         * sysdeps/generic/bits/stat.h: Add LFS support.
10549         * sysdeps/generic/bits/statfs.h: Likewise.
10551         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10552         [__USE_FILE_OFFSET64]: Make long long constant.
10553         (RLIM64_INFINITY): Likewise.
10555         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10556         for LFS support.
10557         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10558         * sysdeps/generic/bits/resource.h: Likewise.
10560         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10562         * include/features.h: Don't prevent LFS support from defining BSD
10563         and SYSV things.
10565         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10566         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10567         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10569         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10570         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10571         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10573         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10574         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10575         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10576         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10577         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10578         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10579         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10580         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10581         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10582         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10583         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10584         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10585         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10586         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10587         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10588         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10589         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10590         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10591         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10592         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10594         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10595         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10596         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10597         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10598         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10600         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10601         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10602         [$(subdir)=dirent]: Add getdents64.
10603         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10605         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10607 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10609         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10611         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10612         * sysdeps/generic/getrlimit64.c: Likewise.
10613         * sysdeps/generic/setrlimit.c: Likewise.
10614         * sysdeps/generic/setrlimit64.c: Likewise.
10616 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10618         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10619         using versioning.
10621         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10623         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10625 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10627         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10628         after the codeset name.
10630 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10632         * libc.map: Add get_kernel_syms.
10634 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10636         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10637         static.
10638         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10639         Likewise.  Fix condition.
10641 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10643         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10645 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10647         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10648         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10650 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10652         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10653         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10654         instead.  Oops.
10656 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10658         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10660 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10662         * math/libm-test.c (catanh_test): Change epsilon.
10663         Reported by H.J. Lu.
10665 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10667         * libc.map (__getpid): Added for linuxthreads.
10669 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10671         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10672         it if gcc uses static variable in DWARF2 unwind information
10673         for exception support.
10675         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10677         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10678         HAVE_DWARF2_UNWIND_INFO_STATIC.
10680         * libc.map (__register_frame*, __deregister_frame*): Make them
10681         global.
10683 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10685         * math/libm-test.c: Add more tests for "normal" values.
10687 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10689         * stdio-common/printf_fphex.c: Fix printing of long double number
10690         with a biased exponent of zero.  Fix rounding.
10692 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10694         * sunrpc/rpc_main.c: Accept new flag -$.
10695         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10697 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10699         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10700         dynamic linker first, in case the interface has changed.
10702 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10704         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10705         order.
10707 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10709         * math/tgmath.h: Check for double first, for architectures where
10710         sizeof (long double) == sizeof (double).
10712 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10714         * math/libm-test.c: New tests for "normal" values added for most
10715         functions.
10717 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10719         * version.h (VERSION): Bump to 2.0.91.
10721         * db2/makedb.c (process_input): Fix typo in message.
10722         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10724         * elf/dynamic-link.h: Pretty print.
10726         * elf/rtld.c: Allow multiple preloading of a shared object.
10728         * include/limits.h: Prevent multiple inclusion.
10730         * malloc/Makefile (headers): Add mcheck.h.
10731         (distribute): Remove it here.
10732         * malloc/mcheck.h: Pretty print.
10733         * malloc/mtrace.c (mallenv): Make `const'.
10734         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10735         are none.
10736         * manual/memory.texi: Update descriptor of malloc hooks.
10738         * posix/Makefile (routines): Add waitid.
10739         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10740         on __id_t.
10741         * posix/sys/wait.h: Define idtype_t type.
10742         Add prototype for waitid.
10743         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10744         * sysdeps/generic/waitid.c: Stub for waitid.
10745         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10746         the __need_siginfo_t defined.
10747         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10748         * sysdeps/generic/bits/types.h: Define __id_t.
10749         Correct definition of __FDMASK.
10750         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10751         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10752         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10754         * sysdeps/posix/waitid.c: New file.
10755         Provided by Zack Weinberg.
10757         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10759         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10760         Add missing parameters.
10762         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10763         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10764         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10765         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10766         initialized.
10768         * sysdeps/i386/dl-machine.h: Little cleanup.
10770         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10771         (__finite): Mark function as const.
10772         Add inline code for __ieee754_atan2.
10774         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10775         (but don't use it now).
10776         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10777         __atan.
10778         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10779         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10780         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10781         real part.
10782         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10783         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10784         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10785         __ieee754_atan2 to base 10.
10786         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10787         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10789         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10790         old_kernel_sigaction.
10792         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10794         * wctype/Makefile (routines): Add wctype_l.
10795         * wctype/wctype.h: Add declaration of __wctype_l.
10796         * wctype/wctype_l.c: New file.
10798 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10800         * locale/C-ctype.c: Correct data for isw* functions.
10801         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10802         byte order.
10803         * wctype/test_wctype.c: Add test for isw* functions.
10804         * wctype/wctype.c: Return value with expected byte order.
10806 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10808         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10810 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10812         * iconvdata/Makefile: Fix a typo.
10814         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10815         oldsiglist for shared library.
10817         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10818         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10820         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10821         sys_siglist, sys_sigabbrev): New file. Make them as the old
10822         version GLIBC_2.0.
10824         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10825         to GLIBC_2.1.
10827 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10829         * libio/iofgets.c (_IO_fgets): Return an error only if there
10830         is a new error.
10831         * libio/iogets.c (_IO_gets): Ditto.
10833 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10835         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10837         * libio/Makefile (routines, shared-only-routines): Add
10838         oldiofdopen.
10840         * libio/fileops.c: Don't use _IO_FILE_complete.
10841         * libio/iofdopen.c: Ditto.
10842         * libio/iofopen.c: Ditto.
10843         * libio/iofopen64.c: Ditto.
10844         * libio/iopopen.c: Ditto.
10845         * libio/iovdprintf.c: Ditto.
10847         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10849         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10850         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10852         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10853         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10855         * libio/libio.h (_IO_FILE): Add more fields.
10856         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10857         one if _IO_USE_OLD_IO_FILE is defined
10858         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10859         them _IO_FILE_complete.
10861         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10862         to adjust vtable.
10863         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10864         _IO_JUMPS.
10865         (_IO_FILE_complete): Commented out.
10867         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10868         * libio/oldiofclose.c: Ditto.
10869         * libio/oldiofopen.c: Ditto.
10870         * libio/oldstdfiles.c: Ditto.
10872         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10873         for the old _IO_FILE.
10875         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10876         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10877         and stderr.
10879         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10880         and remove INAME.
10882         * libio/stdio.c (stdin, stdout, stdin): Don't use
10883         _IO_FILE_complete.
10885         * libio/oldiofdopen.c: New.
10887         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10888         hp->_vtable_offset to 0.
10890 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10892         * libc.map (_IO_file_open): Added.
10894         * libio/libioP.h (_IO_file_open): Declared.
10896         * libio/fileops.c (_IO_file_open): New.
10897         (_IO_file_fopen): Call _IO_file_open ().
10899         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10900         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10902 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10904         * signal/signal.h: Fix selection of signal semantics to match
10905         comment.
10907 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10909         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10910         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10911         rt_sigreturn.
10912         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10913         [$(subdir)=signal]: Remove rt_sigreturn.
10914         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10915         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10916         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10918 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10920         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10921         declarations.
10923 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10925         * iconvdata/extra-module.mk: Expand extra-objs now.
10927 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10929         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10930         inline functions by feature tests to avoid warning about missing
10931         prototype declarations.
10933 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10935         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10936         return code for non existent +name entries.
10937         * nis/nss_compat/compat-pwd.c: Likewise.
10938         * nis/nss_compat/compat-spwd.c: Likewise.
10940 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10942         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10943         (EIO): Likewise.
10944         (ENOSPC): Likewise.
10945         (EEXIST): Likewise.
10946         (__errno_location): Likewise.
10948         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10950         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10952 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10954         * sunrpc/publickey.c: Use new NSS interface.
10956 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10958         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10960 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10962         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10963         value, to match spirit of the standard.
10964         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10965         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10966         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10968 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10970         * manual/signal.texi (Signal Stack): Remove spurious @item.
10972 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10974         * rt/aio.h: Remove double semicolon.
10976         * rt/librt.map: Add aio_init.
10978 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10980         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10981         * Makefile (subdirs): Replace rt by $(rt).
10983         * shlib-versions: Use version .2 for NSS modules.
10985         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10986         argument.
10987         * pwd/fgetpwent_r.c: Likewise.
10988         * spwd/fgetspent_r.c: Likewise.
10989         * spwd/sgetspent_r.c: Likewise.
10990         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10991         Store error number in *ERRNOP.  Little optimization.
10992         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10993         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10994         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10995         (__internal_getnetgrent_r): New argument.
10996         Call __internal_setnetgrent_reuse with new argument.
10997         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10998         * inet/netgroup.h: Add argument to prototypes.
10999         * nis/nisplus-parser.h: Likewise.
11000         * nis/nss_compat/compat-grp.c: Change everything to store error
11001         code through provided pointer and not use errno.
11002         * nis/nss_compat/compat-pwd.c: Likewise.
11003         * nis/nss_compat/compat-spwd.c: Likewise.
11004         * nis/nss_nis/nis-alias.c: Likewise.
11005         * nis/nss_nis/nis-ethers.c: Likewise.
11006         * nis/nss_nis/nis-grp.c: Likewise.
11007         * nis/nss_nis/nis-hosts.c: Likewise.
11008         * nis/nss_nis/nis-netgrp.c: Likewise.
11009         * nis/nss_nis/nis-network.c: Likewise.
11010         * nis/nss_nis/nis-proto.c: Likewise.
11011         * nis/nss_nis/nis-publickey.c: Likewise.
11012         * nis/nss_nis/nis-pwd.c: Likewise.
11013         * nis/nss_nis/nis-rpc.c: Likewise.
11014         * nis/nss_nis/nis-service.c: Likewise.
11015         * nis/nss_nis/nis-spwd.c: Likewise.
11016         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11017         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11018         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11019         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11020         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
11021         * nis/nss_nisplus/nisplus-network.c: Likewise.
11022         * nis/nss_nisplus/nisplus-parser.c: Likewise.
11023         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11024         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
11025         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11026         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11027         * nis/nss_nisplus/nisplus-service.c: Likewise.
11028         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11029         * nss/nss_db/db-XXX.c: Likewise.
11030         * nss/nss_db/db-alias.c: Likewise.
11031         * nss/nss_db/db-netgrp.c: Likewise.
11032         * nss/nss_files/files-XXX.c: Likewise
11033         * nss/nss_files/files-alias.c: Likewise
11034         * nss/nss_files/files-netgrp.c: Likewise
11035         * nss/nss_files/files-parse.c: Likewise
11036         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
11037         parameter of get functions.
11038         * nss/getXXent_r.c: Likewise.
11040         * localedata/tst-fmon.c: Print debug info if test fails.
11042         * rt/Makefile (routines): Add aio_notify.
11043         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
11044         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
11045         * rt/aio_fsync.c: Likewise.
11046         * rt/aio_misc.c: Likewise.
11047         * rt/aio_misc.h: Likewise.
11048         * rt/aio_read.c: Likewise.
11049         * rt/aio_read64.c: Likewise.
11050         * rt/aio_suspend.c: Likewise.
11051         * rt/aio_write.c: Likewise.
11052         * rt/aio_write64.c: Likewise.
11053         * rt/lio_listio.c: Likewise.
11054         * rt/lio_listio64.c: Likewise.
11055         * rt/aio_notify.c: New file.
11057         * sysdeps/generic/bits/sigset.h: Pretty print.
11059         * sysdeps/posix/pwrite.c: Define weak alias only if function is
11060         really defined as __pwrite.
11062         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
11063         instead of pread64.
11064         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11066         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11067         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
11068         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
11069         size in syscall.
11070         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11071         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11072         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
11073         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11075         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11076         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
11077         for ACT being NULL.
11078         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
11079         RT signals.
11080         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
11081         __NR_pread is not defined.
11082         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
11083         __NR_pwrite is not defined.
11085 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11087         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
11088         handle for /etc/group back in some more cases.
11089         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
11090         handle for /etc/passwd back in some more cases.
11091         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
11092         handle for /etc/shadow back in some more cases.
11094 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
11096         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
11097         beyound its size.
11098         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
11099         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
11101 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
11103         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
11104         handling.  Don't use macros, we need functions.  Use inline functions
11105         for optimization.
11106         * sysdeps/wordsize-64/inttypes.h: Likewise.
11107         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
11108         and wcstoumax.
11109         * sysdeps/wordsize-64/Makefile: Likewise.
11110         * sysdeps/wordsize-32/Dist: Likewise.
11111         * sysdeps/wordsize-64/Dist: Likewise.
11112         * sysdeps/wordsize-32/strtoimax.c: New file.
11113         * sysdeps/wordsize-32/strtoumax.c: New file.
11114         * sysdeps/wordsize-32/wcstoimax.c: New file.
11115         * sysdeps/wordsize-32/wcstoumax.c: New file.
11116         * sysdeps/wordsize-64/strtoimax.c: New file.
11117         * sysdeps/wordsize-64/strtoumax.c: New file.
11118         * sysdeps/wordsize-64/wcstoimax.c: New file.
11119         * sysdeps/wordsize-64/wcstoumax.c: New file.
11121 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
11123         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
11124         that transparent union works.
11125         * sysdeps/generic/wait4.c (__wait4): Likewise.
11126         * sysdeps/generic/wait.c (__wait): Likewise.
11128         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
11129         size_t.
11131         * sysdeps/generic/syscall.c (syscall): Return value and arg are
11132         long, to match prototype.
11134         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
11135         have mremap() yet.
11137         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
11139         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
11141         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
11143         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
11144         __rlim_t.
11146         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11148         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11150         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11151         __S_IFLNK.
11153         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11154         <bits/stdio_lim.h>.
11155         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11157 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11159         * posix/sys/wait.h: Don't use transparent unions in C++.
11161 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11163         * time/time.h: Add strfxtime.
11165         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11166         sysv_signal, strfxtime, pread64, pwrite64.
11168 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11170         Alpha changes for EGCS:
11171         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11172         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11173         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11174         (_start): Likewise.
11175         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11177 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11179         The kernel expects the arguments in a different order.
11180         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11181         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11183         * FAQ.in: New file.
11184         * gen-FAQ.pl: New file.
11185         * Makefile (FAQ): Add rule to generate from FAQ.in.
11187         * iconvdata/Makefile: Treat libJIS like the other modules.
11189         * rt/librt.map: New file.
11191         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11192         inclusion.
11193         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11194         comment.
11196 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11198         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11199         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11200         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11201         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11203 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11205         * string/bits/string2.h: Fix spellings.
11207         * string/string.h: Fix spellings.
11209 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11211         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11212         declaration to __syscall_rt_sigaction.
11214         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11215         non-existant <sigcontext.h>.
11217 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11219         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11220         typo.
11222 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11224         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11226         * Makeconfig (shared-thread-library): Correct spelling.
11228         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11229         <asm/pci.h>.
11231 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11233         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11234         constants from Linux headers. Pointed out by
11235         csmall@scooter.o.i.net. [PR libc/369]
11237 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11239         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11241 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11243         * configure.in: If --enable-add-ons is given without an
11244         argument, set the addons list to all subdirs with a configure
11245         script.
11247 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11249         * Makeconfig: Add shared-thread-library variable.
11251         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11252         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11253         here.
11254         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11255         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11256         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11257         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11258         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11259         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11260         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11261         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11262         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11263         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11264         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11265         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11266         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11267         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11268         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11269         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11270         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11271         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11272         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11273         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11274         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11275         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11276         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11277         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11278         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11280         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11281         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11282         * signal/Makefile (headers): Add bits/siginfo.h.
11283         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11284         (distribute): Add testrtsig.h.
11285         * signal/allocrtsig.c: New file.
11286         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11287         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11288         __libc_current_sigrtmax.
11289         * sysdeps/generic/sigqueue.c: New file.
11290         * sysdeps/generic/sigtimedwait.c: New file.
11291         * sysdeps/generic/sigwaitinfo.c: New file.
11292         * sysdeps/generic/testrtsig.h: New file.
11293         * sysdeps/generic/bits/siginfo.h: New file.
11294         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11295         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11296         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11297         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11298         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11299         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11300         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11301         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11302         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11303         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11304         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11305         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11306         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11307         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11308         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11309         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11310         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11311         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11312         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11313         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11314         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11315         and _POSIX_REALTIME_SIGNALS.
11316         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11317         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11318         update _NSIG.
11319         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11320         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11321         definitions.
11323         * Makefile (subdirs): Add rt.
11324         * shlib-versions: Add entry for librt.
11325         * rt/Makefile: New file.
11326         * rt/aio.h: New file.
11327         * rt/aio_cancel.c: New file.
11328         * rt/aio_error.c: New file.
11329         * rt/aio_fsync.c: New file.
11330         * rt/aio_misc.c: New file.
11331         * rt/aio_misc.h: New file.
11332         * rt/aio_read.c: New file.
11333         * rt/aio_read64.c: New file.
11334         * rt/aio_return.c: New file.
11335         * rt/aio_suspend.c: New file.
11336         * rt/aio_write.c: New file.
11337         * rt/aio_write64.c: New file.
11338         * rt/lio_listio.c: New file.
11339         * rt/lio_listio64.c: New file.
11340         * sysdeps/generic/aio_sigqueue.c: New file.
11341         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11342         * sysdeps/unix/sysv/linux/Dist: Add new files
11343         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11344         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11345         rt_sigqueueinfo, rt_sigaction.
11347         * posix/Makefile (headers): Add bits/environments.h.
11348         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11349         and _CS_LFS_CFLAGS on 64bit platforms.
11350         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11351         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11352         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11353         compilation modules.
11354         * sysdeps/wordsize-32/bits/environments.h: New file.
11355         * sysdeps/wordsize-64/bits/environments.h: New file.
11357         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11358         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11359         __libc_pid.
11360         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11361         0xf00baa.
11363         * string/string.h: Add declaration of __strverscmp.
11364         * string/strverscmp.c: Rename function ot __strverscmp and make old
11365         name weak alias.
11367         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11368         * sysdeps/generic/enbl-secure.c: Likewise.
11369         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11371         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11373         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11375 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11377         * posix/sys/wait.h: Use __transparent_union__ instead of
11378         transparent_union.  Reported by Roland McGrath.
11380 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11382         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11383         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11384         [PR libc/366].
11386         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11388         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11390 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11392         * grp/initgroups.c: Increase buffer if it is too small.
11394 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11396         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11397         fields, this is no ISO C.  Reported by Andreas Jaeger.
11399 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11401         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11403 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11405         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11406         _SYS_UTSNAME_H not _UTSNAME_H.
11408 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11410         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11411         computing s_scale.
11413 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11415         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11416         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11417         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11419         * math/libm-test.c (csqrt_test): Add testcase.
11421 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11423         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11424         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11425         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11427 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11429         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11431 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11433         * math/libm-test.c (acos_test): Add more tests.
11434         (asin_test): Likewise.
11435         (atan_test): Likewise.
11436         (exp_test): Likewise.
11437         (sin_test): Likewise.
11438         (sqrt_test): Likewise.
11439         (cpow_test): Likewise.
11440         (csqrt_test): Likewise.
11441         (cexp_test): Correct typo in gcc version test.
11443 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11445         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11446         <bits/setjmp.h>.
11447         * sysdeps/arm/setjmp.S: Likewise.
11449         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11451 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11453         * stdio/stdio.h: Add prototype for tmpfile64().
11455 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11457         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11458         prototype to keep in step with libio version.
11460         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11462 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11464         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11465         cross-compiling.
11467 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11469         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11470         load GOT ptr before jumping to _exit.
11471         Reported by Xavier Leroy.
11473 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11475         * Makefile (subdirs): Add iconvdata and localedata.
11477         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11479         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11481         * iconvdata/8bit-gap.c: New file.
11482         * iconvdata/8bit-generic.c: Renamed from ...
11483         * iconvdata/iso8859-generic.c: ...this.
11484         * iconvdata/configure: Removed.
11485         * iconvdata/Makefile: Add new modules and better rules.
11486         * iconvdata/iso6937.c: Minor bug fixes.
11487         * iconvdata/iso8859-1.c: Likewise.
11488         * iconvdata/t61.c: Likewise.
11489         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11490         Minor bug fixes.
11491         * iconvdata/iso8859-3.c: Likewise.
11492         * iconvdata/iso8859-4.c: Likewise.
11493         * iconvdata/iso8859-5.c: Likewise.
11494         * iconvdata/iso8859-6.c: Likewise.
11495         * iconvdata/iso8859-7.c: Likewise.
11496         * iconvdata/iso8859-8.c: Likewise.
11497         * iconvdata/iso8859-9.c: Likewise.
11498         * iconvdata/iso8859-10.c: Likewise.
11499         * iconvdata/ebcdic-at-de-a.c: New file.
11500         * iconvdata/ebcdic-at-de.c: New file.
11501         * iconvdata/ebcdic-ca-fr.c: New file.
11502         * iconvdata/hp-roman8.c: New file.
11503         * iconvdata/koi-8.c: New file.
11504         * iconvdata/koi8-r.c: New file.
11505         * iconvdata/koi8-h.c: New file.
11506         * iconvdata/latin-greek-1.c: New file.
11507         * iconvdata/latin-greek-1.h: New file.
11508         * iconvdata/latin-greek.c: New file.
11509         * iconvdata/latin-greek.h: New file.
11510         * iconvdata/jis0201.c: New file.
11511         * iconvdata/jis0201.h: New file.
11512         * iconvdata/jis0208.c: New file.
11513         * iconvdata/jis0208.h: New file.
11514         * iconvdata/jis0212.c: New file.
11515         * iconvdata/jis0212.h: New file.
11516         * iconvdata/sjis.c: New file.
11517         * iconvdata/gap.pl: New file.  Script to generate table header.
11518         * iconvdata/gaptab.pl: New file.
11519         * iconvdata/gconv-modules: Add info about new modules.
11521         * locale/programs/charmap.c: Also examine alias names given in charmap
11522         files.
11524         * localedata/*: Add to here from add-on.  We need the information
11525         to generate tables for iconv.
11527         Update from db-2.3.14.
11528         * db2/Makefile: Updated.
11529         * db2/config.h: Likewise.
11530         * db2/db.h: Likewise.
11531         * db2/db_int.h: Likewise.
11532         * db2/btree/bt_cursor.c: Likewise.
11533         * db2/btree/bt_delete.c: Likewise.
11534         * db2/btree/bt_put.c: Likewise.
11535         * db2/btree/bt_search.c: Likewise.
11536         * db2/btree/bt_split.c: Likewise.
11537         * db2/btree/btree_auto.c: Likewise.
11538         * db2/common/db_appinit.c: Likewise.
11539         * db2/common/db_apprec.c: Likewise.
11540         * db2/common/db_err.c: Likewise.
11541         * db2/common/db_region.c: Likewise.
11542         * db2/db/db_auto.c: Likewise.
11543         * db2/db/db_dispatch.c: Likewise.
11544         * db2/db/db_ret.c: Likewise.
11545         * db2/dbm/dbm.c: Likewise.
11546         * db2/hash/hash_auto.c: Likewise.
11547         * db2/include/btree_ext.h: Likewise.
11548         * db2/include/common_ext.h: Likewise.
11549         * db2/include/db.h.src: Likewise.
11550         * db2/include/db_cxx.h: Likewise.
11551         * db2/include/db_ext.h: Likewise.
11552         * db2/include/db_int.h.src: Likewise.
11553         * db2/include/lock.h: Likewise.
11554         * db2/include/log.h: Likewise.
11555         * db2/include/mp.h: Likewise.
11556         * db2/include/mp_ext.h: Likewise.
11557         * db2/include/os_ext.h: Likewise.
11558         * db2/include/os_func.h: Likewise.
11559         * db2/lock/lock.c: Likewise.
11560         * db2/lock/lock_deadlock.c: Likewise.
11561         * db2/log/log.c: Likewise.
11562         * db2/log/log_archive.c: Likewise.
11563         * db2/log/log_auto.c: Likewise.
11564         * db2/log/log_get.c: Likewise.
11565         * db2/log/log_put.c: Likewise.
11566         * db2/mp/mp_bh.c: Likewise.
11567         * db2/mp/mp_fget.c: Likewise.
11568         * db2/mp/mp_fopen.c: Likewise.
11569         * db2/mp/mp_fput.c: Likewise.
11570         * db2/mp/mp_fset.c: Likewise.
11571         * db2/mp/mp_open.c: Likewise.
11572         * db2/mp/mp_pr.c: Likewise.
11573         * db2/mp/mp_region.c: Likewise.
11574         * db2/mp/mp_sync.c: Likewise.
11575         * db2/mutex/README: Likewise.
11576         * db2/mutex/mutex.c: Likewise.
11577         * db2/os/os_open.c: Likewise.
11578         * db2/os/os_func.c: Removed.
11579         * db2/os/os_config.c: New file.
11580         * db2/os/os_spin.c: New file.
11581         * db2/txn/txn.c: Likewise.
11582         * db2/txn/txn_auto.c: Likewise.
11584 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11586         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11587         __typeof for C++ since this fails for class members.
11588         Reported by Neal Becker <neal@ctd.comsat.com>.
11590 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11592         * configure.in: Check for a working makeinfo (3.11 or better).
11593         * config.make.in: Add MAKEINFO to be substituted.
11594         * manual/Makefile: Don't update info if makeinfo is too old.
11596 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11598         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11599         * sysdeps/alpha/__longjmp.S: Likewise.
11600         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11601         not <bits/termios.h>.
11603         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11604         __llseek and make llseek and lseek64 weak aliases.
11605         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11606         Patches by a sun <asun@zoology.washington.edu>.
11608 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11610         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11611         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11612         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11613         * misc/sys/syslog.h: Clean up BSD header.
11615 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11617         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11619         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11620         for ctan(+-inf,x).
11621         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11622         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11624         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11625         csqrt (-1), ctanh(i*pi/4).
11627 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11629         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11631 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11633         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11635 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11637         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11639 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11641         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11642         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11643         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11644         of GETCWD_STORYGE_CLASS and put the return type and the
11645         `internal_function' in the right order for gcc 2.7.2.
11647 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11649         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11650         incompatible with Linux 2.1.x.  Packages using modules
11651         (e.g. modutils) should/do provide their own version.  Suggested by
11652         Richard Henderson.
11654         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11657         [$(subdir)=socket]: Remove sys/module.h.
11659 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11661         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11662         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11664         * iconv/gconv_close.c: Correct freeing of descriptor data.
11665         * iconv/gconv_simple.c: Return correct error values for illegal or
11666         incomplete characters.
11668         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11669         development.
11670         * iconvdata/Makefile: New file.
11671         * iconvdata/configure: Likewise.
11672         * iconvdata/extra-module.mk: Likewise.
11673         * iconvdata/gconv-modules: Likewise.
11674         * iconvdata/iso6937.c: Likewise.
11675         * iconvdata/iso8859-1.c: Likewise.
11676         * iconvdata/iso8859-10.c: Likewise.
11677         * iconvdata/iso8859-10.h: Likewise.
11678         * iconvdata/iso8859-2.c: Likewise.
11679         * iconvdata/iso8859-2.h: Likewise.
11680         * iconvdata/iso8859-3.c: Likewise.
11681         * iconvdata/iso8859-3.h: Likewise.
11682         * iconvdata/iso8859-4.c: Likewise.
11683         * iconvdata/iso8859-4.h: Likewise.
11684         * iconvdata/iso8859-5.c: Likewise.
11685         * iconvdata/iso8859-5.h: Likewise.
11686         * iconvdata/iso8859-6.c: Likewise.
11687         * iconvdata/iso8859-6.h: Likewise.
11688         * iconvdata/iso8859-7.c: Likewise.
11689         * iconvdata/iso8859-7.h: Likewise.
11690         * iconvdata/iso8859-8.c: Likewise.
11691         * iconvdata/iso8859-8.h: Likewise.
11692         * iconvdata/iso8859-9.c: Likewise.
11693         * iconvdata/iso8859-9.h: Likewise.
11694         * iconvdata/iso8859-generic.c: Likewise.
11695         * iconvdata/t61.c: Likewise.
11697         * string/Makefile (routines): Add strcasestr.
11698         * string/string.h: Add prototype for strcasestr.
11699         * sysdeps/generic/strcasestr.c: New file.
11700         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11701         * wcsmbs/wcrtomb.c: Likewise.
11702         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11703         * wcsmbs/wcsnrtombs.c: Likewise.
11704         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11705         partial character is read.
11706         * wcsmbs/wcsrtombs.c: Likewise.
11707         * wcsmbs/wmemrtombs.c: Likewise.
11708         * wcsmbs/wmemrtowcs.c: Likewise.
11710         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11711         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11712         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11713         * sysdeps/i386/elf/setjmp.S: Likewise.
11714         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11715         <bits/termios.h>.
11717         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11718         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11720         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11721         * sysvipc/sys/ipc.h: Likewise.
11722         * sysvipc/sys/msg.h: Likewise.
11723         * sysvipc/sys/sem.h: Likewise.
11724         * sysvipc/sys/shm.h: Likewise.
11726         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11727         used directly.
11728         * sysdeps/alpha/bits/setjmp.h: Likewise.
11729         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11730         * sysdeps/arm/bits/endian.h: Likewise.
11731         * sysdeps/arm/bits/setjmp.h: Likewise.
11732         * sysdeps/generic/bits/byteswap.h: Likewise.
11733         * sysdeps/generic/bits/confname.h: Likewise.
11734         * sysdeps/generic/bits/dirent.h: Likewise.
11735         * sysdeps/generic/bits/dlfcn.h: Likewise.
11736         * sysdeps/generic/bits/endian.h: Likewise.
11737         * sysdeps/generic/bits/fenv.h: Likewise.
11738         * sysdeps/generic/bits/huge_val.h: Likewise.
11739         * sysdeps/generic/bits/in.h: Likewise.
11740         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11741         * sysdeps/generic/bits/ioctls.h: Likewise.
11742         * sysdeps/generic/bits/ipc.h: Likewise.
11743         * sysdeps/generic/bits/msq.h: Likewise.
11744         * sysdeps/generic/bits/poll.h: Likewise.
11745         * sysdeps/generic/bits/resource.h: Likewise.
11746         * sysdeps/generic/bits/sched.h: Likewise.
11747         * sysdeps/generic/bits/sem.h: Likewise.
11748         * sysdeps/generic/bits/setjmp.h: Likewise.
11749         * sysdeps/generic/bits/shm.h: Likewise.
11750         * sysdeps/generic/bits/sigaction.h: Likewise.
11751         * sysdeps/generic/bits/sigcontext.h: Likewise.
11752         * sysdeps/generic/bits/socket.h: Likewise.
11753         * sysdeps/generic/bits/stat.h: Likewise.
11754         * sysdeps/generic/bits/statfs.h: Likewise.
11755         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11756         * sysdeps/generic/bits/termios.h: Likewise.
11757         * sysdeps/generic/bits/time.h: Likewise.
11758         * sysdeps/generic/bits/uio.h: Likewise.
11759         * sysdeps/generic/bits/utmp.h: Likewise.
11760         * sysdeps/generic/bits/utmpx.h: Likewise.
11761         * sysdeps/generic/bits/utsname.h: Likewise.
11762         * sysdeps/generic/bits/waitflags.h: Likewise.
11763         * sysdeps/generic/bits/waitstatus.h: Likewise.
11764         * sysdeps/gnu/bits/utmp.h: Likewise.
11765         * sysdeps/gnu/bits/utmpx.h: Likewise.
11766         * sysdeps/i386/bits/byteswap.h: Likewise.
11767         * sysdeps/i386/bits/endian.h: Likewise.
11768         * sysdeps/i386/bits/huge_val.h: Likewise.
11769         * sysdeps/i386/bits/setjmp.h: Likewise.
11770         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11771         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11772         * sysdeps/m68k/bits/byteswap.h: Likewise.
11773         * sysdeps/m68k/bits/endian.h: Likewise.
11774         * sysdeps/m68k/bits/setjmp.h: Likewise.
11775         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11776         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11777         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11778         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11779         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11780         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11781         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11782         * sysdeps/mips/bits/dlfcn.h: Likewise.
11783         * sysdeps/mips/bits/endian.h: Likewise.
11784         * sysdeps/mips/bits/setjmp.h: Likewise.
11785         * sysdeps/mips/dec/bits/endian.h: Likewise.
11786         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11787         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11788         * sysdeps/mips/p40/bits/endian.h: Likewise.
11789         * sysdeps/powerpc/bits/endian.h: Likewise.
11790         * sysdeps/powerpc/bits/fenv.h: Likewise.
11791         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11792         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11793         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11794         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11795         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11796         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11797         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11798         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11799         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11800         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11801         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11802         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11803         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11804         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11805         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11806         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11807         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11808         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11809         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11810         * sysdeps/unix/common/bits/dirent.h: Likewise.
11811         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11812         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11813         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11814         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11815         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11816         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11817         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11818         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11819         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11820         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11821         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11822         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11823         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11824         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11825         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11826         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11827         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11828         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11829         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11830         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11831         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11832         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11833         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11834         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11835         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11836         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11837         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11838         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11839         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11840         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11841         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11842         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11843         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11844         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11845         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11846         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11847         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11848         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11849         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11850         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11851         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11852         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11853         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11854         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11855         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11856         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11857         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11858         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11859         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11860         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11861         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11863         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11864         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11865         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11866         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11867         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11868         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11869         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11870         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11871         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11872         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11873         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11874         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11875         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11876         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11877         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11878         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11879         * sysdeps/vax/bits/huge_val.h: Likewise.
11880         * sysdeps/vax/bits/setjmp.h: Likewise.
11881         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11882         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11884 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11886         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11888 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11890         * strftime.c (strftime):
11891         No longer any need to undef or declare if emacs is defined.
11892         (my_strftime): When checking a -1 returned by mktime, don't blow up
11893         if localtime_r returns NULL.
11895 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11897         * README.template: Fix spelling.
11899 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11901         * configure.in: Enhance --enable-add-ons description a wee bit.
11903 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11905         * glibcbug.in: Add more information of build environment and flags.
11907 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11909         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11910         it into ENOENT.
11912 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11914         * elf/dl-support.c: Call __libc_init_secure to make sure
11915         __libc_enable_secure is defined early.
11916         * sysdeps/generic/enbl-secure.c: Change function name to
11917         __libc_init_secure and make it global instead of a constructor.
11919         * iconv/gconv.c: Fix lots of bugs.
11920         * iconv/gconv.h: Likewise.
11921         * iconv/gconv_builtin.h: Likewise.
11922         * iconv/gconv_close.c: Likewise.
11923         * iconv/gconv_conf.c: Likewise.
11924         * iconv/gconv_db.c: Likewise.
11925         * iconv/gconv_dl.c: Likewise.
11926         * iconv/gconv_open.c: Likewise.
11927         * iconv/gconv_simple.c: Likewise.
11928         * iconv/iconv.c: Likewise.
11929         * iconv/iconv_close.c: Likewise.
11930         * iconv/iconv_open.c: Likewise.
11932         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11933         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11934         * wcsmbs/wmemrtombs.c: New file.
11935         * wcsmbs/wmemrtowcs.c: New file.
11937 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11939         * iconv/gconv_simple.c: Fix lots of bugs.
11940         * iconv/iconv_open.c: Normalize names before passing them to
11941         __gconv_open.
11943         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11945         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11946         * stdio-common/test-popen.c: Add test for above change.
11948         * math/libm-test.c: Print test results also using %a format,
11949         specified in PRINTF_XEXPR macro.
11950         * math/test-double.c: Define PRINTF_XEXPR.
11951         * math/test-float.c: Likewise.
11952         * math/test-ldouble.c: Likewise.
11953         * math/test-idouble.c: Likewise.
11954         * math/test-ifloat.c: Likewise.
11955         * math/test-ildoubl.c: Likewise.
11957         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11958         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11959         FP number format.
11961         * stdlib/strtod.c: Little code cleanup.
11963         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11964         compiling in math subdir.
11966         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11967         instead of __LIBC_M81_MATH_INLINES.
11968         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11969         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11970         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11971         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11972         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11973         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11974         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11975         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11976         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11977         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11978         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11979         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11980         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11981         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11982         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11983         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11984         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11985         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11986         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11987         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11988         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11989         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11990         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11991         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11992         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11993         __LIBC_INTERNAL_MATH_INLINES is defined.
11995         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11996         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11997         Define __signbit inline functions and __ieee754_sqrt which can be
11998         used if the ompiler is fixed.
12000         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
12002 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12004         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
12005         sysdeps/generic in the whole dep file, not only in the first line.
12007 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12009         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
12011 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12013         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
12014         place.
12016 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12018         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
12019         is non-empty.
12021 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
12023         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
12024         return value.
12026 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
12028         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
12029         readlink succeeds but the return value is too long.
12031         * stdio-common/printf_fphex.c: Determine sign of number correctly.
12033 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
12035         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
12036         __remqu for Alpha.
12038 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
12040         * sysdeps/generic/sys/ucontext.h: Stub context file.
12042         * libio/iofprintf.c: Removed.  We use the stdio-common version.
12044         * manual/Makefile (distribute): Add stdio-fp.c.
12046         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
12048         * db2/Makefile (distribute): Add include/os_func.h, README and
12049         mutex/tsl_parisc.s.
12051         * hesiod/Makefile (distribute): Add README.hesiod.
12053 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
12055         * iconv/gconv.c: Correctly call transformation function.
12057         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
12059 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12061         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
12062         wrong results for e.g. remquo (3,2, &x)).
12063         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
12064         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
12066 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12068         * configure.in (ld --version-script): Test if the same symbol
12069         maybe defined in all versions (needed by recent changes to
12070         libc.map and supported with binutils 2.8.1.0.17) and issue warning
12071         if versioning is not supported/enabled.
12072         (bash test): Correct test case.
12074         * math/libm-test.c: Added counting/reporting of number of test cases.
12076         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
12077         use awk instead.
12079         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
12081 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12083         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
12085 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
12087         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
12088         Replace revoke call by use of REVOKE.
12089         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
12090         empty and #include generic version.
12091         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12093 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
12095         * libc.map: Add socket functions with __libc_* names.
12096         Reported by Andreas Jaeger.
12098 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12100         * libc.map: Tidy up (remove duplicates, sort entries).
12102 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12104         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
12106 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
12108         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
12109         again after successful call.
12110         Patch by Marc Lehmann <pcg@goof.com>.
12112 1997-11-17  Paul Eggert  <eggert@twinsun.com>
12114         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
12115         as some hosts need this to declare localtime_r properly.
12117 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
12119         * libc.map: Add iconv_open, iconv, and iconv_close.
12121 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
12123         * iconv/Makefile: New file.
12124         * iconv/gconv.c: New file.
12125         * iconv/gconv.h: New file.
12126         * iconv/gconv_builtin.c: New file.
12127         * iconv/gconv_builtin.h: New file.
12128         * iconv/gconv_close.c: New file.
12129         * iconv/gconv_conf.c: New file.
12130         * iconv/gconv_db.c: New file.
12131         * iconv/gconv_dl.c: New file.
12132         * iconv/gconv_open.c: New file.
12133         * iconv/gconv_simple.c: New file.
12134         * iconv/iconv.c: New file.
12135         * iconv/iconv.h: New file.
12136         * iconv/iconv_close.c: New file.
12137         * iconv/iconv_open.c: New file.
12138         * include/gconv.h: New file.
12140         * Makeconfig: Define gconvdir.
12141         * Makefile (subdirs): Add iconv.
12143         * string/bits/string2.h: Add optimization for strtok_r.
12145         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12146         for NULL.
12147         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12148         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12150         * configure.in: Correct test for bash2.
12151         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12153         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12154         (CFLAGS-locfile.c): Likewise.
12155         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12157         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12158         non-existing entry if the table is full.
12160         * posix/regex.h: Pretty print.
12162         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12164         * sysdeps/posix/ctermid.c: Simplify a bit.
12166         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12168 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12170         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12171         <sys/types.h> instead of <asm/types.h>.
12173 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12175         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12177 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12179         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12180         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12181         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12182         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12183         fclose): Added to GLIBC_2.1.
12185         * libio/Makefile (routines, shared-only-routines): Add
12186         oldiofclose.  Remove oldfreopen.
12188         * libio/freopen.c (freopen): When PIC is defined, call
12189         _IO_old_freopen () for old stdio.
12191         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12192         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12193         for GLIBC_2.1.
12195         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12196         instead of _IO_file_close_it.
12198         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12199         to _IO_2_1_stdxxx_.
12200         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12201         is defined.
12203         * libio/libioP.h (_IO_old_do_flush): New.
12205         * libio/oldfileops.c (_IO_old_file_close_it,
12206         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12207         Call _IO_old_do_flush () instead of _IO_do_flush ().
12208         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12209         _IO_do_write ().
12211         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12212         instead of _IO_file_init ().
12213         Bind old symbols to version GLIBC_2.0.
12215         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12216         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12217         _IO_stdxxx_.
12218         (_IO_check_libio): New function in .init.
12220         * libio/oldiofclose.c: New file.
12222         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12223         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12224         (DEF_STDFILE): Don't use default_symbol_version.
12226         * libio/stdio.c (stdin, stdout, stderr): Set to
12227         _IO_2_1_stdxxx_._
12228         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12229         stdxxx.
12231         * csu/Makefile (distribute): Add init.c.
12232         (extra-objs): Add init.o for ELF.
12233         (start-installed-name): Add $(objpfx)init.o.
12235         * csu/init.c: New file.
12237 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12239         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12240         definition as the default.
12242 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12244         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12246 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12248         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12249         (PR 351).
12251 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12253         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12254         to preserve condition codes on function call.
12256 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12258         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12260 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12262         * math/libm-test.c (asin_test): Add epsilon for float.
12263         (tan_test): Add epsilon for float.
12264         (log1p_test): Add epsilon for float.
12265         (inverse_functions): Add epsilons.
12267         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12268         net/if_packet.h.
12270         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12272 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12274         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12275         variable, since $(object-suffixes) is not defined yet.
12277 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12279         * db2/Makefile (distribute): db185/db185_int.src ->
12280         db185/db185_int.h.
12282 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12284         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12285         exactly one.
12287 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12289         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12290         name.
12291         * sysdeps/generic/e_acosl.c: Likewise.
12292         * sysdeps/generic/e_asinl.c: Likewise.
12293         * sysdeps/generic/e_atan2l.c: Likewise.
12294         * sysdeps/generic/e_expl.c: Likewise.
12295         * sysdeps/generic/e_fmodl.c: Likewise.
12296         * sysdeps/generic/e_j0l.c: Likewise.
12297         * sysdeps/generic/e_j1l.c: Likewise.
12298         * sysdeps/generic/e_jnl.c: Likewise.
12299         * sysdeps/generic/e_lgammal_r.c: Likewise.
12300         * sysdeps/generic/e_log10l.c: Likewise.
12301         * sysdeps/generic/e_logl.c: Likewise.
12302         * sysdeps/generic/e_powl.c: Likewise.
12303         * sysdeps/generic/e_sqrtl.c: Likewise.
12304         * sysdeps/generic/e_exp2l.c: Likewise.
12306 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12308         * Make-dist (+sysdep-names): Remove extra paren.
12309         * Makefile (distribute): Add stub-tag.h.
12310         * elf/Makefile (distribute): Add atomicity.h.
12311         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12313         [$(subdir)=socket]: Add net/if_packet.h.
12314         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12315         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12316         net/if_packet.h, scsi/sg.h.
12318 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12320         * Makefile (install): Quote $(CC) expansion.
12322 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12324         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12325         working /proc cwd and no restrictions on path length.  Following
12326         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12328 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12330         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12331         * nis/nss_compat/compat-pwd.c: Likewise.
12332         * nis/nss_compat/compat-spwd.c: Likewise.
12334 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12336         * sysdeps/libm-i387/s_fdim.S: New file.
12337         * sysdeps/libm-i387/s_fdimf.S: New file.
12338         * sysdeps/libm-i387/s_fdiml.S: New file.
12339         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12340         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12341         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12343 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12345         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12346         pointer to unsigned char.
12348 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12350         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12352         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12354         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12356 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12358         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12359         ilogb(0/NaN).
12360         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12361         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12363 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12365         * sysdeps/libm-i387/s_fmin.S: New file.
12366         * sysdeps/libm-i387/s_fminf.S: New file.
12367         * sysdeps/libm-i387/s_fminl.S: New file.
12368         * sysdeps/libm-i387/s_fmax.S: New file.
12369         * sysdeps/libm-i387/s_fmaxf.S: New file.
12370         * sysdeps/libm-i387/s_fmaxl.S: New file.
12371         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12372         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12373         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12374         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12375         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12376         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12378 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12380         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12381         * sysdeps/unix/sysv/linux/send.S: Likewise.
12382         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12383         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12384         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12385         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12386         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12387         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12388         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12390 See ChangeLog.7 for earlier changes.