Update.
[glibc.git] / ChangeLog
blob26742b99a68cc1bcd953826051b7aeacd2061587
1 1998-08-07  Geoff Keating  <geoffk@ozemail.com.au>
3         * sysdeps/powerpc/bits/setjmp.h: Use word to save condition
4         registers.
5         * sysdeps/powerpc/setjmp.S: Save condition registers.
6         * sysdeps/powerpc/__longjmp.S: Restore condition registers.
8 1998-08-09 09:40  Ulrich Drepper  <drepper@cygnus.com>
10         * nss/nss_files/files-XXX.c (internal_getent): In case of an read
11         error do not trust errno value, set it to ENOENT.
13         * db2/db_185.h: Move __ prototypes into include/* header.
14         * dirent/dirent.h: Likewise.
15         * elf/dlfcn.h: Likewise.
16         * gmon/sys/gmon.h: Likewise.
17         * grp/grp.h: Likewise.
18         * intl/libintl.h: Likewise.
19         * io/fcntl.h: Likewise.
20         * io/sys/stat.h: Likewise.
21         * io/sys/statfs.h: Likewise.
22         * io/sys/statvfs.h: Likewise.
23         * libio/stdio.h: Likewise.
24         * login/utmp.h: Likewise.
25         * misc/mntent.h: Likewise.
26         * misc/search.h: Likewise.
27         * misc/sys/file.h: Likewise.
28         * misc/sys/ioctl.h: Likewise.
29         * misc/sys/select.h: Likewise.
30         * misc/sys/uio.h: Likewise.
31         * misc/sys/ustat.h: Likewise.
32         * posix/unistd.h: Likewise.
33         * posix/sys/times.h: Likewise.
34         * posix/sys/wait.h: Likewise.
35         * pwd/pwd.h: Likewise.
36         * resource/ulimit.h: Likewise.
37         * resource/sys/resource.h: Likewise.
38         * setjmp/setjmp.h: Likewise.
39         * shadow/shadow.h: Likewise.
40         * signal/signal.h: Likewise.
41         * socket/sys/socket.h: Likewise.
42         * stdlib/alloca.h: Likewise.
43         * stdlib/stdlib.h: Likewise.
44         * string/string.h: Likewise.
45         * sysdeps/generic/sys/mman.h: Likewise.
46         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
47         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
48         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
49         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
50         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
52         * termios/termios.h: Likewise.
53         * time/time.h: Likewise.
54         * time/sys/time.h: Likewise.
55         * wcsmbs/wchar.h: Likewise.
57         * include/alloca.h: Add __ prototypes here.
58         * include/db_185.h: Likewise.
59         * include/dirent.h: Likewise.
60         * include/dlfcn.h: Likewise.
61         * include/fcntl.h: Likewise.
62         * include/grp.h: Likewise.
63         * include/libintl.h: Likewise.
64         * include/mntent.h: Likewise.
65         * include/pwd.h: Likewise.
66         * include/sched.h: Likewise.
67         * include/search.h: Likewise.
68         * include/setjmp.h: Likewise.
69         * include/shadow.h: Likewise.
70         * include/signal.h: Likewise.
71         * include/stdio.h: Likewise.
72         * include/stdlib.h: Likewise.
73         * include/string.h: Likewise.
74         * include/termios.h: Likewise.
75         * include/time.h: Likewise.
76         * include/ulimit.h: Likewise.
77         * include/unistd.h: Likewise.
78         * include/utmp.h: Likewise.
79         * include/wchar.h: Likewise.
80         * include/sys/file.h: Likewise.
81         * include/sys/gmon.h: Likewise.
82         * include/sys/ioctl.h: Likewise.
83         * include/sys/mman.h: Likewise.
84         * include/sys/resource.h: Likewise.
85         * include/sys/select.h: Likewise.
86         * include/sys/socket.h: Likewise.
87         * include/sys/stat.h: Likewise.
88         * include/sys/statfs.h: Likewise.
89         * include/sys/time.h: Likewise.
90         * include/sys/times.h: Likewise.
91         * include/sys/uio.h: Likewise.
92         * include/sys/wait.h: Likewise.
94         * Makeconfig (+includes): Search in $(..)include first.
96         * io/fstat.c: Undefine __fstat.
97         * io/lstat.c: Undefine __lstat.
99         * wcsmbs/Versions: Add __mbrlen.
101 1998-08-09  Ulrich Drepper  <drepper@cygnus.com>
103         * elf/dl-reloc.c (_dl_relocate_object): Implement DT_BIND_NOW.
105 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
107         * sysdeps/generic/bits/byteswap.h: Fix problems with side effects.
109         * manual/filesys.texi: Document truncate and ftruncate.
110         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
112         * shadow/putspent.c: Lock stream while generating the output.
114         * sunrpc/clnt_unix.c: Use ucred instead of cmsgcred again.
115         (__msgwrite): Rewrite accordingly.
116         * sunrpc/svc_unix.c: Likewise.
117         * sysdeps/unix/sysv/linux/Dist: Remove __recvmsg.S and __sendmsg.S.
118         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==socket]
119         (sysdep_routines): Remove __sendmsg and __recvmsg.
120         * sysdeps/unix/sysv/linux/__recvmsg.S: Removed.
121         * sysdeps/unix/sysv/linux/__sendmsg.S: Removed.
122         * sysdeps/unix/sysv/linux/recvmsg.c: Removed.
123         * sysdeps/unix/sysv/linux/sendmsg.c: Removed.
124         * sysdeps/unix/sysv/linux/recvmsg.S: New file.
125         * sysdeps/unix/sysv/linux/sendmsg.S: New file.
126         * sysdeps/unix/sysv/linux/bits/socket.h: Define SCM_CREDENTIALS and
127         struct ucred.  Remove struct cmsgcred.
128         Patches by Thorsten Kukuk.
130 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
132         * inet/rcmd.c (__ivaliduser): Allow '#' as comment character.
134 1998-08-08 14:42  Ulrich Drepper  <drepper@cygnus.com>
136         * argp/argp-help.c: Prepare to be used outside glibc without gcc by
137         adding usual alloca cruft.
138         Reported by Eleftherios Gkioulekas <lf@amath.washington.edu>.
140 1998-04-05  Jim Meyering  <meyering@ascend.com>
142         * lib/regex.c (WIDE_CHAR_SUPPORT): Define.
143         This now depends on HAVE_BTOWC so systems that lack btowc (like
144         solaris-2.5.1) don't lose.
146 1998-08-07  Mark Kettenis  <kettenis@phys.uva.nl>
148         * sysdeps/generic/bits/sigaction.h: Remove definition of SA_DISABLE.
149         * sysdeps/generic/bits/sigstack.h: Define SS_DISABLE, SS_ONSTACK,
150         MINSIGSTKZ and SIGSTKSZ.  Definitions match BSD.
151         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Use SS_ONSTACK
152         instead of SA_ONSTACK.
153         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Renamed from
154         sigaltstack, and created a weak alias.  Use SS_DISABLE and
155         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK.
156         * sysdeps/mach/hurd/sigstack.c (sigstack): Use SS_ONSTACK instead
157         of SA_ONSTACK.  Call __sigaltstack instead of sigaltstack.
158         * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use SS_ONSTACK
159         instead of SA_ONSTACK.
160         * sysdeps/mach/hurd/alpha/sigreturn.c (__sigreturn): Likewise.
161         * sysdeps/mach/hurd/mips/sigreturn.c (__sigreturn): Likewise.
162         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
163         Use SS_DISABLE instead of SA_DISABLE.  Use SS_ONSTACK instead of
164         SA_ONSTACK where appropriate.
165         * sysdeps/mach/hurd/alpha/trampoline.c (_hurd_setup_sighandler):
166         Likewise.
167         * sysdeps/mach/hurd/hppa/trampoline.c (_hurd_setup_sighandler):
168         Likewise.
169         * sysdeps/mach/hurd/mips/trampoline.c (_hurd_setup_sighandler):
170         Likewise.
171         * manual/signal.texi (Signal Stack): Talk about SS_DISABLE and
172         SS_ONSTACK instead of SA_DISABLE and SA_ONSTACK in discussion of
173         the `ss_flags' member of `struct sigaltstack'.
175 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
177         * libio/Makefile (routines) [$(versioning)=yes]: Add oldtmpfile.
178         (shared-only-routines): Likewise.
179         * libio/oldtmpfile.c: New file
180         * stdio-common/tmpfile.c: Use __fdopen and __close.
181         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.  Put
182         tmpfile on symbol version GLIBC_2.1.
183         * stdio-common/tmpfile64.c: Use __fdopen and __close.
184         [USE_IN_LIBIO]: Use _IO_fdopen instead of _IO_new_fdopen.
185         * stdio-common/Version [GLIBC_2.1]: Add tmpfile.
186         * stdio-common/tempnam.c: Use __strdup instead of strdup.
187         * sysdeps/posix/fdopen.c: Define __fdopen and make fdopen weak
188         alias.
189         * sysdeps/generic/fdopen.c: Likewise.
190         * sysdeps/mach/hurd/fdopen.c: Likewise.
191         * stdio/stdio.h: Declare __fdopen.
192         * sunrpc/openchild.c: Use __fdopen instead of fdopen.
193         [USE_IN_LIBIO]: Map __fdopen to _IO_fdopen.
194         * sysdeps/posix/tempname.c (__gen_tempname): Don't bother checking
195         __stub_open64, it is never defined.
197 1998-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
199         * libio/iofopen64.c: Fix typo.  Avoid unnessary casts.
200         * libio/iopopen.c: Unlink file before freeing it if command
201         creation failed.  Avoid unnessary casts.
202         * libio/iofdopen.c:  Avoid unnecessary cast.
203         * pwd/fgetpwent_r.c [USE_IN_LIBIO]: Map funlockfile to
204         _IO_funlockfile.
205         * pwd/fgetspent_r.c [USE_IN_LIBIO]: Likewise.
207 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
209         * grp/grp.h, pwd/pwd.h: Don't declare __grpopen, __grpread,
210         __grpalloc, __grpscan and the corresponding pwd functions, they
211         were removed long ago.
213 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
215         * math/libm-test.c (csqrt_test): Adjust epsilons.
216         (casinh_test): Likewise.
218 1998-08-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
220         * posix/globtest.sh: Fix typo.  Remove second test output file.
222 1998-08-07  Cristian Gafton  <gafton@redhat.com>
224         * pwd/putpwent.c (putpwent): Avoid writting (none) in the passwd file.
225         * shadow/putspent.c (putspent): Likewise.
226         * grp/putgrent.c: New file.
227         * grp/Makefile (routines): Add putgrent.
228         * grp/Versions [GLIBC_2.1]: Add putgrent.
229         * grp/grp.h: Add putgrent prototype.
231 1998-08-04 19:33  Ulrich Drepper  <drepper@cygnus.com>
233         * elf/elf.h: More ELF definitions.
235 1998-08-04 16:53  Ulrich Drepper  <drepper@cygnus.com>
237         * stdio-common/tmpfile.c: Include unistd.h for close prototype.
238         * stdio-common/tmpfile64.c: Likewise.
240         * db2/makedb.c: Generate output file with same access permissions
241         the input file has.
243         * signal/signal.h: Pretty printing.
245 1998-08-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
247         * misc/mktemp.c: Add include <stlib.h> for prototype, remove
248         unneccessary includes.
249         * misc/mkstemp.c: Likewise.
251 1998-08-03 16:36  Ulrich Drepper  <drepper@cygnus.com>
253         * catgets/catgets.c: Use mmap/munmap only is _POSIX_MAPPED_FILES
254         is defined.
255         * catgets/open_catalog.c: Likewise.
256         * iconv/iconv_prog.c: Likewise.
257         * intl/loadmsgcat.c: Likewise.
258         * locale/findlocale.c: Likewise.
259         * locale/loadlocale.c: Likewise.
260         * locale/programs/localedef.c: Likewise.
261         * malloc/malloc.c: Likewise.
263         * elf/elf.h: Fix typo.
265         * math/Makefile: Use $(LN_S) instead of ln.
267         * sysdeps/generic/getpgid.c: Fix return type.
269 1998-08-01 02:49 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
271         * sysdeps/posix/tempname.c (__stdio_gen_tempname): Rename to
272         __gen_tempname and simplify the interface.  Strip out the
273         code to do path search and create FILE objects.  This function
274         now takes a mktemp() style template and returns either a name
275         or a file descriptor.
276         (__path_search): New function; searches for directories for
277         temp files.
278         * sysdeps/generic/tempname.c: Stub out __gen_tempname and
279         __path_search, not __stdio_gen_tempname.
281         * libio/stdio.h: Prototype __gen_tempname and __path_search,
282         not __stdio_gen_tempname.
283         * stdio/stdio.h: Likewise.
285         * stdio-common/tempnam.c: Use __path_search and __gen_tempname.
286         * stdio-common/tmpfile.c: Likewise.
287         * stdio-common/tmpfile64.c: Likewise.
288         * stdio-common/tmpnam.c: Likewise.
289         * stdio-common/tmpnam_r.c: Likewise.
291         * misc/mkstemp.c: New file.  Use __gen_tempname.
292         * misc/mktemp.c: Likewise.
294         * sysdeps/posix/mkstemp.c: Removed.
295         * sysdeps/posix/mktemp.c: Removed.
296         * sysdeps/generic/mkstemp.c: Removed.
297         * sysdeps/generic/mktemp.c: Removed.
299 1998-08-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
301         * configure.in: Check, if door add-on is installed.
302         * config.make.in: Add have_doors.
303         * sunrpc/Makefile: Add HAVE_DOOR define.
304         * sunrpc/key_call.c: Add keyserv/door interface.
306         * sunrpc/svc_unix.c: Call setsockopt only if SO_PASSCRED is defined.
307         * sunrpc/clnt_unix.c: Likewise.
309 1998-08-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
311         * inet/netinet/in.h (IN_CLASSC): Correct mask.
312         Reported by Ian Staniforth <I.Staniforth@sheffield.ac.uk> [fixes
313         PR libc/727].
315 1998-08-03 10:23  Ulrich Drepper  <drepper@cygnus.com>
317         * misc/Makefile: Fix installation problem with --disable-shared.
318         * posix/Makefile: Likewise.
320 1998-08-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
322         * posix/regex.c (re_search_2): Optimize searching for anchored
323         pattern if '^' cannot match at embedded newlines.
324         (regerror): Renamed from __regerror, which it should only be
325         called if _LIBC.
327 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
329         * sunrpc/svc_unix.c (__msgread): Check setsockopt return value.
331 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
333         * sysdeps/generic/glob.c: Remove obsolete cast.
335 1998-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
337         * Rules (tests): Fix last change.
339 1998-07-31 17:59  Ulrich Drepper  <drepper@cygnus.com>
341         * sysdeps/unix/sysv/linux/Makefile [subdir==misc] (sysdep_routines):
342         Add sys_setresuid.
344 1998-07-30  Mark Kettenis  <kettenis@phys.uva.nl>
346         * sysdeps/unix/sysv/linux/syscalls.list: Add __syscall_setresuid
347         as real name for system call and make setresuid a weak alias.  Set
348         caller to seteuid.
349         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Implement using
350         `setresuid' syscall if availble.  Fixes problems with sendmail
351         which expects `seteuid' to not set the saved user ID.
353 1998-07-30 20:09 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
355         * time/tzset.c (__tzstring): Get rid of excessive cleverness
356         which was causing stack corruption.
358 1998-07-31 16:41 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
360         * argp/argp-fmtstream.c (__argp_fmtstream_update): Correct
361         off-by-one in wordwrap algorithm when there' a space at the
362         beginning of the buffer.
364 1998-07-31 15:45  Ulrich Drepper  <drepper@cygnus.com>
366         * Makerules (LDLIBS-c.so): Extend value instead of overwriting it.
368 1998-07-31 11:10  Ulrich Drepper  <drepper@cygnus.com>
370         * elf/elf.h: Add lots of new symbols from Irix and Solaris.
372         * sysdeps/unix/sysv/linux/sigstack.c: Include stddef.h to get NULL
373         definition.
375 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
377         * sunrpc/xcrypt.c: Use only the first 8 characters of the password.
379 1998-07-30 21:06 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
381         * sysdeps/generic/glob.c: Undefine strdup before defining it,
382         because bits/string2.h may have defined it already.
384 1998-07-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
386         * stdio-common/vfscanf.c: Optimize looking for type modifiers.
387         Fix recognition of 'a' modifier vs. 'a' format.
388         (TYPEMOD): Removed.
390         * stdio-common/printf-parse.h (parse_one_spec): Optimize looking
391         for type modifiers.  Fix recognition of 'hh' modifier.
393 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
395         * sunrpc/svc_unix.c: Fix typo.
397 1998-07-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
399         * sysdeps/unix/sysv/linux/recvmsg.c: Don't check for SCM_CREDS before
400         syscall.
402 1998-07-30 12:38  Ulrich Drepper  <drepper@cygnus.com>
404         * sysdeps/i386/ffs.c: Add ffsl entry point.
405         * sysdeps/i386/i686/ffs.c: Likewise.
406         * sysdeps/m68k/ffs.c: Likewise.
407         * sysdeps/powerpc/ffs.c: Likewise.
409         * sysdeps/i386/i486/bits/string.h: Add optimizations for ffs/ffsl
410         on i686.
412 1998-07-30  Richard Henderson  <rth@cygnus.com>
414         * elf/Makefile (ld-map): Move initialization below Makeconfig include.
416         * sysdeps/libm-ieee754/k_standard.c (zero): Make non-const to
417         work around gcc bug.
419         * string/string.h (ffsl, ffsll): Prototype.
420         * string/Version (GLIBC_2.1): Add them.
421         * sysdeps/alpha/ffs.S: Schedule for EV5.  Add ffsl and ffsll
422         entry points.
423         * sysdeps/alpha/ffsll.S: New file.  Empty.
424         * sysdeps/generic/ffs.c: Add ffsl and ffsll entry points.
425         * sysdeps/generic/ffsll.c: New file.
426         * string/Makefile (routines): Add ffsll.
428 1998-07-30 10:03  Ulrich Drepper  <drepper@cygnus.com>
430         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Don't define CLK_TCK for
431         strictly ISO C compliant programs.
432         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
434 1998-07-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
436         * inet/protocols/rwhod.h: Correct typo in comment.
438         * configure.in: Use better regex for gettext.
440 1998-07-29 21:29  Ulrich Drepper  <drepper@cygnus.com>
442         * elf/elf.h: Define more EM_* constants, ELFCLASSNUM, ELFDATANUM,
443         EV_NUM, Elf32_Nhdr, Elf64_Nhdr and various note section values.
445         * elf/elf.h: Add DT_FLAGS_1 and the DF_1_* flag definitions.
447         * elf/sprof.c: Implement -c/--call-pairs option to emit list with
448         caller/callee and the number of calls.
450 1998-07-29  Mark Kettenis  <kettenis@phys.uva.nl>
452         * sysdeps/mach/hurd/dl-sysdep.c (__lseek): New function.
453         (__getpid): New function.
454         (abort): New function.
456 1998-07-29 15:07  Ulrich Drepper  <drepper@cygnus.com>
458         * sysdeps/arm/fpu/Dist: New file.  Add ieee754.h.
460         * nis/nis_cache2_xdr.c: Removed.
461         * nis/nis_cache.c: Removed.
462         * nis/nis_cache2.h: Removed.
464 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
466         * Rules (tests): Depend on tests-static only if build-static == yes.
468         * misc/Makefile (install-lib): Compile libbsd-compat.a and libg.a
469         only if build-static == yes.
471 1998-07-29 12:58  Ulrich Drepper  <drepper@cygnus.com>
473         * sysdeps/generic/glob.c: Winblowz compatibility stuff.
474         Patch received from Paul D. Smith <psmith@BayNetworks.COM>.
476 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
478         * sunrpc/clnt_unix.c (__msgwrite)[!SCM_CRED]: Add return
479         statement, fix typo.
480         * sunrpc/svc_unix.c (__msgwrite)[!SCM_CRED]: Likewise.
482 1998-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
484         * manual/pattern.texi (More Flags for Globbing): Fix typo.
486         * manual/math.texi (Special Functions): Fix typo.
488         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT): New
489         constant from Linux 2.1.112.
491         * posix/Makefile (install-lib): Compile libposix.a only if
492         build-static == yes.
494 1998-07-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
496         * sysdeps/generic/glob.c: Maintain const correctness.  Move extern
497         declarations to file level.  Cope with unsupported
498         _SC_GETPW_R_SIZE_MAX.
500 1998-07-29  Ulrich Drepper  <drepper@cygnus.com>
502         * stdio-common/tst-printf.c: %z is now recognized by printf.
504         * sysdeps/libm-ieee754/c_csqrt.c: Fix problems with some cancelation
505         errors.
506         * sysdeps/libm-ieee754/c_csqrtf.c: Likewise.
507         * sysdeps/libm-ieee754/c_csqrtlc: Likewise.
508         Patch by Stephen L Moshier <moshier@mediaone.net>.
510         * math/libm-test.c (csqrt_test): Correct typo in one test, add
511         another one.
513         * sysdeps/unix/sysv/linux/bits/siginfo.h: Adjust siginfo_t after
514         latest kernel change.
516 1998-07-29  6:39  Kazushige Goto <goto@statabo.rim.or.jp>
518         * sysdeps/alpha/fpu/e_sqrt.c [!_IEEE_FP]: Correctly handle
519         inputs near DBL_MIN.
521 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
523         * resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of
524         warnings when DNSSEC related records are received.
525         * resolv/gethnamaddr.c (getanswer): Likewise.
526         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
528         * signal/signal.h: Add prototype for sysv_signal.
530         * math/libm-test.c (tgamma_test): Remove redundant tests.
532         * sysdeps/generic/glob.c: Correct problems with */foo and GLOB_NOCHECK
533         where foo does not exist in any of the subdirectories.
534         Reported by Paul D. Smith <psmith@BayNetworks.COM>.
536         * posix/globtest.sh: Add test for this bug.
538         * posix/glob.h: Add GLOB_TILDE_CHECK.
539         * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK.
540         * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK.
541         * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
543 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
545         * io/sys/statfs.h: Fix typos.
546         * io/sys/statvfs.h: Fix typos.
548 1998-07-28  Ulrich Drepper  <drepper@cygnus.com>
550         * version.h (VERSION): Bump to 2.0.95.
552         * math/Makefile (libm-calls): Remove w_gamma, add w_tgamma.
553         * math/Versions [GLIBC_2.1]: Add tgamma, tgammaf, and tgammal.
554         * math/libm-test.c: Split old gamma_test and move half of it in new
555         function tgamma_test.
556         * math/bits/mathcalls.h: Add declaration of tgamma.
557         * sysdeps/libm-ieee754/k_standard.c: Change gamma errors into
558         tgamma errors.
559         * sysdeps/libm-ieee754/w_gamma.c: Remove lgamma compatibility code
560         and rename to ...
561         * sysdeps/libm-ieee754/w_tgamma.c: ... this.  New file.
562         * sysdeps/libm-ieee754/w_gammaf.c: Remove lgammaf compatibility code
563         and rename to ...
564         * sysdeps/libm-ieee754/w_tgammaf.c: ... this.  New file.
565         * sysdeps/libm-ieee754/w_gammal.c: Remove lgammal compatibility code
566         and rename to ...
567         * sysdeps/libm-ieee754/w_tgammal.c: ... this.  New file.
568         * sysdeps/libm-ieee754/w_lgamma.c: Add gamma as weak alias.
569         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
570         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
572         * stgdio-common/printf-parse.h: Implement handling of j, t, and z
573         modifiers.
574         * stdio-common/vfprintf.c: Likewise.
575         * stdio-common/vfscanf.c: Likewise.
576         * manual/stdio.texi: Document new printf/scanf modifiers.
578         * sysdeps/unix/sysv/linux/recvmsg.c: Remove alias __recvmsg.
579         * sysdeps/unix/sysv/linux/sendmsg.c: Remove alias __sendmsg.
581 1998-07-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
583         * sunrpc/Makefile (routines): Add clnt_unix and svc_unix.
584         * sunrpc/Versions: Add new *unix_create functions.
585         * sunrpc/clnt_gen.c: Add support for RPC over AF_UNIX.
586         * sunrpc/clnt_unix.c: New, client side of RPC over AF_UNIX.
587         * sunrpc/key_call.c: Use RPC over AF_UNIX for communication
588         with keyserv daemon.
589         * sunrpc/rpc/clnt.h: Add AF_UNIX based RPC function prototypes.
590         * sunrpc/rpc/svc.h: Likewise.
591         * sunrpc/svc_authux.c: Copy internal auth flavor if none is given.
592         * sunrpc/svc_tcp.c: Fix typos.
593         * sunrpc/svc_unix.c: New, server side of AF_UNIX based RPC.
595         * nis/Makefile: Remove currently not working cache functions.
596         * nis/Versions: Add __nisbind_* functions for rpc.nisd.
597         * nis/nis_call.c: Rewrite binding to a NIS+ server to reuse
598         CLIENT handles.
599         * nis/nis_file.c: Fix memory leaks.
600         * nis/nis_intern.h: Move internal structs from here ...
601         * nis/rpcsvc/nislib.h: ... to here for NIS+ server and tools.
602         * nis/nis_lookup.c: Try at first if last client handle works.
603         * nis/nis_table.c: Likewise.
604         * nis/nis_checkpoint.c: Adjust __do_niscall2 parameters.
605         * nis/nis_mkdir.c: Likewise.
606         * nis/nis_ping.c: Likewise.
607         * nis/nis_rmdir.c: Likewise.
608         * nis/nis_server.c: Likewise.
609         * nis/nis_util.c: Likewise.
610         * nis/nis_findserv.c (__nis_findfastest): Little optimization.
612 1998-07-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
614         * stdlib/strtol.c (STRTOL_LONG_MAX): Correct typo in last patch -
615         define as LONG_MAX.
617 1998-07-28 09:31  Ulrich Drepper  <drepper@cygnus.com>
619         * nscd/connections.c (gr_send_answer): Deal with missing UIO_MAXIOV.
620         Correct test whether writev send all data.
621         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Correct test whether readv
622         received all data.
624 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
626         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Deal with missing UIO_MAXIOV.
628 1998-07-28  Mark Kettenis  <kettenis@phys.uva.nl>
630         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Change assert call to
631         allow mode to be 0.
632         (__xstat): New function.
633         (__fxstat): New function.
634         (_dl_sysdep_read_whole_file): Removed.  The implementation in
635         `elf/dl-misc.c' now also works for the Hurd.
637 1998-07-27 22:25  Ulrich Drepper  <drepper@cygnus.com>
639         * sysdeps/generic/glob.c: Handle ~ and ~NAME case correctly.
641         * posix/globtest.sh: Also add directories with NSS modules into the
642         library path.
644 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
646         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
647         strtol.
648         (INT_FIELD_MAYBE_NULL): Likewise.
650         * posix/globtest.c: Rewrite for extended test suite.
651         * posix/globtest.sh: More tests.
652         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
654         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
655         Use new macro.
657         * sysdeps/generic/readv.c: Correct return type.
658         * sysdeps/generic/writev.c: Likewise.
660 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
662         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
663         program_invocation_name when compiling outside of glibc.
665 1998-07-26  Philip Blundell  <philb@gnu.org>
667         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
668         like `@' in .type directives.
670         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
671         FE_TONEAREST exists for this platform before using it.
672         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
674         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
675         debugging code.  Correct handling of PC24 relocs.
677         * elf/Makefile (ld-map): Only define if versioning is in use.
679         * sysdeps/arm/fpu_control.h: Move to ...
680         * sysdeps/arm/fpu/fpu_control.h: ... here.
681         * sysdeps/generic/fpu_control.h: Made usable as a dummy
682         implementation.
684         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
686         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
687         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
688         implementation.
689         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
690         Based on patch from Scott Bambrough and Pat Beirne.
692         * shlib-versions: Add appropriate definitions for ARM machines.
694         * README.template: Mention that Linux/ARM with ELF works now.
696 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
698         * Makerules: Generate compilation rules for all object suffixes,
699         not only those currently selected, for sources in the current or
700         object directory.
702 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
704         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
705         match `/' in filename by a character class if requested.
706         * posix/testfnm.c: Rewritten.
707         * posix/testfnm.args: Removed.
709 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
711         * posix/annexc.c (limits_syms): Add missing symbols.
712         (stdarg_syms): Move va_list to `maybe' list.
713         (stdio_syms): Add FOPEN_MAX.
715 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
717         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
718         prevent conflict with __bswap_32.
720 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
722         * nscd/connections.c (pw_send_answer): Make one single writev call.
723         (gr_send_answer): Do the work in two writev calls.  This change
724         changes the protocol.
726         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
727         We now can do the job using two readv calls.
729 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
731         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
732         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
734         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
735         and Elf64_Vernaux.
737 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
739         * configure.in: Recognize pgcc as compiler.
740         Reported by sauron@angband.ee.ualberta.ca.
742 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
744         * nscd/dbg_log.c: Make sure, that debug message is really written.
745         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
747 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
749         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
750         Reported by bwelling@anomaly.munge.com [PR libc/720].
752         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
753         SVID more for gamma(x) with x integer <= 0.
754         Reported by Stephen L Moshier <moshier@mediaone.net>.
756         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
757         Correct test for SVID version of gamma.
759         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
760         emulation mode.
761         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
762         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
764         * string/string.h: Don't use string function optimization for C++
765         as long as we use macros.
767 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
769         * posix/fnmatch.c: Fix completely broken range matching.
771 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
773         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
775 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
777         * Makefile (headers2_0): Add sigstack.h.
779         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
781 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
783         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
784         Reported by Thorsten Kukuk.
786         * string/strcoll.c: Correct problem with empty strings.
787         * string/strxfrm.c: Likewise.
788         Reported by vbzoli@hbrt.hu [PR libc/719].
790 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
792         * sysdeps/posix/tempname.c: Use the random-name generator
793         already used by mktemp/mkstemp.  Honor TMPDIR.
795 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
797         * hurd/Makefile (routines): Remove cthreads.
798         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
800         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
802         * manual/Makefile (distribute): Add summary.texi.
804 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
806         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
808 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
810         * configure.in: Correct expression to match gcc version.
812         * configure.in: Move test for available port after machine
813         variable is defined.
815 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
817         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
818         message, copy the buffer and resize it to what the kernel
819         wants to see.  Bug found and analyzed by Thorsten Kukuk
820         <kukuk@weber-eb.uni-paderborn.de>
822 1998-07-20  Jose M. Moya  <josem@gnu.org>
824         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
825         value.
827 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
829         * sysdeps/mach/hurd/getdomain.c: New file.
830         * sysdeps/mach/hurd/setdomain.c: New file.
832 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
834         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
835         a weak alias.
837 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
839         * libio/libioP.h: Use __PMT in typedef.
840         * libio/strfile.h: Likewise.
842 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
844         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
845         buffer is too small.
846         Reported by John Levon <j_levon@ncc.co.uk>.
848 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
850         * shlib-versions: Remove definition for libSegFault.
852         * memory.texi: Comment out the relocating allocator description.
853         * manual/signal.texi: Remove reference to relocating allocator.
854         * manual/top-menu.texi: Regenerated.
856         * posix/fnmatch.c: Implement [: :] and change to recognize
857         ^ as negation only when not _POSIXLY_CORRECT.
859         * sysdeps/generic/glob.c: Add several optimizations.
861         * posix/glob.h: Undefine __PMT to prevent warnings.
862         Reported by Roland McGrath.
864         * posix/regex.c: Define namespace macros only for _LIBC.
866         * sysdeps/arm/dl-machine.h: Fix typo.
868         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
869         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
870         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
871         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
872         sigpending, sigqueue, and sigtimedwait.
873         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
875         * timezone/leapseconds: Update from tzdata1998f.
877 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
879         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
880         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
881         * libio/stdio.h: Fix typo.
883 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
885         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
886         magic memobj port arg parsing stuff.  Fix it someday when we are ready
887         to really use it.
888         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
889         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
891 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
893         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
895 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
897         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
898         a weak alias.
899         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
900         * sysdeps/generic/sigsuspend.c: Likewise.
902 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
904         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
906 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
908         * Makerules (map-file): Don't use $(wildcard) to find the
909         generated version script, instead look in $(version-maps).
910         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
911         is used.
912         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
913         if versioning is used.  Don't use $(wildcard) to find the
914         generated version script, instead look in $(verson-maps).
916 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
918         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
919         unused function handle.
920         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
921         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
922         * debug/catchsegv.sh: Fix argument processing, quoting and various
923         typos.  Put the crash info always in the current directory.  Find
924         program in $PATH if it contains no directory component.
925         * Makerules (install-lib.so-versioned,
926         install-lib.so-unversioned): New variables.
927         (install-lib-nosubdir): Depend on unversioned libs in
928         slibdir, not libdir.
930 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
932         * Make-dist (+tsrcs): Remove references to %-map variables and
933         *.map files.  Add Versions in subdirs.
934         * Makerules (distinfo-vars): Don't write out %-map variables.
936 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
938         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
939         Include <paths.h> instead.
940         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
941         * sysdeps/unix/sysv/linux/paths.h: Likewise.
942         Reported by Dale Scheetz <dwarf@polaris.net>.
944 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
946         * catgets/open_catalog.c: Strictly check whether catalog file is
947         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
949 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
951         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
953         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
955 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
957         * debug/catchsegv.sh: Fix several stupid bugs.
959         * shlib-versions: Define version for libSegFault.
960         * debug/Makefile: Replace shared lib version number while rewriting.
962 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
964         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
965         Suggested by Roland McGrath.
967 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
969         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
970         generation to control environment.
972 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
974         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
975         Patch by John Tobey <jtobey@banta-im.com>.
977         * manual/llio.texi: Document readv/writev and mmap functions.
978         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
980 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
982         * manual/Makefile (texis): Depend on texis.awk.
983         (nonexamples): Filter out add-on chapters.
984         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
985         (stamp-summary): Depend on $(texis) except summary.texi.
986         ($(inst_infodir)/libc.info): Simplify command.
987         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
988         Fix the generation of the detailed node listing to make it
989         complete again.
990         * manual/math.texi: Fix signature of lgamma_r.
992 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
994         * debug/Makefile (distribute): Add sigcontextinfo.h.
995         Add rules to generate and install catchsegv.
996         * debug/catchsegv.sh: New file.
998 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
1000         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
1001         port instead of a Mach memory object.
1002         (__open): Likewise.
1003         (__libc_read): New function.
1004         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
1005         object.
1007 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
1009         * debug/Makefile (routines): Add backtracesymsfd.
1010         Add rules to generate libSegFault.
1011         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
1012         * debug/execinfo.h: Declare backtrace_symbols_fd.
1013         * sysdeps/generic/backtracesymsfd.c: New file.
1014         * sysdeps/generic/elf/backtracesymsfd.c: New file.
1015         * sysdeps/generic/segfault.c: New file.
1016         * sysdeps/generic/sigcontextinfo.h: New file.
1017         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
1019         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
1021 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
1023         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
1024         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
1026 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
1028         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
1029         * assert/assert-perr.c: Likewise.
1030         * assert/assert.c: Likewise.
1031         * gconv_conf.c: Likewise.
1032         * libio/iofputs_u.c: Likewise.
1033         * malloc/mtrace.c: Likewise.
1034         * malloc/obstack.c: Likewise.
1035         * misc/error.c: Likewise.
1036         * misc/syslog.c: Likewise.
1037         * stdio-common/asprintf.c: Likewise.
1038         * stdio-common/dprintf.c: Likewise.
1039         * stdio-common/getw.c: Likewise.
1040         * stdio-common/putw.c: Likewise.
1041         * stdio-common/snprintf.c: Likewise.
1042         * stdio-common/sprintf.c: Likewise.
1043         * stdio-common/sscanf.c: Likewise.
1044         * sunrpc/svc_simple.c: Likewise.
1045         * sysdeps/generic/abort.c: Likewise.
1047         * rt/aio_cancel.c: Don't define ECANCELED here.
1048         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
1050 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
1052         * argp/argp-fmtstream.c: Unify names of used global functions.
1053         * argp/argp-help.c: Likewise.
1054         * assert/assert-perr.c: Likewise
1055         * assert/assert.c: Likewise
1056         * dirent/scandir.c: Likewise
1057         * dirent/scandir64.c: Likewise
1058         * dirent/versionsort.c: Likewise
1059         * dirent/versionsort64.c: Likewise
1060         * gmon/bb_exit_func.c: Likewise.
1061         * gmon/gmon.c: Likewise.
1062         * grp/initgroups.c: Likewise.
1063         * iconv/gconv_conf.c: Likewise.
1064         * inet/getnameinfo.c: Likewise.
1065         * inet/getnetgrent_r.c: Likewise.
1066         * inet/inet_ntoa.c: Likewise.
1067         * inet/rcmd.c: Likewise.
1068         * inet/rexec.c: Likewise.
1069         * inet/ruserpass.c: Likewise.
1070         * io/fts.c: Likewise.
1071         * io/ftw.c: Likewise.
1072         * io/ftw64.c: Likewise.
1073         * io/getdirname.c: Likewise.
1074         * io/getwd.c: Likewise.
1075         * io/lockf.c: Likewise.
1076         * libio/iofdopen.c: Likewise.
1077         * libio/iopopen.c: Likewise.
1078         * login/utmp_daemon.c: Likewise.
1079         * malloc/mtrace.c: Likewise.
1080         * malloc/obstack.c
1081         * misc/daemon.c: Likewise.
1082         * misc/efgcvt_r.c: Likewise.
1083         * misc/err.c: Likewise.
1084         * misc/error.c: Likewise.
1085         * misc/fstab.c: Likewise.
1086         * misc/getpass.c: Likewise.
1087         * misc/getttyent.c: Likewise.
1088         * misc/mntent_r.c: Likewise.
1089         * misc/search.h: Likewise.
1090         * misc/syslog.c: Likewise.
1091         * nscd/nscd_getgr_r.c: Likewise.
1092         * nscd/nscd_getpw_r.c: Likewise.
1093         * posix/getpgrp.c: Likewise.
1094         * posix/wordexp.c: Likewise.
1095         * pwd/fgetpwent_r.c: Likewise.
1096         * pwd/getpw.c: Likewise.
1097         * resolv/herror.c: Likewise.
1098         * resolv/res_init.c: Likewise.
1099         * shadow/fgetspent_r.c: Likewise.
1100         * shadow/lckpwdf.c: Likewise.
1101         * signal/sigrelse.c: Likewise.
1102         * stdio-common/asprintf.c: Likewise.
1103         * stdio-common/dprintf.c: Likewise.
1104         * stdio-common/getw.c: Likewise.
1105         * stdio-common/putw.c: Likewise.
1106         * stdio-common/snprintf.c: Likewise.
1107         * stdio-common/sprintf.c: Likewise.
1108         * stdio-common/sscanf.c: Likewise.
1109         * stdlib/lrand48_r.c: Likewise.
1110         * stdlib/mrand48_r.c: Likewise.
1111         * string/argz-replace.c: Likewise.
1112         * string/envz.c: Likewise.
1113         * sunrpc/auth_des.c: Likewise.
1114         * sunrpc/auth_unix.c: Likewise.
1115         * sunrpc/bindrsvprt.c: Likewise.
1116         * sunrpc/clnt_gen.c: Likewise.
1117         * sunrpc/clnt_perr.c: Likewise.
1118         * sunrpc/clnt_simp.c: Likewise.
1119         * sunrpc/clnt_tcp.c: Likewise.
1120         * sunrpc/clnt_udp.c: Likewise.
1121         * sunrpc/get_myaddr.c: Likewise.
1122         * sunrpc/key_call.c: Likewise.
1123         * sunrpc/netname.c: Likewise.
1124         * sunrpc/openchild.c: Likewise.
1125         * sunrpc/pmap_rmt.c: Likewise.
1126         * sunrpc/rpc_dtable.c: Likewise.
1127         * sunrpc/rtime.c: Likewise.
1128         * sunrpc/svc_run.c: Likewise.
1129         * sunrpc/svc_simple.c: Likewise.
1130         * sunrpc/svc_tcp.c: Likewise.
1131         * sunrpc/svc_udp.c: Likewise.
1132         * sunrpc/svcauth_des.c: Likewise.
1133         * sunrpc/xdr_array.c: Likewise.
1134         * sunrpc/xdr_rec.c: Likewise.
1135         * sunrpc/xdr_ref.c: Likewise.
1136         * sunrpc/xdr_stdio.c: Likewise.
1137         * sysdeps/generic/abort.c: Likewise.
1138         * sysdeps/generic/dl-sysdep.c: Likewise.
1139         * sysdeps/generic/fstatfs64.c: Likewise.
1140         * sysdeps/generic/ftruncate64.c: Likewise.
1141         * sysdeps/generic/getrlimit64.c: Likewise.
1142         * sysdeps/generic/glob.c: Likewise.
1143         * sysdeps/generic/prof-freq.c: Likewise.
1144         * sysdeps/generic/putenv.c: Likewise.
1145         * sysdeps/generic/statfs64.c: Likewise.
1146         * sysdeps/generic/ttyname_r.c: Likewise.
1147         * sysdeps/generic/utmp_file.c: Likewise.
1148         * sysdeps/generic/vlimit.c: Likewise.
1149         * sysdeps/generic/vtimes.c: Likewise.
1150         * sysdeps/posix/cuserid.c: Likewise.
1151         * sysdeps/posix/euidaccess.c: Likewise.
1152         * sysdeps/posix/mkstemp.c: Likewise.
1153         * sysdeps/posix/mktemp.c: Likewise.
1154         * sysdeps/posix/pread.c: Likewise.
1155         * sysdeps/posix/pread64.c: Likewise.
1156         * sysdeps/posix/profil.c: Likewise.
1157         * sysdeps/posix/pwrite.c: Likewise.
1158         * sysdeps/posix/pwrite64.c: Likewise.
1159         * sysdeps/posix/sigblock.c: Likewise.
1160         * sysdeps/posix/sigpause.c: Likewise.
1161         * sysdeps/posix/ttyname.c: Likewise.
1162         * sysdeps/posix/ttyname_r.c: Likewise.
1163         * sysdeps/posix/waitid.c: Likewise.
1164         * sysdeps/unix/getlogin_r.c: Likewise.
1165         * sysdeps/unix/grantpt.c: Likewise.
1166         * sysdeps/unix/rewinddir.c: Likewise.
1167         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1168         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
1169         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1170         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1171         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1172         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
1173         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1174         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1175         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
1176         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
1177         * sysvipc/sys/shm.h: Likewise.
1178         * time/ctime_r.c: Likewise.
1179         * time/strptime.c: Likewise.
1180         * wcsmbs/mbrlen.c: Likewise.
1181         * wcsmbs/wcsdup.c: Likewise.
1182         * wcsmbs/wcsxfrm.c: Likewise.
1183         * wctype/wcfuncs.c: Likewise.
1185         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
1186         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
1187         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1188         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1189         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1190         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1191         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1192         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1194         * grp/fgetgrent_r.c: Use explicit locking of the stream.
1196         * elf/Makefile (rtld-routines): Add dl-environ.
1197         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
1198         to...
1199         * sysdeps/generic/dl-environ.c: here.  New file.
1201         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
1202         * libio/Versions: Add fputs_unlocked.
1203         * libio/iofputs_u.c: New file.
1204         * libio/stdio.h: Add prototype for fputs_unlocked.
1206         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
1207         * sunrpc/rpc/clnt.h: Likewise.
1208         * sunrpc/rpc/pmap_clnt.h: Likewise.
1209         * sunrpc/rpc/svc.h: Likewise.
1210         * sunrpc/rpc/xdr.h: Likewise.
1212         * sysdeps/i386/memchr.S: Correct for more strict gas.
1213         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
1214         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
1215         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
1216         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
1218 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1220         * configure.in: Change message for binutils version from
1221         2.8.1.0.17->2.8.1.0.23.
1223 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
1225         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
1226         Patch by John Tobey <jtobey@banta-im.com>.
1228 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1230         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
1231         instead of sysconf.
1233 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
1235         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
1236         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
1237         (conv_error): Likewise.
1238         (input_error): Likewise.
1239         (memory_error): Likewise.
1241 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1243         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
1244         implementation.  Include <entry.h>.  Replace references to symbol
1245         _start with macro ENTRY_POINT.
1246         (__libc_uid): Remove.
1247         (__libc_multiple_libcs): New variable.
1248         (__libc_stack_end): New variable.
1249         (_dl_hwcap_mask): New variable.
1250         (_dl_important_hwcaps): New function.
1251         (_dl_show_auxv): Mark internal.
1253 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
1255         * mach/Makefile: Create target directory before generating
1256         mach-syscalls.mk.
1257         * mach/Machrules: Invoke awk using AWK variable.  Create target
1258         directory before generating server stubs.
1260 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
1262         * wcsmbs/wcslen.c (__wcslen): Fix comment.
1264         * configure.in: Allow egcs-2.92.
1266 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1268         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
1269         chapter files.  Exorcise the chapters, chapters-incl mess.
1270         Support inserting doc chapters from add-on modules.
1271         (chapters): New variable.
1272         (add-chapters): New variable.
1273         (appendices): New variable.
1274         (libc.texinfo): New target.
1275         (clean): Fix bugs.
1276         (realclean): Fix bugs.
1278         * manual/texis.awk: New file.
1279         * manual/libc-texinfo.sh: New file.
1280         * manual/libc-texinfo.in: New file.
1282         * manual/conf.texi (top @node): Remove next pointer.
1283         * manual/lang.texi (top @node): Remove prev pointer.
1285         * manual/job.texi (top @node): Add explicit pointers.
1286         * manual/message.texi (top @node): Add explicit pointers.
1287         * manual/nss.texi (top @node): Add explicit pointers.
1288         * manual/process.texi (top @node): Add explicit pointers.
1289         * manual/startup.texi (top @node): Add explicit pointers.
1290         * manual/terminal.texi (top @node): Add explicit pointers.
1291         * manual/users.texi (top @node): Add explicit pointers.
1293         * manual/arith.texi: Add %MENU% tag.
1294         * manual/conf.texi: Add %MENU% tag.
1295         * manual/contrib.texi: Add %MENU% tag.
1296         * manual/ctype.texi: Add %MENU% tag.
1297         * manual/errno.texi: Add %MENU% tag.
1298         * manual/filesys.texi: Add %MENU% tag.
1299         * manual/header.texi: Add %MENU% tag.
1300         * manual/install.texi: Add %MENU% tag.
1301         * manual/intro.texi: Add %MENU% tag.
1302         * manual/io.texi: Add %MENU% tag.
1303         * manual/job.texi: Add %MENU% tag.
1304         * manual/lang.texi: Add %MENU% tag.
1305         * manual/llio.texi: Add %MENU% tag.
1306         * manual/locale.texi: Add %MENU% tag.
1307         * manual/maint.texi: Add %MENU% tag.
1308         * manual/math.texi: Add %MENU% tag.
1309         * manual/mbyte.texi: Add %MENU% tag.
1310         * manual/memory.texi: Add %MENU% tag.
1311         * manual/message.texi: Add %MENU% tag.
1312         * manual/nss.texi: Add %MENU% tag.
1313         * manual/pattern.texi: Add %MENU% tag.
1314         * manual/pipe.texi: Add %MENU% tag.
1315         * manual/process.texi: Add %MENU% tag.
1316         * manual/search.texi: Add %MENU% tag.
1317         * manual/setjmp.texi: Add %MENU% tag.
1318         * manual/signal.texi: Add %MENU% tag.
1319         * manual/socket.texi: Add %MENU% tag.
1320         * manual/startup.texi: Add %MENU% tag.
1321         * manual/stdio.texi: Add %MENU% tag.
1322         * manual/string.texi: Add %MENU% tag.
1323         * manual/sysinfo.texi: Add %MENU% tag.
1324         * manual/terminal.texi: Add %MENU% tag.
1325         * manual/time.texi: Add %MENU% tag.
1326         * manual/users.texi: Add %MENU% tag.
1328 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1330         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
1331         Update.
1333 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1335         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
1336         style declaration to avoid warning.
1337         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1339 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
1341         * elf/rtld.c (process_dl_debug): Add missing continue.
1343 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
1345         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
1346         code needs it.
1348 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1350         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
1351         sysd-dirs-done.
1352         * Makerules: Don't generate version maps too early.
1353         ($(common-objpfx)sysd-versions): Force regeneration if the list of
1354         subdirs has changed.
1356 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1358         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
1360 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1362         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
1363         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
1364         return value.
1366 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1368         * elf/dl-open.c (dl_open_worker): New function.
1369         (_dl_open): Call it to do the actual work while catching errors.
1370         * elf/dl-close.c (_dl_close): Only call termination function if
1371         the initialisation function was called.
1373 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
1375         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
1376         Reported by Felix von Leitner <leitner@amdiv.de>.
1378 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1380         * Make-dist (+sysdep-tsrcs): Add Versions.
1382 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1384         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
1385         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
1386         * sysdeps/powerpc/Versions: New file.
1387         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
1388         and __errno_location.
1389         * misc/Versions: Add brk and sbrk.
1390         * posix/Versions: Add environ, __environ and _environ.
1391         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
1393 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
1395         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
1396         Patch by Zack Weinberg.
1398 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1400         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
1401         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
1402         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
1404 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1406         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
1408 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
1410         * posix/unistd.h: Simplify #ifdefs.
1412         * libio/libio.h: Undo last change due to possible C++ problems.
1413         * libio/fileops.h: Likewise.
1415 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
1417         * grp/grp.h: Define gid_t also for __USE_XOPEN.
1418         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
1419         * io/utime.h: Define time_t also for __USE_XOPEN.
1420         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
1421         Define *_t types except for pid_t also for __USE_XOPEN.
1422         Define S_* macros also for __USE_XOPEN.
1423         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
1424         THOUSEP also for __USE_XOPEN.
1425         * math/math.c: Define M_* macros also for __USE_XOPEN.
1426         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
1427         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
1428         defined.
1429         * posix/glob.h: Likewise for GLOB_NOSYS.
1430         * posix/regex.h: Likewise for REG_NOSYS.
1431         * posix/wordexp.h: Likewise for WRDE_NOSYS.
1432         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
1433         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
1434         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
1435         * signal/signal.h: Define pid_t also for __USE_XOPEN.
1436         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
1437         for __USE_POSIX199309.
1438         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
1439         constants also for __USE_XOPEN.
1440         * wcsmbs/wchar.h: For XPG4 include wctype.h.
1442         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
1443         * locale/setlocale.c (new_composite_name): Likewise for last_len.
1445         * libio/stdio.h: Don't declare fclose_unlocked.
1447         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
1449 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
1451         * stdio/stdio.h: Add prototypes for fflush_unlocked,
1452         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
1453         fgets_unlocked, fread_unlocked, fwrite_unlocked,
1454         clearerr_unlocked, feof_unlocked, ferror_unlocked,
1455         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
1456         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
1457         prototype for getopt.
1458         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
1459         * stdio/feof.c (feof_unlocked): Weak alias for feof.
1460         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
1461         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
1462         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
1463         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
1464         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
1465         * stdio/fread.c (fread_unlocked): Weak alias for fread.
1466         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
1467         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
1468         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
1469         * stdio/putc.c (putc_unlocked): Weak alias for putc.
1470         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
1471         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
1472         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
1473         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
1474         getc_unlocked, getchar_unlocked, putc_unlocked and
1475         putchar_unlocked.
1477         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
1478         from here ...
1479         * stdio-common/Versions: ... to here.
1481 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1483         * Makerules (versioning): Correct typo.
1485 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
1487         * elf/Versions: Add _dl_mcount_wrapper_check.
1488         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
1489         _dl_mcount_wrapper_check.
1490         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
1492         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
1493         internal_function.
1494         * elf/ldsodefs.h: Likewise.
1496         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
1498         * libio/stdio.h: Make sure va_list is defined for X/Open.
1499         Define P_tmpdir for X/Open.
1501         * posix/regex.h: Fix typo.
1503         * posix/unistd.h: Define intptr_t if not already happened.
1504         Add pthread_atfork prototype.
1505         * sysdeps/generic/bits/types.h: Define __intptr_t.
1506         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1507         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1508         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
1509         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
1510         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
1511         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
1512         * sysdeps/wordsize-64/stdint.h: Likewise.
1514         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
1516         * signal/Makefile (headers): Add bits/sigthread.h.
1517         * signal/signal.h: Include bits/sigthread.h.
1518         * sysdeps/generic/bits/sigthread.h: New file.
1520         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
1522         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
1523         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
1524         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
1525         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
1527         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
1529         * elf/rtld.c: Remove preloading and loadpath variables in SUID
1530         programs.
1531         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
1532         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
1533         names.
1535         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
1537         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
1538         Remove O_READ and O_WRITE definition.
1540         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
1541         and RLIM_SAVED_CUR.
1543         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
1545 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1547         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
1548         scripts directory.  Pass move-if-change to awk.
1549         (common-generated): Add $(version-maps) and sysd-versions.
1550         * versions.awk: Moved to...
1551         * scripts/versions.awk: ... here.  Use move-if-change to void
1552         touching unchanged files.  Print "version-maps = ..." instead of
1553         "all-version-maps = ..." and without $(common-objpfx).  Explain
1554         expected variable names.
1555         * Makefile (distribute): Updated.
1557 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1559         * misc/getttyent.c (getttyent): Don't return with locked stream.
1560         * misc/mntent_r.c (__getmntent_r): Likewise.
1562 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
1564         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
1565         if stream is line buffered.
1566         (_io_file_overflow): Likewise.
1567         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
1568         streams writing '\n' flushes the string.
1570 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
1572         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
1573         * elf/dl-support.c: Define it here...
1574         * elf/rtld.c: ...and here.
1576 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
1578         * grp/initgroups.c: Handle directives from nsswitch.conf file.
1580 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
1582         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
1583         __ino64_t definition.
1584         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
1585         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1587         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
1588         script if lddlibc4 failed.
1589         Reported by B. D. Elliott <bde@accessone.com>.
1591 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
1593         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
1594         Improve generated strings a bit.
1596 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1598         * posix/Makefile (generated): Remove $(objpfx) from the names.
1600 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1602         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
1603         format string.
1605         * libio/iofread_u.c: Include <stdio.h> for prototype.
1606         * libio/iofwrite_u.c: Likewise.
1608 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1610         * db2/Versions: New file.
1612 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1614         * Makefile (lib-noranlib): Don't depend on sysd-versions.
1615         ($(common-objpfx)sysd-versions): Remove rule.
1616         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
1617         Pass name of Versions.def file to script and redirect output to
1618         target.  Include it and make all generated version maps depend on
1619         it.
1620         * versions.awk: Print out variable definition containing all
1621         generated version maps.  Print error messages to stderr.  Remove
1622         temp file.
1624 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1626         * posix/annexc.c (check_header): Terminate macro name before
1627         comparing.
1628         (get_null_defines): Allow builtin macros with parameters.
1629         (fmt, testfmt): Add -D_LIBC.
1630         * posix/Makefile: Remove bogus duplicate include directories from
1631         annexc test command.
1633 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
1635         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
1636         password scheme.
1637         (_nss_nis_getpwnam_r): Likewise.
1638         (_nss_nis_getpwuid_r): Likewise.
1640 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
1642         * libio/Versions: Move symbols whose source lives in
1643         stdio-common to ...
1644         * stdio-common/Versions: ... here.
1645         * stdio/Versions: Add missing symbols.
1647 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1649         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1650         __syscall_sendmsg.
1651         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1652         __syscall_recvmsg.
1653         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1654         and make __recvmsg and recvmsg weak aliases.
1655         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1656         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1657         and __syscall_sendmsg.
1659 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1661         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1662         stream.
1663         * inet/ruserpass.c (token): Likewise.
1664         * nss/nsswitch.c (nss_parse_file): Likewise.
1665         * intl/localealias.c: Likewise.  Also for ferror.
1666         * time/getdate.c (__getdate_r): Likewise.
1668         * libio/Makefile (routines): Add iofgets_u.
1669         * libio/iofgets_u.c: New file.
1670         * libio/Versions: Add fgets_unlocked.
1671         * libio/stdio.h: Add prototype for fgets_unlocked.
1673         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1674         * misc/getusershell.c (initshells): Likewise.
1675         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1676         fgets_unlocked.
1677         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1678         * resolv/res_init.c (res_init): Likewise.
1679         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1681 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1683         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1684         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1686 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1688         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1689         _unlocked functions.
1691         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1692         is a private FILE.
1694 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1696         * csu/Makefile: Build crt files in lib pass.
1697         * db2/Makefile (distribute): Add mutex/sco.cc.
1698         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1699         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1700         s-proto.d if avoid-generated is set.
1702         * sysdeps/alpha/Dist: List only one file per line.
1703         * sysdeps/generic/Dist: Likewise.
1704         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1705         * sysdeps/sparc/sparc32/Dist: Likewise.
1706         * sysdeps/unix/Dist: Likewise.
1707         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1709         * sysdeps/mach/hurd/i386/Dist: New file.
1710         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1711         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1712         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1713         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1715 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1717         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1718         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1720         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1722         * time/tzfile.c (decode): Optimize by using bswap_32.
1723         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1724         __tzname array values.
1725         (__tzfile_compute): Correct setting of __tzname array values.
1726         * time/tzset.c (__tzstring): Clean up a bit.
1728 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1730         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1732 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1734         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1735         that fd can be bigger than FD_SETSIZE.
1737 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1739         * nscd/grpcache.c: Include <unistd.h>.
1740         * nscd/pwdcache.c: Likewise.
1742         * nis/nis_modify.c: Include <string.h>.
1743         * nis/nis_add.c: Likewise.
1744         * nis/nis_checkpoint.c: Likewise.
1745         * posix/runptests.c: Likewise.
1746         * sysdeps/generic/statvfs64.c: Likewise.
1747         * sysdeps/generic/fstatvfs64.c: Likewise.
1749 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1751         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1752         to match data from Unicode.
1753         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1755 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1757         * stdio-common/printf.h: Define printf_function and
1758         printf_arginfo_function types using __PMT not __P.
1759         Reported by Marc Lehmann.
1761 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1763         * assert/test-assert.c: New test.
1764         * assert/test-assert-perr.c: New test.
1765         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1767 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1769         BSD-style SCM_CREDS support.
1771         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1772         SCM_CREDS.
1773         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1774         visible SCM_CREDS packet to what the kernel wants.
1775         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1776         SCM_CREDS packet output by kernel to what users want.
1778         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1779         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1780         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1781         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1783         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1784         __sendmsg and __recvmsg to sysdep_routines.
1785         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1787 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1789         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1790         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1791         * nscd/nscd.c: Check, if pthread_create fails.
1793 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1795         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1796         format strings.
1797         * stdio-common/bug1.c (main): Likewise.
1798         * stdio-common/bug5.c (main): Likewise.
1799         * stdio-common/tstgetln.c (main): Likewise.
1800         * elf/sprof.c (generate_call_graph): Likewise.
1801         (load_shobj): Likewise.
1802         * posix/runptests.c (main): Likewise.
1803         * string/tst-strlen.c (main): Likewise.
1805         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1806         variable q3.
1807         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1809 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1811         * wctype/Versions: Add __towctrans.
1812         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1814 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1816         * grp/initgroups.c (compat_call): Only call dynamically loaded
1817         functions if they are really present.
1819 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1821         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1822         #ifdef that contains __BEGIN_DECLS.
1824 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1826         * libio/iofwrite.c: Fix return value when size == 0.
1828 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1830         * posix/Makefile (distribute): Add annexc.c.
1831         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1833 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1836         bits/pthreadtypes.h here, and do not clobber headers.
1838         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1840 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1842         * timezone/tst-timezone.c: Add tests for tzname variable.
1844 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1846         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1847         rule that lists all of them as targets.
1848         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1849         fragment that defines $(vers-libs) based on contents of that file;
1850         then include it.
1851         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1852         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1853         Predicate all this on avoid-generated unset as well as versioning.
1855 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1857         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1859 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1861         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1862         a copy.
1863         * Makefile: Add rules to generate map files.
1864         (distribute): Remove libc.map, add Versions.def and versions.awk.
1865         * Makerules: Change rules to find map files on common-objpfx.
1866         * elf/Makefile: Likewise.
1867         * md5-crypt/Makefile: Likewise.
1868         * nis/Makefile (libnsl-map): Remove.
1869         * Versions.def: New file.
1870         * versions.awk: New file.
1871         * argp/Versions: New file.
1872         * assert/Versions: New file.
1873         * catgets/Versions: New file.
1874         * csu/Versions: New file.
1875         * ctype/Versions: New file.
1876         * db/Versions: New file.
1877         * debug/Versions: New file.
1878         * dirent/Versions: New file.
1879         * elf/Versions: New file.
1880         * gmon/Versions: New file.
1881         * grp/Versions: New file.
1882         * hesiod/Versions: New file.
1883         * hurd/Versions: New file.
1884         * iconv/Versions: New file.
1885         * inet/Versions: New file.
1886         * intl/Versions: New file.
1887         * io/Versions: New file.
1888         * libio/Versions: New file.
1889         * linuxthreads/Versions: New file.
1890         * locale/Versions: New file.
1891         * login/Versions: New file.
1892         * malloc/Versions: New file.
1893         * math/Versions: New file.
1894         * md5-crypt/Versions: New file.
1895         * misc/Versions: New file.
1896         * nis/Versions: New file.
1897         * nss/Versions: New file.
1898         * posix/Versions: New file.
1899         * pwd/Versions: New file.
1900         * resolv/Versions: New file.
1901         * resource/Versions: New file.
1902         * rt/Versions: New file.
1903         * setjmp/Versions: New file.
1904         * shadow/Versions: New file.
1905         * signal/Versions: New file.
1906         * socket/Versions: New file.
1907         * stdio/Versions: New file.
1908         * stdio-common/Versions: New file.
1909         * stdlib/Versions: New file.
1910         * streams/Versions: New file.
1911         * string/Versions: New file.
1912         * sunrpc/Versions: New file.
1913         * sysdeps/alpha/Versions: New file.
1914         * sysdeps/alpha/fpu/Versions: New file.
1915         * sysdeps/i386/Versions: New file.
1916         * sysdeps/sparc/Versions: New file.
1917         * sysdeps/unix/sysv/Versions: New file.
1918         * sysdeps/unix/sysv/linux/Versions: New file.
1919         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1920         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1921         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1922         * sysvipc/Versions: New file.
1923         * termios/Versions: New file.
1924         * time/Versions: New file.
1925         * wcsmbs/Versions: New file.
1926         * wctype/Versions: New file.
1927         * libc.map: Removed.
1928         * db/libdb.map: Removed.
1929         * elf/libdl.map: Removed.
1930         * hesiod/libnss_hesiod.map: Removed.
1931         * hurd/libhurduser.map: Removed.
1932         * hurd/libmachuser.map: Removed.
1933         * linuxthreads/libpthread.map: Removed.
1934         * locale/libBrokenLocale.map: Removed.
1935         * login/libutil.map: Removed.
1936         * math/libm.map: Removed.
1937         * md5-crypt/libcrypt.map: Removed.
1938         * nis/libnsl.map: Removed.
1939         * nis/libnsl_compat.map: Removed.
1940         * nis/libnss_nis.map: Removed.
1941         * nis/libnss_nisplus.map: Removed.
1942         * nss/libnss_db.map: Removed.
1943         * nss/libnss_files.map: Removed.
1944         * resolv/libnss_dns.map: Removed.
1945         * resolv/libresolv.map: Removed.
1946         * rt/librt.map: Removed.
1948         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1949         Fix typos.
1951         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1952         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1954         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1955         correct size.
1957 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1959         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1960         in comment.
1962         * nscd/nscd.c: Include unistd.h.
1964 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1966         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1967         became cleverer.
1969 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1971         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1973 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1975         * scripts/test-installation.pl: Include <stdio.h> in test program
1976         to make it strictly conforming.
1978 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1980         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1981         not a strong alias.
1982         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1984         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1985         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1987 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1989         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1990         not a strong alias.
1992 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1994         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1995         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1996         bits/pthreadtypes.h.
1998 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
2000         * include/aio.h: New file.
2001         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
2002         (tests): Build and run annexc program.
2003         * posix/annexc.c: New file.
2004         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
2005         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
2006         * rt/aio_misc.c: Include limits.h.
2007         * rt/aio_notify.c: Include errno.h.
2008         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
2009         Define size_t.
2010         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2011         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2012         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2013         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
2014         kernel doesn't do this.
2015         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
2016         __USE_LARGEFILE64 is defined.
2017         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
2018         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
2019         if requested.
2020         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
2022         * stdlib/isomac.c: Avoid include_next warning.
2024 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
2026         * argp/argp.h: Use __PMT instead of __P for function pointer.
2027         * iconv/gconv.h: Likewise.
2028         * io/fts.h: Likewise.
2029         * io/ftw.h: Likewise.
2030         * libio/libio.h: Likewise.
2031         * malloc/mcheck.h: Likewise.
2032         * misc/search.h: Likewise.
2033         * posix/glob.h: Likewise.
2034         * resolv/resolv.h: Likewise.
2035         * signal/signal.h: Likewise.
2036         * stdlib/stdlib.h: Likewise.
2037         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
2038         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
2040 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2042         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
2044 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2046         * posix/wordexp.c (parse_param): Fix memory leak.
2048 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2050         * libc.map: Export _IO_ftrylockfile.
2052 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2054         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
2055         __get[pu]id.
2057 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2059         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
2061         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
2062         same search list twice.
2064 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2066         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
2067         used to optimize loop/select.
2069 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2071         * sysdeps/generic/init-first.c: Don't define __libc_pid.
2072         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
2073         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
2074         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
2075         * sysdeps/arm/init-first.c: Likewise.
2076         * posix/getopt_init.c: Don't use __libc_pid.
2077         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2078         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2079         * libc.map: Remove __libc_uid and __libc_pid.
2081 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2083         * sunrpc/rtime.c (rtime): Use poll instead of select.
2085 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2087         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
2088         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2089         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2090         Patches from FreeBSD current.
2092 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2094         * nscd/connections.c (handle_new_request): Handle POLLHUP
2095         correctly.
2096         (close_sockets): Correct parameter to dbg_log.
2098 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
2100         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2101         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
2102         (elf_machine_fixup_plt): Likewise.
2103         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
2104         _dl_pagesize not set, use system call to always get correct answer.
2105         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2106         (__syscall_getpagesize): Add
2108 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
2110         * resolv/res_send.c (res_send): Fix typo.
2112 1998-06-25  Andi Kleen <ak@muc.de>
2114         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
2115         * resolv/res_send.c (res_send): Likewise.
2117 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
2119         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
2120         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2122 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
2124         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
2125         * math/atest-exp2.c (exp_mpn, main): Likewise.
2126         * math/atest-sincos.c (main): Likewise.
2128         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
2129         base handling away from strtoul.  Always reset errno.
2131         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
2133         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
2134         _dl_profile_map if _dl_name_match_p.
2135         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
2136         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
2138         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
2139         as early-clobber.
2141         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
2142         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
2143         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
2145 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2147         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
2149 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2151         * nis/nis_call.c: Don't copy server structure.
2152         * nis/nis_intern.h: Remove unused entries.
2153         * nis/nis_table.c: Rewrite __create_ib_request.
2155 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
2157         * configure.in: Check for -fexceptions.
2158         * config.make.in: Define exceptions, not no-exceptions.
2159         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
2160         __P to use throw().
2161         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
2162         $(exceptions).
2163         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
2164         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
2165         lfind, and lsearch prototpypes.
2166         * stdlib/stdlib.h: Likewise for bsearch and qsort.
2168 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2170         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
2172 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2174         * Makefile (remove-old-headers): Make phony.
2176         * configure.in: Substitute @old_glibc_headers@.
2178 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2180         * libc.map: Remove __libc_uid.
2182 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2184         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
2185         typos.
2187 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
2189         * libc.map: Add Alpha-specific io function from protected namespace.
2191 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
2193         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
2194         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
2195         CPPFLAGS.
2197         * libc.map: Export __sigaction.
2199 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2201         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
2202         (from Linux 2.1.107).
2204 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
2206         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
2207         position when file was opened here.
2208         Reported by Howard Chu <hyc@platinum.com>.
2210         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
2211         undefined in a second inclusion.
2213 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2215         * sysdeps/mach/hurd/i386/Makefile: New file.
2216         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
2217         __libc_init_secure.
2218         (_hurd_stack_setup): Renamed
2219         from __libc_init_first.
2220         (__libc_init_first): New function.
2221         * sysdeps/mach/hurd/i386/static-start.S: New file.
2223 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2225         * sysdeps/mach/hurd/i386/init-first.c
2227 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2229         * grp/initgroups.c: Use _CALL_DL_FCT.
2231 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2233         * elf/rtld.c (process_dl_debug): Add missing continue.
2235 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
2237         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
2239 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2241         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
2243 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
2245         * config.make.in: Remove LDAP support.
2246         * nss/Makefile: Likewise.
2248 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
2250         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
2251         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2252         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
2253         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
2255 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
2257         * mach/Makefile: Change `mv' invocations to `mv -f'.
2258         * mach/Machrules: Likewise.
2260 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2262         * config.make.in (old-glibc-headers): Add it.
2264         * configure.in: Add test for glibc 2.0.x headers.
2266         * Makefile (headers2_0): New variable - contains so far only
2267         Linux/Intel glibc 2.0.x headers.
2268         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
2269         (install): Depend on remove-old-headers.
2271 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
2273         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
2274         make ftruncate a weak alias.
2275         * sysdeps/mach/hurd/ftruncate.c: Really define function as
2276         __ftruncate.
2277         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
2278         (truncate): Fix function defenition to match prototype.
2280 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
2282         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
2283         unlockpt, ptsname, ptsname_r, openpty and forkpty.
2285 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
2287         * sysdeps/generic/glob.c: Make it possible to include glob.h
2288         before loading glob.c.
2289         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
2291 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2293         * nscd/connections.c: Use poll() instead of select().
2295 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2297         * sysdeps/generic/Dist: Fix typo.
2299 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2301         * nis/nis_add.c: Avoid unnecessary strlen () calls.
2302         * nis/nis_addmember.c: Likewise.
2303         * nis/nis_call.c: Likewise.
2304         * nis/nis_creategroup.c: Likewise.
2305         * nis/nis_destroygroup.c: Likewise.
2306         * nis/nis_findserv.c: Likewise.
2307         * nis/nis_ismember.c: Likewise.
2308         * nis/nis_print.c: Likewise.
2309         * nis/nis_print_group_entry.c: Likewise.
2310         * nis/nis_removemember.c: Likewise.
2311         * nis/nis_verifygroup.c: Likewise.
2312         * nis/ypclnt.c: Likewise.
2314         * nis/nis_file.c: Close file handles.
2316         * nis/nis_callback.c: Fix typo.
2318 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2320         * nis/Makefile: Add nis-initgroups and compat-initgroups.
2321         * nis/libnss_compat.map: Add _nss_compat_initgroups.
2322         * nis/libnss_nis.map: Add _nss_nis_initgroups.
2323         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
2324         * nis/nss_nis/nis-initgroups.c: Likewise.
2325         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
2326         __nss_lookup_function and make it public.
2327         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
2328         module if exists, else use old method.
2330 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2332         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
2333         definition.
2334         * nss/getXXent_r.c (set_function, end_function, get_function):
2335         Likewise.  Reported by Thorsten Kukuk.
2337         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
2339 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2341         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
2342         1998-06-16 and distribute kernel_termios.h.
2344         * nis/Makefile (distribute): Add nis_xdr.h.
2346 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2348         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
2349         kernels that don't have sigaltstack.
2351 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
2353         * sysdeps/generic/bits/sem.h: Don't define union semun.
2355         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
2357         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
2358         here.
2359         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
2360         definition here.
2362 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
2364         * signal/signal.h: Add prototype for __sigaltstack.
2365         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
2366         Remove sigstack entry.
2367         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
2368         * sysdeps/unix/sysv/linux/sigstack.c: New file.
2370         * sysdeps/i386/backtrace.c: Add casts.
2372 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
2374         * intl/dcgettext.c: use complete type name.
2375         * intl/hash-string.h: Likewise.
2377         * intl/localealias.c: Undo patch from 1998-04-29.
2378         * intl/l10nflist.c: Likewise.
2379         * intl/loadinfo.h: Likewise.
2381 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2383         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
2385 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
2387         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
2388         _dl_mcount, _dl_mcount_wrapper.
2389         * elf/Makefile (routines): Add dl-profstub.
2390         * elf/dl-profstub.c: New file.
2391         * elf/dl-support.c: Don't define _dl_profile_map.
2392         * elf/rtld.c: Likewise.
2393         * elf/dlfcn.h: Define DL_CALL_FCT macro.
2394         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
2395         Define _CALL_DL_FCT.
2396         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
2397         loaded object.
2398         * iconv/gconv_db.c: Likewise.
2399         * iconv/skeleton.c: Likewise.
2400         * nss/getXXbyYY_r.c: Likewise.
2401         * nss/getXXent_r.c: Likewise.
2402         * nss/nsswitch.c: Likewise.
2404 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
2406         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
2407         * sysdeps/libm-i387/e_scalbf.S: Likewise.
2408         * sysdeps/libm-i387/e_scalbl.S: Likewise.
2410 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
2412         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
2413         longestdbl.
2415 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
2417         * iconvdata/Makefile (modules): Add MACINTOSH.
2418         (MACINTOSH-routines): New variable.
2419         (distribute): Add macintosh.c.
2420         (awk-generated-headers): Add macintosh.h.
2421         Add rule for macintosh.h generation.
2422         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
2423         * iconvdata/macintosh.c: New file.
2425 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2427         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
2429         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
2430         only should happen for cy != 0.
2432         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
2433         glob.h.
2435 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2437         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
2438         to compare stack addresses.
2440 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
2442         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
2443         defining prototypes.
2445 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
2447         * sysdeps/sparc/sparc32/dl-machine.h
2448         (elf_machine_fixup_plt): During rtld bootstrap, always perform
2449         flushes as the kernel will emulate it when the underlying cpu does
2450         not implement flush.
2452         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
2453         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
2455         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
2456         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
2457         trampoline code.
2459         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
2460         (__clone): Branch to label .Lerror not __clone_syscall_error.
2461         (.Lerror): Fixup EINVAL setting.
2462         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
2463         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
2464         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
2465         (__syscall_getgroups, __syscall_setgroups): Add.
2467         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2468         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
2469         around sa_mask data.
2471 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
2473         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
2475         * string/Makefile: Make sure test-ffs does not use builtins.
2477 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2479         * sunrpc/svc.c: Check for NULL pointer.
2481         * nis/libnsl.map: Add public NIS+ xdr functions.
2483         * nis/rpcsvc/nis_callback.h: New file.
2484         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
2485         * nis/nis_xdr.h: ... here.
2487         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
2488         pointers, use NIS+ defines where possible.
2489         * nis/nis_cache.c: Likewise.
2490         * nis/nis_cache2_xdr.c: Likewise.
2491         * nis/nis_call.c: Likewise.
2492         * nis/nis_checkpoint.c: Likewise.
2493         * nis/nis_clone_dir.c: Likewise.
2494         * nis/nis_clone_obj.c: Likewise.
2495         * nis/nis_clone_res.c: Likewise.
2496         * nis/nis_creategroup.c: Likewise.
2497         * nis/nis_file.c: Likewise.
2498         * nis/nis_free.c: Likewise.
2499         * nis/nis_getservlist.c: Likewise.
2500         * nis/nis_local_names.c: likewise.
2501         * nis/nis_lookup.c: Likewise.
2502         * nis/nis_mkdir.c: Likewise.
2503         * nis/nis_modify.c: Likewise.
2504         * nis/nis_ping.c: Likewise.
2505         * nis/nis_print.c: Likewise.
2506         * nis/nis_remove.c: Likewise.
2507         * nis/nis_removemember.c: Likewise.
2508         * nis/nis_rmdir.c: Likewise.
2509         * nis/nis_server.c: Likewise.
2510         * nis/nis_table.c: Likewise.
2511         * nis/nis_util.c: Likewise.
2512         * nis/nis_verifygroup.c: Likewise.
2513         * nis/nis_xdr.c: Likewise.
2514         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
2515         * nis/nis_xdr.c: ... to here.
2517 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
2519         * iconvdata/ksc5601.h: Clean up a bit.
2521 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
2523         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
2524         and process incoming data.
2525         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
2526         fragments as invalid.
2527         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2529 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2531         Removal of duplicates like "the the".
2532         * manual/time.texi (TZ Variable): Likewise.
2533         * manual/users.texi (Manipulating the Database): Likewise.
2534         * manual/sysinfo.texi (Filesystem handling): Likewise.
2535         * manual/signal.texi (Signaling Yourself): Likewise.
2536         * manual/message.texi (Message Translation): Likewise.
2537         (Common Usage): Likewise.
2538         * manual/llio.texi: Likewise.
2539         * manual/arith.texi (Old-style number conversion): Likewise.
2540         * manual/argp.texi (Argp): Likewise.
2541         (Argp Parsers): Likewise.
2542         (Argp Help Filtering): Likewise.
2544         * hesiod/README.hesiod: Correct typo.
2546         * manual/llio.texi: Correct typos.
2547         * manual/sysinfo.texi: Likewise.
2549 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2551         * rt/aio.h: Rename __op to __operation for g++.
2553 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2555         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
2556         script.
2557         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2558         * iconvdata/gen-8bit.sh: Clean up sed script.
2560         * iconvdata/Makefile: Remove all PERL conditionals; build all
2561         the modules all the time.  Export AWK.
2562         (gen-8bit-gap): Delete setting of PERL.
2563         (gen-8bit-gap-1): Likewise.
2564         (perl-generated-headers): Renamed awk-generated-headers.
2566         * iconvdata/gap.pl: Removed.
2567         * iconvdata/gaptab.pl: Removed.
2568         * iconvdata/gap.awk: New file.
2569         * iconvdata/gaptab.awk: New file.
2571 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
2573         * sysdeps/generic/Dist: Add errno-loc.c.
2575         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
2576         __new_* functions.
2578 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2580         * stdio-common/bug12.c: New test for fread()/fseek().
2581         * stdio-common/Makefile (tests): Add bug12.
2583 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2585         * sysdeps/generic/elf/backtracesyms.c: Make array elements
2586         constant.
2587         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2588         * debug/execinfo.h: Update declaration.
2590 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2592         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
2593         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
2594         * debug/execinfo.h: Update declaration.
2596 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2598         * manual/llio.texi: Fix spelling.
2599         * manual/sysinfo.texi: Fix spelling.
2601 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2603         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
2604         alias for old name.  Put this on __libc_subfreeres.
2605         * misc/search.h: Declare it.
2607 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2609         * string/bits/string2.h (strcmp): Add missing parens around macro
2610         parameters.
2612 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
2614         * manual/arith.texi: Fix problem with @math and texinfo.tex.
2616         * manual/filesys.texi: Document LFS functions.
2617         * manual/llio.texi: Likewise.
2618         * manual/stdio.texi: Likewise.
2619         * manual/time.texi: Likewise.
2621         * manual/llio.texi: Document AIO functions.
2623         * resource/sys/resource.h: Mark second argument of setrlimit as const.
2624         * sysdeps/generic/setrlimit.c: Likewise.
2625         * sysdeps/generic/setrlimit64.c: Likewise.
2626         * sysdeps/mach/hurd/setrlimit.c: Likewise.
2627         * sysdeps/unix/sysv/setrlimit.c: Likewise.
2629 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2631         * sysdeps/generic/getenv.c: Fix last change.
2633 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2635         * sysdeps/generic/backtrace.c: Provide generic implementation.
2637 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2639         * configure.in: Give visual feedback of the default directories we
2640         added.
2642 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2644         * io/fts.c (fts_build): Define oflag only if needed.
2646 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2648         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2650 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2652         * libc.map: Don't export argp's fmtstream handling functions.
2654         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2655         * manual/llio.texi: Document more LFS functions and start documenting
2656         the AIO functions.
2658 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2660         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2661         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2662         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2663         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2665 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2667         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2668         makes it easier to undump emacs.
2669         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2670         for when the endianness can't be determined.
2672 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2674         * nss/Makefile: Add files publickey database support.
2675         * nss/libnss_files.map: Export the required functions.
2676         * nss/nss_files/files-key.c: Implement it.
2677         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2679 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2681         * iconv/gconv_builtin.h: Add aliases for CORBA.
2682         * iconvdata/gconv-modules: Likewise.
2684 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2686         * math/libm-test.c (main): Call exp10_test.
2687         (exp10_test): New function which tests exp10.
2689 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2691         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2692         sigstack.
2694         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2695         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2696         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2698 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2700         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2701         in the variable, not its GOT slot.
2703 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2705         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2706         inline.
2707         * sysdeps/m68k/fpu/e_exp10.c: New file.
2708         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2709         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2711         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2712         _dl_profile_map only if the name matches.
2713         (_dl_start_user): Remember stack address.
2714         * sysdeps/m68k/elf/start.S: Pass new argument to
2715         __libc_start_user.
2717         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2718         definition.
2719         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2720         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2721         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2722         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2723         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2725 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2727         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2728         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2729         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2730         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2731         prototypes.
2732         * sysdeps/libm-i387/e_exp10.S: New file.
2733         * sysdeps/libm-i387/e_exp10f.S: New file.
2734         * sysdeps/libm-i387/e_exp10l.S: New file.
2735         * sysdeps/libm-ieee754/e_exp10.c: New file.
2736         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2737         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2738         * sysdeps/libm-ieee754/w_exp10.c: New file.
2739         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2740         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2741         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2743 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2745         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2746         sys/elf.h and sys/reg.h.
2747         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2748         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2749         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2750         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2752         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2753         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2755 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2757         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2758         __data member only for gcc.  Reported by ak@muc.de.
2760         * misc/mntent.h: Undo last patch.
2761         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2762         * misc/tst/mntent.c: Adjust code for this change.
2764         * io/fts.c: Updated from a slightly more recent BSD version.
2765         * io/fts.h: Likewise.
2767         * libc.map: Add __libc_stack_end.
2769         * db2/Makefile (routines): Add lock_region.
2770         * db2/config.h: Update from db-2.4.14.
2771         * db2/db.h: Likewise.
2772         * db2/db_185.h: Likewise.
2773         * db2/db_int.h: Likewise.
2774         * db2/btree/bt_close.c: Likewise.
2775         * db2/btree/bt_compare.c: Likewise.
2776         * db2/btree/bt_conv.c: Likewise.
2777         * db2/btree/bt_cursor.c: Likewise.
2778         * db2/btree/bt_delete.c: Likewise.
2779         * db2/btree/bt_open.c: Likewise.
2780         * db2/btree/bt_page.c: Likewise.
2781         * db2/btree/bt_put.c: Likewise.
2782         * db2/btree/bt_rec.c: Likewise.
2783         * db2/btree/bt_recno.c: Likewise.
2784         * db2/btree/bt_rsearch.c: Likewise.
2785         * db2/btree/bt_search.c: Likewise.
2786         * db2/btree/bt_split.c: Likewise.
2787         * db2/btree/bt_stat.c: Likewise.
2788         * db2/btree/btree.src: Likewise.
2789         * db2/btree/btree_auto.c: Likewise.
2790         * db2/clib/getlong.c: Likewise.
2791         * db2/common/db_appinit.c: Likewise.
2792         * db2/common/db_apprec.c: Likewise.
2793         * db2/common/db_byteorder.c: Likewise.
2794         * db2/common/db_err.c: Likewise.
2795         * db2/common/db_log2.c: Likewise.
2796         * db2/common/db_region.c: Likewise.
2797         * db2/common/db_salloc.c: Likewise.
2798         * db2/common/db_shash.c: Likewise.
2799         * db2/db/db.c: Likewise.
2800         * db2/db/db.src: Likewise.
2801         * db2/db/db_auto.c: Likewise.
2802         * db2/db/db_conv.c: Likewise.
2803         * db2/db/db_dispatch.c: Likewise.
2804         * db2/db/db_dup.c: Likewise.
2805         * db2/db/db_overflow.c: Likewise.
2806         * db2/db/db_pr.c: Likewise.
2807         * db2/db/db_rec.c: Likewise.
2808         * db2/db/db_ret.c: Likewise.
2809         * db2/db/db_thread.c: Likewise.
2810         * db2/db185/db185.c: Likewise.
2811         * db2/db185/db185_int.h: Likewise.
2812         * db2/dbm/dbm.c: Likewise.
2813         * db2/hash/hash.c: Likewise.
2814         * db2/hash/hash.src: Likewise.
2815         * db2/hash/hash_auto.c: Likewise.
2816         * db2/hash/hash_conv.c: Likewise.
2817         * db2/hash/hash_debug.c: Likewise.
2818         * db2/hash/hash_dup.c: Likewise.
2819         * db2/hash/hash_func.c: Likewise.
2820         * db2/hash/hash_page.c: Likewise.
2821         * db2/hash/hash_rec.c: Likewise.
2822         * db2/hash/hash_stat.c: Likewise.
2823         * db2/include/btree.h: Likewise.
2824         * db2/include/btree_ext.h: Likewise.
2825         * db2/include/clib_ext.h: Likewise.
2826         * db2/include/common_ext.h: Likewise.
2827         * db2/include/cxx_int.h: Likewise.
2828         * db2/include/db.h.src: Likewise.
2829         * db2/include/db_185.h.src: Likewise.
2830         * db2/include/db_am.h: Likewise.
2831         * db2/include/db_auto.h: Likewise.
2832         * db2/include/db_cxx.h: Likewise.
2833         * db2/include/db_dispatch.h: Likewise.
2834         * db2/include/db_ext.h: Likewise.
2835         * db2/include/db_int.h.src: Likewise.
2836         * db2/include/db_page.h: Likewise.
2837         * db2/include/db_shash.h: Likewise.
2838         * db2/include/db_swap.h: Likewise.
2839         * db2/include/hash.h: Likewise.
2840         * db2/include/hash_ext.h: Likewise.
2841         * db2/include/lock.h: Likewise.
2842         * db2/include/lock_ext.h: Likewise.
2843         * db2/include/log.h: Likewise.
2844         * db2/include/log_ext.h: Likewise.
2845         * db2/include/mp.h: Likewise.
2846         * db2/include/mp_ext.h: Likewise.
2847         * db2/include/mutex_ext.h: Likewise.
2848         * db2/include/os_ext.h: Likewise.
2849         * db2/include/os_func.h: Likewise.
2850         * db2/include/queue.h: Likewise.
2851         * db2/include/shqueue.h: Likewise.
2852         * db2/include/txn.h: Likewise.
2853         * db2/lock/lock.c: Likewise.
2854         * db2/lock/lock_conflict.c: Likewise.
2855         * db2/lock/lock_deadlock.c: Likewise.
2856         * db2/lock/lock_region.c: Likewise.
2857         * db2/lock/lock_util.c: Likewise.
2858         * db2/log/log.c: Likewise.
2859         * db2/log/log.src: Likewise.
2860         * db2/log/log_archive.c: Likewise.
2861         * db2/log/log_auto.c: Likewise.
2862         * db2/log/log_compare.c: Likewise.
2863         * db2/log/log_findckp.c: Likewise.
2864         * db2/log/log_get.c: Likewise.
2865         * db2/log/log_put.c: Likewise.
2866         * db2/log/log_rec.c: Likewise.
2867         * db2/log/log_register.c: Likewise.
2868         * db2/mp/mp_bh.c: Likewise.
2869         * db2/mp/mp_fget.c: Likewise.
2870         * db2/mp/mp_fopen.c: Likewise.
2871         * db2/mp/mp_fput.c: Likewise.
2872         * db2/mp/mp_fset.c: Likewise.
2873         * db2/mp/mp_open.c: Likewise.
2874         * db2/mp/mp_pr.c: Likewise.
2875         * db2/mp/mp_region.c: Likewise.
2876         * db2/mp/mp_sync.c: Likewise.
2877         * db2/mutex/68020.gcc: Likewise.
2878         * db2/mutex/mutex.c: Likewise.
2879         * db2/mutex/parisc.gcc: Likewise.
2880         * db2/mutex/parisc.hp: Likewise.
2881         * db2/mutex/sco.cc: Likewise.
2882         * db2/os/os_abs.c: Likewise.
2883         * db2/os/os_alloc.c: Likewise.
2884         * db2/os/os_config.c: Likewise.
2885         * db2/os/os_dir.c: Likewise.
2886         * db2/os/os_fid.c: Likewise.
2887         * db2/os/os_fsync.c: Likewise.
2888         * db2/os/os_map.c: Likewise.
2889         * db2/os/os_oflags.c: Likewise.
2890         * db2/os/os_open.c: Likewise.
2891         * db2/os/os_rpath.c: Likewise.
2892         * db2/os/os_rw.c: Likewise.
2893         * db2/os/os_seek.c: Likewise.
2894         * db2/os/os_sleep.c: Likewise.
2895         * db2/os/os_spin.c: Likewise.
2896         * db2/os/os_stat.c: Likewise.
2897         * db2/os/os_unlink.c: Likewise.
2898         * db2/progs/db_archive/db_archive.c: Likewise.
2899         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2900         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2901         * db2/progs/db_dump/db_dump.c: Likewise.
2902         * db2/progs/db_dump185/db_dump185.c: Likewise.
2903         * db2/progs/db_load/db_load.c: Likewise.
2904         * db2/progs/db_printlog/db_printlog.c: Likewise.
2905         * db2/progs/db_recover/db_recover.c: Likewise.
2906         * db2/progs/db_stat/db_stat.c: Likewise.
2907         * db2/txn/txn.c: Likewise.
2908         * db2/txn/txn.src: Likewise.
2909         * db2/txn/txn_auto.c: Likewise.
2910         * db2/txn/txn_rec.c: Likewise.
2912         * elf/rtld.c: Move definition of __libc_stack_end to ...
2913         * sysdeps/generic/dl-sysdep.h: ...here.
2915         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2916         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2917         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2919         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2920         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2921         before following it.
2923 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2925         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2926         from mntent correctly.
2928 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2930         * sunrpc/Makefile (generated): Correct typo.
2932 1998-06-04  Philip Blundell  <philb@gnu.org>
2934         * elf/elf.h (EM_ARM, et al.): New definitions.
2935         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2937 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2939         * localedata/SUPPORTED: Add sk_SK.
2940         * localedata/locales/sk_SK: New file.
2942 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2944         * Makeconfig (subdirs): Add debug.
2945         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2946         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2947         backtrace_symbols.
2948         * sysdeps/generic/backtrace.c: New file.
2949         * sysdeps/generic/backtracesyms.c: New file.
2950         * sysdeps/generic/elf/backtracesyms.c: New file.
2951         * sysdeps/i386/backtrace.c: New file.
2952         * debug/Makefile: New file.
2953         * debug/backtrace-tst.c: New file.
2954         * debug/execinfo.h: New file.
2956 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2958         * elf/sprof.c: Implement call graph profiling.
2960         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2962 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2964         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2965         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2966         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2967         Noticed by Jake Garver <garver@valkyrie.net>.
2969 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2971         * libio/genops.c (__underflow): Read character from read pointer
2972         as unsigned.
2973         (__uflow): Likewise.
2975 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2977         * libc.map: Add _dl_profile.
2978         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2979         this to ELF_DYNAMIC_RELOCATE.
2980         Always allocate array for relocation result if LD_PROFILE is defined.
2981         * elf/ldsodefs.h: Adjust prototypes.
2982         * elf/dl-open.c (_dl_open): Call relocation function with extra
2983         argument.
2984         * elf/rtld.c: Likewise.
2985         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2986         Correct loop condition.
2987         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2988         consider_profile to runtime setup function.
2989         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2990         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2992         * elf/dl-support.c: Define __libc_stack_end.
2993         * elf/rtld.c: Likewise.
2994         * sysdeps/generic/libc-start.c: Store last stack address in
2995         __libc_stack_end.
2996         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2997         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2999         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
3000         Include <stdint.h>, not <inttypes.h>.
3002         * elf/sprof.c: Implement flat profiling.
3004         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
3005         _IO_funlockfile explicitly.
3006         * libio/fileops.c: Likewise.
3007         * libio/fputc.c: Likewise.
3008         * libio/freopen.c: Likewise.
3009         * libio/freopen64.c: Likewise.
3010         * libio/fseek.c: Likewise.
3011         * libio/fseeko.c: Likewise.
3012         * libio/fseeko64.c: Likewise.
3013         * libio/ftello.c: Likewise.
3014         * libio/ftello64.c: Likewise.
3015         * libio/getc.c: Likewise.
3016         * libio/getchar.c: Likewise.
3017         * libio/iofclose.c: Likewise.
3018         * libio/iofflush.c: Likewise.
3019         * libio/iofgetpos.c: Likewise.
3020         * libio/iofgetpos64.c: Likewise.
3021         * libio/iofgets.c: Likewise.
3022         * libio/iofputs.c: Likewise.
3023         * libio/iofread.c: Likewise.
3024         * libio/iofsetpos.c: Likewise.
3025         * libio/iofsetpos64.c: Likewise.
3026         * libio/ioftell.c: Likewise.
3027         * libio/iofwrite.c: Likewise.
3028         * libio/iogetdelim.c: Likewise.
3029         * libio/iogets.c: Likewise.
3030         * libio/ioputs.c: Likewise.
3031         * libio/ioseekoff.c: Likewise.
3032         * libio/ioseekpos.c: Likewise.
3033         * libio/iosetbuffer.c: Likewise.
3034         * libio/iosetvbuf.c: Likewise.
3035         * libio/ioungetc.c: Likewise.
3036         * libio/iovsprintf.c: Likewise.
3037         * libio/iovsscanf.c: Likewise.
3038         * libio/oldfileops.c: Likewise.
3039         * libio/oldiofclose.c: Likewise.
3040         * libio/peekc.c: Likewise.
3041         * libio/putc.c: Likewise.
3042         * libio/putchar.c: Likewise.
3043         * libio/rewind.c: Likewise.
3045         * malloc/mtrace.c: Pretty print.
3047         * misc/mntent.h (struct mentent): Make string elements const char *.
3049         * nis/nis_printf.c: Optimize I/O a little bit.
3051         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
3052         * sysdeps/generic/sigset-cvt-mask.h: New file.
3053         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
3054         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
3055         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
3056         sigset-cvt-mask.h to do the dirty work.
3057         Patches by Joe Keane.
3059         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
3061         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
3062         syscall_error label in case of PIC anonymous.
3063         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
3064         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
3065         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
3066         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
3067         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
3068         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
3069         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
3071 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
3073         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
3074         we cannot declare the struct element as const.
3075         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
3076         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
3078 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3080         * manual/Makefile: Include ../Makeconfig earlier.
3081         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
3082         exist.
3083         (dir-add.texinfo): Remove useless $(SHELL).
3085 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3087         * Makefile (others): Build programs from install-bin.
3088         * configure.in: Modify config.make only if is was just created and
3089         move that command to second argument of AC_OUTPUT.  Add command to
3090         set config_vars in config.status.
3092 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3094         * malloc/Makefile (address-width): Fix conditional.
3096 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3098         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
3099         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
3100         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
3101         version GLIBC_2.1.
3103 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3105         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
3106         (Floating Point Parameters): Likewise.
3108 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3110         * hurd/Makefile (routines): Add cthreads.
3112 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3114         * login/login.c (login): Let pututline take care of finding the
3115         positin to insert the UTMP entry.  This corrects a bug where ssh
3116         was not reusing UTMP entries marked as DEAD_PROCESS.
3117         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3119 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3121         * login/Makefile (tests): New variable, add tst-utmp and
3122         tst-utmpx.
3123         * login/tst-utmp.c: New file.
3124         * login/tst-utmpx.c: New file.
3126 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3128         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
3129         aliases for _hurd_nerr, for programs that don't use sys_errlist,
3130         but need sys_err.
3132 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3134         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
3135         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
3137 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3139         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
3140         make __read a weak alias.  Use ANSI-style function definition.
3141         * sysdeps/mach/hurd/write.c: Likewise.
3143 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
3145         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
3146         _sys_errlist.
3148 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
3150         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
3151         Renamed from librtld.so.
3153 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3155         * libc.map: Remove _IO_getline_info which was erroneously
3156         introduced in section GLIBC_2.0.
3157         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3159 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3161         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
3162         created a weak alias.
3163         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3165 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
3167         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
3168         ftruncate function, and create a weak alias to ftruncate.
3170 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3172         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
3173         * inet/getnetgrent_r.c: Likewise.
3174         * nss/getXXbyYY_r.c: Likewise.
3175         * nss/getXXent_r.c: Likewise.
3176         * pwd/fgetpwent_r.c: Likewise.
3177         * shadow/sgetspent_r.c: Likewise.
3178         * shadow/fgetspent_r.c: Likewise.
3179         * sunrpc/publickey.c: Likewise.
3181 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
3183         * hurd/libhurduser.map: New file.
3184         * mach/libmachuser.map: Likewise.
3186         * libc.map: Add Hurd-specific functions to version 2.1.
3187         Add __flshfp and __fillbf.
3189 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3191         * manual/signal.texi (Basic Signal Handling): Fix typo.
3192         * manual/errno.texi (Error Codes): Likewise.
3194 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
3196         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
3197         instead of <sys/socket.h>.
3198         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
3200         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
3201         Finally make it working.
3202         Patch by Mark Hatle <fray@kernel.crashing.org>.
3204 1998-03-22  Paul Eggert  <eggert@twinsun.com>
3206         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
3207         a Solaris 2.6 bug.
3209 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
3211         * stdlib/gmp-impl.h: Support strange mixed-endian double format
3212         used by ARM systems.
3213         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
3214         FE_EXCEPT_SHIFT.
3215         * sysdeps/arm/bits/fenv.h: Deleted.
3216         * sysdeps/arm/fpu/ieee754.h: New file.
3217         * sysdeps/arm/gmp-mparam.h: New file.
3218         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
3219         implementation.
3221 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
3223         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
3225         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
3226         of ((unused)).  Reported by Bruno Haible.
3228 1998-05-31  Philip Blundell  <philb@gnu.org>
3230         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
3231         referring to errno and _errno.
3233         * sysdeps/arm/fpu/feholdexcpt.c: New file.
3235         * sysdeps/i386/fpu_control.h: Fix typo.
3237         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
3238         (_JMPBUF_UNWINDS): Added.
3239         * sysdeps/arm/fpu/bits/setjmp.h: New file.
3241 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
3243         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
3244         order to build header files, not `generated'.
3246         * Rules (before-compile): New target which depends on all
3247         $(before-compile) files.
3249 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3251         * nis/nis_call.c: Make directory search faster.
3253         * nis/nis_callback.c: Insert public key of user in callback data.
3255         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
3257         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
3259         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
3261         * nis/nis_intern.h: Remove duplicated prototype.
3263 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3265         * sunrpc/auth_des.c: Move prototypes from here ...
3266         * sunrpc/rpc/auth.h: ... to here.
3268         * sunrpc/clnt_tcp.c: Add more control flags.
3269         * sunrpc/clnt_udp.c: Likewise.
3271         * sunrpc/netname.c (host2netname): Remove prefixing dot from
3272         domainname.
3274         * sunrpc/rpc/clnt.h: Document, which control flags are not
3275         implementable.
3277         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
3279 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
3281         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
3282         files crash the program.
3284         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
3285         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
3286         Reported by Deborah Wallach <kerr@pa.dec.com>.
3288 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3290         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
3291         on whether this is a stable release or not (keeps snapshot bug
3292         reports out of the database).
3294         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
3295         * sysdeps/arm/sysdep.h: Likewise.
3296         * sysdeps/i386/sysdep.h: Likewise.
3297         * sysdeps/m68k/sysdep.h: Likewise.
3298         * sysdeps/mach/mips/sysdep.h: Likewise.
3299         * sysdeps/mach/sys/reboot.h: Likewise.
3300         * sysdeps/mach/sysdep.h: Likewise.
3301         * sysdeps/unix/alpha/sysdep.h: Likewise.
3302         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3303         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3304         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3305         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3306         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3307         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3308         * sysdeps/unix/i386/sysdep.h: Likewise.
3309         * sysdeps/unix/mips/sysdep.h: Likewise.
3310         * sysdeps/unix/sparc/sysdep.h: Likewise.
3311         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3312         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3314         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3315         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
3316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3318         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3320 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3322         * mach/Machrules: Use $(move-if-change).
3324 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
3326         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
3327         * Makerules (lib%.so): Depend on $(+interp).
3328         (libc.so): Add interp.os to list of dependencies.
3329         (interp-obj): Remove variable.
3330         * mach/Machrules (+interp): Define to empty since libhurduser and
3331         libmachuser don't need to have the interpreter set.
3333 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3335         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
3337         * resolv/gethnamaddr.c: Likewise.
3339         * resolv/res_comp.c: Likewise.
3341 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
3343         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
3344         so that transparent union works.
3346 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
3348         * manual/texinfo.tex: Update to last available version.
3350         * timezone/africa: Update from tzdata1998e.
3351         * timezone/antarctica: Likewise.
3352         * timezone/asia: Likewise.
3353         * timezone/australasia: Likewise.
3354         * timezone/europe: Likewise.
3355         * timezone/iso3166.tab: Likewise.
3356         * timezone/northamerica: Likewise.
3357         * timezone/tzselect.ksh: Likewise.
3358         * timezone/zone.tab: Likewise.
3360 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
3362         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
3363         Reported by Matt McLean <keys@brio.yikes.com>.
3365 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3367         * catgets/Makefile ($(objpfx)de.cat): Renamed from
3368         do-gencat-test.  Use automatic variables.
3369         ($(objpfx)de.msg): Fix reference to po file.
3371 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3373         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
3374         $(move-if-change).
3376 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3378         * intl/dcgettext.c: Fix typo.
3380 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3382         * configure.in: Allow more make versions e.g 3.76.90.
3384 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
3386         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
3388         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
3389         for Hurd.  Patch by Mark Kettenis.
3391 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
3393          * mach/Machrules (+preinit, +postinit): Define these variables to
3394          empty because libhurduser and libmachuser don't need startup
3395          files.
3397 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3399          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
3400          instead of a raw bitmask.
3402 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3404         * Makeconfig (rpath-dirs): New variable.
3405         (rpath-link): Use it.
3406         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
3407         (db-objpfx): Removed.
3408         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
3409         * md5-crypt/Makefile: Likewise.
3410         * sysdeps/mach/hurd/Makefile: Likewise.
3412         * Makeconfig (move-if-change): New variable.
3413         * iconvdata/Makefile (move-if-change): Removed.
3414         * manual/Makefile (move-if-change): Set only if undefined, use
3415         local script by default.
3416         * sunrpc/Makefile (move-if-change): Removed.
3417         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3418         $(move-if-change).
3420          * elf/Makefile: Remove all references to obsolete file
3421          $(objpfx)rtldtbl.h.
3422          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
3424 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3426         * elf/dl-close.c (_dl_close): Add debugging message.
3428 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3430         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
3431         to get Linux version and not gcc version.
3432         Reported by Alan Curry <pacman@cqc.com>.
3434 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3436         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
3437         pointers - return unknown error message instead.
3438         Reported by Alan Curry <pacman@cqc.com>.
3440 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3442         * iconvdata/Makefile (modules, sed-generated-headers,
3443         perl-generated-headers): ibm424.h is perl generated.  Make
3444         necessary modifications to compile without perl.
3446 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
3448         * hesiod/hesiod.c (read_config_file): Fix typo.
3450 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
3452         * version.h: Bump VERSION.
3454         * csu/Makefile (distribute): Add munch-tmpl.c.
3456 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3458         * nis/nis_defaults.c: Fix buffer problems and typos.
3460 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
3462         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
3463         Patch by Fred Fish.
3465 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3467         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
3468         overwriting bugs.
3470         * libio/strops.c (_IO_str_underflow): Read newly available
3471         character from buffer as unsigned.
3473 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
3475         * catgets/Makefile (distribute): Add xopen-msg.h.
3476         (generated): Add de.msg and de.cat.
3477         (tests): Add do-gencat-test.
3478         (do-gencat-test): New goal.  Run gencat on a generated msg file.
3479         * catgets/xopen-msg.h: New file.
3481 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
3483         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
3484         functions.  Optimize filename creation a bit.
3486 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
3488         * stdlib/random_r.c: Help gcc to optimize the code.
3489         Patch by Joe Keane <jgk@jgk.org>.
3491 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3493         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
3494         tsearch calls.
3496 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3498         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
3499         it.
3501 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
3503         * wcsmbs/wcsnrtombs.c: Correct computation of result.
3504         * wcsmbs/wcsrtombs.c: Likewise.
3506         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
3507         * wcsmbs/wcsmbs-tst1.c: New file.
3509         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
3511         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
3512         as 1.
3514         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
3515         weak.
3517 1998-05-21  Philip Blundell  <philb@gnu.org>
3519         * sysdeps/arm/fpu_control.h: Replace stub file with real
3520         implementation.
3521         * sysdeps/arm/fpu/bits/fenv.h: New file.
3522         * sysdeps/arm/fpu/fesetround.c: Likewise.
3523         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
3524         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
3525         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
3526         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
3527         * sysdeps/arm/fpu/fegetenv.c: Likewise.
3528         * sysdeps/arm/fpu/fesetenv.c: Likewise.
3530 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
3532         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
3533         read instead of mmap.
3535 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
3537         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
3538         directly instead of include_next.  Add missing semicolons.
3539         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
3540         Add missing semicolons.
3542 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
3544         * iconvdata/gconv-modules: Add more aliases to please java
3545         environments.
3547 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3549         * stdio-common/vfprintf.c (process_arg): Fix typo.
3551         * iconvdata/TESTS: New tests for EUC-KR.
3553         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
3554         * iconvdata/testdata/EUC-KR: New file.
3556 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
3558         * math/libm-test.c (hypot_test): Fix a typo.
3560 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
3562         * stdio-common/vfprintf.c: When precision is specified for %ls or
3563         %S handle it correctly.
3565 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3567         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
3568         the" in one line - fixed it.
3569         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3570         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3571         * posix/unistd.h: Likewise
3573 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3575         * Makeconfig (rpath-link): Add resolvobjdir.
3576         (resolvobjdir): New variable.
3577         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
3579 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
3581         * elf/dl-close.c: Call shared object terminators at the right time.
3582         Patch by Philippe Troin <phil@fifi.org>.
3584 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3586         * Make-dist (+tsrcs): Also add *.map for every member of
3587         $(extra-libs).
3589         * Makefile (distribute): Don't distribute scripts/printsources and
3590         scripts/=__ify.  Distribute FAQ.in.
3591         (rpm/%): Don't pass subdirs to sub-make.
3593         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
3594         instead of $(no_deps).
3596 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3598         * sysdeps/generic/setenv.c: Protect against GNU C extension.
3599         (KNOWN_VALUE, STORE_VALUE): Do it right.
3600         (setenv): Remove unused variable.
3602 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3604         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
3605         (CFLAGS-zdump.c): Add $(tz-cflags).
3607         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
3608         return type.
3610 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3612         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
3613         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
3614         if use_localtime.
3615         * time/tzset.c: Update prototype of __tzfile_compute.
3616         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
3617         tm_zone and tm_offset here if __use_tzfile.
3619 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3621         * Makerules: Install libc.a even if there are no object file.
3623 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3625         * Makerules (do-makelib): Don't force creating library from
3626         scratch, which is faster and gets correct behaviour if $(subdirs)
3627         is incomplete.
3629 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3631         * Makerules (do-stamp): Make it work when building in source
3632         directory.
3634 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
3636         * elf/dl-load.c: Rename option and variable from ignore-rpath to
3637         inhibit-rpath.
3638         * elf/dl-support.c: Likewise.
3639         * elf/ldsodefs.h: Likewise.
3640         * elf/rtld.c: Likewise.
3641         * iconvdata/run-iconv-test.sh: Likewise.
3643 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3645         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3646         variable using the value.
3647         * elf/ldsodefs.h: Declare _dl_ignore_path.
3648         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3649         object against list in _dl_ignore_path and ignore RPATH if on the list.
3650         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3651         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3652         to make sure we get the correct helper libraries loaded.
3654         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3655         "RPATH" string in call to fillin_rpath instead.
3656         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3658 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3660         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3661         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3663 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3665         * manual/terminal.texi (I/O Queues): Fix typo.
3667         * manual/stdio.texi (Closing Streams): Fix grammar.
3669         * manual/arith.texi (Absolute Value): Correct typo.
3670         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3672 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3674         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3675         LD_PROFILE_OUTPUT in SUID binaries.
3676         * intl/dcgettext.c: In SUID binaries don't let language part of
3677         locale value contain path elements.
3678         * intl/explodename.h: Define new function _nl_find_language.
3679         * intl/loadinfo.h: Declare _nl_find_language.
3680         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3681         language part it drop the value is path element is contained.
3683         * locale/setlocale.c: Fix typo.
3685 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3687         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3689         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3691         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3692         log, not a byte-count.
3694         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3695         a.out compatibility.
3697 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3699         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3700         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3701         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3702         * posix/unistd.h: Likewise.
3703         * math/math.h: Likewise.
3704         * manual/users.texi (Manipulating the Database): Likewise.
3705         * manual/signal.texi (Job Control Signals): Likewise.
3706         * manual/message.texi (The gencat program): Likewise.
3707         * manual/filesys.texi (Hard Links): Likewise.
3708         * manual/math.texi (SVID Random): Likewise.
3709         * manual/llio.texi (Waiting for I/O): Likewise.
3710         * manual/io.texi (File Name Errors): Likewise.
3711         * manual/conf.texi (String Parameters): Likewise.
3712         * manual/arith.texi (Infinity): Likewise.
3713         * malloc/malloc.c: Likewise.
3714         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3715         * csu/Makefile: Likewise.
3717 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3719         * manual/memory.texi: Add back accidently removed line.
3721 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3723         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3724         (timeout_handler): New function.
3725         (LOCK_FILE, UNLOCK_FILE): New macros.
3726         Implement file locking with timeout.
3727         (getutent_r_file, internal_getut_r, getutline_r_file,
3728         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3729         locking.
3731 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3733         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3734         directory.
3736 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3738         * rpm/Makefile: Delete inclusion of version.mk.
3740 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3742         * libc.map: Add all libio functions needed libstdc++ with version
3743         2.0, sort entries.
3745 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3747         * iconvdata/Makefile (generated): Add *.stmp files.
3749 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3751         * timezone/Makefile (testdata, build-testdata): New variables, use
3752         them in rules for test data.
3753         ($(objpfx)tst-timezone.out): Depend on test data.
3754         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3755         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3756         New rules to build test data.
3757         (tst-timezone-ENV): Pass TZDIR to point to test data.
3759 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3761         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3762         (the designation sequence is disturbing).
3764 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3766         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3767         * sunrpc/xdr_rec.c: Likewise.
3769 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3771         * posix/Makefile (tests): Add runptests.
3772         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3773         (before-compile): Add ptestcases.h.
3774         (ptestscases.h): Add rule to generate from PTESTS.
3775         * posix/runptests.c: New file.
3776         * posix/PTESTS: New file.
3777         * posix/PTESTS2C.sed: New file.
3779 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3781         * iconv/loop.c: Let user add code to use and set paramaters.
3783         * iconvdata/iso-2022-kr.c: Correct to-loop.
3785         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3786         point to output buffer.
3788         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3789         hanja.
3791         * iconvdata/TESTS: Add ISO-2022-KR test.
3792         * iconvdata/testdata/ISO-2022-KR: New file.
3794 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3796         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3797         and internal_use.
3798         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3799         and internal_use.
3800         * wcsmbs/btowc.c: Likewise.
3801         * wcsmbs/mbrtowcs.c: Likewise.
3802         * wcsmbs/mbsnrtowcs.c: Likewise.
3803         * wcsmbs/mbsrtowcs.c: Likewise.
3804         * wcsmbs/wcrtomb.c: Likewise.
3805         * wcsmbs/wcsnrtombs.c: Likewise.
3806         * wcsmbs/wcsrtombs.c: Likewise.
3807         * wcsmbs/wctob.c: Likewise.
3808         * iconv/skeleton.c: Increment invocation_counter.
3809         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3810         sequence first.
3812         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3813         * iconvdata/iso-2022-jp.c: Likewise.
3814         * iconvdata/iso646.c: Likewise.
3816         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3818 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3820         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3822         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3823         overwriting existing values if it fits.
3825 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3827         * posix/wordexp-test.c: Avoid duplicate messages.
3829         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3830         tsearch.  Correctly interpret values returned by those functions.
3831         (unsetenv): Store pointer to string, not pointer to string pointer.
3833         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3834         DST information and offset in them.
3835         * time/tzset.c (__tz_convert): Pass extra parameters to
3836         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3838 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3840         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3841         stamp files to avoid unnecessary recompilation.
3842         (gen-8bit-gap-table): Likewise.
3843         (move-if-change): New variable.
3844         (all generated .h rules): Change to be .stmp rules.
3845         (%.h): New rule; depend on %.stmp; no commands.
3846         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3847         gen-8bit-gap-1.sh.
3849 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3851         * Makerules (libc-map): Deleted.
3852         (load-map-file): Set to the appropriate compiler switch, not
3853         just the file name.  If libfoo-map is not set, look for a
3854         libfoo.map in the current directory and $(..).
3855         (map-file): New variable, contains just the mapfile name.
3856         (build-shlib): Adjust for new value of load-map-file.
3857         (libc.so): Correct dependencies.
3859         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3860         may not be set anymore.
3862         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3863         Delete libdl-map.  Tweak ld.so link rule to work with changed
3864         variable settings in Makerules.
3865         * iconvdata/Makefile: Tweak build-module to work with changed
3866         variable settings in Makerules.
3868         * db/Makefile: Delete libdb-map.
3869         * hesiod/Makefile: Delete libnss_hesiod-map.
3870         * linuxthreads/Makefile: Delete libpthread-map.
3871         * locale/Makefile: Delete libBrokenLocale-map.
3872         * login/Makefile: Delete libutil-map.
3873         * math/Makefile: Delete libm-map.
3874         * md5-crypt/Makefile: Delete libcrypt-map.
3875         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3876         libnss_nisplus-map, and libnss_compat-map.
3877         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3878         libnss_ldap-map.
3879         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3880         * rt/Makefile: Delete librt-map.
3882 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3884         * configure.in: Instead of substituting `yes' or `no' for whether
3885         --no-whole-archive is available, set @no_whole_archive@ to the
3886         appropriate gcc switch or the empty string.  Likewise for
3887         -fno-exceptions.
3888         * config.make.in: Replace have-no-whole-archive with
3889         no-whole-archive and have-no-exceptions with no-exceptions.
3890         * Makerules: Delete stanzas setting no-whole-archive and
3891         no-exceptions.
3893         * sunrpc/Makefile: Use move-if-change to update generated .h
3894         and .c files.
3896 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3898         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3899         of strchr loop.
3901 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3903         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3904         (__tzfile_compute): Likewise.
3906 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3908         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3909         defines from Linux 2.1.102.
3911 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3913         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3915 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3917         * inet/netinet/in.h: Add defines for multicast.
3918         Reported by Jeremy Hall <jhall@UU.NET>.
3920         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3921         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3922         and unsetenv.  Optimize _LIBC case.
3923         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3924         Define functions with leading __.
3926         * time/tzfile.c: Correct handling of global variables daylight,
3927         timezone, and tzname.
3928         * time/tzset.c: Likewise.
3929         * timezone/Makefile (tests): Add tst-timezone.
3930         * timezone/tst-timezone.c: New file.
3932 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3934         * timezone/asia: Update from tzdata1998d.
3935         * timezone/australasia: Likewise.
3936         * timezone/europe: Likewise.
3938 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3940         * string/string.h: Don't use the optimized versions for the string
3941         functions if optimizing for space.
3943         * stdlib/tst-strtod.c: Add test for -0.0.
3945         * io/ftwtest-sh: Prevent tests from being run by root.
3947         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3948         last addition.  Patch by wkpark@chem.skku.ac.kr.
3950 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3952         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3953         table.
3955 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3957         * iconvdata/gen-8bit.sh: New file.
3958         * iconvdata/gen-8bit-gap.sh: New file.
3959         * iconvdata/gen-8bit-gap-1.sh: New file.
3960         * iconvdata/Makefile (generate-8bit-table): Use shell script
3961         instead of writing the commands directly.
3962         (generate-8bit-gap-table): Likewise.
3963         ($(objpfx)iso8859-7jp.h): Likewise.
3964         (generated headers): Depend on shell script instead of Makefile.
3965         (before-compile): Add $(perl-generated-headers) only if perl is
3966         available.
3967         (headers): Depend on $(perl-generated-headers) only if perl is
3968         available.
3969         (sed-generated-headers): Remove iso8859-7jp.h.
3971 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3973         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3974         (/): Removed.
3976 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3978         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3979         formed charset names to getfct.  Let user override charset
3980         selection by mention charset in locale name.
3982 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3984         * posix/glob.c: Move to ...
3985         * sysdeps/generic/glob.c: ...here.
3986         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3987         elements.
3988         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3989         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3990         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3991         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3992         subdir.
3993         * libc.map [GLIBC_2.1]: Add glob and globfree.
3995 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3997         * sunrpc/Makefile (generated): Restore old list.
3999 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4001         * rt/Makefile (tests): Define only if we have a thread library.
4003         * nis/ypclnt.c: Add: #include <errno.h>.
4005 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4007         * configure.in: Define and substitute RELEASE as well as
4008         VERSION.
4009         * config.make.in: Add RELEASE and VERSION to be substituted.
4010         * Makeconfig: Delete all references to version.mk.
4011         * Make-dist: Likewise.
4012         * MakeTAGS: Likewise.
4013         * elf/Makefile: Likewise.
4015 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4017         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
4018         yp_get_default_domain.
4020 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
4022         * sysdeps/posix/profil.c (__profil): Don't define act and timer
4023         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
4025 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4027         * malloc/malloc.c: Fix for NO_THREADS case.
4029 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
4031         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
4032         Remove statfs and fstatfs.
4033         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
4034         and pwrite as EXTRA.
4035         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4037 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
4039         * libc.map: Add capget and capset.
4041 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4043         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4044         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
4045         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
4046         and Matt McLean <keys@brio.yikes.com>.
4048 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
4050         * misc/Makefile (tests): Add tst-mntent.
4051         * misc/tst-mntent.c: New file.
4053 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4055         * autolock.sh: Removed.
4056         * manual/move-if-change: Removed.
4058         * scripts: New directory.
4059         * =__ify: Moved to scripts.
4060         * config.guess: Likewise.
4061         * config.sub: Likewise.
4062         * gen-FAQ.pl: Likewise.
4063         * install-sh: Likewise.
4064         * mkinstalldirs: Likewise.
4065         * move-if-change: Likewise.
4066         * printsources: Likewise.
4067         * rellns.sh: Likewise.
4068         * test-installation.pl: Likewise.
4070         * configure.in: Look in scripts for config.guess, config.sub,
4071         install-sh.
4072         * Makefile: Distribute all above files in their
4073         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
4074         * manual/Makefile: Find mkinstalldirs and move-if-change in
4075         $(..)scripts.  Drop them from distribute.  Minor cleanups.
4076         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
4077         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
4078         * timezone/Makefile: Find rellns-sh in scripts.
4080 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4082         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
4083         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
4085 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4087         * Makefile (+subdir-inits): Delete variable.
4088         (+init_subdirs): Likewise.
4089         (aux): Likewise.
4090         (before-compile): Likewise.
4091         (libc-init): Delete stanza.
4092         (version-info.h): Delete rule and associated variable.
4093         (distribute): Don't distribute moved files.
4094         * Makerules (interp-obj): It lives in elf now.  Only use it
4095         if $(elf) is set.  Delete rule to build it.
4096         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
4097         version.o and version-info.h.  Minor cleanups.
4098         (routines): Add libc-init, sysdep, version.
4099         (generated): Add version-info.h.
4100         * elf/Makefile: Build interp.os.
4102         * interp.c: Moved to elf.
4103         * set-init.c: Moved to csu.
4104         * munch-init.c: Likewise.
4105         * munch.awk: Likewise.
4106         * version.c: Likewise.
4108         * Rules: Unconfuse syntax highlighting with a fake comment.
4110 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
4112         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
4113         syscalls.
4115 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4117         * iconvdata/Makefile (generated): Set to *-generated-headers
4118         plus gconv-modules.
4119         (tests): Set to iconv-test.
4120         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
4121         * posix/Makefile (generated): Set to wordexp-test-result*.
4122         * sunrpc/Makefile (generated): Remove rpcsvc/*.
4123         (generated-dirs): Add rpcsvc.
4124         * libio/Makefile: Clean up.
4126 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
4128         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
4129         * Makerules: Likewise.
4130         (+depfiles): Also add sysdep-others.
4131         * Rules: Likewise.
4132         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
4133         * iconvdata/Makefile (distribute): Add TESTS.
4134         * localedata/Makefile (repertoires): Rename to repertoiremaps.
4135         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
4136         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
4137         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
4138         sysdep-others, not others.
4139         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4140         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
4142 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
4144         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
4145         cost_hi and cost_lo.
4146         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
4147         Cost parameter and set cost_lo to INT_MAX.
4148         (add_module): Take new parameter and use it to initialize cost_lo.
4149         (read_conf_file): Count modules being loaded and use counter for
4150         new parameter to add_module.
4151         * iconv/gconv_db.c (find_derivation): When look for cost examine
4152         cost_hi and cost_lo.
4154 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
4156         * string/bits/string2.h: Don't use unsigned char * unless really
4157         necessary since this disturbs C++.
4158         * sysdeps/i386/i486/bits/string.h: Likewise.
4159         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4161 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4163         * malloc/malloc.c (top_check): Fix last change.
4165 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4167         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
4168         Patch by Matt McLean <keys@brio.yikes.com>.
4170 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4172         * Makerules (lib): Put back dependency on lib-noranlib.
4173         ($(subdirs-stamps)): Remove dependency on stamp.* again.
4175 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
4177         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
4178         test in __pow2 implementation.
4180 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4182         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
4183         Still need *FLAGS-.o because we still sometimes build .o files.
4184         * db2/Makefile: Don't build libndbm.a if !build-static.
4186 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4188         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
4190 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
4192         * configure.in: New test for broken gcc on PowerPC.
4193         * sysdeps/powerpc/atomicity.h: Use result of test.
4194         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
4196         * math/libm-test.c: Update many of the epsilon to match actual
4197         performance.
4199         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
4200         * sysdeps/libm-ieee754/e_expf.c: Likewise.
4201         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
4202         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
4204         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
4206         * sysdeps/powerpc/elf/libc-start.c: New file.
4207         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
4208         * sysdeps/powerpc/elf/start.c: Delete.
4210         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
4211         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
4213         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
4214         few patches.
4216 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
4218         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
4219         test for integer.
4221         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
4222         * sysdeps/libm-i387/e_powl.S: Likewise.
4224 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
4226         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
4227         (malloc_check, free_check, realloc_check, memalign_check): Use
4228         them to improve overrun checking.  Overruns of a single byte and
4229         corruption of the top chunk are now detected much more reliably.
4231 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4233         * math/libm-test.c (pow_test): Add test for special value from PR
4234         libc/590.
4236 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
4238         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
4239         including linux/errno.h.
4241 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
4243         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
4244         Use correct types.
4245         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
4246         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
4248 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4250         * Makerules (elide-routines.*): Fix assignments.
4251         (do-makelib): Fix typo.
4252         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
4253         makefile.
4255 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4257         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
4258         $(objpfx)sysd-dirs): Move them...
4259         * Makeconfig: ... here.
4260         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
4261         (stubs): Fix circular depedency.
4262         (do-makelib): Clean up.
4263         (lib): Don't depend on lib-noranlib.
4264         ($(objpfx)stamp.oS): Remove special case for empty
4265         static-only-routines.
4266         (elide-routines.o): Add $(static-only-routines).
4267         (elide-routines$o): Define this instead of elide-routines.$o.
4268         * manual/Makefile (stubs): Fix circular dependency.
4270 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4272         * libio/Makefile (routines): Remove duplicate oldiofclose.
4274 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4276         * string/strcoll.c: Use uint32_t instead of u_int32_t.
4278 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
4280         * libio/stdio.h: Fix typo in __REDIRECT.
4281         * io/sys/stat.h: Likewise.
4282         Reported by Myles Uyema <myles@uyema.nws.net>.
4284 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4286         * locale/programs/localedef.c (options): Fix help message.
4288 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4290         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
4291         relocations.  Patch by Joe Keane <jgk@jgk.org>.
4293 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
4295         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
4296         ptmalloc_unlock_all, but re-initializes the mutexes instead.
4297         (ptmalloc_init): Use new function in thread_at_fork call.
4298         (thread_atfork_static): Likewise.
4299         Suggested by Wolfram Gloger and Xavier Leroy.
4301 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
4303         * signal/signal.h: Move definitions of struct sigstack and
4304         struct sigaltstack into separate file and include it.
4305         * sysdeps/generic/bits/sigstack.h: New file.
4306         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
4307         * signal/Makefile (headers): Add bits/sigstack.h.
4309 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4311         * elf/rtld.c (dl_main): Fix check for number of references to
4312         interpreter object.
4314 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4316         * elf/rtld.c (dl_main): Check has_interp after executing platform
4317         specific code.
4319 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4321         * iconvdata/run-iconv-test.sh: Fix typo.
4323 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4325         * Makerules (+depfiles): Add depfiles for $(tests-static).
4326         Simplified.
4328 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4330         * manual/terminal.texi (Special Characters): Fix description of
4331         c_cc indexes.
4333 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4335         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
4336         array.
4337         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
4338         of c_cc array.
4340 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4342         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
4344 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4346         * intl/locale.alias: Update russian entry.
4348 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4350         * Makerules (static-only-routines): Reimplement in terms of
4351         elide-routines.os.
4352         (shared-only-routines): Reimplement in terms of
4353         elide-routines.X [where X is all object-suffixes except .os].
4355         (stubs): Create stubs file inside the subdir.
4356         (common-mostlyclean): Remove stubs file from inside the subdir.
4357         * Makefile (subdir-stubs): Look for stubs files inside the
4358         subdirs.
4359         * manual/Makefile (stubs): Create dummy stubs file inside the
4360         subdir.
4362 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4364         Build speed improvement: make ar less of a bottleneck.
4366         * Makerules (stamp$o): Just record the object list for later
4367         use.
4368         (libc_foo.a): New rule, depends on subdir stamp files; builds
4369         and ranlibs the library from the lists saved in those files.
4371         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
4372         (subdirs-stamp-o): Likewise.
4374         (ar-symtab-name): Delete variable.
4375         (lib%.a): Delete target.
4376         (libc_foo.a(bar.%)): Delete target.
4377         (libc_foo.a($(ar-symtab-name))): Delete target.
4379         (objects objs): Just depend on libobjs and extra-objs.
4380         (libobjs): Depend on the stamp files, not the objects.
4381         (extra-objs): New target, just depends on the extra-objs list.
4383         (CREATE_ARFLAGS): Kill the `ar S' hack.
4385         * config.make.in (have-ar-S): Deleted.
4386         * configure.in: Delete test for `ar S'.  Add test to determine
4387         whether ranlib does anything useful.
4389 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
4391         * inet/tst-ether_aton.c: Include <stdio.h>.
4393 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
4395         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
4397         * locale/Makefile (distribute): Add programs/repertoire.h.
4398         (localedef-modules): Add repertoire.
4399         (CPPFLAGS): Define REPERTOIREMAP_PATH.
4400         * locale/programs/repertoire.c: New file.
4401         * locale/programs/repertoire.h: New file.
4402         * locale/programs/charmap.c: Starting fixing character set handling
4403         to handle multi-byte encodings.
4404         * locale/programs/charset.c: Likewise.
4405         * locale/programs/charset.h: Likewise.
4406         * locale/programs/ld-collate.c: Likewise.
4407         * locale/programs/ld-ctype.c: Likewise.
4408         * locale/programs/linereader.c: Likewise.
4409         * locale/programs/localedef.c: Likewise.
4410         * locale/programs/locfile-kw.gperf: Likewise.
4411         * locale/programs/locfile-kw.h: Likewise.
4412         * locale/programs/locfile-token.h: Likewise.
4413         * locale/programs/locfile.h: Likewise.
4414         * locale/programs/stringtrans.c: Likewise.
4416         * locale/programs/locfile.c: Interpret I18NPATH value as base of
4417         path, extended with "/locales/".
4419 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
4421         * sysdeps/arm/memset.S: Fix off by one error.
4423         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
4424         __syscall_error rather than syscall_error directly.
4426 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
4428         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
4429         mmap() syscall for ARM.
4431         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
4432         binaries.
4434 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
4436         * locale/programs/localedef.c: Recognize repertoire-map option.
4438 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4440         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
4441         converting non-hex numbers.
4442         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
4444 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
4446         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
4447         check overflow.
4448         * resolv/Makefile (tests): New, add tst-aton.
4449         * resolv/tst-aton.c: New file.
4451 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4453         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
4454         semicolon.
4456 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
4458         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
4459         by letting the later modify the variable computing the total directly.
4460         * wcsmbs/mbsrtowcs.c: Likewise.
4461         * wcsmbs/wcsnrtombs.c: Likewise.
4462         * wcsmbs/wcsrtombs.c: Likewise.
4464         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
4465         it is not used.
4466         * wcsmbs/wctoc.c: Likewise.
4468         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
4469         * wcsmbs/wcsrtombs.c: Likewise.
4471         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
4473 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
4475         * iconv/skeleton.c: Correct counting of actually converted
4476         characters.
4478         * intl/localealias.c (read_alias_file): Use unsigned char for
4479         local variables.  Remove unused variable tp.
4480         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
4481         for type of codeset.  For loosing Solaris systems.
4482         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
4483         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
4484         len if not needed.
4485         Patches by Jim Meyering.
4487         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
4488         wcsrtombs must put it into initial state.
4490 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4492         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
4493         argument of bswap_XX macro.
4495 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4497         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
4498         variable name.
4500 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
4502         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
4503         semun and use stdarg macros to get the value.
4504         * sysdeps/generic/semctl.c: Don't use union semun.
4506         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
4508         * string/basename.c [!_LIBC]: Define function as gnu_basename.
4510         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
4511         strings.h.
4513         * stdlib/grouping.h: Accept ungrouped numbers even if locale
4514         defines grouping.
4516         * intl/hash-string.h: Don't include values.h.
4518         * inet/Makefile (tests): Add tst-ether_aton.
4519         * inet/tst-ether_aton.c: New file.
4521         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
4522         in hex conversion.
4523         * inet/ether_aton.c (ether_aton): Declare result variable static.
4524         Reported by ahyung@unixg.ubc.ca.
4526         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
4527         Define macro _SEM_SEMUN_UNDEFINED instead.
4528         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
4530         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
4531         * stdio-common/Makefile (tests): Add tst-wc-printf.
4533 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
4535         * manual/stdio.texi (Variable Arguments Output): Correct variable
4536         name.  Patch from Ewan Mellor <em@nexus.co.uk>
4538 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4540         * intl/dcgettext.c: Remove unneeded definition of
4541         internal_function.
4543 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4545         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
4546         instead of do-iconv-test.
4547         ($(objpfx)gconv-modules): Define rule only if objpfx is not
4548         empty.
4550 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4552         * string/string.h: Fix feature test.
4554 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4556         * iconvdata/iso646.c (BODY): Don't use character constants that
4557         depend on signedness of char.
4559 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
4561         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
4562         (sysdep_routines): Add s_pread64 and s_pwrite64.
4564 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
4566         * iconvdata/Makefile (distribute): Remove generated .h files.
4567         * iconvdata/koi8-r.h: Removed.
4568         * iconvdata/latin-greek-1.h: Removed.
4569         * iconvdata/latin-greek.h: Removed.
4571         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
4572         * iconvdata/KOI-8: Likewise.
4573         * iconvdata/KOI-8..UTF8: Likewise.
4574         * iconvdata/KOI8-R: Likewise.
4575         * iconvdata/KOI8-R..UTF8: Likewise.
4577 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4579         * streams/Makefile (headers): Add sys/stropts.h.
4580         * streams/sys/stropts.h: New file.
4582 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4584         * sysdeps/unix/sysv/linux/ttyname.c,
4585         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
4586         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
4588 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4590         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
4591         argument of _itoa_word.
4593 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4595         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
4596         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
4597         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
4598         sigprocmask, resp., instead of EXTRA.
4600         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4601         s_pread64 and s_pwrite64.
4603 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
4605         * iconvdata/Makefile: Correct rules to generate gap table.
4606         * iconvdata/gap.pl: Simplify.
4608         * iconvdata/TESTS: Name new tests.
4609         * iconvdata/testdata/CP1250: New file.
4610         * iconvdata/testdata/CP1250..UTF8: New file.
4611         * iconvdata/testdata/CP1251: New file.
4612         * iconvdata/testdata/CP1251..UTF8: New file.
4613         * iconvdata/testdata/CP1252: New file.
4614         * iconvdata/testdata/CP1252..UTF8: New file.
4615         * iconvdata/testdata/CP1253: New file.
4616         * iconvdata/testdata/CP1253..UTF8: New file.
4617         * iconvdata/testdata/CP1254: New file.
4618         * iconvdata/testdata/CP1254..UTF8: New file.
4619         * iconvdata/testdata/CP1255: New file.
4620         * iconvdata/testdata/CP1255..UTF8: New file.
4621         * iconvdata/testdata/CP1256: New file.
4622         * iconvdata/testdata/CP1256..UTF8: New file.
4623         * iconvdata/testdata/CP1257: New file.
4624         * iconvdata/testdata/CP1257..UTF8: New file.
4626 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
4628         * iconvdata/Makefile: Add rules for ISO-2022-KR.
4629         * iconvdata/iso-2022-kr.c: New file.
4631         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
4632         and ISO-2022-KR.
4634 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
4636         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
4637         iso8859-8 and iso8859-10.
4638         * iconvdata/iso8859-5.c: Change to use gap method.
4639         * iconvdata/iso8859-7.c: Likewise.
4640         * iconvdata/iso8859-8.c: Likewise.
4641         * iconvdata/iso8859-10.c: Likewise.
4643         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4644         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4645         end of the loop.
4646         * iconvdata/iso-2022-jp.c: New file.
4648         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4649         * iconvdata/ksc5601.h: Unify function interfaces.
4650         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4651         * iconvdata/uhc.c: Likewise.
4653         * iconvdata/gb2312.h: Use correct types.
4655         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4656         size elements of data.
4658 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4660         * string/tst-svc.expect: Adapt for change in .input.
4661         * string/tst-svc.input: More tests.
4663 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4665         * iconvdata/Makefile: Add rules for new modules.
4666         * iconvdata/gconv-modules: Likewise.
4667         * iconvdata/cp737.c: New file.
4668         * iconvdata/cp737.h: New file.
4669         * iconvdata/cp775.c: New file.
4670         * iconvdata/cp775.h: New file.
4671         * iconvdata/cp874.c: New file.
4672         * iconvdata/cp874.h: New file.
4674 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4676         * iconvdata/Makefile: Create target directory before generating
4677         headers.
4679 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4681         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4682         __USER_LABEL_PREFIX__.
4683         (__ASMNAME, __ASMNAME2): New macros.
4685 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4687         * elf/dl-load.c: Include sys/param.h for MAX.
4689 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4691         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4692         __ftruncate the strong symbol, and add weak alias.
4693         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4695 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4697         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4698         Patch by Joe Keane <jgk@jgk.org>.
4700         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4701         free()ing.
4703 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4705         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4706         Patch by Thomas Bushnell, n/BSG.
4708 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4710         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4712 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4714         * iconvdata/Makefile: Put generated headers in build directory.
4716 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4718         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4719         strsep as current directory.
4721         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4722         Java.  Add definitions for unicodelittle implementation.
4723         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4724         * iconv/gconv_simple.c: Define unicodelittle functions.
4726         * iconv/iconv_prog.c: Make program print information about position
4727         of illegal character in input.
4729         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4730         comparison of charset name.
4731         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4732         * iconvdata/ebcdic-at-de-a.c: Likewise.
4733         * iconvdata/ebcdic-at-de.c: Likewise.
4734         * iconvdata/ebcdic-ca-fr.c: Likewise.
4735         * iconvdata/euccn.c: Likewise.
4736         * iconvdata/eucjp.c: Likewise.
4737         * iconvdata/euckr.c: Likewise.
4738         * iconvdata/euctw.c: Likewise.
4739         * iconvdata/hp-roman8.c: Likewise.
4740         * iconvdata/iso6937.c: Likewise.
4741         * iconvdata/iso8859-1.c: Likewise.
4742         * iconvdata/iso8859-10.c: Likewise.
4743         * iconvdata/iso8859-2.c: Likewise.
4744         * iconvdata/iso8859-3.c: Likewise.
4745         * iconvdata/iso8859-4.c: Likewise.
4746         * iconvdata/iso8859-5.c: Likewise.
4747         * iconvdata/iso8859-6.c: Likewise.
4748         * iconvdata/iso8859-7.c: Likewise.
4749         * iconvdata/iso8859-8.c: Likewise.
4750         * iconvdata/iso8859-9.c: Likewise.
4751         * iconvdata/johab.c: Likewise.
4752         * iconvdata/koi-8.c: Likewise.
4753         * iconvdata/koi8-r.c: Likewise.
4754         * iconvdata/latin-greek-1.c: Likewise.
4755         * iconvdata/latin-greek.c: Likewise.
4756         * iconvdata/sjis.c: Likewise.
4757         * iconvdata/t61.c: Likewise.
4758         * iconvdata/uhc.c: Likewise.
4760         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4761         * iconvdata/TESTS: Add tests for ISO646 module.
4762         * iconvdata/gconv-modules: Add new modules.
4763         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4764         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4765         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4766         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4767         * iconvdata/testdate/DIN_66003: Likewise.
4768         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4769         * iconvdata/testdate/DS_2089: Likewise.
4770         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4771         * iconvdata/testdate/ES: Likewise.
4772         * iconvdata/testdate/ES..UTF8: Likewise.
4773         * iconvdata/testdate/ES2: Likewise.
4774         * iconvdata/testdate/ES2..UTF8: Likewise.
4775         * iconvdata/testdate/GB_1988-80: Likewise.
4776         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4777         * iconvdata/testdate/IT: Likewise.
4778         * iconvdata/testdate/IT..UTF8: Likewise.
4779         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4780         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4781         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4782         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4783         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4784         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4785         * iconvdata/testdate/KSC5636: Likewise.
4786         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4787         * iconvdata/testdate/MSZ_7795.3: Likewise.
4788         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4789         * iconvdata/testdate/NC_NC00-10: Likewise.
4790         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4791         * iconvdata/testdate/NF_Z_62-010: Likewise.
4792         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4793         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4794         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4795         * iconvdata/testdate/NS_4551-1: Likewise.
4796         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4797         * iconvdata/testdate/NS_4551-2: Likewise.
4798         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4799         * iconvdata/testdate/PT: Likewise.
4800         * iconvdata/testdate/PT..UTF8: Likewise.
4801         * iconvdata/testdate/PT2: Likewise.
4802         * iconvdata/testdate/PT2..UTF8: Likewise.
4803         * iconvdata/testdate/SEN_850200_B: Likewise.
4804         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4805         * iconvdata/testdate/SEN_850200_C: Likewise.
4806         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4808         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4809         * iconvdata/cns11643l1.h: Likewise.
4810         * iconvdata/latin-greek-1.h: Likewise.
4811         * iconvdata/latin-greek.h: Likewise.
4812         * iconvdata/koi8-r.h: Likewise.
4813         * iconvdata/jis0212.h: Likewise.
4814         * iconvdata/gb2312.h: Likewise.
4815         * iconvdata/ksc5601.h: Likewise.
4817         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4819         * iconvdata/Makefile: Add rules for lots of more modules.
4820         * iconvdata/cp1250.c: New file.
4821         * iconvdata/cp1251.c: New file.
4822         * iconvdata/cp1252.c: New file.
4823         * iconvdata/cp1253.c: New file.
4824         * iconvdata/cp1254.c: New file.
4825         * iconvdata/cp1255.c: New file.
4826         * iconvdata/cp1256.c: New file.
4827         * iconvdata/cp1257.c: New file.
4828         * iconvdata/ebcdic-dk-no-a.c: New file.
4829         * iconvdata/ebcdic-dk-no.c: New file.
4830         * iconvdata/ebcdic-es-a.c: New file.
4831         * iconvdata/ebcdic-es-s.c: New file.
4832         * iconvdata/ebcdic-es.c: New file.
4833         * iconvdata/ebcdic-fi-se-a.c: New file.
4834         * iconvdata/ebcdic-fi-se.c: New file.
4835         * iconvdata/ebcdic-fr.c: New file.
4836         * iconvdata/ebcdic-is-friss.c: New file.
4837         * iconvdata/ebcdic-it.c: New file.
4838         * iconvdata/ebcdic-pt.c: New file.
4839         * iconvdata/ebcdic-uk.c: New file.
4840         * iconvdata/ebcdic-us.c: New file.
4841         * iconvdata/ibm037.c: New file.
4842         * iconvdata/ibm038.c: New file.
4843         * iconvdata/ibm1004.c: New file.
4844         * iconvdata/ibm1026.c: New file.
4845         * iconvdata/ibm1047.c: New file.
4846         * iconvdata/ibm256.c: New file.
4847         * iconvdata/ibm273.c: New file.
4848         * iconvdata/ibm274.c: New file.
4849         * iconvdata/ibm275.c: New file.
4850         * iconvdata/ibm277.c: New file.
4851         * iconvdata/ibm278.c: New file.
4852         * iconvdata/ibm280.c: New file.
4853         * iconvdata/ibm281.c: New file.
4854         * iconvdata/ibm284.c: New file.
4855         * iconvdata/ibm285.c: New file.
4856         * iconvdata/ibm290.c: New file.
4857         * iconvdata/ibm297.c: New file.
4858         * iconvdata/ibm420.c: New file.
4859         * iconvdata/ibm423.c: New file.
4860         * iconvdata/ibm424.c: New file.
4861         * iconvdata/ibm437.c: New file.
4862         * iconvdata/ibm500.c: New file.
4863         * iconvdata/ibm850.c: New file.
4864         * iconvdata/ibm851.c: New file.
4865         * iconvdata/ibm852.c: New file.
4866         * iconvdata/ibm855.c: New file.
4867         * iconvdata/ibm857.c: New file.
4868         * iconvdata/ibm860.c: New file.
4869         * iconvdata/ibm861.c: New file.
4870         * iconvdata/ibm862.c: New file.
4871         * iconvdata/ibm863.c: New file.
4872         * iconvdata/ibm864.c: New file.
4873         * iconvdata/ibm865.c: New file.
4874         * iconvdata/ibm868.c: New file.
4875         * iconvdata/ibm869.c: New file.
4876         * iconvdata/ibm870.c: New file.
4877         * iconvdata/ibm871.c: New file.
4878         * iconvdata/ibm875.c: New file.
4879         * iconvdata/ibm880.c: New file.
4880         * iconvdata/ibm891.c: New file.
4881         * iconvdata/ibm903.c: New file.
4882         * iconvdata/ibm904.c: New file.
4883         * iconvdata/ibm905.c: New file.
4884         * iconvdata/ibm918.c: New file.
4886         * locale/iso-4217.def: Update.
4887         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4889         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4890         formats.
4892 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4894         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4895         LD_LIBRARY_PATH.
4897 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4899         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4900         * Makefile: Likewise.
4901         * posix/Makefile: Likewise.
4902         * sysdeps/mach/hurd/Makefile: Likewise.
4904 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4906         * sysdeps/mach/hurd/bits/dirent.h: New file.
4907         * sysdeps/mach/hurd/readdir64.c: New file.
4908         * sysdeps/mach/hurd/readdir64_r.c: New file.
4910 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4912         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4913         dprintf): Synchronize declarations with libio/stdio.h.
4915 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4917         * elf/dlerror.c (dlerror): Don't assume that
4918         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4919         well-protected, so just use it directly.
4921 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4923         * io/ftw.h (ftw): Fix typo.
4925 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4927         * sysdeps/gnu/utmp_file.c: Fix typo.
4929 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4931         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4932         one part of a test fails move on to the next test.
4934 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4936         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4938 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4940         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4941         as pointers, not signed integers.
4943 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4945         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4947 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4949         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4950         asm symbol name of functions.
4951         * include/features.h: Kill redundant test.
4953         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4954         * io/ftw.h: Likewise.
4955         * io/sys/stat.h: Likewise.
4956         * io/sys/statfs.h: Likewise.
4957         * io/sys/statvfs.h: Likewise.
4958         * libio/stdio.h: Likewise.
4959         * resource/sys/resource.h: Likewise.
4960         * rt/aio.h: Likewise.
4962         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4963          __FAVOR_BSD.
4964         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4966         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4967         a dummy library.
4968         * misc/bsd-compat.c: Removed.
4970 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4972         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4973         function declaration.
4974         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4975         and use them in conversion function.
4976         * iconvdata/Makefile (modules): Re-add ISO6446.
4977         * iconvdata/TEST: Add tests for ASCII variants.
4978         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4979         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4980         * iconvdata/testdata/BS_4730: New file.
4981         * iconvdata/testdata/BS_4730..UTF8: New file.
4983 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4985         * iconv/gconv.h (struct gconv_step): Add element stateful.
4986         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4987         to zero for all internal conversions.
4988         * iconv/skeleton.c: Initialize stateful depending on whether or not
4989         RESET_STATE is defined to one or zero respectively.
4990         * stdlib/mblen.c: Use stateful element of currently selected
4991         converter for result if S is NULL.
4992         * stdlib/mbtowc.c: Likewise.
4993         * stdlib/wctomb.c: Likewise.
4995 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4997         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4999         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
5001         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
5002         character in comparison with uint32_t.
5003         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
5004         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
5005         Optimize BODY a bit.
5007         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
5008         be defined.
5010         * iconv/skeleton.c: Also reset converted counter in case of an error.
5011         Call reset function using correct value for output buffer start.
5013         * iconvdata/Makefile: Re-enable tests.
5015         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
5016         value for to-conversion.
5018         * iconvdata/TESTS: Add new third column.
5019         * iconvdata/run-iconv-test.sh: Add support for charsets which are
5020         not ASCII based.
5021         * iconvdata/testdata/suntzus: New file.
5023         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
5024         while reading.  Correctly used base.  Little optimization.
5025         (__strtoul_internal): Likewise.
5027         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
5028         was wrong.  Use explicit variable.
5030 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5032         * configure.in: Check for awk.
5033         * config.make.in: Add AWK to be substituted.
5035         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
5036         * manual/users.texi: Fix typo exposed by above rewrite.
5038         * Makefile: Invoke awk using AWK variable.
5039         * csu/Makefile: Likewise.
5040         * elf/Makefile: Likewise.
5041         * mach/Makefile: Likewise.
5042         * manual/Makefile: Likewise.
5043         * sysdeps/gnu/Makefile: Likewise.
5044         * sysdeps/mach/hurd/Makefile: Likewise.
5045         * sysdeps/unix/Makefile: Likewise.
5046         * timezone/Makefile: Likewise.
5048 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5050         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
5051         array index translation.
5052         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
5053         these are defined.
5055         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
5057         * sysdeps/mach/hurd/errlist.c: New file.
5058         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
5059         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
5060         semantics, so rename it.
5062 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5064         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
5065         conversions.
5067 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
5069         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
5070         * wcsmbs/wcsnrtombs.c: Likewise.
5072 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
5074         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
5076         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
5078         * time/strftime.c (my_strftime): Initialize pad variable in
5079         declaration.
5081         * iconvdata/big5.c: Don't use character constants in comparisons
5082         with unsigned value.
5084 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
5086         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
5087         __libc_siglongjmp to GLIBC_2.1.
5089         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
5090         __strerror_r.
5092         * iconv/Makefile: Don't run tests now.
5094         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
5095         with correct output buffer.
5097         Major rewrite of the low-level gconv functionality.
5098         * iconv/gconv.c: Rewritten.
5099         * iconv/gconv.h: Likewise.
5100         * iconv/gconv_builtin.c: Likewise.
5101         * iconv/gconv_builtin.h: Likewise.
5102         * iconv/gconv_conf.c: Likewise.
5103         * iconv/gconv_int.h: Likewise.
5104         * iconv/gconv_open.c: Likewise.
5105         * iconv/gconv_simple.c: Likewise.
5106         * iconv/iconv.c: Likewise.
5107         * iconvdata/8bit-gap.c: Likewise.
5108         * iconvdata/8bit-generic.c: Likewise.
5109         * iconvdata/Makefile: Likewise.
5110         * iconvdata/big5.c: Likewise.
5111         * iconvdata/cns11643.c: Likewise.
5112         * iconvdata/cns11643.h: Likewise.
5113         * iconvdata/cns11643l1.c: Likewise.
5114         * iconvdata/cns11643l1.h: Likewise.
5115         * iconvdata/ebcdic-at-de-a.c: Likewise.
5116         * iconvdata/ebcdic-at-de.c: Likewise.
5117         * iconvdata/ebcdic-ca-fr.c: Likewise.
5118         * iconvdata/euccn.c: Likewise.
5119         * iconvdata/eucjp.c: Likewise.
5120         * iconvdata/euckr.c: Likewise.
5121         * iconvdata/euctw.c: Likewise.
5122         * iconvdata/gb2312.c: Likewise.
5123         * iconvdata/gb2312.h: Likewise.
5124         * iconvdata/hp-roman8.c: Likewise.
5125         * iconvdata/iso646.c: Likewise.
5126         * iconvdata/iso6937.c: Likewise.
5127         * iconvdata/iso8859-1.c: Likewise.
5128         * iconvdata/iso8859-10.c: Likewise.
5129         * iconvdata/iso8859-2.c: Likewise.
5130         * iconvdata/iso8859-3.c: Likewise.
5131         * iconvdata/iso8859-4.c: Likewise.
5132         * iconvdata/iso8859-5.c: Likewise.
5133         * iconvdata/iso8859-6.c: Likewise.
5134         * iconvdata/iso8859-7.c: Likewise.
5135         * iconvdata/iso8859-8.c: Likewise.
5136         * iconvdata/iso8859-9.c: Likewise.
5137         * iconvdata/jis0201.c: Likewise.
5138         * iconvdata/jis0201.h: Likewise.
5139         * iconvdata/jis0208.c: Likewise.
5140         * iconvdata/jis0208.h: Likewise.
5141         * iconvdata/jis0212.c: Likewise.
5142         * iconvdata/jis0212.h: Likewise.
5143         * iconvdata/johab.c: Likewise.
5144         * iconvdata/koi-8.c: Likewise.
5145         * iconvdata/koi8-r.c: Likewise.
5146         * iconvdata/ksc5601.c: Likewise.
5147         * iconvdata/ksc5601.h: Likewise.
5148         * iconvdata/latin-greek-1.c: Likewise.
5149         * iconvdata/latin-greek.c: Likewise.
5150         * iconvdata/run-iconv-test.sh: Likewise.
5151         * iconvdata/sjis.c: Likewise.
5152         * iconvdata/t61.c: Likewise.
5153         * iconvdata/uhc.c: Likewise.
5154         * wcsmbs/btowc.c: Likewise.
5155         * wcsmbs/mbrtowc.c: Likewise.
5156         * wcsmbs/mbsnrtowcs.c: Likewise.
5157         * wcsmbs/mbsrtowcs.c: Likewise.
5158         * wcsmbs/wcrtomb.c: Likewise.
5159         * wcsmbs/wcsmbsload.c: Likewise.
5160         * wcsmbs/wcsnrtombs.c: Likewise.
5161         * wcsmbs/wcsrtombs.c: Likewise.
5162         * wcsmbs/wctob.c: Likewise.
5163         * iconv/loop.c: New file.
5164         * iconv/skeleton.c: New file.
5166         * stdlib/mblen.c: Handle empty input string correctly.
5167         * stdlib/mbtowc.c: Likewise.
5169         * posix/getopt.c: Various cleanups.
5171         * sysdeps/arm/bits/setjmp.h: Add copyright text.
5172         * sysdeps/i386/bits/setjmp.h: Likewise.
5173         * sysdeps/m68k/bits/setjmp.h: Likewise.
5174         * sysdeps/powerpc/bits/setjmp.h: Likewise.
5175         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
5177         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
5178         and make longjmp weak alias.
5180 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
5182         * iconv/Makefile (routines): Only include gconv_dl if building for
5183         an ELF system - dynamic linking is not available on a.out.
5184         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
5185         due to above check.
5186         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
5187         routines from gconv_dl.
5189 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
5191         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
5192         we can compile without libio.
5194 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
5196         * sysdeps/mach/hurd/Subdirs: Remove login.
5198 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
5200         * db2/compat.h: Include <errno.h>, to make sure we get the
5201         definition of EFTYPE before we define it ourselves.
5203 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
5205         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
5206         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
5207         Fix typo to allow inclusion from sys/ioctl.h again.
5209 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5211         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
5213 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5215         * libc.map: Export __strerror_r.  Remove _strerror_internal.
5217 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5219         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
5220         Also undefine __strcasestr.
5222 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5224         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
5225         aliases do not work with global variables due to copy relocations.
5227 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
5229         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
5231 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
5233         * signal/sighold.c: Include stddef.h for NULL definition.
5234         * signal/sigrelse.c: Likewise.
5235         * sysdeps/posix/sigignore.c: Likewise.
5236         * sysdeps/posix/sigset.c: Likewise.
5237         * sysdeps/posix/waitid.c: Likewise.
5238         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
5239         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
5240         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5241         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
5242         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
5244 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
5246         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
5247         * login/getutent.c (getutxent): Remove alias.
5248         * login/getutent_r.c (setutxent, pututxline, endutxent):
5249         Remove aliases.
5250         * login/getutid.c (getutxid): Remove alias.
5251         * login/getutline.c (getutxline): Remove alias.
5252         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
5253         __getutid, __getutline and __pututline.
5254         * login/utmpx.h: Moved to ...
5255         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
5256         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
5257         and updwtmpx.
5258         * login/updwtmp.c: Moved to ...
5259         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
5260         allowing file name transformation.
5261         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
5262         additional file name transformation.
5263         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
5264         * login/utmp_file.c: Moved to ...
5265         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
5266         Generalized by allowing file name transformation.  Do not
5267         print error message.  Library functions should not print them.
5268         Reported by Jim Meyering.
5269         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
5270         with additional file name transformation.
5271         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
5272         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
5273         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
5274         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
5275         and bits/utmpx.h.
5276         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
5277         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
5278         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
5279         Define if __USE_GNU.
5280         * sysdeps/generic/setutxent.c: New file.
5281         * sysdeps/generic/getutxent.c: New file.
5282         * sysdeps/generic/endutxent.c: New file.
5283         * sysdeps/generic/getutxid.c: New file.
5284         * sysdeps/generic/getutxline.c: New file.
5285         * sysdeps/generic/pututxline.c: New file.
5286         * sysdeps/generic/utmpxname.c: New file.
5287         * sysdeps/generic/updwtmpx.c: New file.
5288         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
5289         * sysdeps/generic/bits/utmpx.h: Remove.
5291 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
5293         * posix/wordexp-test.c (main): Initialize ifs element of ts for
5294         ~root test.
5296 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
5298         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
5300 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
5302         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
5303         variable using _G_stat64.
5304         * libio/fileops.c: Remove macro definition of fstat, it is in the
5305         global header.
5306         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
5308 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
5310         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
5311         <willy@odie.barnet.ac.uk>.
5313 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
5315         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
5316         required by IPv6 Basic API.
5317         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
5318         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
5319         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
5320         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
5322 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
5324         Don't name internal representation since it might be different from
5325         the external form (namely on little endian machines).
5326         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
5327         UCS4 into references to INTERNAL.
5328         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
5329         Add endianess support to UCS functions.  Change references to
5330         UCS4 into references to INTERNAL.
5331         * iconv/gconv_int.h: Change references to UCS4 into references to
5332         INTERNAL.
5333         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
5334         * iconvdata/gconv-modules: Change accordingly.
5335         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
5337         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
5338         overflow.
5339         * iconvdata/8bit-gap.c: Likewise.
5340         * iconvdata/8bit-generic.c: Likewise.
5341         * iconvdata/big5.c: Likewise.
5342         * iconvdata/euccn.c: Likewise.
5343         * iconvdata/eucjp.c: Likewise.
5344         * iconvdata/euckr.c: Likewise.
5345         * iconvdata/euctw.c: Likewise.
5346         * iconvdata/iso646.c: Likewise.
5347         * iconvdata/iso6937.c: Likewise.
5348         * iconvdata/iso8859-1.c: Likewise.
5349         * iconvdata/johab.c: Likewise.
5350         * iconvdata/sjis.c: Likewise.
5351         * iconvdata/t61.c: Likewise.
5352         * iconvdata/uhc.c: Likewise.
5354         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
5355         * iconvdata/8bit-generic.c: Likewise.
5357         * iconvdata/TESTS: Add more tests.
5359         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
5361 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
5363         * iconvdata/Makefile: Better rules to run tests.
5365         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
5366         * iconvdata/testdata/ISO-8859-10: Likewise.
5367         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
5368         * iconvdata/testdata/ISO-8859-2: Likewise.
5369         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
5370         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
5371         * iconvdata/testdata/ISO-8859-3: Likewise.
5372         * iconvdata/testdata/ISO-8859-4: Likewise.
5373         * iconvdata/testdata/ISO-8859-5: Likewise.
5374         * iconvdata/testdata/ISO-8859-6: Likewise.
5375         * iconvdata/testdata/ISO-8859-7: Likewise.
5376         * iconvdata/testdata/ISO-8859-8: Likewise.
5377         * iconvdata/testdata/ISO-8859-9: Likewise.
5379 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
5381         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
5382         intermediate result (if available).
5384         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
5385         last change.
5387         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
5388         (distribute): Add run-iconv-test.sh and testdata/*.
5390         * stdlib/testmb.c (main): Simplify mbc array handling.
5392 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5394         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
5395         return value on overflow.
5397 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5399         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
5400         bits.
5402 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5404         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
5405         of non-standard function setbuffer.
5407 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5409         * stdio-common/perror.c: Include <string.h> for __strerror_r.
5411 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
5413         * iconvdata/Makefile: Add rules to run tests.
5414         * iconvdata/TESTS: New file.
5415         * iconvdata/run-iconv-test.sh: New file.
5416         * iconvdata/testdata/ISO-8859-1: New file.
5418         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
5419         not stdout.
5421 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
5423         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
5424         counter element of step.
5426         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
5428         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
5429         termination test.
5430         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
5431         ACTUALLY.
5432         (__gconv_transform_utf8_ucs4): Correct test for empty input.
5434 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5436         * Makefile: Include makeconfig before defining rule to regenerate
5437         configure files.
5439         * configure.in: Remove restriction on compiling without static
5440         libs.
5442 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
5444         * test-skeleton.c: Provide hook for initializing code before the fork.
5445         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
5446         removed.
5448         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
5449         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
5450         * libio/libioP.h: Adopt _IO_cleanup prototype.
5452         * stdlib/Makefile (tests): Add test-canon2.
5453         * stdlib/test-canon2.c: New file.
5454         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
5455         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
5456         symlink sequences.
5457         (__realpath): Make real function which checks RESOLVED parameter for
5458         not being NULL.
5460 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
5462         * catgets/open_catalog.c (__open_catalog): Fix problems with
5463         reading non-files.  Always close file.
5464         Reported by Cristian Gafton <gafton@redhat.com>.
5466         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
5468 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
5470         * libc.map: Add various low-level I/O functions.
5472 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
5474         * string/Makefile (routines): Remove strerror_r.
5475         * string/strerror_r.c: Removed.
5476         * string/strerror.c: Call __strerror_r for doing the real work.
5477         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
5478         add weak alias strerror_r.
5479         * sysdeps/mach/_strerror.c: Likewise.
5480         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
5481         * elf/dl-error.c (_dl_signal_error): Likewise.
5482         * elf/dl-profile.c (_dl_start_profile): Likewise.
5483         * gmon/gmon.c (write_gmon): Likewise.
5484         * stdio-common/perror.c: Likewise.
5485         * stdio-common/vfprintf.c: Likewise.
5487 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
5489         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
5490         (sysdep_headers): Add netatalk/at.h.
5492 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5494         * manual/socket.texi, manual/creature.texi, manual/time.texi:
5495         Formatting fixes.
5497 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5499         * posix/regex.c: Rename __re_syntax_options back to
5500         re_syntax_options, aliases do not work with global variables due
5501         to copy relocations.
5502         (regex_compile): Use syntax parameter instead of
5503         re_syntax_options.
5505 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5507         * configure.in: Document that enable-force-install is default.
5509 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
5511         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
5512         all needed 36 bits.
5513         * sysdeps/posix/mkstemp.c: Likewise.
5515 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
5517         * iconvdata/8bit-gap.c: Simplify step data handling.
5518         * iconvdata/8bit-generic.c: Likewise.
5519         * iconvdata/big5.c: Likewise.
5520         * iconvdata/euccn.c: Likewise.
5521         * iconvdata/eucjp.c: Likewise.
5522         * iconvdata/euckr.c: Likewise.
5523         * iconvdata/euctw.c: Likewise.
5524         * iconvdata/iso6937.c: Likewise.
5525         * iconvdata/iso8859-1.c: Likewise.
5526         * iconvdata/jis0208.h: Likewise.
5527         * iconvdata/jis0212.c: Likewise.
5528         * iconvdata/jis0212.h: Likewise.
5529         * iconvdata/johab.c: Likewise.
5530         * iconvdata/ksc5601.h: Likewise.
5531         * iconvdata/sjis.c: Likewise.
5532         * iconvdata/t61.c: Likewise.
5533         * iconvdata/uhc.c: Likewise.
5535 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
5537         * manual/texinfo.texi: Updated from last version.
5539 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
5541         * iconvdata/cns11643.c: New file.
5542         * iconvdata/cns11643.h: New file.
5543         * iconvdata/cns11643l1.c: New file.
5544         * iconvdata/cns11643l1.h: New file.
5545         * iconvdata/euctw.c: New file.
5546         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
5547         * iconvdata/gconv-modules: Likewise.
5549         * iconvdata/eucjp.c: Several bug fixes and improvements.
5550         * iconvdata/gb2312.h: Likewise.
5551         * iconvdata/jis0201.h: Likewise.
5552         * iconvdata/jis0208.h: Likewise.
5553         * iconvdata/jis0212.h: Likewise.
5555 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
5557         * iconvdata/eucjp.c: New file.
5558         * iconvdata/euccn.c: New file.
5559         * iconvdata/gb2312.h: New file.
5560         * iconvdata/gb2312.c: New file.
5561         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
5562         * iconvdata/gconv-modules: Likewise.
5564         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
5566 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5568         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5569         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
5570         Patch by Mark Hatle <fray@kernel.crashing.org>.
5572 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
5574         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
5575         comment.
5576         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
5577         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
5579 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
5581         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
5583         * iconvdata/Makefile: Add rules for big5 conversion.
5584         * iconvdata/gconv-modules: Likewise.
5585         * iconvdata/big5.c: New file.
5587         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
5588         Patch by Jim Meyering.
5590 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
5592         * rt/tst-aio.c: Add test for aio_read and lio_listio.
5594         * rt/lio_listio.c: Correct total counter handling.
5596         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
5597         from request queue.
5599         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
5600         of signal on exit even more.
5602         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
5603         instead of call to pthread_cond_init.
5604         * rt/lio_listio.c (lio_listio): Likewise.
5605         * rt/lio_listio64.c (lio_listio64): Likewise.
5607         * nis/nis_findserv.c: Include sys/socket.h.
5609 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
5611         * Makeconfig (rtobjdir): New variable.
5612         (rpath-link): Add rtobjdir and thread directory, if available.
5614         * test-skeleton.c: Add support to remove temporary files.
5615         Always define test_dir.  Improve message about expected signal.
5617         * rt/Makefile (tests): Add tst-aio.
5618         Add rules for tst-aio to be linked with librt and thread library.
5619         * rt/aio_misc.c: Correct fundamental bugs.
5620         * rt/aio_suspend.c: Correct bug in test for available request.
5621         Initialize conditional variable.
5622         * rt/lio_listio.c: Initialize conditional variable.
5623         * rt/lio_listio64.c: Likewise.
5624         * rt/tst-aio.c: New file.
5626         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
5627         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
5628         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5629         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5630         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
5631         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5632         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5634 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
5636         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
5638 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
5640         * elf/dl-load.c (open_path): Use correct name for test whether
5641         directory in load path exists.
5643         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5644         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5645         Patches by Tom Rini <trini@kernel.crashing.org>.
5647         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5648         * wcsmbs/wcstod_l.c: Likewise.
5649         * wcsmbs/wcstold_l.c: Likewise.
5651         * include/byteswap.h: New file.
5653         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5654         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5656         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5657         declaration.  Patch by Richard Henderson.
5659 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5661         * manual/process.texi (SIGCHLD example): Save errno.
5663 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5665         * posix/regex.c: Define regerror really as __regerror.
5666         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5667         regerror and regfree.
5669         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5670         * stdlib/strtod_l.c: Likewise.
5671         * stdlib/strtold_l.c: Likewise.
5673         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5675         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5677         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5678         Patch by Christian Gafton.
5680 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5682         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5683         for if_indextoname.
5685 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5687         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5689         * manual/socket.texi (Interface Naming): Fix typo.
5691 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5693         * manual/examples/filesrv.c (main): Remove filename first.
5695         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5696         ?F_UNIX.
5698         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5699         instead of PF_UNIX.
5701         * manual/examples/filecli.c (main): Use AF_LOCAL
5702         instead of AF_UNIX.
5704 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5706         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5707         signgam weak alias.
5708         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5709         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5710         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5711         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5712         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5713         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5715         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5717 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5719         * configure.in: Add new option --enable-force-install.  Substitute
5720         force_install.
5721         * config.make.in (force-install): Set from configure.
5722         * Makerules (force-install): New phony target.
5723         * Makeconfig (+force): New variable.
5724         * Makefile: Use it in dependency list of installation targets.
5725         * db/Makefile: Likewise.
5726         * db2/Makefile: Likewise.
5727         * elf/Makefile: Likewise.
5728         * hurd/Makefile: Likewise.
5729         * iconv/Makefile: Likewise.
5730         * iconvdata/Makefile: Likewise.
5731         * intl/Makefile: Likewise.
5732         * localedata/Makefile: Likewise.
5733         * login/Makefile: Likewise.
5734         * po/Makefile: Likewise.
5735         * sunrpc/Makefile: Likewise.
5736         * sysdeps/mach/hurd/Makefile: Likewise.
5737         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5738         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5739         * timezone/Makefile: Likewise.
5741 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5743         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5744         alloc_size.  Pass return value of getcwd syscall to realloc.
5746 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5748         * manual/socket.texi: Spelling fixes.
5750 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5752         * elf/dl-load.c (print_search_path): Remove unused variable.
5754 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5756         * login/utmp_file.c: use __ftruncate not ftruncate.
5757         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5758         for system call and make ftruncate weak alias.
5759         * posix/unistd.h: Add prototype for __ftruncate.
5760         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5761         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5762         instead of snprintf and readv.
5763         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5764         snprintf.
5765         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5766         directly.
5768 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5770         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5771         * iconv/gconv_db.c: Use __ protected regex functions.
5772         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5773         * posix/getopt_init.c: Use __getpid not getpid.
5774         * posix/regex.c: Rename all global functions to start with __ and
5775         make old names weak aliases.
5776         * posix/regex.h: Adopt prototypes for this.
5777         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5778         a weak alias and use __getcwd instead of getcwd.
5779         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5780         * stdlib/strtod.c: Use __btowc instead of btowc.
5781         * stdlib/strtol.c: Likewise.
5782         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5783         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5784         and sys_errlist are weak.
5785         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5786         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5787         * wcsmbs/mbsnrtowcs.c: Likewise.
5788         * wcsmbs/mbsrtowcs.c: Likewise.
5789         * wcsmbs/wcsnrtombs.c: Likewise.
5790         * wcsmbs/wcsrtombs.c: Likewise.
5791         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5792         weak alias.
5793         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5794         * wctype/wctype.c: Define function as __wctype and make wctype
5795         weak alias.
5796         * wctype/wctype.h: Declare __wctype.
5798 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5800         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5802 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5804         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5805         stat64.
5806         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5807         functions.
5808         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5809         for __llseek.
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5811         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5812         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5813         make it a weak alias.
5814         * posix/unistd.h: Declare __lseek64.
5816         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5817         (_IO_file_stat): Fix typo.
5818         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5819         block size from the file.  Use __mempcpy if _LIBC.
5821 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5823         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5824         * wcsmbs/mbrtowc.c: Likewise.
5825         * wcsmbs/mbsnrtowcs.c: Likewise.
5826         * wcsmbs/mbsrtowcs.c: Likewise.
5827         * wcsmbs/wcrtomb.c: Likewise.
5828         * wcsmbs/wcsnrtombs.c: Likewise.
5829         * wcsmbs/wcsrtombs.c: Likewise.
5830         * wcsmbs/wctob.c: Likewise.
5832         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5833         position of next output character correctly.
5834         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5836         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5838         * stdlib/strtod.c: Don't use mbtowc.
5840 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5842         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5843         what we want is smaller than a buffer.
5845 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5847         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5848         this function.
5850 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5852         * configure.in: Recognize --with-headers flag and determine
5853         commandline options to be used in compilation.
5854         * Makeconfig (+includes): Use $(sysincludes).
5855         * config.make.in (sysincludes): Define from SYSINCLUDES.
5856         * glibcbug.in: Use SYSINCLUDES information.
5857         Patches by Zack Weinberg.
5859 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5861         * glibcbug.in: On linux, report version of kernel headers seen
5862         by compiler.
5864 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5866         * libc.map: Add __asprintf to GLIBC_2.1.
5867         * elf/dlerror.c: Use __asprintf, not asprintf.
5868         * libio/stdio.h: Declare __asprintf.
5869         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5870         a weak alias.
5872         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5873         to avoid inclusion from libc_pic.a.
5875         * elf/dl-runtime.c: Undo last patch.
5877         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5879         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5880         as default, use NULL.
5882 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5884         * resolv/Makefile: Include ../Makeconfig - needed for building
5885         static NSS module.
5887 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5889         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5890         static-nss since we don't want hesiod in the static NSS.
5892         * nss/Makefile: Build only nss_files as static.
5894         * nss/function.def: Remove support for service db.
5896 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5898         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5900 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5902         * posix/wordexp-test.c: Make IFS per test-case.
5904 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5906         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5907         ENVIRONMENT.
5909 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5911         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5912         `-print-file-name' to find as and ld.
5914 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5916         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5917         template is wrong.  Remove unused varaible `ignored'.
5919 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5921         * libc.map: Export __libc_sa_len.
5923         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5925 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5927         * iconv/gconv.c: Take care for NULL arguments.
5928         * iconv/gconv_dl.c: Make find_func function global.
5929         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5930         Add prototypes for ASCII conversion functions.
5931         * iconv/gconv_simple.c: Add ASCII conversion functions.
5932         * locale/C-ctype.c: Correct charset name.
5934         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5935         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5936         wcsmbsload.
5937         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5938         * wcsmbs/mbrtowc.c: Likewise.
5939         * wcsmbs/mbsnrtowcs.c: Likewise.
5940         * wcsmbs/mbsrtowcs.c: Likewise.
5941         * wcsmbs/wcrtomb.c: Likewise.
5942         * wcsmbs/wcsnrtombs.c: Likewise.
5943         * wcsmbs/wcsrtombs.c: Likewise.
5944         * wcsmbs/wctob.c: Likewise.
5945         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5946         prototypes for wmemr*.
5947         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5948         * wcsmbs/wcsnlen.c: New file.
5949         * wcsmbs/wcsmbsload.c: New file.
5950         * wcsmbs/wcsmbsload.h: New file.
5952         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5954         * manual/install.texi: Describe some more critical points.
5956         * string/string.h: Add prototype for __strnlen.
5957         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5959         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5960         much less predictable names.
5961         * sysdeps/posix/mkstemp.c: Likewise.
5963 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5965         * manual/libc.texinfo (Top): Change "file namespace" to "local
5966         namespace".
5968         * manual/socket.texi: Change file namespace to local namespace.
5969         (Out-of-Band Data): Remove unneeded variable link.
5970         (Host Address Functions): Use uint32_t consequently and add a
5971         number of clarifications for IPv4/IPv6, classless addresses.
5972         (Internet Namespace): Added some paragraphs about IPv6.
5973         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5975 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5977         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5979         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5980         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5981         (AI_NUMERICHOST): Define.
5982         (getnodebyname): New prototype.
5983         (AI_V4MAPPED, et al.): New constants.
5985         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5986         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5987         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5988         for socket.
5989         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5990         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5992         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5994         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5995         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5996         * socket/Makefile (headers): Add bits/sockunion.h.
5997         * socket/sys/socket.h: Include <bits/sockunion.h>
5998         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5999         <sys/socket.h>, to avoid getting sockaddr_union defined.
6000         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
6001         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6002         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
6004         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
6005         (2.2.x kernels won't have it).
6007 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
6009         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
6010         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
6011         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
6012         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
6014 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
6016         * manual/socket.texi (Socket Addresses): Fix a typo.
6017         (Interface Naming): New section.
6019 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6021         * configure.in: Check for CC using $ac_tool_prefix, to handle
6022         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
6023         * config.make.in: Add MIG to be substituted.
6024         * mach/Machrules: Don't define MIG variable.
6026         Patch by Gordon Matzigkeit <gord@profitpress.com>.
6028 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
6030         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
6031         strdupa to copy rpath.
6033 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6035         * configure.in: Fix gcc version check.
6037         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
6038         confusing.
6040 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
6042         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
6043         of ptsname_r.
6045         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
6046         like ttyname_r.
6047         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
6048         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
6049         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
6050         of __ptsname_r accordingly.
6051         * login/openpty.c (openpty): Likewise.
6053 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
6055         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
6057 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6059         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
6061         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
6063 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6065         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
6066         return value for better error checking.
6068 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
6070         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
6071         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
6073         * elf/elf.h (EM_SPARC64): Remove.
6074         (EM_SPARC32PLUS, EM_SPARCV9): Add.
6075         (HWCAP_SPARC_V9): Add.
6077         * elf/ldsodefs.h (_dl_hwcap): Declare.
6078         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
6079         Weaken so dlopen from static progies works.
6080         (WEAKADDR): New macro.
6081         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
6082         (LD_SO_PRELOAD): New macro.
6083         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
6084         (elf_machine_rela): Weaken _dl_rtld_map.
6086         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
6087         to __clone, and remove the later's alias.
6088         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6090         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
6091         the kernel's structure.
6093         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
6094         Sparc needs a custom value of __KERNEL_NCCS.
6096 1998-04-06  Richard Henderson  <rth@cygnus.com>
6098         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
6100         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
6101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6103 1998-04-06  Richard Henderson  <rth@cygnus.com>
6105         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
6106         as the buffer is not properly aligned.
6107         Reported by Juan Cespedes <cespedes@debian.org>.
6109 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6111         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
6112         instead of AF_FILE.
6114 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
6116         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
6117         and wc*tomb* functions.
6119 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
6121         * sysdeps/unix/start.c: Fix typo.
6123 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
6125         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
6127 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
6129         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
6130         expressions and using array variables.
6131         * sysdeps/libm-ieee754/e_asin.c: Likewise.
6132         * sysdeps/libm-ieee754/e_j0.c: Likewise.
6133         * sysdeps/libm-ieee754/e_j1.c: Likewise.
6134         * sysdeps/libm-ieee754/e_log.c: Likewise.
6135         * sysdeps/libm-ieee754/e_pow.c: Likewise.
6136         * sysdeps/libm-ieee754/k_cos.c: Likewise.
6137         * sysdeps/libm-ieee754/k_sin.c: Likewise.
6138         * sysdeps/libm-ieee754/k_tan.c: Likewise.
6139         * sysdeps/libm-ieee754/s_atan.c: Likewise.
6140         * sysdeps/libm-ieee754/s_erf.c: Likewise.
6141         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
6142         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
6143         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
6145 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
6147         * iconv/gconv.c: Rewrite of the low-level of gconv.
6148         * iconv/gconv.h: Likewise.
6149         * iconv/gconv_builtin.h: Likewise.
6150         * iconv/gconv_close.c: Likewise.
6151         * iconv/gconv_db.: Likewise.
6152         * iconv/gconv_dl.c: Likewise.
6153         * iconv/gconv_int.h: Likewise.
6154         * iconv/gconv_open.c: Likewise.
6155         * iconv/gconv_simple.c: Likewise.
6156         * iconvdata/8bit-gap.c: Adapt for rewrite.
6157         * iconvdata/8bit-generic.c: Likewise.
6158         * iconvdata/euckr.c: Likewise.
6159         * iconvdata/iso646.c: Likewise.
6160         * iconvdata/iso6937.c: Likewise.
6161         * iconvdata/iso8859-1.c: Likewise.
6162         * iconvdata/johab.c: Likewise.
6163         * iconvdata/sjis.c: Likewise.
6164         * iconvdata/t61.c: Likewise.
6165         * iconvdata/uhc.c: Likewise.
6167 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
6169         * iconv/gconv_int.h: New file.  Internal header.
6170         * iconv/Makefile (distribute): Add gconv_int.h.
6171         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
6172         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
6173         * iconv/gconv_close.c: Likewise.
6174         * iconv/gconv_conf.c: Likewise.
6175         * iconv/gconv_db.c: Likewise.
6176         * iconv/gconv_dl.c: Likewise.
6177         * iconv/gconv_int.h: Likewise.
6178         * iconv/gconv_open.c: Likewise.
6179         * iconv/iconv.c: Likewise.
6180         * iconv/iconv_close.c: Likewise.
6181         * iconv/iconv_open.c: Likewise.
6182         * iconv/iconv_prog.c: Likewise.
6184 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6186         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
6187         missing braces.
6189 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6191         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
6193 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6195         Based on patch from Pat Beirne:
6196         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
6197         PIC and non-PIC now.  Correctly negate error number.
6198         (errno): Use `%' not `@' in .type directives.
6200 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
6202         * sysdeps/i386/strtok.S: Change to use single exit point.
6203         * sysdeps/i386/i686/strtok.S: Likewise.
6205 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6207         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
6208         default.
6210 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6212         * Makerules (installed-libcs): Fix typo.
6214 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6216         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
6217         (UHC-routines): Remove ksc5601.
6219 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
6221         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
6222         introduced in last change.
6224 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
6226         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
6227         before 2.1.92.
6229 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6231         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
6233         * stdlib/isomac.c: Use -isystem instead of -I for system include
6234         dir.
6236 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
6238         * resolv/res_comp.c (underscorechar): New.
6239         (middlechar): Allow '_'.
6241 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6243         * intl/explodename.c (stdlib.h): Include that file only if
6244         STDC_HEADERS or _LIBC.
6245         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
6246         Patch by Philippe De Muyter <phdm@macqel.be>.
6248 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6250         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
6251         (AC_PROG_CHECK_VER): New macro.
6252         * configure.in: Use AC_PROG_CHECK_VER to check versions of
6253         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
6255 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
6257         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
6258         * sysdeps/i386/i686/strtok.S: New file
6259         * sysdeps/i386/i686/strtok_r.S: New file
6261 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
6263         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
6264         type to __off64_t.
6265         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
6266         parameter as __off64_t instead of __off_t.
6267         (ftello): Make alias for ftello64 instead of ftello.  Change
6268         return type to __off64_t.
6270 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6272         * sysdeps/i386/bits/string.h: Fix various typos.
6273         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
6275         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
6277 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
6279         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
6280         lchown syscall correctly.  [PR libc/541].
6282 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
6284         * localedata/Makefile: Correct testsuite rules.
6286         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
6287         * iconvdata/iso646.c: Fix conversion from UCS4.
6289         * elf/ldsodefs.h: Mark internal function with internal_function.
6290         * elf/dl-addr.c: Likewise.
6291         * elf/dl-close.c: Likewise.
6292         * elf/dl-debug.c: Likewise.
6293         * elf/dl-deps.c: Likewise.
6294         * elf/dl-error.c: Likewise.
6295         * elf/dl-fini.c: Likewise.
6296         * elf/dl-init.c: Likewise.
6297         * elf/dl-load.c: Likewise.
6298         * elf/dl-lookup.c: Likewise.
6299         * elf/dl-object.c: Likewise.
6300         * elf/dl-open.c: Likewise.
6301         * elf/dl-profile.c: Likewise.
6302         * elf/dl-reloc.c: Likewise.
6303         * elf/dl-runtime.c: Likewise.
6304         * elf/dl-symbol.c: Likewise.
6305         * elf/dl-version.c: Likewise.
6306         * elf/dlerror.c: Likewise.
6307         * sysdeps/generic/dl-sysdep.c: Likewise.
6308         * sysdeps/i386/dl-machine.h: Likewise.
6309         * intl/finddomain.c: Likewise.
6310         * intl/gettextP.h: Likewise.
6311         * intl/loadmsgcat.c: Likewise.
6313 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
6315         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
6316         * iconv/gconv_builtin.h: Add definitions for new builtins.
6317         * iconv/gconv.h: Add prototypes for new builtins.
6319         * iconvdata/Makefile (modules): Add ISO646.
6320         Add rules for ISO646 module.
6321         (distribute): Add iso646.c.
6322         * iconvdata/gconv-modules: Add module and alias definition for
6323         ISO646 charsets.
6324         * iconvdata/iso646.c: New file.
6326 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
6328         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
6329         * iconv/iconv_prog.c: Implement --list option to print available
6330         coded character sets.
6332 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6334         Make fread() read large blocks straight to the user buffer.
6336         * libio/fileops.c (_IO_file_xsgetn): New function.
6337         (_IO_file_jumps): Use it.
6338         * libio/libioP.h: Prototype it.
6340 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6342         * iconv/gconv_conf.c (builtin_aliases): New variable.
6343         (__gconv_read_conf): Add builtin aliases.
6344         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
6345         noop macro before including gconv_builtin.h.
6346         * iconv/gconv_builtin.h: Add alias names.
6348         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
6349         number of converted bytes correctly.
6351 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6353         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
6354         we only wait for a replay.
6356 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6358         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
6359         EUC-KR modules.
6361 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
6363         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
6364         use PLTJMP() rather than explicit (PLT).
6366         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
6367         __libc_start_main().
6369         Based on patch from Pat Beirne:
6370         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
6371         Always define, not only #ifndef PIC.
6372         (DO_CALL): Pass fifth argument correctly in R4.
6373         (PSEUDO): Correct test for error, call syscall_error through PLT
6374         if PIC.
6376 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
6378         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
6379         definitions.
6381 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
6383         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
6384         JOHAB.so.
6386 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
6388         * io/Makefile (static-only-routines): Add stat64, fstat64 and
6389         lstat64.
6391 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6393         * manual/Makefile: Use object-suffixes-for-libc instead of
6394         object-suffixes.
6395         * rpm/Makefile (install-lib): Likewise.
6397 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6399         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
6401         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
6402         `m68*', not only `m68k'.
6404 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6406         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
6408         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
6409         install lddlibc4.
6411 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6413         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
6414         EUC-KR.
6416         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
6417         comment.
6419 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
6421         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
6422         the init stuff.
6424 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6426         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
6427         adjtimex syscall.
6428         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6429         adjtimex.
6430         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
6432 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6434         * Makerules (install): Change comment for libc.so following the
6435         libc_nonshared changes.
6437 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6439         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
6441         * iconvdata/gap.pl: Avoid using %#06x.
6443 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6445         * Makerules: Use $? instead of S^ when invoking ar.
6447 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6449         * db2/compat.h: Allow EFTYPE being defined.
6450         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
6451         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
6452         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
6453         * sysdeps/mach/bits/libc-lock.h: Fix typo.
6454         (__libc_once): Correctly unlock semaphore.
6455         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
6456         * sysdeps/unix/bsd/getpt.c: Fix typo.
6457         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
6459 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
6461         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
6462         macros.
6464 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
6466         * include/mntent.h: New file.
6468         * elf/Makefile (trusted-dirs.h): Append slash to filename.
6469         * elf/dl-load.c: Rewrite search path handling.
6470         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
6471         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
6472         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
6473         * elf/ldsodefs.h: Add prototype.
6475 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6477         * nss/nsswitch.c (__nss_lookup): Adjust comment.
6479         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
6480         function.
6482         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
6484         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
6485         New function.
6486         (HWCAP_IMPORTANT): New definition.
6488 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
6490         * elf/dl-open.c (_dl_open): Fix a typo.
6491         (_dl_global_scope_alloc): Make it static.
6493 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
6495         * Makerules: Remove duplicate rules to handle stamp.oS.
6497 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6499         * manual/examples/inetsrv.c (main): Change prototype of
6500         make_socket following change in mkisock.c.
6502         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
6503         example host.
6504         (main): Change prototype of init_sockaddr following change in
6505         isockadd.c.
6507         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
6508         * manual/examples/isockad.c (init_sockaddr): Likewise.
6510         * manual/examples/mkfsock.c (make_named_socket): Removed blank
6511         lines for clarification.
6512         (make_named_socket): Use strncpy instead of strcpy.
6513         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
6515 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
6517         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
6518         determining libs to remove.
6519         (postclean): Add soversions.mk.
6520         * Makerules (common-mostlyclean): Add tests-static and generated
6521         files.
6523 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
6525         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
6526         scanning for \0.
6527         (__strncat_g): Add i686 specific code.
6529 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6531         * manual/install.texi (Reporting Bugs): Ask to include section
6532         names in reports.
6534 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6536         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
6537         guard against direct inclusion.
6539 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6541         Rework support for libc_nonshared.a:
6542         * Makeconfig (object-suffixes-for-libc): New variable.
6543         * Rules: Remove handling of static-only and shared-only routines.
6544         * Makerules: Handle them here instead.  Use
6545         object-suffixes-for-libc instead of object-suffixes when dealing
6546         with libc objects.
6547         (object-suffixes-for-rules): Remove variable.
6548         (elide-routines.oS): Elide all routines except static-only
6549         routines.
6550         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
6551         empty.
6552         (installed-libcs): Remove special case for .oS.
6553         (rmobjs): Likewise.
6555 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6557         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
6558         do-tst-rpmatch): New targets.
6559         (test): Use them.
6560         (install-locales): Ignore comment lines.
6562 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6564         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
6565         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
6566         ($(objpfx)rtldtbl.h): Likewise.
6567         (CPPFLAGS-dl-load.c): Fix reference to object directory.
6569 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
6571         * manual/string.texi (Finding Tokens in a String): Extend strsep
6572         description and correct example.
6574 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6576         * manual/socket.texi: Remove misguided explicit line breaks and
6577         fix the formatting problem instead by reformulating the
6578         paragraphs.
6579         * manual/filesys.texi: Likewise.
6580         * manual/conf.texi: Likewise.  Don't typeset table with index
6581         fonts, that looks worse than a minimally overfull line.
6583 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6585         * nscd/Makefile (nscd-modules): Move definition outside of
6586         conditional.
6588         * pwd/Makefile: Use have-thread-library to test for thread
6589         library.
6591 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6593         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
6595         * iconvdata/uhc.c (gconv): Remove unused variable idx.
6597 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
6599         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
6601 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
6603         * nss/getXXent_r.c: Correctly handle failing setXXent function.
6605         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
6606         Reported by Andreas Jaeger.
6608 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
6610         * elf/Makefile: Fix typo.
6611         (distribute): Add dl-librecon.h.
6612         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
6613         * elf/ldd.sh.in: Likewise.
6614         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
6615         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
6616         Use strsep correctly.
6617         (process_envvars): Allow platform specific variables.
6618         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
6619         (_dl_load_cache_lookup): Test cache IDs found against
6620         _dl_correct_cache_id.
6621         * sysdeps/generic/dl-librecon.h: New file.
6622         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
6624         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
6626 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
6628         * config.make.in (ldd-rewrite-script): New variable.
6629         * configure.in: Substitute ldd-rewrite-script.
6630         * elf/Makefile: Rewrite rules to generate ldd script.
6631         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
6632         * elf/ldd.sh.in: Likewise.
6633         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
6634         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
6635         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
6636         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
6637         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
6639 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6641         * inet/rcmd.c (iruserok): Remain setuid to the local user
6642         while .rhosts is actually read, to make .rhosts-over-NFS work
6643         (PR libc/524).  Use iruserfopen() for security checks on both
6644         hosts.equiv and .rhosts.  General cleanup.
6645         (iruserfopen): New function, performs careful checking on
6646         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6647         stuff plus hard links to files.
6649 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6651         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6653         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6655 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6657         * sysdeps/i386/i486/bits/string.h: Fix typos.
6659 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6661         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6662         strong alias.
6664         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6666         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6667         Added.  Used by libm.so on alpha.
6669 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6671         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6672         defined.
6674 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6676         * Makerules (object-suffixes-for-rules): Add .oS only for
6677         building shared library.
6678         Add ranlib rule for nonshared library.
6679         (rmobjs): Fix typo.
6681         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6682         into for shared library only.
6683         (CPPFLAGS-.oS): Add -DPIC.
6684         (libtypes): Use $(object-suffixes-for-rules) instead of
6685         $(object-suffixes).
6687 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6689         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6690         and install lddlibc4.
6692 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6694         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6695         hash.
6696         * iconvdata/gaptab.pl: Likewise.
6698 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6700         * Rules: Allow Makefiles to specify test-static for tests which
6701         cannot be linked dynamically.
6702         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6703         tests-static.
6705         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6707         * misc/error.c: Pretty print.
6709 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6711         * Makerules (libc_nonshared-name): Remove variable.
6712         (installed-libcs): Use libc-name instead.
6713         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6714         dynamic linker.
6716         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6717         libc.a.  Remove explicit reference to dynamic linker.
6719 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6721         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6722         to wchar_t.
6723         * iconv/iconv_prog.c: Correctly test for write failure.
6724         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6725         * iconvdata/gconv-modules: Likewise.
6726         * iconvdata/euckr.c: New file.
6727         * iconvdata/johab.c: New file.
6728         * iconvdata/ksc5601.c: New file.
6729         * iconvdata/ksc5601.h: New file.
6730         * iconvdata/uhc.c: New file.
6731         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6733         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6734         * stdio/fopen.c: Correct handling of 'x' flag.
6735         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6737 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6739         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6740         * sunrpc/rpcsvc/key_prot.x: Likewise.
6741         * sunrpc/key_prot.c: Likewise.
6743 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6745         * sysdeps/i386/bits/string.h: Correct things which never worked.
6746         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6747         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6749 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6751         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6752         defined.  Reported by Thorsten Kukuk.
6754 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6756         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6758 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6760         * manual/install.texi (Supported Configurations): Add
6761         arm-linuxaout and arm-none.
6763 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6765         * version.h (VERSION): Bump to 2.0.93.
6767 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6769         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6771         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6773         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6774         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6776 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6778         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6780 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6782         Put the static-only routines in a separate library.
6783         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6784         variables.
6785         (all-object-suffixes): Add .oS.
6786         * Makerules (libc_static-name): New variable.
6787         (installed-libcs): Add libc_nonshared.a.
6788         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6789         (object-suffixes-for-rules): New variable.  Use it instead of
6790         object-suffixes for generating compilation rules.
6791         (rmobjs): Also remove *.oS.
6792         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6793         ($(objpfx)stamp.oS): New target.
6795 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6797         * Makefile (FAQ): Automatically check in regenerated FAQ.
6799 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6801         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6803 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6805         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6806         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6808         * sysdeps/generic/stub_warning: Removed.
6810         * Makefile (distribute): Add include/des.h.
6812         * manual/Makefile (distribute): Change dir-add.texi to
6813         dir-add.texinfo.
6815         * glibcbug.in: Create files safely when mktemp is not available.
6817         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6818         Patch by a sun <asun@saul1.u.washington.edu>.
6820 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6822         * libc.map: Rename getname to getnetname.
6824 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6826         * manual/maint.texi: Use supported platform in examples.
6828         * manual/install.texi: Document some installation tips.
6830 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6832         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6833         Fix a bug so that it returns an error if a numeric parameter is
6834         unset and WRDE_UNDEF is set.
6835         Patch by Andreas Schwab and Tim Waugh.
6836         * posix/wordexp-test.c: Add new new test.
6838 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6840         * posix/regex.c (regex_compile): Last patch wasn't entirely
6841         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6843 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6845         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6847 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6849         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6850         clobbered registers don't appear as operands.
6852 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6854         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6855         Solaris' sake.
6857         * posix/regex.c (regex_compile): Don't allow non-alphabet
6858         characters in character set name.
6860 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6862         * posix/wordexp.c (w_newword): New function.
6863         (do_parse_glob): New function.
6864         (parse_glob): Use do_parse_glob.  Now handles the case where a
6865         variable expansion causes a field-split.
6866         (wordexp): Use w_newword.
6867         (parse_arith): Likewise.
6868         (exec_comm): Likewise.
6869         (parse_comm): Likewise.
6870         (parse_param): Likewise.
6871         (parse_backtick): Likewise.
6873 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6875         * posix/wordexp-tst.sh: Another test.
6877         * posix/wordexp-test.c: Two new tests.
6879         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6880         directly (the code using realloc was buggy).
6881         (parse_param): Fix typo in comment.
6883 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6885         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6887 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6889         * libc.map: Add more rpc auth functions/variables.
6891         * nscd/nscd.c: Add -g option to argp options.
6893 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6895         * configure.in: Be prepared for gcc 2.9.10 and up.
6896         * configure.in: Add missing disabling of quote characters in
6897         compiler version check.  Reported by HJ Lu.
6899 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6901         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6903 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6905         * intl/locale.alias: Fix spelling of romanian.
6907         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6908         (distribute): Remove des.h.
6909         * include/des.h: New file.
6910         * sunrpc/des.h: Moved to ...
6911         * sunrpc/rpc/rpc_des.h: ...here.
6913 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6915         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6916         Fix paren.
6918 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6920         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6921         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6923 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6925         * elf/ldsodesf.h: New file.
6926         * elf/Makefile (distribute): Add ldsodefs.h.
6927         * elf/link.h: Separate internal information in exter header.
6928         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6929         * elf/dl-minimal.c: Likewise.
6930         * sysdeps/generic/dl-sysdep.c: Likewise.
6931         * elf/sprof.c: Likewise.
6932         * elf/dlsym.c: Likewise.
6933         * elf/dlvsym.c: Likewise.
6934         * elf/dlerror.c: Likewise.
6935         * elf/dladdr.c: Likewise.
6936         * elf/dlclose.c: Likewise.
6937         * elf/dlopen.c: Likewise.
6938         * elf/dl-addr.c: Likewise.
6939         * elf/dl-close.c: Likewise.
6940         * elf/dl-debug.c: Likewise.
6941         * elf/dl-deps.c: Likewise.
6942         * elf/dl-error.c: Likewise.
6943         * elf/dl-fini.c: Likewise.
6944         * elf/dl-init.c: Likewise.
6945         * elf/dl-load.c: Likewise.
6946         * elf/dl-lookup.c: Likewise.
6947         * elf/dl-object.c: Likewise.
6948         * elf/dl-open.c: Likewise.
6949         * elf/dl-profile.c: Likewise.
6950         * elf/dl-reloc.c: Likewise.
6951         * elf/dl-runtime.c: Likewise.
6952         * elf/dl-support.c: Likewise.
6953         * elf/dl-symbol.c: Likewise.
6954         * elf/dl-version.c: Likewise.
6955         * sysdeps/generic/dl-cache.c: Likewise.
6956         * sysdeps/generic/libc-start.c: Likewise.
6957         * iconv/gconv_dl.c: Likewise.
6958         * nss/nsswitch.c: Likewise.
6960 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6962         * manual/nss.texi: The database is not called network but networks.
6963         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6965 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6967         * configure.in: Correct test for compiler version.
6968         Check that LD_LIBRARY_PATH doesn't contain current path.
6970 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6972         * elf/dl-close.c (_dl_close): Fix byte count while removing
6973         the shared object from the global scope list and optimize
6974         a little bit.
6976 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6978         * manual/filesys.texi (Scanning Directory Content): Add missing
6979         closing brace.
6980         (Scanning Directory Content): Fix text.
6982 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6984         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6985         explaining difference of -lmcheck and MALLOC_CHECK_.
6987 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6989         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6990         typos in comments.
6992 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6994         * test-skeleton.c (main): Fix test for exit signal.
6996 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6998         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
7000 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7002         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
7003         appropriate.
7005 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7007         * libc.map: Export __strtok_r.
7009 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
7011         * posix/regex.c (re_compile_fastmap): Remove unused variable
7012         num_regs and adjust comment.
7013         Patch by Jim Meyering <meyering@ascend.com>.
7015         * math/math.h (M_*l): Extend long double constants to be usable
7016         for 128 bit floats.  Patch by Richard Henderson.
7018 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7020         * sysdeps/m68k/m68020/wordcopy.S: New file.
7022 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
7024         * posix/wordexp.c: Rewrite parse_param.
7025         Patch by Tim Waugh and Andreas Schwab.
7027 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7029         * Rules: Update timestamps on empty object files.
7031 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
7033         * manual/filesys.texi (Scanning Directory Content): Add description
7034         of 64 bits scandir function and friends.
7036 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7038         * glibcbug.in: Use mktemp to generate unique file name for
7039         temporary files.
7041         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
7042         ptsname_r.  Use cast for execve call.
7044 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
7046         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
7047         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
7048         * io/sys/statvfs.h: New file.
7049         * sysdeps/generic/fstatvfs.h: New file.
7050         * sysdeps/generic/statvfs.h: New file.
7051         * sysdeps/generic/fstatvfs64.h: New file.
7052         * sysdeps/generic/statvfs64.h: New file.
7053         * sysdeps/generic/bits/statvfs.h: New file.
7054         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
7055         * sysdeps/unix/sysv/linux/statvfs.c: New file.
7056         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
7058         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
7059         and f_ffree elements.
7061         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
7062         mount options in enum.
7064 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7066         * configure.in: Check for recent egcs/gcc.
7068 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7070         * libc.map: Add alphasort64, scandir64, versionsort64.
7071         * dirent/Makefile (routines): Add scandir64, alphasort64, and
7072         versionsort64.
7073         * dirent/alphasort64.c: New file.
7074         * dirent/scandir64.c: New file.
7075         * dirent/versionsort64.c: New file.
7076         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
7077         versionsort.
7078         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
7079         old name weak alias.
7080         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7082         * dirent/alphasort.c: Use strcoll instead of strcmp.
7084         * dirent/scandir.c: Optimize a bit.
7086         * dirent/versionsort.c: Pretty print.
7088 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7090         * string/string.h: Add prototype for __strtok_r.
7092 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7094         * posix/Makefile: Fix typo in last change.
7096 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
7098         * dirent/dirent.h (scandir): Make argument of select function const.
7099         * dirent/scandir.c (scandir): Likewise.
7100         Reported by David.Faure@insa-lyon.fr [PR libc/512].
7102 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
7104         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
7105         weak alias.
7106         * sysdeps/i386/strtok_r.c: Likewise.
7108         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
7109         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
7110         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
7111         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
7112         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
7113         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
7115 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7117         * intl/localealias.c: Remove unneeded define for strdup.
7119 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
7121         * manual/argp.texi: Adjust for better TeX output.
7122         * manual/arith.texi: Likewise.
7123         * manual/conf.texi: Likewise.
7124         * manual/filesys.texi: Likewise.
7125         * manual/header.texi: Likewise.
7126         * manual/lgpl.texinfo: Likewise.
7127         * manual/math.texi: Likewise.
7128         * manual/message.texi: Likewise.
7129         * manual/pattern.texi: Likewise.
7130         * manual/process.texi: Likewise.
7131         * manual/signal.texi: Likewise.
7132         * manual/socket.texi: Likewise.
7133         * manual/startup.texi: Likewise.
7134         * manual/stdio.texi: Likewise.
7135         * manual/terminal.texi: Likewise.
7136         * manual/examples/rprintf.c: Likewise.
7137         * manual/examples/testopt.c: Likewise.
7138         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7140 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
7142         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
7143         parameter name after seeing a digit if it's enclosed in braces.
7145 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7147         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
7149 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7151         * manual/memory.texi (Heap Consistency Checking): Document
7152         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
7154 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7156         * manual/Makefile: Add missing rules.
7158 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7160         * timezone/Makefile (generated): Define to remove all stamp files.
7162         * sysdeps/generic/strsep.c: Also undefine __strsep.
7164         * string/strdup.c: Undefine __strdup and strdup first.
7165         * string/strndup.c: Likewise.
7167         * string/bits/string2.h: Correct strtok_r and strsep.
7168         Add strndup optimization.
7170         * sysdeps/generic/strsep.c: Little optimization.
7172 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
7174         * string/bits/string2.h: Add optimization for strdup.
7175         Always define __strsep and __strtok_r and make real names available
7176         when feature select macros are defined.
7178 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7180         * manual/install.texi (Installation): Use i486-linux as example
7181         instead of the unsupported sunos4.
7182         (Reporting Bugs): Mention glibcbug script.
7183         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
7185 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7187         * posix/wordexp-tst.sh: Make portable.  Add more tests.
7189         * posix/Makefile (do-globtest do-wordexp-test): New targets.
7191 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
7193         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
7194         * sysdeps/generic/libc-start.c: ...here, replacing former content.
7196         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
7197         netpacket/packet.h.
7199         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
7201 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7203         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
7204         in enumerator for strict standard compliance.
7205         * sysdeps/generic/bits/resource.h: Likewise.
7207 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
7209         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
7210         (PLTJMP): New macro.
7212         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
7213         longjmp() when floating point enabled.
7214         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
7215         * sysdeps/arm/__longjmp.S: Remove floating point code.
7216         * sysdeps/arm/setjmp.S: Likewise.
7218         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
7219         * sysdeps/arm/bsd-_setjmp.S: Likewise.
7221         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
7222         memset().
7224         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
7225         prototype.
7227 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
7229         Based on patches from Pat Beirne and Scott Bambrough:
7231         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
7233         * sysdeps/arm/bits/fenv.h: New file.
7235         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
7236         * sysdeps/arm/elf/setjmp.S: Likewise.
7237         * sysdeps/arm/elf/start.S: Likewise.
7238         * sysdeps/arm/init-first.c: Likewise.
7239         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
7240         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
7241         comment about floating point to reflect current reality.
7243         * sysdeps/unix/arm/brk.S: Support PIC.
7244         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
7245         re-entrant code.
7246         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
7247         return; call syscall_error through PLT.
7248         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
7250 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
7252         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
7253         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
7254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
7256 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7258         * dirent/list.c (test): Return error value.
7259         (main): Exit with error value.
7261         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
7263         * Makefile (distribute): Add test-skeleton.c.
7264         * test-skeleton.c: New file.
7265         * dirent/Makefile (tests): Add opendir-tst1.
7266         * dirent/opendir-tst1.c: New file.
7268 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
7270         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
7271         Optimize memory handling.
7272         * sysdeps/unix/closedir.c: Optmize memory handling.
7274 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
7276         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
7277         handling.  Optimize a bit.
7279 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
7281         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
7282         (parse_param): Fold in Andreas' fixes to do with when the end of
7283         the parameter name has been reached, and quoting inside ${...}.
7284         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
7285         $((echo);(ls)).
7287 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7289         * manual/maint.texi: Split out installation and contribution
7290         sections to their own appendices.  Misc cleanups.
7291         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
7292         * manual/contrib.texi: New file.
7293         * manual/libc.texinfo: Pull in new appendices.
7294         * manual/header.texi: Correct node pointer.
7296 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7298         * manual/process.texi (Process Completion): Clarify return value
7299         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
7301 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7303         * posix/wordexp-test.c: Add more tests.
7304         (testit): Fix logic.
7306         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
7307         /dev/null instead of closing it, close pipe.  Always chop off all
7308         trailing newlines.  Kill and reap child before returning error.
7309         (w_addword, parse_glob): Fix memory leak.
7310         (wordexp): Fix dangling pointer problem.
7312 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
7314         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
7316         * posix/wordexp-test.c (main): Fix little thinkos and typos.
7318         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
7319         directory index by only the language.
7321 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
7323         * posix/wordexp-tst.sh: Store test results in the
7324         ${common_objpfx}posix directory.
7326         * posix/wordexp-test.c: Remove temporary directory afterwards.
7328 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7330         * libc.map: Export internal versions of cancelable functions.
7332 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7334         * Makerules (MAKEFLAGS): Append `r'.
7336 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7338         * Makeconfig: Define have-thread-library, shared-thread-library
7339         and static-thread-library if a thread library is available.  Don't
7340         define rt.
7341         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
7342         nscd-routines to nscd-modules.  Use shared-thread-library and
7343         static-thread-library in dependencies.
7344         * rt/Makefile: Only compile librt if have-thread-library is
7345         defined.
7346         * Makefile (subdirs): Always include rt subdir.
7348 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7350         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
7352 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
7354         * configure.in: Recognize variations for 32 MIPS processors.
7355         Don't assume ELF systems always have .weak, test for .weakext.
7357 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7359         * configure.in: Irix6 is an ELF platform.
7361 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
7363         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
7364         unmapping the last loaded segment.
7366 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
7368         * configure.in: Set base_os for Irix6.
7369         Correct test for .weakext.
7371 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7373         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
7374         (new_line) to _dl_debug_message call.
7376 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7378         * posix/wordexp.c (parse_param): Perform field-splitting after
7379         expanding positional parameter.
7381         * posix/wordexp-tst.sh: Test that field-splitting is performed
7382         after expanding positional parameter.
7384         * posix/wordexp.c (parse_param): Fixed memory leak in
7385         field-splitting after parameter expansion.
7387 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
7389         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
7390         (get_toplvl_escape): Correctly terminate loop at EOF.
7391         Patch by Cristian Gafton <gafton@redhat.com>.
7393 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
7395         * string/tester.c (test_strpbrk): Add more strpbrk tests.
7396         (test_strsep): Likewise.  Correct horrible bugs.
7398         * string/bits/string2.h (strcspn): Optimize also reject string of
7399         length 2 and 3.
7400         (strspn): Likewise.
7401         (strpbrk): Likewise.
7402         (strsep): Likewise.  Correct bug with successive separators and
7403         separators at the end of the string.
7404         * sysdeps/generic/strsep.c: Correct bug with successive separators
7405         and separators at the end of the string.
7407 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7409         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
7410         etc) now handled, as well as $$ (pid).
7412         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
7413         (distribute): Add wordexp-tst.sh.
7415         * posix/wordexp-tst.sh: New file.
7417         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
7418         number of positional parameters.  Renamed substitute_length to
7419         seen_hash.
7420         Don't free(env) is env is NULL.
7422 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
7424         * libc.map: Add pthread_attr_init to GLIBC_2.1.
7426 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
7428         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
7429         for output file replacing gmon.out.
7430         Patch by Dean Gaudet <dgaudet@arctic.org>.
7432 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7434         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
7435         up namespace.  Optimize finding end of line.
7437 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7439         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
7440         securely.  Optimized.
7441         (process_dl_debug): Add ':' to list of separators.  Optimized.
7443 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7445         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7446         isless, islessequal, islessgreater, isunordered): Return zero or
7447         one.
7449 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
7451         * posix/wordexp-test.c: More tests.
7452         (main): Set up arena for pathname expansion tests (in a temporary
7453         directory).
7454         (testit): Don't check word count or word vector if return value is
7455         non-zero.
7457         * posix/wordexp.c (exec_comm): Always chop off terminating
7458         linefeed (just like bash does).
7459         (parse_param): Change lots of occurrences of "if (!*env)" to "if
7460         (!env || !*env)".
7461         (parse_param): For assignment inside parameter expansion, use all
7462         expanded words in assignment rather than just the first.
7463         (parse_param): Corrected return value for parameter expansion of
7464         an unset variable when WRDE_UNDEF is in effect.
7465         (parse_dollars): Don't field-split if quoted.
7466         (wordexp): Opening brace character isn't allowed unquoted.
7468 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7470         * elf/dlerror.c: Fix concurrency problems with error string and
7471         number.
7473         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
7474         filter/auxiliary are being loaded.
7476 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
7478         * elf/dlerror.c (last_object_name): Removed.
7479         (dlerror): Don't use last_object_name.
7480         (_dl_error_run): Omit second argument to _dl_catch_error.
7481         * elf/dl-error.c (struct catch): Remove objname member.
7482         (_dl_signal_error): Construct string including objname when given.
7483         (_dl_catch_error): Remove objname handling.
7484         * elf/link.h (_dl_catch_error): Fix prototype and comment.
7485         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
7486         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
7487         * nss/nsswitch.c (nss_dlerror_run): Likewise.
7488         * iconv/gconv_dl.c (dlerror_run): Likewise.
7489         [Corrects PR libc/501].
7491 1998-03-12  Matthias Urlichs <smurf@noris.de>
7493         * nscd/nscd.c: Ignore SIGPIPE.
7495 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7497         * nscd/nscd_getgr_r.c: Use __ protected names.
7498         * nscd/nscd_getpw_r.c: Likewise.
7500 1998-03-12  Matthias Urlichs <smurf@noris.de>
7502         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
7503         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
7504         null bytes are not transmitted.
7506 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7508         * powerpc/syscalls.list: Correct typo.
7509         * alpha/syscalls.list: Likewise.
7510         * mips/syscalls.list: Likewise.
7512 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
7514         * socket/sys/socket.h: Add prototype for __socket.
7516 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7518         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
7520         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
7521         constants.
7523         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
7524         definition here.
7525         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
7526         definition here.
7528         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
7529         AF_* and PF_* constants.
7531         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
7533 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
7535         * elf/rtld.c: Update help message.
7536         Install link maps for preloaded objects using main_map as loader.
7538         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
7539         * elf/dl-profile.c: Likewise.
7541         * elf/dlsym.c: Little optimization.
7542         * elf/dlvsym.c: Likewise.
7544 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
7546         * posix/wordexp-test.c: Move test for parameter list at the very
7547         beginning.
7549 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7551         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
7552         WRDE_REUSE flag is set.
7553         (parse_param): Allow `*', `@', and numbers in parameter names.
7554         (parse_dollars): Differentiate between arithmetic expansion and a
7555         command substitution that starts immediately with a sub-shell
7556         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
7557         (parse_param): Memory allocated with __alloca in a block was
7558         referenced outside that block.  Adjusted to use malloc/free.
7559         (parse_param): Adjusted field-splitting algorithm so that there is
7560         not necessarily a field split at the end of a parameter expansion.
7562 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
7564         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
7565         don't free words that have already been allocated.
7566         (parse_param): A dollar sign on its own will never have a pattern
7567         associated with it (like "${HOME%%/}" has), so don't try to free it.
7568         (parse_glob): Attempt to glob when an unquoted `[' is found
7569         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
7570         (parse_glob): Sorted out quoting in a glob-able word.
7571         (parse_param): Added $* and $@ handling.
7573 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7575         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
7576         parsing it.
7578 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7580         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
7581         _dl_debug_message.
7583 1998-03-12  Matthias Urlichs  <smurf@noris.de>
7585         * elf/dl-misc.c: Default for debug output should be stderr.
7586         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
7587         * elf/dl-lookup.c: reference_name may be NULL or empty.
7589 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7591         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
7593 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
7595         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
7597         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
7599 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7601         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
7602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7604 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7606         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
7607         init stuff.
7609 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7611         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
7612         flag.
7614         * misc/syslog.c (vsyslog): Don't try to send if not connected to
7615         syslog daemon.
7616         (closelog_internal): Don't do anything if not connected.
7618 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
7620         * libc.map: Add _dl_debug_message.
7621         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
7622         before every line.
7623         * elf/fini.c: Correctly use new _dl_debug_message function.
7624         * elf/init.c: Likewise.
7625         * elf/dl-lookup.c: Likewise.
7626         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7627         * elf/dl-load.c: Likewise.  Add more debugging prints.
7628         * elf/dl-reloc.c: Likewise.
7629         * elf/dl-version.c: Likewise.
7630         * elf/dl-support.c: Add variables for debugging.
7631         * elf/rtld.c: Likewise.  Recognize new debug options.
7632         * elf/link.h: Declare new variables.
7634         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
7636 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7638         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
7639         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
7641 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7643         * posix/wordexp-test.c (command_line_test): New function to allow
7644         testing of specific cases from the command-line.
7646 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7648         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7649         * elf/dl-fini.c (_dl_fini): Likewise.
7650         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7652         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7653         symbol in debug message.
7654         (_dl_lookup_versioned_symbol_skip): Likewise.
7656 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7658         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7659         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7660         * manual/filesys/texi: Document this.
7662 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7664         * manual/filesys.texi: Document the change below.
7666 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7668         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7669         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7671 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7673         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7674         instead scope.  If debugging display information about symbol
7675         resolving.
7676         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7677         (_dl_lookup_symbol_skip): Likewise.
7678         (_dl_lookup_versioned_symbol): Likewise.
7679         (_dl_lookup_versioned_symbol_skip): Likewise.
7680         * elf/dl-support.c: Define _dl_debug_symbols.
7681         * elf/link.h: Add declaration for _dl_debug_symbols.
7682         * elf/rtld.c: Define _dl_debug_symbols.
7683         (process_dl_debug): Recognize symbols option.
7685 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7687         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7688         in correct format.
7689         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7690         with correct parameters.
7691         [!PIC]: Initialize __libc_multiple_libcs.
7693 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7695         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7696         * elf/rtld.c (_dl_debug_bindings): Add definition.
7697         (process_dl_debug): Recognize bindings option.  Update help message.
7698         * elf/link.h (struct link_map): Add l_versyms member.
7699         (_dl_debug_bindings): Add declaration.
7700         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7701         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7702         and l_reloc_result.
7703         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7704         (sym_val): Remove a member, add m as link_map.
7705         (do_lookup): Return result appropriately.
7706         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7707         Call do_lookup correctly.
7708         (_dl_lookup_symbol_skip): Likewise.
7709         (_dl_lookup_versioned_symbol): Likewise.
7710         (_dl_lookup_versioned_symbol_skip): Likewise.
7712 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7714         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7715         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7717         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7718         * libc.map: Add chown to GLIBC_2.1.
7719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7720         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7722 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7724         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7725         weak alias.
7726         * sysdeps/alpha/ffs.c: Likewise.
7727         * sysdeps/am29k/ffs.c: Likewise.
7728         * sysdeps/i386/ffs.c: Likewise.
7729         * sysdeps/i960/ffs.c: Likewise.
7730         * sysdeps/m68k/ffs.c: Likewise.
7731         * sysdeps/m88k/ffs.c: Likewise.
7732         * sysdeps/powerpc/ffs.c: Likewise.
7733         * sysdeps/rs6000/ffs.c: Likewise.
7734         * sysdeps/vax/ffs.s: Likewise.
7735         * string/string.h: Declare __ffs.
7736         * libc.map: Export it.
7737         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7738         __builtin_ffs, which is not guaranteed to be namespace clean.
7740 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7742         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7743         table, which is much more likely to exist than debugging symbols.
7744         (printsym): Remove const.
7745         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7746         header table.
7748         * libc.map: Export __profile_frequency, used by elf/sprof, to
7749         avoid infinite recursion during startup.
7751 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7753         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7754         Readd lost negate.
7756         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7758 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7760         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7762 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7764         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7765         LD_PRELOAD, and LD_VERBOSE.
7766         (dl_main): Use global variables set by process_envvars instead of
7767         calling getenv.
7768         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7769         LD_LIBRARY_PATH value, this comes with the parameter.
7770         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7771         ("LD_LIBRARY_PATH") to _dl_init_paths.
7773 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7775         * elf/rtld.c (dl_main): Delay initialization of path structure if
7776         the dynamically linker is invoked implicitly until we read the
7777         dynamic section.
7779 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7781         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7783 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7785         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7786         Linux 2.0 and 2.1.
7788         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7790 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7792         * Makeconfig (nisobjdir): Set to path to nis directory.
7793         (rpath-link): Add nisobjdir.
7794         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7796         * elf/Makefile: Pretty print.
7797         * elf/dl-lookup.c: Include unistd.h.
7798         * elf/dl-runtime.c: Likewise.
7800         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7801         (distribute): Add tst-rpmatch.sh.
7802         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7804         New tests for rpmatch function by
7805         Jochen Hein <jochen.hein@delphi.central.de>.
7806         * localedata/tst-rpmatch.c: New file.
7807         * localedata/tst-rpmatch.sh: New file.
7809         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7810         * localedata/locales/de_AT: Likewise.
7812         * posix/getopt.c: Update contact address.
7813         * posix/getopt1.c: Pretty print.
7815         * sysdeps/generic/libc-start.c: Do most of the initialization now
7816         here instead of in start.S.
7817         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7818         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7820         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7821         profil_counter to be public.
7823 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7825         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7826         (parse_param): Coded parameter length expansion (${#var}).
7827         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7828         (parse_param): Cleaned up (fixed) error handling.
7830         * posix/wordexp-test.c: IFS now includes non-whitespace character
7831         (comma).  Added more tests.
7833 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7835         * elf/link.h: Fix typos.
7836         Reported by Andreas Jaeger.
7838         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7839         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7841 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7843         * argp/argp-help.c: Remove last bits of using gettext instead of
7844         dgettext.
7846 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7848         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7849         __libc_start_main.
7850         * csu/Makefile (routines): Add libc-start.
7851         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7852         * elf/dl-lookup.c: Likewise.
7853         * elf/dl-version.c: Likewise.
7854         * sysdeps/i386/dl-machine.h: Likewise.
7855         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7856         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7857         _dl_sysdep_message macros which use _dl_sysdep_output.
7858         * elf/dl-fini.c: Write out which destructor is called while debugging.
7859         * elf/dl-init.c: Likewise for constructor.
7860         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7861         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7862         _dl_sysdep_message.  Add _dl_sysdep_output.
7863         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7864         this file can be opened.
7865         For LD_DEBUG=libs also set _dl_debug_impcalls.
7866         * sysdeps/generic/dl-cache.c: Include unistd.h.
7867         * sysdeps/generic/libc-start.c: New file.
7868         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7869         * sysdeps/i386/elf/start.S: Don't call main directly, call
7870         __libc_start_main instead.
7872         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7874 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7876         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7878 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7880         * argp/argp.h (struct argp): Add new field domain.
7881         * argp/argp-help.c: Change all gettext calls to dgettext and use
7882         domain field from appropriate argp in call.
7883         * argp/argp-parse.c: Likewise.
7885 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7887         * posix/wordexp-test.c: Change testsuite so that it can run even
7888         for ~root != /root.
7890 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7892         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7894 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7896         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7897         Don't store into global errno if we already store through
7898         __errno_location.
7899         * sysdeps/unix/i386/sysdep.S: Likewise.
7900         * sysdeps/unix/alpha/sysdep.S: Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7903         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7904         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7905         PIC).
7907 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7909         * sysdeps/generic/sysdep.h (L): Remove definition.
7910         * sysdeps/i386/sysdep.h (L): Define it here instead.
7912 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7914         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7916         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7918 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7920         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7921         declaration style to avoid warnings.
7923 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7925         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7926         "LD_DEBUG".
7928 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7930         * posix/Makefile (tests): Add wordexp-test.
7931         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7932         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7934 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7936         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7937         dependencies.
7939         * elf/link.h (struct r_search_path_elem): Add two new field for
7940         lib path debugging.
7941         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7942         variable accordingly.
7943         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7944         is considered next along with information about load paths.
7945         * sysdeps/generic/dl-cache.c: Likewise.
7946         * elf/dl-support.c: Define _dl_debug_libs.
7947         * elf/genrtldtbl.awk: Add initializers for two new field in
7948         struct r_search_path_elem.
7950 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7952         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7953         * sysdeps/m68k/lshift.S: Likewise.
7954         * sysdeps/m68k/rshift.S: Likewise.
7955         * sysdeps/m68k/sub_n.S: Likewise.
7956         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7957         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7958         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7960         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7961         [_LIBC_REENTRANT]: Don't store into global errno.
7963         * sysdeps/m68k/sysdep.h: New file.
7964         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7965         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7966         (DO_CALL): Change to expect syscall name as argument.
7967         (PSEUDO): Pass syscall_name to DO_CALL.
7968         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7969         errno.
7971 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7973         * elf/rtld.c: Speed up processing of environment variables.  Do
7974         only one run on the environment by avoiding to call getenv.
7975         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7976         function.  Used by patch above.
7978 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7980         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7981         running nscd.
7982         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7983         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7984         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7986 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7988         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7989         module cannot be found.  Reported by Andreas Jaeger.
7991 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7993         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7994         on platforms which default to unsigned chars.
7995         * nscd/nscd_getpw_r.c: Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7997         defining it.
7999 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8001         * elf/Makefile (install-bin): Change = to += for sprof to install
8002         ldd also.
8004 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
8006         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
8008 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
8010         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
8012 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8014         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
8015         that a failure to connect to nscd doesn't change errno.
8017 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8019         * manual/maint.texi (Reporting Bugs): Change
8020         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
8022         * locale/iso-4217.def: Likewise
8024 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
8026         * manual/texinfo.tex: Updated.
8028 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8030         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
8031         value.
8032         * sysdeps/posix/pathconf.c: Likewise.
8033         * posix/getconf.c: Print `undefined' if pathconf returns -1
8034         without setting errno.
8036 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
8038         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
8039         problem.
8040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
8041         Patches by Elliot Lee <sopwith@cuc.edu>.
8043 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
8045         * elf/link.h (struct link_map): Add new field l_reloc_result.
8046         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
8047         of relocation for the object to be profiled.
8048         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
8049         to NULL.
8050         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
8051         array here.
8052         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
8053         contains a result from a previous run use this instead of computing
8054         the value again.
8055         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
8057 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8059         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
8060         offsets into the GOT.
8061         (RTLD_START): Likewise.
8063 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
8065         * elf/sprof.c: Cleanup a bit.
8067 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
8069         * sysdeps/generic/sysdep.h (L): New. Define.
8071         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
8073         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
8075         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
8076         to have only one exit point for functions.
8077         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8078         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
8079         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
8080         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8081         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8083 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8085         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
8086         reset errno so that errno isn't set to ENOSYS in the first call.
8087         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
8088         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8089         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8090         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8092 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
8094         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
8095         * sysdeps/i386/addmul_1.S: Likewise.
8096         * sysdeps/i386/lshift.S: Likewise.
8097         * sysdeps/i386/mul_1.S: Likewise.
8098         * sysdeps/i386/rshift.S: Likewise.
8099         * sysdeps/i386/sub_n.S: Likewise.
8100         * sysdeps/i386/submul_1.S: Likewise.
8101         * sysdeps/i386/i586/add_n.S: Likewise.
8102         * sysdeps/i386/i586/addmul_1.S: Likewise.
8103         * sysdeps/i386/i586/lshift.S: Likewise.
8104         * sysdeps/i386/i586/mul_1.S: Likewise.
8105         * sysdeps/i386/i586/rshift.S: Likewise.
8106         * sysdeps/i386/i586/sub_n.S: Likewise.
8107         * sysdeps/i386/i586/submul_1.S: Likewise.
8109         * sysdeps/i386/sysdep.h: Extend last change.
8111         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
8112         to have only one exit point for functions.
8114 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8116         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
8117         search.
8119 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
8121         * Makerules: Generate libc.so with absolute paths for the used
8122         shared objects.
8124         * config.make.in: Add MAKEINFO definition.
8126 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8128         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
8129         (ENTRY): Use STABS_FUN.
8130         (END): Use STABS_FUN_END.
8131         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
8133         * elf/Makefile: Add rules to build sprof program.
8134         * elf/sprof.c: New file.
8136 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8138         * misc/syslog.c (openlog_internal): Insert missing closing brace.
8140 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8142         * configure.in: Check for working msgfmt version (from GNU gettext
8143         0.10 or later).
8145 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8147         * configure.in: Avoid //s in sysdirs.
8148         Patch by Roland McGrath.
8150         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
8152 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
8154         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
8155         setting _dl_global_scope for RTLD_GLOBAL.
8157 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8159         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
8160         possible lists of object-suffixes are taken care of.
8162 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
8164         * timezone/private.h: Update from tzcode1998c.
8165         * timezone/zic.c: Likewise.
8166         * timezone/antarctica: Updated from tzdata1998c.
8167         * timezone/asia: Likewise.
8168         * timezone/australasia: Likewise.
8169         * timezone/europe: Likewise.
8170         * timezone/southamerica: Likewise.
8172 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
8174         * posix/glob.c (glob_in_dir): Add support for cases insensitive
8175         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
8177 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
8179         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
8180         Changed type of TWO43, TWO52 from float to double.
8181         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
8182         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
8183         Changed type of TWO43 from float to double.
8184         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
8185         Use __isinff.
8187 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
8189         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
8190         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
8191         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
8193 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
8195         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
8196         kernel_termios.h.
8197         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
8198         Clean up random whitespace.
8199         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
8200         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
8201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
8202         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
8204 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
8206         * shlib-versions: Match alpha*.
8207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
8208         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
8210         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
8211         Implement copysign* with and without __ prefix.
8212         Likewise for fabs; use builtin for gcc 2.8.
8213         (floor*): New.
8214         (fdim*): New.
8216         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
8217         (R_SPARC*): Match current v9 ABI.
8219         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
8221         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
8222         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
8223         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
8224         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
8225         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8226         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
8227         * sysdeps/unix/grantpt.c (argv): Fix consts.
8228         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
8229         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8231 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8233         * misc/syslog.c: Change to allow user the interpretation of the
8234         outcome even with syslog having no return value.
8236 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
8238         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
8239         that the number of program headers is >0 (which is wrong for the
8240         loader itself).
8242 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8244         * Makefile (distribute): Add README.libm.
8246 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8248         * time/clocktest.c (main): Correct typo: "--" -> "==".
8250 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
8252         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
8253         inline function.
8254         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
8255         inline functions.
8257         * math/libm.map (__atan2): Added.
8259 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8261         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
8262         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8264         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
8265         bug.
8267 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8269         * manual/arith.texi (Old-style number conversion): Correct
8270         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
8272 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8274         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
8275         but does not require it.  Handle missing argv[] values gracefully.
8276         * posix/execl.c: Likewise.
8277         * posix/execle.c: Likewise.
8279 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8281         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
8282         bit.
8283         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
8285 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
8287         * libc.map: Add __adjtimex.
8289 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8291         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
8292         Remove memset.
8294 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
8296         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
8297         to 64.
8299         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
8301         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
8302         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
8304         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
8305         for shared library.
8307         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
8309         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
8310         Added adjtimex and old_adjtimex.
8312         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
8313         New.
8314         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
8315         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
8317         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
8318         symbols only for shared library.
8319         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8320         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8321         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8322         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8323         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8324         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8325         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8327         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
8328         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8329         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8330         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8331         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8332         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8333         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8334         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8336         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
8337         rusage pointer.
8339         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
8340         New macros.
8341         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
8342         timex and __adjtimex, respectively.
8344         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
8346         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
8348 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
8350         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
8351         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
8353 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
8355         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
8357 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8359         * Makefile.in: Disable built-in rules.
8361 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8363         * sysdeps/i386/fpu/t_exp.c: Move to ...
8364         * sysdeps/libm-i387/t_exp.c: ... here.
8366 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
8368         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
8369         from __exp2_deltatable.
8371 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
8373         * nis/ypclnt.c (yp_master): Check result of strdup.
8374         Patch by Thorsten Kukuk.
8376 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8378         * nis/ypclnt.c: Give clnt handle after error checking free, change
8379         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
8381 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
8383         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
8384         Patch by Joe Keane <jgk@jgk.org>.
8386         * misc/fstab.h (struct fstab): Change fs_type member to be const.
8387         * misc/fstab.c: Remove casts in fs_type assignments.
8389 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8391         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
8392         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
8393         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8394         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8395         * sysdeps/powerpc/bits/fenv.h: Likewise.
8396         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8397         * sysdeps/generic/bits/fenv.h: Likewise.
8398         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8399         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
8400         * sysdeps/powerpc/test-arith.c (main): Likewise.
8402 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8404         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
8405         the comparison macros.
8407 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
8409         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
8410         (__log2): Fixed return values.
8411         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
8413 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
8415         * math/math.h (isunordered): Rename local variables to ensure
8416         correct code.  Reported by HJ Lu.
8418 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
8420         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
8421         isless, islessequal, islessgreater, isunordered): Fix syntax for
8422         fucompip instruction.
8423         (isless, islessequal): Fix logic.
8425 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8427         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
8428         (comparisons_test): New tests for comparison macros.
8430 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
8432         * Makeconfig: Filter out frame-pointer effecting options when
8433         compiling profiling or debugging code.
8434         * config.h.in (internal_function): Don't define here if PROF is
8435         defined.
8436         * gmon/gmon.c (__moncontrol): Don't change state if already in error
8437         state.
8438         (__monstartup): If calloc fails set error state and mark array as
8439         not allocated.
8440         (_mcleanup): Don't call write_gmon if in error state.  Don't try
8441         to free array if not  successfully allocated.
8443         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
8444         Include elf.h to get macro definitions.
8445         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
8447 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
8449         * elf/ldd.sh.in: Add compatibility for broken old shells.
8450         * elf/ldd.bash.in: Likewise.
8452 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
8454         * sunrpc/rpc_main.c (open_input): Check pipe return error.
8456         * time/clocktest.c (main): Check signal return error.
8458 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8460         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
8461         "/" and use do-install-program. Reported by Mark M. Kettenis.
8462         (subdir_install):  Likewise.
8464 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8466         * sunrpc/rpc_sample.c: Fix typo.
8468         * nscd/connections.c: Use locale.
8469         * nscd/grpcache.c: Add debug messages, gidtbl should get the
8470           calloc result.
8471         * nscd/nscd.c: Check if init functions fails.
8472         * nscd/nscd_conf.c: Allow disabling of group cache.
8473         * nscd/nscd_getgr_r.c: Fix return code if group not found.
8474         * nscd/pwdcache.c: Fix debug messages.
8476 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8478         * libc.map: Add __monstartup and _mcleanup for profiling support.
8480 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8482         * libc.map: Export __getpagesize, for binary compatibility with
8483         2.0.
8485 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8487         * posix/globtest.sh: Use --library-path instead of
8488         LD_LIBRARY_PATH.
8489         * localedata/sort-test.sh: Likewise.
8490         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
8492 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8494         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
8495         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
8496         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8498         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
8499         kernel_sigaction): Define.
8500         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
8501         kernel_sigaction): Define.
8503 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8505         * math/libm-test.c: Change epsilons for libm-ieee754.
8507 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
8509         * sysdeps/i386/__longjmp.S: Fix race condition.
8510         Reported by Bruno Haible <haible@ilog.fr>.
8512 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
8514         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
8515         * iconvdata/8bit-gap.c: Likewise.
8516         * iconvdata/8bit-generic.c: Likewise.
8517         * iconvdata/iso6937.c: Likewise.
8518         * iconvdata/iso8859-1.c: Likewise.
8519         * iconvdata/sjis.c: Likewise.
8520         * iconvdata/t61.c: Likewise.
8522 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8524         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
8525         feature tests by positive feature tests.
8527 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8529         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
8531 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
8533         * elf/dlvsym.c (dlvsym_doit): More corrections.
8534         Patch by Andreas Jaeger.
8536 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8538         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
8540 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
8542         * libc.map: More reordering for GLIBC_2.1 symbols.
8544 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8546         * libc.map: Move some functions from version GLIBC_2.0 to
8547         GLIBC_2.1, reorder declarations.
8549 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
8551         * resolv/gethnamaddr.c (addrsort): Make this function extern.
8552         Patch by zab@thebrain.grumblesmurf.net.
8554 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8556         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
8557         NIS+ functions with version GLIBC_2.1.
8559 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
8561         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
8562         with 2.0 binaries.  Reported by Thorsten Kukuk.
8564 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8566         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
8568         * elf/dlsym.c (dlsym_doit): Likewise.
8570 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8572         * elf/link.h: Correct typos.
8574         * iconv/iconv_prog.c: Correct typo.
8576 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
8578         * iconv/Makefile: Add rules to build and install iconv program.
8579         * iconv/iconv_prog.c: New file.
8581 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
8583         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
8584         _dl_lookup_symbol_skip call.
8585         * elf/dlvsym.c (dlvsym_doit): Likewise.
8587 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
8589         * libio/iovsscanf.c: Do not include errno.h.
8591 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8593         * elf/dl-load.c (add_name_to_object): Don't translate strings.
8594         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
8595         pulling in the whole error list.
8596         (__dcgettext, dcgettext): Removed.
8597         * libc.map: Export _strerror_internal.
8599 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
8601         * sysdeps/i386/fpu/t_exp.c: New file.
8603 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8605         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
8606         everything with version GLIBC_2.1.
8607         * hesiod/libnss_hesiod.map: Likewise.
8609 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8611         * manual/arith.texi (Old-style number conversion): This node is a
8612         section, not a subsection.
8614 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8616         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
8618 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8620         * elf/rtld.c (dl_main): Make sure that the library search paths
8621         have been initialized before the first call to _dl_map_object.
8623 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8625         * Makerules (common-generated): Add libc_pic.os.
8627 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8629         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
8630         of the executable.
8632 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8634         * sysdeps/m68k/fpu/t_exp.c: New file.
8636 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8638         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
8639         to global errno variable anymore.
8641 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8643         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8644         If PRELOADED is nonzero check in case of an SUID application
8645         whether the shared object has the SUID bit set.
8646         Fix some other problems with handling shared objects in system
8647         specific directories.
8648         (_dl_map_object): Also take extra parameter and pass it to open_path.
8649         * elf/link.h (_dl_map_object): Correct prototype and comment.
8650         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8651         * elf/dl-open.c (_dl_open): Likewise.
8652         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8654         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8656 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8658         * math/libm-test.c (modf_test): Add test for 1.5.
8660         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8661         0 to get always an int.
8663 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8665         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8666         version GLIBC_2.1.
8668 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8670         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8671         trying to read another character.
8673 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8675         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8676         name to lowercase.
8678         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8679         name to lowercase, add test for big enough buffer.
8681 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8683         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8684         Make compatible with older kernels.  Patch by Richard Henderson.
8686 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8688         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8690         * localedata/tst-locale.sh: Comment out first test for now.
8692 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8694         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8695         as 1.
8696         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8697         Likewise.
8699         * libio/iogetline.c (_IO_getline_info): Renamed from
8700         _IO_getline.
8701         (_IO_getline): Just call _IO_getline_info.
8703         * libio/libioP.h (_IO_getline_info): New declaration.
8705         * libc.map (_IO_getline_info, __write): Added.
8707 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8709         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8710         const char* to shut up gcc.
8712 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8714         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8715         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8717         * math/math.h: Define M_* constants always as `double' and add new
8718         macros M_*l which are of type `long double'.
8719         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8720         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8721         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8722         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8723         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8724         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8725         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8726         * math/libm-tst.c: Likewise.
8728         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8729         define as long double unconditionally.
8731 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8733         * manual/arith.texi (Old-style number conversion): Correct some
8734         typos.
8736 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8738         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8739         Restore.
8741         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8743 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8745         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8746         on $(rtld-ldscript).
8748         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8749         starting from 0 not only from `from'.
8750         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8752 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8754         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8755         pass value (or NULL) to _dl_init_paths.
8756         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8757         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8758         environment variable.
8759         * elf/link.h: Change prototype for _dl_init_paths.
8760         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8762         * localedata/Makefile (distribute): Add test files.
8764 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8766         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8767         test1.def, test2.def, test3.def, test4.def}: Simple input files
8768         for localedef. Contributed by Yung-Ching Hsiao
8769         <yhsiao@cae.wisc.edu>.
8771         * localedata/Makefile (tests): Call tst-locale.sh.
8773         * localedata/tst-locale.sh: New file, regression tests for some
8774         localedef problems.
8776 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8778         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8780         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8781         terminated.
8782         * nis/nss_nisplus/nisplus-network.c: Likewise.
8783         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8784         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8785         * nis/nss_nisplus/nisplus-service.c: Likewise.
8787         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8788         and support generating thread safe RPC code.
8789         * sunrpc/rpc_main.c: Add changes.
8790         * sunrpc/rpc_clntout.c: Likewise.
8791         * sunrpc/rpc_cout.c: Likewise.
8792         * sunrpc/rpc_hout.c: Likewise.
8793         * sunrpc/rpc_parse.c: Likewise.
8794         * sunrpc/rpc_sample.c: Likewise.
8795         * sunrpc/rpc_scan.c: Likewise.
8796         * sunrpc/rpc_svcout.c: Likewise.
8797         * sunrpc/rpc_util.c: Likewise.
8798         * sunrpc/rpc_util.h: Add new structs and prototypes.
8799         * sunrpc/proto.h: Remove prototypes for static functions.
8801 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8803         * locale/programs/ld-messages.c (messages_finish): Don't skip
8804         error checking when being quiet.
8805         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8806         (set_class_defaults): Likewise.
8807         * locale/programs/charmap.c (parse_charmap): Likewise.
8808         * locale/programs/ld-collate.c (collate_finish): Likewise.
8809         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8810         * locale/programs/ld-time.c (time_finish): Likewise.
8811         * locale/programs/locfile.c (write_locale_data): Likewise.
8813         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8814         unknown characters and empty ranges.
8815         * locale/programs/ld-collate.c (collate_order_elem): When
8816         processing an ellipsis properly form a linked list in the result
8817         table, fix typo when allocating ordering array.
8818         [PR libc/419]
8820 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8822         * elf/Makefile (ld-map): Define.
8823         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8824         `$(rtld-ldscript)'.
8825         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8826         on $(ld-map).
8827         (rtld-link): Combine the two versions of this definition.  Fixed
8828         to make it work when no symbol versioning is used.
8830 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8832         * Makeconfig (build-program-cmd): Use --library-path parameter to
8833         ld.so instead of environment variable.
8835         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8836         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8838 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8840         * Make-dist: Respect with-cvs setting.
8841         * MakeTAGS (all-pot): Likewise.
8842         * sysdeps/sparc/sparc32/Makefile: Likewise.
8843         * sysdeps/mach/hurd/Makefile: Likewise.
8844         * stdlib/Makefile: Likewise.
8845         * posix/Makefile: Likewise.
8846         * intl/Makefile: Likewise.
8847         * po/Makefile (linguas): Likewise
8849 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8851         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8853 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8855         * libc.map: Add __strcasecmp.
8857         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8858         module.
8860         * nss/getXXent_r.c: If no more module is found don't try to call
8861         setXXent functions but leave unsuccessfully.
8863         * malloc/obstack.h: Cleanups.
8865         * sysdeps/wordsize-32/stdint.h: New file.
8866         * sysdeps/wordsize-64/stdint.h: New file.
8867         * sysdeps/generic/stdint.h: New file.
8868         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8869         * sysdeps/wordsize-64/inttypes.h: Likewise.
8870         * stdlib/Makefile (headers): Add stdint.h.
8872 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8874         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8876 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8878         * timezone: New directory.
8879         * time/README, time/africa, time/antarctica, time/asia,
8880         time/australasia, time/backward, time/checktab.awk,
8881         time/etcetera, time/europe, time/factory, time/ialloc.c,
8882         time/iso3166.tab, time/leapseconds, time/northamerica,
8883         time/pacificnew, time/private.h, time/scheck.c,
8884         time/solar87, time/solar88, time/solar89, time/southamerica,
8885         time/systemv, time/test-tz.c, time/tzfile.h,
8886         time/tzselect.ksh, time/yearistype, time/zdump.c,
8887         time/zic.c, time/zone.tab: Moved to timezone.
8888         * time/tzfile.c: Include tzfile.h from timezone subdir.
8889         * time/tzset.c: Likewise.
8890         * time/Makefile: Cut out all code relating to timezones...
8891         * timezone/Makefile: ...and paste it in here.
8892         * Makefile (subdirs): Add timezone.
8894 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8896         * libc.map (_sys_nerr): Added.
8898         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8899         versioned symbol.
8901 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8903         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8904         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8905         Reported by Craig Metz <cmetz@inner.net>.
8907 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8909         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8910         instead of strcasecmp.
8911         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8913         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8915 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8917         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8918         Patch by Dean Gaudet <dgaudet@arctic.org>.
8920 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8922         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8924 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8926         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8927         with no poll syscall, just include the BSD version.
8928         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8929         kernel without the syscall, include the stub version.
8930         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8931         * sysdeps/generic/getresuid.c: New file.
8932         * sysdeps/generic/getresgid.c: New file.
8934 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8936         * stdio-common/vfscanf.c: Correct last change a bit.
8938 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8940         * elf/Makefile: Don't use --version-script parameter to link ld.so
8941         unconditionally.
8943 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8945         * math/Makefile: Add t_exp.
8946         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8947         constants.
8948         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8949         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8950         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8951         better accuracy.
8952         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8953         algorithm for very large/very small arguments.
8954         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8955         correct algorithm for very large/very small arguments; adjust for
8956         new table.
8957         * sysdeps/libm-ieee754/t_exp.c: New file.
8958         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8960         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8961         back, with comment that explains what breaks when you remove it :-(.
8963         * localedata/xfrm-test.c: Avoid integer overflow.
8965         * stdlib/strfmon.c: char is unsigned, sometimes.
8967         * sysdeps/powerpc/Makefile: Remove quad float support.
8968         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8969         * sysdeps/powerpc/quad_float.h: Likewise.
8970         * sysdeps/powerpc/test-arith.c: Likewise.
8971         * sysdeps/powerpc/test-arithf.c: Likewise.
8973         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8974         * sysdeps/generic/s_exp2f.c: Likewise.
8976         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8977         don't try anything if _SOFT_FLOAT.
8979 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8981         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8982         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8983         * wctype/wctype.c: Likewise.
8984         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8985         changed.  They are incompatible with the _ISxxx values from
8986         <ctype.h> on little endian machines.
8987         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8988         bit number.  This fixes the real bug and restores the integrity of
8989         the ctype locale file.
8990         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8991         * wctype/wcfuncs_l.c: Likewise.
8992         * wctype/wcextra.c: Likewise.
8993         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8994         byte swapping.
8996 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8999         into .bss segment instead of .common, so that aliases on it work.
9001         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
9002         .size directives, put into .bss segment instead of initializing it
9003         to 4.
9005 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
9007         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
9009         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
9010         functions.
9011         Make names without __ weak aliases.
9012         (__libc_release, __libc_version): Make them static.
9014         * include/gnu/libc-version.h: New file.
9015         * Makefile (headers): Add gnu/libc-version.h.
9017 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
9019         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
9020         and use x for member name.
9021         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
9023         * stdlib/drand48.c: Change according to member name change.
9024         * stdlib/drand48_r.c: Likewise.
9025         * stdlib/lcong48_r.c: Likewise.
9026         * stdlib/lrand48.c: Likewise.
9027         * stdlib/lrand48_r.c: Likewise.
9028         * stdlib/mrand48.c: Likewise.
9029         * stdlib/mrand48_r.c: Likewise.
9030         * stdlib/seed48.c: Likewise.
9031         * stdlib/seed48_r.c: Likewise.
9032         * stdlib/srand48_r.c: Likewise.
9034 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9036         * nss/test-netdb.c: Add some more test cases.
9038 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
9040         * libio/iovsscanf.c: Undo last change modifying errno.
9042 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9044         * stdio-common/vfscanf.c: Never try to read another character
9045         after EOF.  Don't decrement read_in after EOF, it wasn't
9046         incremented in the first place.
9047         (NEXT_WIDE_CHAR): Set First, not first.
9049 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
9051         * db/Makefile ($(inst_libdir)/libndbm.a,
9052         $(inst_libdir)/libndbm.so): New targets.
9053         * db2/Makefile: Likewise.
9055 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
9057         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
9058         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
9060 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9062         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
9063         <streambuf.h>.
9064         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9066 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9068         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
9069         versioned symbols.
9071 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
9073         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
9074         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
9075         Added for libdl.so.
9077 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9079         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
9080         extra syscall.
9082         * grp/Makefile: Fix logic when checking for thread package.
9083         * pwd/Makefile: Likewise.
9085 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
9087         * elf/Makefile (rtld-map): Replaced by libc-map.
9089         * elf/rtld.map: Removed.
9091         * libc.map (__libc_enable_secure, _dl_catch_error,
9092         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
9093         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
9094         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
9095         _dl_object_relocation_scope, _dl_relocate_object,
9096         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
9097         _r_debug): Added for ld.so.
9099 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
9101         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
9102         DO_VERSIONING.
9103         * libio/iofdopen.c: Ditto.
9104         * libio/iofopen.c: Ditto.
9105         * libio/oldfileops.c: Ditto.
9107         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
9108         version GLIBC_2.1.
9110         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
9111         oldsiglist from sysdep_routines and shared-only-routines.
9113         * sysdeps/unix/sysv/linux/errlist.c: New.
9114         * sysdeps/unix/sysv/linux/errlist.h: New.
9115         * sysdeps/unix/sysv/linux/sizes.h: New.
9116         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
9117         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
9119         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
9121         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
9122         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
9123         directive.
9125         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
9127         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
9128         (oldsiglist.c): Removed.
9130         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
9131         (_sys_siglist): Use SYS_SIGLIST instead.
9132         (_sys_nerr): Use SYS_NERR instead.
9134         * sysdeps/gnu/errlist.c: Rebuilt.
9136 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
9138         * elf/Makefile (others-static): New, set to ldconfig.
9139         ($(objpfx)ldconfig): Removed.
9141         * Rules (binaries-all, binaries-static, binaries-shared): New.
9142         Create targets for $(binaries-static) and $(binaries-shared).
9144         * Makeconfig (+link-static, link-libc-static,
9145         link-extra-libs-static): New for static linking.
9147 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9149         * manual/memory.texi (Using the Memory Debugger): Fix typo.
9151         * math/libm-test.c (modf_test): Add one more test for modf.
9153 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
9155         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9156         Rename from __libc_have_rt_sigs and leave as COMMON data.
9158 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
9160         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
9161         of __finite.
9163 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
9165         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
9167 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
9169         * misc/tst-efgcvt.c: Add yet more tests.
9170         * misc/efgcvt_r.c: And correct for these tests again.
9171         Reported by HJ Lu.
9173         * isomac.c: Move to...
9174         * stdlib/isomac.c: ...here.
9175         * Makefile: Move rules for handling isomac...
9176         * stdlib/Makefile: ...to here.
9178 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9180         * misc/tst-efgcvt.c: Add more tests.
9181         * misc/efgcvt_r.c: Correct result for above new tests.
9183 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
9185         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
9186         NDIGIT <= 0.
9188 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
9190         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
9191         if the programs weren't built.
9193 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
9195         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
9196         FE_TONEAREST, soldier on regardless and do the best we can.
9197         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
9199 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
9201         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
9202         _STDIO_H, before including <bits/stdio_lim.h>.
9204         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
9206         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
9207         exist.
9209         * sysdeps/arm/sys/ucontext.h: New file.
9211 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
9213         * manual/stdio.texi (Formatted Output Functions): Explicitly say
9214         that the return value from snprintf() does not count the
9215         terminating NUL as a character.
9217 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9219         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
9220         add description for sete[ug]id and general cleanup.
9221         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9223 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9225         * Makefile (parent-clean): Don't remove makefile fragments here.
9226         (postclean): New variable.
9227         (clean): Remove makefile fragments here.
9228         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
9229         (generated): Add isomac and isomanc.out.
9230         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
9231         avoid-generated is set.
9232         (postclean-generated): Add soversion.mk.
9233         ($(common-objpfx)version.mk): Don't include if avoid-generated is
9234         set.
9235         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
9236         avoid-generated is set.
9237         (common-generated): Add libc.so and libc.so$(libc.so-version).
9238         (generated): Add versioned libraries.
9239         (common-mostlyclean): Also remove %.so and %_pic.a.
9240         * csu/Makefile (generated): Add abi-tag.h.
9241         * db2/Makefile (extra-objs): Add getlong.o.
9242         * elf/Makefile (generated): Add ld.so, ldd and
9243         $(rtld-installed-name).
9244         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
9245         * malloc/Makefile (generated): Add mtrace.
9246         * po/Makefile: Don't include version.mk, not needed any more.
9247         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
9248         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
9249         syscall.h -> sys/syscall.h.
9250         (common-generated): Add s-proto.d.
9251         (postclean-generated): Add sysd-syscalls.
9252         * localedata/Makefile (test-output): Add all output files.
9253         (generated): Add test-input and test-output.
9254         (generated-dirs): Add all the dirs.
9256 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9258         * Makefile (test-output, generated, generated-dirs): New
9259         variables.
9261 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
9263         * resolv/nss_dns/dns-host.c: Various code cleanups.
9265 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
9267         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
9268         From Philip Blundell <pb@nexus.co.uk>.
9269         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
9271 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9273         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
9274         Suggested by debian/sparc porters.
9276 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9278         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
9279         for ecvt and fcvt.
9281 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
9283         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
9284         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
9286         * signal/signal.h: Always define sigset_t if __need_sigset_t is
9287         defined even if __USE_POSIX is not defined.
9289 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9291         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
9292         to support obsolete tty major numbers correctly.
9294 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
9296         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
9297         directory first and ignore install error.
9299         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
9300         128 from ptyno and fix a typo for the BSD style pty.
9302 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9304         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
9305         syscalls.list's.
9307 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9309         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
9310         getresuid and getresgid.
9312         * sysdeps/unix/sysv/linux/getresuid.c: New file.
9313         * sysdeps/unix/sysv/linux/getresgid.c: New file.
9315         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
9316         s_getres[ug]id.
9318         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
9319         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9320         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9321         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
9323 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
9325         * nscd/grpcache.c: Include <stdlib.h>.
9327 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
9329         * stdlib/atoll.c: Fix comments.
9331         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
9332         * sysdeps/posix/ttyname_r.c: Ditto.
9334 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9336         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
9337         __USE_MISC, independent of __USE_UNIX98.
9339 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
9341         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
9342         Rename from __libc_have_rt_sigs and leave as COMMON data.
9344 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
9346         * Makeconfig (CFLAGS-.os): Kill -fno-common.
9347         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
9349         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
9350         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
9351         version symbols.
9352         * include/libc-symbols.h (symbol_version, default_symbol_version):
9353         Provide asm versions and correct !DO_VERSIONING versions.
9354         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
9355         the weak symbol list.
9357         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
9358         Rename from __libc_have_rt_sigs and leave as COMMON data.
9359         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9360         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9361         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9363 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9365         * sunrpc/Makefile: Correct dependencies of rpcgen.
9367 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
9369         * nscd/Makefile: Fix test for available linuxthreads add-on.
9370         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9372 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9374         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
9376 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9378         * sysdeps/gnu/Makefile: Respect with-cvs variable.
9380         * manual/errno.texi (Error Messages): Correct description of
9381         strerror_r.  Pointed out by jonas@bagge.se.
9383 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9385         * manual/socket.texi (Host Address Functions): Clarify description
9386         of inet_network.
9388 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9390         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
9391         (grantpt): Delete superfluous cast.
9393 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9395         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
9396         elf/ldso_install instead of elf/subdir_install.
9397         (elf/ldso_install): New target.
9399         * elf/Makefile (ldso_install): New target.
9401 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9403         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
9404         of 1998-01-06.
9406 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9408         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
9409         constant expressions.
9411 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9413         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
9414         for __nss_configure_lookup.
9415         (output_hostent): Remove unused variable.
9417 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9419         * string/tst-inlcall.c: Fix format string.
9421 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9423         * inet/netinet/in.h: Rename second parameter of bindresvport to
9424         avoid buggy gcc warning. [PR libc/412]
9426 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
9428         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
9429         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
9431         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
9432         Follow POSIX and make tv_sec a time_t.
9433         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
9434         new tv64 syscall as well as fall back to tv32.
9435         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9436         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
9437         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
9438         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
9439         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
9440         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
9441         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
9442         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
9444         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
9445         * include/rpcsvc/nis_tags.h: Likewise.
9446         * include/rpcsvc/nislib.h: Likewise.
9448 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
9450         * libc.map: Add _h_errno.
9451         * inet/herrno.c: Make _h_errno weak alias.
9453         * login/Makefile (distribute): Add pty-internal.h.
9455         * nscd/Makefile (distribute): Add all the files missing.
9457         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
9458         are available.
9460         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
9461         and report status at the end.
9463         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
9465         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
9466         variable.
9467         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
9468         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
9469         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
9471 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
9473         * configure.in: Fix --enable-add-ons code.
9475 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9477         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
9478         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
9479         [PR libc/441]
9481         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
9482         occurence in cache.  Reported by Rudolf Leitgeb
9483         <leitgeb@leland.stanford.edu>.
9484         [PR libc/440]
9486 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
9488         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
9489         that it never is EINTR (which is tested for in _IO_vfscanf).
9491         * Makefile.in: Call sub-make with CVSOPTS.
9493         * elf/Makefile (distribute): Add dl-procinfo.h.
9495         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
9497 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
9499         * version.h (VERSION): Bump to 2.0.92.
9501 1998-01-31  Phil Blundell  <philb@gnu.org>
9503         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
9504         alias for __new_sys_siglist.
9506 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
9508         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
9509         getgrgid_r.c if thread package is available.
9510         * pwd/Makefile: Likewise.
9511         * grp/getgrnam_r.c: Remove USE_NSCD definition.
9512         * grp/getgrgid_r.c: Likewise.
9513         * pwd/getpwnam_r.c: Likewise.
9514         * pwd/getpwuid_r.c: Likewise.
9516 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
9518         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
9519         with error to allow user intervention.
9520         * nss/getXXent_r.c: Likewise.
9522 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
9524         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
9525         AT_PLATFORM string.  Pretty print AT_BASE info.
9527         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
9528         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
9529         * sysdeps/generic/dl-procinfo.h: New file.
9530         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
9532 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
9534         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
9536         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
9537         thread and not pthread_detach.
9539         * nscd/nscd.c: Rewrite to use argp instead of getopt.
9541 1998-01-31  Phil Blundell  <philb@gnu.org>
9543         * configure.in: Add --without-cvs option to suppress automatic
9544         checkin of regenerated files.
9545         * config.make.in: Likewise.
9546         * Makefile: Respect with-cvs setting.
9547         * Makerules: Likewise.
9549         * configure.in: Allow the standalone ARM port to be configured.
9551 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9553         * grp/getgrgid_r.c: Define USE_NSCD.
9554         * grp/getgrnam_r.c: Likewise.
9555         * pwd/getpwuid_r.c: Likewise.
9556         * pwd/getpwnam_r.c: Likewise.
9558         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
9560         * nss/getXXbyYY_r.c: Try at first nscd.
9562         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
9563         * nscd/connections.c: New file.
9564         * nscd/dbg_log.c: New file.
9565         * nscd/dbg_log.h: New file.
9566         * nscd/grpcache.c: New file.
9567         * nscd/nscd.c: New file.
9568         * nscd/nscd.h: New file.
9569         * nscd/nscd_conf.c: New file.
9570         * nscd/nscd_stat.c: New file.
9571         * nscd/pwdcache.c: New file.
9573         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
9574         * nscd/nscd_getpw_r.c: Likewise.
9575         * nscd/nscd_proto.h: New, prototypes for client functions.
9577         * nscd/nscd.conf: New, example for a configuration file.
9578         * nscd/nscd.init: New, example for a startup script.
9580         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
9581         avoid deadlocks.
9582         * nscd/getgrnam_r.c: Likewise.
9583         * nscd/getpwnam_r.c: Likewise.
9584         * nscd/getpwuid_r.c: Likewise.
9586 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
9588         * intl/Makefile: Use CVSOPTS in cvs invocation.
9589         * po/Makefile: Likewise.
9590         * posix/Makefile: Likewise.
9591         * stdlib/Makefile: Likewise.
9593 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
9595         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
9596         [PR libc/410]
9597         * misc/Makefile (tests): Add tst-efgcvt.
9598         * misc/tst-efgcvt.c: New file.
9600 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
9602         * posix/regex.c: Add some more cleanups by Akim Demaille.
9604 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
9606         * signal/signal.h: Revert last change.
9607         * string/strsignal.c: Regard signal number NSGI as illegal.
9608         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
9609         members.
9611 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
9613         * Makefile.in: Add comment about CVSOPTS Makefile variable.
9614         * Makerules: Use CVSOPTS in cvs invocation.
9615         * Makefile: Likewise.
9616         * MakeTAGS: Likewise.
9617         * Make-dist: Likewise.
9619 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
9621         * sysdeps/generic/memmem.c: Correct last change.
9623 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
9625         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
9626         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
9628 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9630         * nis/ypclnt.c: Try at first to use the binding file from ypbind
9631         before using RPC.
9633 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9635         * manual/memory.texi (Heap Consistency Checking): mcheck is
9636         declared in <mcheck.h>.
9637         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
9639 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9641         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
9642         beginning of haystack.
9644 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9646         * nss/nss_files/files-service.c: Correct last patch.
9648 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9650         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9651         __libc_have_rt_sigs.
9652         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9653         including <bits/setjmp.h>.
9654         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9655         Patch from the Debian glibc/SPARC package.
9657 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9659         * sysdeps/alpha/bzero.S: Fix a typo.
9660         * sysdeps/alpha/htonl.S: Ditto.
9661         * sysdeps/alpha/htons.S: Ditto.
9663 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9665         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9667 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9669         * include/cpio.h: Move to ...
9670         * posix/cpio.h: ...here.
9672         * locale/programs/ld-collate.c: Fix typo.
9674         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9676         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9678         * login/utmp_file.c (pututline_file): Don't always report success
9679         if similar entry is found.  Patch by Mark M. Kettenis.
9681 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9683         * manual/Makefile: Don't try to install the info files if makeinfo
9684         is not available.
9686 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9688         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9689         kernel's network ioctls, rather than using <linux/sockios.h> to
9690         get them.  This way we are sure of maintaining compatibility if
9691         the kernel interface should change.
9693 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9695         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9697 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9699         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9700         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9702 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9704         Implement System V pseudoterminal handling.
9706         * login/Makefile
9707         (routines): Add getpt, grantpt, unlockpt, ptsname.
9708         (libutil-routines): Remove pty. Add openpty, forkpty.
9709         (distribute): New internal header pty-internal.h.
9710         (others): Add the helper program, pt_chown.
9711         (install-others): Install it, in $(libexecdir), mode 4755.
9713         * login/pty-internal.h: New file.
9714         * login/openpty.c: New file.
9715         * login/forkpty.c: New file.
9716         * login/programs/pt_chown.c: New file.
9718         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9719         * stdlib/stdlib.h: Prototype them.
9721         * config.make.in: Define $(libexecdir).
9722         * Makeconfig: Define $(inst_libexecdir).
9724         * sysdeps/generic/pty.c: Removed.
9725         * sysdeps/unix/sysv/linux/pty.c: Removed.
9727         * sysdeps/generic/getpt.c: Stub out.
9728         * sysdeps/generic/grantpt.c: Likewise.
9729         * sysdeps/generic/ptsname.c: Likewise.
9730         * sysdeps/generic/unlockpt.c: Likewise.
9732         * sysdeps/unix/grantpt.c: New file.
9733         * sysdeps/unix/bsd/getpt.c: New file.
9734         * sysdeps/unix/bsd/unlockpt.c: New file.
9735         * sysdeps/unix/sysv/linux/getpt.c: New file.
9736         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9737         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9739 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9741         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9743 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9745         * nss/Makefile (tests): Add rule for test-netdb.c.
9747         * nss/test-netdb.c: New file.
9749 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9751         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9752         really kept as a variable.  Patch by Richard Henderson,
9753         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9755         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9756         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9757         entries as not existing.
9759 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9761         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9762         zero in alternate form with precision of zero, which must produce
9763         "0".  Add braces to avoid ambiguous `else'.
9765 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9767         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9768         problem with strncpy.
9769         * nis/nss_compat/compat-pwd.c: Likewise.
9770         * nis/nss_compat/comapt-spwd.c: Likewise.
9772 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9774         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9775         by uch@nop.or.jp. [PR libc/437]
9777 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9779         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9781 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9783         * stdio-common/test-popen.c: Include <errno.h>.
9785         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9786         close.
9788         * inet/getnetgrent_r.c: Include <errno.h>.
9790         * db2/db/db_conv.c: Include <string.h> for memcpy.
9792         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9793         so that memcpy is declared.
9795         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9797         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9799 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9801         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9802         overflow while reading line with fgets.
9803         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9805 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9807         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9808         unsigned short, not short.
9809         Reported by Andreas Jaeger.
9811 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9813         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9814         (ccept->accept).
9816         * sysdeps/generic/inttypes.h: Fix spelling.
9818 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9820         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9822         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9824 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9826         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9827         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9828         field for hh modifier.
9829         * stdio-common/vfprint.c: Use is_char field and do not depend in
9830         is_short having the value 2.
9831         Bug reported by Andreas Jaeger.
9833 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9835         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9836         PIC && DO_VERSIONING.
9838 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9840         * Rules: Add rules for $(common-objpfx)dummy$o.
9842 1998-01-26  Richard Henderson  <rth@cygnus.com>
9844         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9845         unimplemented OSF/1 definitions so that they are not accidentally seen.
9847         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9848         of the trampoline function into the macro.
9849         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9850         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9851         kernel 2.1.82 has this fixed.
9853         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9854         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9856 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9858         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9859         support sigaction on kernels > 2.1.7x.
9861 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9863         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9864         if it is empty.
9866         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9867         Patch by David Engel <david@sw.ods.com>.
9869         * configure.in: Fix another typo in --enable-add-ons code.
9871 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9873         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9875 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9877         * nss/nss_files/files-network.c: Correct order of parameters for
9878         getnetbyaddr.
9880 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9882         * db2/Makefile (routines): Add os_alloc.
9883         * db2/db.h: Update from db-2.3.16.
9884         * db2/db_185.h: Likewise.
9885         * db2/db_int.h: Likewise.
9886         * db2/btree/bt_close.c: Likewise.
9887         * db2/btree/bt_cursor.c: Likewise.
9888         * db2/btree/bt_delete.c: Likewise.
9889         * db2/btree/bt_open.c: Likewise.
9890         * db2/btree/bt_page.c: Likewise.
9891         * db2/btree/bt_put.c: Likewise.
9892         * db2/btree/bt_rec.c: Likewise.
9893         * db2/btree/bt_recno.c: Likewise.
9894         * db2/btree/btree_auto.c: Likewise.
9895         * db2/common/db_appinit.c: Likewise.
9896         * db2/common/db_apprec.c: Likewise.
9897         * db2/common/db_err.c: Likewise.
9898         * db2/common/db_region.c: Likewise.
9899         * db2/common/db_shash.c: Likewise.
9900         * db2/db/db.c: Likewise.
9901         * db2/db/db_auto.c: Likewise.
9902         * db2/db/db_conv.c: Likewise.
9903         * db2/db/db_dispatch.c: Likewise.
9904         * db2/db/db_dup.c: Likewise.
9905         * db2/db/db_pr.c: Likewise.
9906         * db2/db/db_rec.c: Likewise.
9907         * db2/db185/db185.c: Likewise.
9908         * db2/dbm/dbm.c: Likewise.
9909         * db2/hash/hash.c: Likewise.
9910         * db2/hash/hash_auto.c: Likewise.
9911         * db2/hash/hash_dup.c: Likewise.
9912         * db2/hash/hash_page.c: Likewise.
9913         * db2/hash/hash_rec.c: Likewise.
9914         * db2/include/btree_ext.h: Likewise.
9915         * db2/include/clib_ext.h: Likewise.
9916         * db2/include/common_ext.h: Likewise.
9917         * db2/include/db.h.src: Likewise.
9918         * db2/include/db_185.h.src: Likewise.
9919         * db2/include/db_am.h: Likewise.
9920         * db2/include/db_ext.h: Likewise.
9921         * db2/include/db_int.h.src: Likewise.
9922         * db2/include/hash_ext.h: Likewise.
9923         * db2/include/lock_ext.h: Likewise.
9924         * db2/include/log.h: Likewise.
9925         * db2/include/log_auto.h: Likewise.
9926         * db2/include/log_ext.h: Likewise.
9927         * db2/include/mp.h: Likewise.
9928         * db2/include/mp_ext.h: Likewise.
9929         * db2/include/mutex_ext.h: Likewise.
9930         * db2/include/os_ext.h: Likewise.
9931         * db2/include/os_func.h: Likewise.
9932         * db2/include/txn_ext.h: Likewise.
9933         * db2/lock/lock.c: Likewise.
9934         * db2/lock/lock_util.c: Likewise.
9935         * db2/log/log.c: Likewise.
9936         * db2/log/log.src: Likewise.
9937         * db2/log/log_archive.c: Likewise.
9938         * db2/log/log_auto.c: Likewise.
9939         * db2/log/log_get.c: Likewise.
9940         * db2/log/log_put.c: Likewise.
9941         * db2/log/log_rec.c: Likewise.
9942         * db2/log/log_register.c: Likewise.
9943         * db2/mp/mp_bh.c: Likewise.
9944         * db2/mp/mp_fget.c: Likewise.
9945         * db2/mp/mp_fopen.c: Likewise.
9946         * db2/mp/mp_fput.c: Likewise.
9947         * db2/mp/mp_pr.c: Likewise.
9948         * db2/mp/mp_sync.c: Likewise.
9949         * db2/mutex/mutex.c: Likewise.
9950         * db2/os/os_alloc.c: Likewise.
9951         * db2/os/os_config.c: Likewise.
9952         * db2/os/os_stat.c: Likewise.
9953         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9954         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9955         * db2/progs/db_load/db_load.c: Likewise.
9956         * db2/progs/db_printlog/db_printlog.c: Likewise.
9957         * db2/progs/db_recover/db_recover.c: Likewise.
9958         * db2/progs/db_stat/db_stat.c: Likewise.
9959         * db2/txn/txn.c: Likewise.
9961         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9962         Unmap memory blocks in reverse order of allocation.
9963         Call munmap with load address added to offset.
9964         Bug reported by Miguel de Icaza.
9966         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9967         up weight array.
9969         * localedata/locales/cs_CZ: Update by Michael Mraka
9970         <michael@informatics.muni.cz>.
9972         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9973         __USE_BSD.
9975         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9976         reading line with fgets.
9977         * nis/nss_compat/compat-pwd.c: Likewise.
9978         * nis/nss_compat/compat-spwd.c: Likewise.
9979         * nss/nss_files/files-XXX.c: Likewise.
9980         * nss/nss_files/files-alias.c: Likewise.
9981         * shadow/fgetspent_r.c: Likewise.
9983         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9985         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9986         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9987         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9989         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9990         FP register content in ucontext_t.
9992 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9994         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9995         calculation.  Patch by Markus Schoder
9996         <Markus.Schoder@dresdner-bank.de>.
9998         * math/libm-test.c (modf_test): Add more tests for modf.
10000         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
10001         munlock according to Unix98.
10003 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10005         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
10006         AF_INET.
10008 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
10010         * sysdeps/posix/ttyname.c: Handle symbolic links.
10011         * sysdeps/posix/ttyname_r.c: Ditto.
10013 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
10015         * db2/makedb.c (process_input): Write terminating \0 for value.
10016         (print_database): Simply print value string, don't use length.
10018 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10020         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
10021         exit of loop.
10023 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10025         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
10026         close all sockets.
10028 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
10030         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
10031         sigset.
10032         * signal/sighold.c: New file.
10033         * signal/sigrelse.c: New file.
10034         * sysdeps/generic/sigignore.c: New file.
10035         * sysdeps/generic/sigset.c: New file.
10036         * sysdeps/posix/sigignore.c: New file.
10037         * sysdeps/posix/sigset.c: New file.
10038         * signal/signal.h: Add prototypes for new functions.
10040         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
10041         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
10042         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
10043         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
10045 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
10047         * posix/wordexp.c: Added IFS field-splitting in parameter and
10048         command substitution.  Fixed an IFS-related bug that caused an
10049         infinite loop.
10051 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
10053         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
10054         and swapcontext.
10055         * stdlib/ucontext.h: Correct prototypes.
10056         * sysdeps/generic/getcontext.c: New file.
10057         * sysdeps/generic/setcontext.c: New file.
10058         * sysdeps/generic/makecontext.c: New file.
10059         * sysdeps/generic/swapcontext.c: New file.
10060         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
10062 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
10064         * resource/sys/resource.h: Remove #include of ulimit.h which is
10065         not allowed by SUSv2 and not available on other systems.
10066         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
10068         * streams/Makefile: New file.
10069         * streams/stropts.h: New file.
10070         * sysdeps/generic/bits/stropts.h: New file.
10071         * sysdeps/generic/isastream.c: New file.
10072         * sysdeps/generic/getmsg.c: New file.
10073         * sysdeps/generic/getpmsg.c: New file.
10074         * sysdeps/generic/putmsg.c: New file.
10075         * sysdeps/generic/putpmsg.c: New file.
10076         * sysdeps/generic/fattach.c: New file.
10077         * sysdeps/generic/fdetach.c: New file.
10078         * sysdeps/unix/inet/Subdirs: Add streams.
10079         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
10080         __t_uscalar_t.
10081         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10082         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10083         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
10084         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10086         * sysdeps/mach/_strerror.c: Follow changes of generic version to
10087         handle small buffers correctly.
10089 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
10091         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10092         Remove the 3rd arg and add declaration for _dl_runtime_resolve
10093         and _dl_runtime_profile.
10095 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
10097         * include/cpio.h: New file.  Mainly copied from GNU cpio.
10098         * posix/Makefile (headers): Add cpio.h.
10100 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10102         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
10103         to routines.
10104         * nis/nis_cache.c: New file.
10105         * nis/nis_cache2.h: New file.
10106         * nis/nis_cache2_xdr.c: New file.
10107         * nis/nis_call.c: Changes for cache2_info parameter.
10108         * nis/nis_checkpoint.c: Likewise.
10109         * nis/nis_intern.h: Likewise.
10110         * nis/nis_mkdir.c: Likewise.
10111         * nis/nis_ping.c: Likewise.
10112         * nis/nis_rmdir.c: Likewise.
10113         * nis/nis_server.c: Likewise.
10114         * nis/nis_util.c: Likewise.
10116 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10118         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
10119         return/errnop codes.
10120         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10121         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10122         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10123         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10124         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10125         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10126         * nis/nss_nisplus/nisplus-rpc.c: Likewise
10127         * nis/nss_nisplus/nisplus-service.c: Likewise.
10128         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10130 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10132         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
10133         * nis/nss_nis/nis-ethers.c: Likewise.
10134         * nis/nss_nis/nis-grp.c: Likewise.
10135         * nis/nss_nis/nis-hosts.c: Likewise.
10136         * nis/nss_nis/nis-network.c: Likewise.
10137         * nis/nss_nis/nis-proto.c: Likewise.
10138         * nis/nss_nis/nis-hosts.c: Likewise.
10139         * nis/nss_nis/nis-network.c: Likewise.
10140         * nis/nss_nis/nis-proto.c: Likewise.
10141         * nis/nss_nis/nis-publickey.c: Likewise.
10142         * nis/nss_nis/nis-pwd.c: Likewise.
10143         * nis/nss_nis/nis-rpc.c: Likewise.
10144         * nis/nss_nis/nis-service.c: Likewise.
10145         * nis/nss_nis/nis-spwd.c: Likewise.
10147 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
10149         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
10150         Added to follow latest kernel development.
10152 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
10154         * nss/db-Makefile: Handle empty and comment lines better.
10155         ($(VAR_DB)/services.db): Generate entries with missing protocol
10156         value.
10158 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10160         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
10161           NULL.
10162           (getservbyname): Allow proto == NULL.
10163           Pointed out by David N. Welton <davidw@gate.cks.com>.
10164           [PR libc/430].
10166 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
10168         * nis/nislib/nislib.h: Finally removed.
10170         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
10171         C compiler.  From Kaveh Ghazi.
10172         (TYPE_MINIMUM): Define.
10173         (TYPE_MAXIMUM): Define.
10174         (TIME_T_MIN): Use TYPE_MINIMUM.
10175         (TIME_T_MAX): Use TYPE_MAXIMUM.
10176         Patch by Jim Meyering <meyering@ascend.com>.
10178 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
10180         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
10181         __pread64, __pwrite64, and __getpid.
10183         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
10184         versions.
10186 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10188         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
10189         cancelable socket functions as __libc_xxx with __xxx as weak
10190         alias.
10191         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
10192         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10194         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
10195         redefined.
10196         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10197         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
10198         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
10199         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10201         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
10202         and __xxx a weak alias.
10203         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10204         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10205         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10206         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10207         * sysdeps/unix/sysv/linux/send.S: Likewise.
10208         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10209         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10211 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10213         * locale/langinfo.h: Add defines.
10215         * dirent/dirent.h: Add defines for DT_*, check also for
10216         _DIRENT_HAVE_D_TYPE.
10217         Suggested by Roland McGrath.
10219 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10221         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
10222         Update from Linux 2.1.73+79.
10224         * README.template: Update information about possible
10225         configurations.
10227         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
10228         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10229         [PR libc/417].
10231         * manual/time.texi (Priority): Correct description of
10232         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
10233         [PR libc/416].
10235 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
10237         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
10238         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
10240 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
10242         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
10243         Andreas Jaeger.
10245 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
10247         * locale/programs/ld-collate.c: Little optimizations.
10249         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
10251         * string/Makefile (tests): Add tst-inlcall.
10252         * string/tst-inlcall.c: New file.
10254         * string/strsignal.c: Add support for real-time signals.
10256         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
10257         presense of small buffer.
10259         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
10261         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
10262         for i686.
10264         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
10265         _NSIG + 1.
10267 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
10269         * Rules: Add explicit rule for dummy.o; at least one library needs
10270           it and it isn't autogenerated by the default rules.
10272 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10274         * math/libm-test.c: Tweak epsilons.
10276 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10278         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
10279         child.
10280         (feenv_mask_test): Likewise.
10282 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10284         * Makeconfig: Don't export CPPFLAGS.
10286 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10288         * sunrpc/rpc_main.c (parseargs): Use perror to print error
10289         message.
10291 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10293         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
10294         terminating null in key size.
10296 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10298         * nss/nss_files/files-service.c: Fix allocation size to include
10299         length of PROTO.
10301         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
10302         applicable.  Fix return value and error checking.
10303         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
10304         unparsable lines.
10305         (DB_LOOKUP): Allocate space for terminating null byte.
10307         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
10308         uids specially.
10310         * db2/makedb.c (process_input): Continue processing if a duplicate
10311         key is encountered.
10313 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
10315         * time/tzfile.h: Updated from tzcode1998b.
10316         * time/zdump.c: Likewise.
10317         * time/zic.c: Likewise.
10318         * time/africa: Update from tzdata1998b.
10319         * time/antarctica: Likewise.
10320         * time/asia: Likewise.
10321         * time/australasia: Likewise.
10322         * time/etcetera: Likewise.
10323         * time/europe: Likewise.
10324         * time/leapseconds: Likewise.
10325         * time/northamerica: Likewise.
10326         * time/southamerica: Likewise.
10328 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10330         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
10331         lookups ignoring case.
10332         * nss/nss_files/files-network.c: Do network lookups ignoring
10333         case.
10334         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
10335         case.
10336         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
10337         case insensitive comparing.
10338         Patches by Cristian Gafton <gafton@redhat.com>.
10340 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10342         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
10343         by Roland McGrath. [PR libc/395]
10345 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10347         * manual/arith.texi (Parsing of Integers): Correct description of
10348         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
10349         [PR libc/396]
10351 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
10353         * misc/lsearch.c (lsearch): Return a pointer to the new element
10354         if one was "allocated".
10356 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10358         * string/strsignal.c: NSIG is not a valid index into
10359         _sys_siglist.  Don't zap the last character of the "Unknown
10360         signal" message.
10362 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
10364         * locale/programs/charmap.c (parse_charmap): Correct parsing of
10365         ellipsis expressions.
10367         * locale/programs/charset.c (insert_char): Correctly insert value
10368         of eliipsis expression.
10370 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
10372         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
10373         <bits/setjmp.h>.
10374         * sysdeps/powerpc/setjmp.S: Likewise.
10375         Patches by Matt McLean <keys@keys.got.net>.
10377         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
10379         * Makefile: Undo last patch.
10380         (distribute): Add test-installation.pl.
10382         * configure.in: Correct handling of --enable-add-ons without parameter.
10383         Correct address of WWW pages.
10385         * libc.map: Add _nl_domain_bindings.
10387         * db2/mutex/tsl_parisc.s: New file.
10389         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
10390         and extra-module.mk.
10392         * localedata/Makefile (distribute): New.  Add all the files.
10394         * stdlib/Makefile (headers): Add inttypes.h.
10395         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
10396         * sysdeps/generic/inttypes.h: New file.
10397         * sysdeps/generic/strtoimax.c: New file.
10398         * sysdeps/generic/strtoumax.c: New file.
10399         * sysdeps/generic/wcstoimax.c: New file.
10400         * sysdeps/generic/wcstoumax.c: New file.
10401         * sysdeps/wordsize-32/Dist: Removed.
10402         * sysdeps/wordsize-32/Makefile: Removed.
10403         * sysdeps/wordsize-64/Dist: Removed.
10404         * sysdeps/wordsize-64/Makefile: Removed.
10405         * sysdeps/generic/bits/environments.h: New file.
10407         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
10408         header is still not correct.
10410         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
10411         * posix/unistd.h: Likewise.
10412         * sysdeps/generic/sys/mman.h: Likewise.
10413         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
10415         * manual/arith.texi: Change definition of mul macro.
10416         * manual/math.texi: Likewise.
10418         * misc/Makefile (routines): Add mmap64.
10419         * sysdeps/generic/mmap64.c: New file.
10420         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
10421         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
10422         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
10423         aliases to mmap.
10424         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10426         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
10428         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
10430         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
10432         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
10433         FOPEN_MAX also when included by limits.h.
10434         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10436         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
10437         and netrom/netrom.h.
10438         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
10439         oldsiglist to sysdep_routines, not aux.
10440         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
10442         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
10443         and SOL_NETROM definition.
10445         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
10447         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
10448         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
10450 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
10452         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
10454         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
10455         sa_handler with k_sa_handler.
10456         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
10457         strong alias.
10458         Reported by a sun.
10460         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
10461         __libc_have_rt_sigs here.
10462         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
10463         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10464         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
10465         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10467 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
10469         * sysdeps/powerpc/atomicity.h: New file.
10470         * sysdeps/mach/powerpc/machine-lock.h: New file.
10472         * Rules: Use -fpic to build anything that might end up in a users'
10473         shared library.
10475         * sysdeps/powerpc/s_fdim.c: New file.
10476         * sysdeps/powerpc/s_fdimf.c: New file.
10477         * sysdeps/powerpc/s_fmax.S: New file.
10478         * sysdeps/powerpc/s_fmaxf.S: New file.
10479         * sysdeps/powerpc/s_fmin.S: New file.
10480         * sysdeps/powerpc/s_fminf.S: New file.
10481         * sysdeps/powerpc/s_llrint.c: Now is for double.
10482         * sysdeps/powerpc/s_llrintf.c: New file.
10483         * sysdeps/powerpc/s_llround.c: Now is for double.
10484         * sysdeps/powerpc/s_llroundf.c: New file.
10485         * sysdeps/powerpc/s_lrint.c: Now is for double.
10486         * sysdeps/powerpc/s_lrintf.S: New file.
10487         * sysdeps/powerpc/s_lround.c: Now is for double.
10488         * sysdeps/powerpc/s_lroundf.c: New file.
10489         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
10490         lrintf, fdim, fdimf.
10492         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
10493         file directly, use its parent.
10495         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
10496         (for the third time).
10498 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
10500         * posix/sched.h: timespec is in <time.h>.
10502         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
10504 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
10506         * configure.in: Stop with error if --disable-static is used when
10507         the shared lib uses this library.
10509         * gen-FAQ.pl: I've perl installed in /usr/bin.
10511         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
10513         Fix Unix98 conformance problems in the headers.
10514         * catgets/nl_types.h: Define nl_item.
10515         * grp/grp.h: Define gid_t.
10516         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
10517         * include/nl_types.h: New file.
10518         * include/ulimit.h: New file.
10519         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
10520         constants in POSIX mode.
10521         * io/utime.h: Get definition for time_t.
10522         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
10523         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
10524         * libio/stdio.h: Define va_list.  Make snprintf also available is
10525         __USE_UNIX98.  Declare getopt function and variables.
10526         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
10527         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
10528         * math/math.h: Defined M_* constants as double for Unix98 mode.
10529         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
10530         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
10531         * posix/regex.h: Define REG_NOSYS.
10532         * posix/wordexp.h: Define WRDE_NOSYS.
10533         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
10534         500 for Unix98.
10535         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
10536         somewhere else as well.  Define clock_t for Unix98.
10537         * posix/sys/wait.h: Define pid_t.
10538         * pwd/pwd.h: Define gid_t, uid_t.
10539         * resource/Makefile (headers): Add ulimit.h.
10540         * resource/ulimit.h: New file.
10541         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
10542         instead of second argument.
10543         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
10544         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
10545         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
10546         * signal/signal.h: Define pid_t.
10547         * string/string.h: Don't declare BSD string functions in POSIX mode.
10548         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
10549         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
10550         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
10551         and POSIX.
10553         * inet/test_ifindex.c: Change test so that it does not fail for
10554         interface aliases.
10556         * locale/programs/locale.c (show_info): Use correct cast sequence
10557         for 64bit machines.
10559         * malloc/malloc.c: __malloc_initialized now signals three states:
10560         uninitialized, initializing, initialized.  Used in mcheck.
10561         * malloc/mcheck.c (mabort): Add '\n' to messages.
10562         (mcheck): Allow installation when malloc is uninitialized or is
10563         just initializing.
10565         * manual/memory.texi: Explain mtrace output a bit more.
10567         * math/libm-test.c: Add more epsilons.
10569         * misc/regexp.h (compile): Remove __ prefix from parameter names.
10571         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
10572         instead of strcpy for security.
10573         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
10574         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
10575         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
10577         * nss/digits_dots.c: Pretty print.
10579         * posix/getconf.c (vars): Add symbols for programming environment
10580         recognition.  Recognize --version.
10582         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
10583         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
10584         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
10586         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
10587         __need_FOPEN_MAX.
10588         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
10589         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
10590         __need_FOPEN_MAX.
10592         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
10593         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
10595         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
10596         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10597         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10598         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
10599         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10600         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
10602         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
10603         SCNu*.
10604         * sysdeps/wordsize-64/inttypes.h: Likewise.
10606         * time/africa: Update from tzdata1997j.
10607         * time/antarctica: Likewise.
10608         * time/asia: Likewise.
10609         * time/australasia: Likewise.
10610         * time/backward: Likewise.
10611         * time/etcetera: Likewise.
10612         * time/europe: Likewise.
10613         * time/factory: Likewise.
10614         * time/northamerica: Likewise.
10615         * time/pacificnew: Likewise.
10616         * time/southamerica: Likewise.
10618         * time/tzfile.h: Update from tzcode1997h.
10619         * time/zic.c: Likewise.
10621         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
10622         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
10623         isw*() functions for Unix98.
10624         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
10625         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
10626         is defined.
10628 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10630         * locale/duplocale.c: Increase usage_count only if less than
10631         MAX_USAGE_COUNT.
10632         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
10633         MAX_USAGE_COUNT.
10634         * locale/setlocale.c: Likewise.
10636 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10638         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
10639         dependency to make it easier to install it selectively.
10641         * Makerules (.SUFFIXES): Don't define any suffixes.
10643 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10645         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10646         * sysdeps/generic/statfs64.c: Emulate using statfs.
10647         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10648         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10649         * sysdpes/generic/ftruncate64.c: New file.
10650         * sysdpes/generic/truncate64.c: New file.
10652         * sysdeps/generic/bits/stat.h: Add LFS support.
10653         * sysdeps/generic/bits/statfs.h: Likewise.
10655         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10656         [__USE_FILE_OFFSET64]: Make long long constant.
10657         (RLIM64_INFINITY): Likewise.
10659         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10660         for LFS support.
10661         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10662         * sysdeps/generic/bits/resource.h: Likewise.
10664         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10666         * include/features.h: Don't prevent LFS support from defining BSD
10667         and SYSV things.
10669         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10670         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10671         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10673         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10674         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10675         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10677         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10678         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10679         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10680         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10681         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10682         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10683         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10684         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10685         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10686         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10687         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10688         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10689         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10690         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10691         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10692         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10693         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10694         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10695         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10696         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10698         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10699         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10700         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10701         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10702         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10704         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10705         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10706         [$(subdir)=dirent]: Add getdents64.
10707         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10709         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10711 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10713         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10715         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10716         * sysdeps/generic/getrlimit64.c: Likewise.
10717         * sysdeps/generic/setrlimit.c: Likewise.
10718         * sysdeps/generic/setrlimit64.c: Likewise.
10720 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10722         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10723         using versioning.
10725         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10727         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10729 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10731         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10732         after the codeset name.
10734 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10736         * libc.map: Add get_kernel_syms.
10738 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10740         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10741         static.
10742         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10743         Likewise.  Fix condition.
10745 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10747         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10749 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10751         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10752         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10754 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10756         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10757         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10758         instead.  Oops.
10760 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10762         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10764 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10766         * math/libm-test.c (catanh_test): Change epsilon.
10767         Reported by H.J. Lu.
10769 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10771         * libc.map (__getpid): Added for linuxthreads.
10773 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10775         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10776         it if gcc uses static variable in DWARF2 unwind information
10777         for exception support.
10779         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10781         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10782         HAVE_DWARF2_UNWIND_INFO_STATIC.
10784         * libc.map (__register_frame*, __deregister_frame*): Make them
10785         global.
10787 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10789         * math/libm-test.c: Add more tests for "normal" values.
10791 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10793         * stdio-common/printf_fphex.c: Fix printing of long double number
10794         with a biased exponent of zero.  Fix rounding.
10796 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10798         * sunrpc/rpc_main.c: Accept new flag -$.
10799         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10801 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10803         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10804         dynamic linker first, in case the interface has changed.
10806 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10808         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10809         order.
10811 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10813         * math/tgmath.h: Check for double first, for architectures where
10814         sizeof (long double) == sizeof (double).
10816 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10818         * math/libm-test.c: New tests for "normal" values added for most
10819         functions.
10821 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10823         * version.h (VERSION): Bump to 2.0.91.
10825         * db2/makedb.c (process_input): Fix typo in message.
10826         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10828         * elf/dynamic-link.h: Pretty print.
10830         * elf/rtld.c: Allow multiple preloading of a shared object.
10832         * include/limits.h: Prevent multiple inclusion.
10834         * malloc/Makefile (headers): Add mcheck.h.
10835         (distribute): Remove it here.
10836         * malloc/mcheck.h: Pretty print.
10837         * malloc/mtrace.c (mallenv): Make `const'.
10838         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10839         are none.
10840         * manual/memory.texi: Update descriptor of malloc hooks.
10842         * posix/Makefile (routines): Add waitid.
10843         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10844         on __id_t.
10845         * posix/sys/wait.h: Define idtype_t type.
10846         Add prototype for waitid.
10847         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10848         * sysdeps/generic/waitid.c: Stub for waitid.
10849         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10850         the __need_siginfo_t defined.
10851         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10852         * sysdeps/generic/bits/types.h: Define __id_t.
10853         Correct definition of __FDMASK.
10854         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10855         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10858         * sysdeps/posix/waitid.c: New file.
10859         Provided by Zack Weinberg.
10861         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10863         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10864         Add missing parameters.
10866         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10867         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10868         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10869         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10870         initialized.
10872         * sysdeps/i386/dl-machine.h: Little cleanup.
10874         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10875         (__finite): Mark function as const.
10876         Add inline code for __ieee754_atan2.
10878         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10879         (but don't use it now).
10880         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10881         __atan.
10882         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10883         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10884         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10885         real part.
10886         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10887         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10888         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10889         __ieee754_atan2 to base 10.
10890         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10891         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10893         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10894         old_kernel_sigaction.
10896         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10898         * wctype/Makefile (routines): Add wctype_l.
10899         * wctype/wctype.h: Add declaration of __wctype_l.
10900         * wctype/wctype_l.c: New file.
10902 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10904         * locale/C-ctype.c: Correct data for isw* functions.
10905         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10906         byte order.
10907         * wctype/test_wctype.c: Add test for isw* functions.
10908         * wctype/wctype.c: Return value with expected byte order.
10910 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10912         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10914 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10916         * iconvdata/Makefile: Fix a typo.
10918         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10919         oldsiglist for shared library.
10921         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10922         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10924         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10925         sys_siglist, sys_sigabbrev): New file. Make them as the old
10926         version GLIBC_2.0.
10928         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10929         to GLIBC_2.1.
10931 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10933         * libio/iofgets.c (_IO_fgets): Return an error only if there
10934         is a new error.
10935         * libio/iogets.c (_IO_gets): Ditto.
10937 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10939         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10941         * libio/Makefile (routines, shared-only-routines): Add
10942         oldiofdopen.
10944         * libio/fileops.c: Don't use _IO_FILE_complete.
10945         * libio/iofdopen.c: Ditto.
10946         * libio/iofopen.c: Ditto.
10947         * libio/iofopen64.c: Ditto.
10948         * libio/iopopen.c: Ditto.
10949         * libio/iovdprintf.c: Ditto.
10951         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10953         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10954         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10956         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10957         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10959         * libio/libio.h (_IO_FILE): Add more fields.
10960         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10961         one if _IO_USE_OLD_IO_FILE is defined
10962         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10963         them _IO_FILE_complete.
10965         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10966         to adjust vtable.
10967         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10968         _IO_JUMPS.
10969         (_IO_FILE_complete): Commented out.
10971         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10972         * libio/oldiofclose.c: Ditto.
10973         * libio/oldiofopen.c: Ditto.
10974         * libio/oldstdfiles.c: Ditto.
10976         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10977         for the old _IO_FILE.
10979         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10980         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10981         and stderr.
10983         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10984         and remove INAME.
10986         * libio/stdio.c (stdin, stdout, stdin): Don't use
10987         _IO_FILE_complete.
10989         * libio/oldiofdopen.c: New.
10991         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10992         hp->_vtable_offset to 0.
10994 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10996         * libc.map (_IO_file_open): Added.
10998         * libio/libioP.h (_IO_file_open): Declared.
11000         * libio/fileops.c (_IO_file_open): New.
11001         (_IO_file_fopen): Call _IO_file_open ().
11003         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
11004         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11006 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11008         * signal/signal.h: Fix selection of signal semantics to match
11009         comment.
11011 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11013         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
11014         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
11015         rt_sigreturn.
11016         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
11017         [$(subdir)=signal]: Remove rt_sigreturn.
11018         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
11019         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
11020         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
11022 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11024         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
11025         declarations.
11027 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11029         * iconvdata/extra-module.mk: Expand extra-objs now.
11031 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11033         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
11034         inline functions by feature tests to avoid warning about missing
11035         prototype declarations.
11037 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11039         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
11040         return code for non existent +name entries.
11041         * nis/nss_compat/compat-pwd.c: Likewise.
11042         * nis/nss_compat/compat-spwd.c: Likewise.
11044 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
11046         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
11047         (EIO): Likewise.
11048         (ENOSPC): Likewise.
11049         (EEXIST): Likewise.
11050         (__errno_location): Likewise.
11052         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
11054         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
11056 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11058         * sunrpc/publickey.c: Use new NSS interface.
11060 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
11062         * manual/malloc.texi: Document mtrace/muntrace and the concept.
11064 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11066         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
11067         value, to match spirit of the standard.
11068         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
11069         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
11070         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
11072 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11074         * manual/signal.texi (Signal Stack): Remove spurious @item.
11076 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11078         * rt/aio.h: Remove double semicolon.
11080         * rt/librt.map: Add aio_init.
11082 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
11084         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
11085         * Makefile (subdirs): Replace rt by $(rt).
11087         * shlib-versions: Use version .2 for NSS modules.
11089         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
11090         argument.
11091         * pwd/fgetpwent_r.c: Likewise.
11092         * spwd/fgetspent_r.c: Likewise.
11093         * spwd/sgetspent_r.c: Likewise.
11094         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
11095         Store error number in *ERRNOP.  Little optimization.
11096         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
11097         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
11098         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
11099         (__internal_getnetgrent_r): New argument.
11100         Call __internal_setnetgrent_reuse with new argument.
11101         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
11102         * inet/netgroup.h: Add argument to prototypes.
11103         * nis/nisplus-parser.h: Likewise.
11104         * nis/nss_compat/compat-grp.c: Change everything to store error
11105         code through provided pointer and not use errno.
11106         * nis/nss_compat/compat-pwd.c: Likewise.
11107         * nis/nss_compat/compat-spwd.c: Likewise.
11108         * nis/nss_nis/nis-alias.c: Likewise.
11109         * nis/nss_nis/nis-ethers.c: Likewise.
11110         * nis/nss_nis/nis-grp.c: Likewise.
11111         * nis/nss_nis/nis-hosts.c: Likewise.
11112         * nis/nss_nis/nis-netgrp.c: Likewise.
11113         * nis/nss_nis/nis-network.c: Likewise.
11114         * nis/nss_nis/nis-proto.c: Likewise.
11115         * nis/nss_nis/nis-publickey.c: Likewise.
11116         * nis/nss_nis/nis-pwd.c: Likewise.
11117         * nis/nss_nis/nis-rpc.c: Likewise.
11118         * nis/nss_nis/nis-service.c: Likewise.
11119         * nis/nss_nis/nis-spwd.c: Likewise.
11120         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11121         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11122         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11123         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11124         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
11125         * nis/nss_nisplus/nisplus-network.c: Likewise.
11126         * nis/nss_nisplus/nisplus-parser.c: Likewise.
11127         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11128         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
11129         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11130         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11131         * nis/nss_nisplus/nisplus-service.c: Likewise.
11132         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11133         * nss/nss_db/db-XXX.c: Likewise.
11134         * nss/nss_db/db-alias.c: Likewise.
11135         * nss/nss_db/db-netgrp.c: Likewise.
11136         * nss/nss_files/files-XXX.c: Likewise
11137         * nss/nss_files/files-alias.c: Likewise
11138         * nss/nss_files/files-netgrp.c: Likewise
11139         * nss/nss_files/files-parse.c: Likewise
11140         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
11141         parameter of get functions.
11142         * nss/getXXent_r.c: Likewise.
11144         * localedata/tst-fmon.c: Print debug info if test fails.
11146         * rt/Makefile (routines): Add aio_notify.
11147         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
11148         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
11149         * rt/aio_fsync.c: Likewise.
11150         * rt/aio_misc.c: Likewise.
11151         * rt/aio_misc.h: Likewise.
11152         * rt/aio_read.c: Likewise.
11153         * rt/aio_read64.c: Likewise.
11154         * rt/aio_suspend.c: Likewise.
11155         * rt/aio_write.c: Likewise.
11156         * rt/aio_write64.c: Likewise.
11157         * rt/lio_listio.c: Likewise.
11158         * rt/lio_listio64.c: Likewise.
11159         * rt/aio_notify.c: New file.
11161         * sysdeps/generic/bits/sigset.h: Pretty print.
11163         * sysdeps/posix/pwrite.c: Define weak alias only if function is
11164         really defined as __pwrite.
11166         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
11167         instead of pread64.
11168         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11170         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11171         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
11172         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
11173         size in syscall.
11174         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11175         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11176         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
11177         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11178         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
11179         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11180         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
11181         for ACT being NULL.
11182         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
11183         RT signals.
11184         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
11185         __NR_pread is not defined.
11186         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
11187         __NR_pwrite is not defined.
11189 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11191         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
11192         handle for /etc/group back in some more cases.
11193         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
11194         handle for /etc/passwd back in some more cases.
11195         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
11196         handle for /etc/shadow back in some more cases.
11198 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
11200         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
11201         beyound its size.
11202         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
11203         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
11205 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
11207         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
11208         handling.  Don't use macros, we need functions.  Use inline functions
11209         for optimization.
11210         * sysdeps/wordsize-64/inttypes.h: Likewise.
11211         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
11212         and wcstoumax.
11213         * sysdeps/wordsize-64/Makefile: Likewise.
11214         * sysdeps/wordsize-32/Dist: Likewise.
11215         * sysdeps/wordsize-64/Dist: Likewise.
11216         * sysdeps/wordsize-32/strtoimax.c: New file.
11217         * sysdeps/wordsize-32/strtoumax.c: New file.
11218         * sysdeps/wordsize-32/wcstoimax.c: New file.
11219         * sysdeps/wordsize-32/wcstoumax.c: New file.
11220         * sysdeps/wordsize-64/strtoimax.c: New file.
11221         * sysdeps/wordsize-64/strtoumax.c: New file.
11222         * sysdeps/wordsize-64/wcstoimax.c: New file.
11223         * sysdeps/wordsize-64/wcstoumax.c: New file.
11225 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
11227         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
11228         that transparent union works.
11229         * sysdeps/generic/wait4.c (__wait4): Likewise.
11230         * sysdeps/generic/wait.c (__wait): Likewise.
11232         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
11233         size_t.
11235         * sysdeps/generic/syscall.c (syscall): Return value and arg are
11236         long, to match prototype.
11238         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
11239         have mremap() yet.
11241         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
11243         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
11245         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
11247         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
11248         __rlim_t.
11250         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
11252         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
11254         * io/sys/stat.h (S_ISLNK): Always false if we don't have
11255         __S_IFLNK.
11257         * sysdeps/standalone/close.c (_STDIO_H): Define before including
11258         <bits/stdio_lim.h>.
11259         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
11261 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
11263         * posix/sys/wait.h: Don't use transparent unions in C++.
11265 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11267         * time/time.h: Add strfxtime.
11269         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
11270         sysv_signal, strfxtime, pread64, pwrite64.
11272 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
11274         Alpha changes for EGCS:
11275         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
11276         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
11277         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
11278         (_start): Likewise.
11279         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
11281 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
11283         The kernel expects the arguments in a different order.
11284         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
11285         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
11287         * FAQ.in: New file.
11288         * gen-FAQ.pl: New file.
11289         * Makefile (FAQ): Add rule to generate from FAQ.in.
11291         * iconvdata/Makefile: Treat libJIS like the other modules.
11293         * rt/librt.map: New file.
11295         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
11296         inclusion.
11297         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
11298         comment.
11300 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
11302         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
11303         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
11304         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
11305         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
11307 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11309         * string/bits/string2.h: Fix spellings.
11311         * string/string.h: Fix spellings.
11313 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11315         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
11316         declaration to __syscall_rt_sigaction.
11318         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
11319         non-existant <sigcontext.h>.
11321 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11323         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
11324         typo.
11326 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11328         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
11330         * Makeconfig (shared-thread-library): Correct spelling.
11332         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
11333         <asm/pci.h>.
11335 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11337         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
11338         constants from Linux headers. Pointed out by
11339         csmall@scooter.o.i.net. [PR libc/369]
11341 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11343         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
11345 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11347         * configure.in: If --enable-add-ons is given without an
11348         argument, set the addons list to all subdirs with a configure
11349         script.
11351 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
11353         * Makeconfig: Add shared-thread-library variable.
11355         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
11356         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
11357         here.
11358         * sysdeps/m68k/fpu/e_acos.c: Likewise.
11359         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11360         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11361         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11362         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11363         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11364         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11365         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11366         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11367         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11368         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11369         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11370         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11371         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11372         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11373         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11374         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11375         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11376         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11377         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11378         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11379         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11380         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11381         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11382         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11384         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
11385         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
11386         * signal/Makefile (headers): Add bits/siginfo.h.
11387         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
11388         (distribute): Add testrtsig.h.
11389         * signal/allocrtsig.c: New file.
11390         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
11391         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
11392         __libc_current_sigrtmax.
11393         * sysdeps/generic/sigqueue.c: New file.
11394         * sysdeps/generic/sigtimedwait.c: New file.
11395         * sysdeps/generic/sigwaitinfo.c: New file.
11396         * sysdeps/generic/testrtsig.h: New file.
11397         * sysdeps/generic/bits/siginfo.h: New file.
11398         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
11399         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
11400         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
11401         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
11402         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
11403         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
11404         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
11405         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
11406         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
11407         * sysdeps/unix/sysv/linux/sigpending.c: New file.
11408         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
11409         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
11410         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
11411         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
11412         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
11413         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
11414         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
11415         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
11416         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
11417         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
11418         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
11419         and _POSIX_REALTIME_SIGNALS.
11420         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
11421         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
11422         update _NSIG.
11423         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
11424         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
11425         definitions.
11427         * Makefile (subdirs): Add rt.
11428         * shlib-versions: Add entry for librt.
11429         * rt/Makefile: New file.
11430         * rt/aio.h: New file.
11431         * rt/aio_cancel.c: New file.
11432         * rt/aio_error.c: New file.
11433         * rt/aio_fsync.c: New file.
11434         * rt/aio_misc.c: New file.
11435         * rt/aio_misc.h: New file.
11436         * rt/aio_read.c: New file.
11437         * rt/aio_read64.c: New file.
11438         * rt/aio_return.c: New file.
11439         * rt/aio_suspend.c: New file.
11440         * rt/aio_write.c: New file.
11441         * rt/aio_write64.c: New file.
11442         * rt/lio_listio.c: New file.
11443         * rt/lio_listio64.c: New file.
11444         * sysdeps/generic/aio_sigqueue.c: New file.
11445         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
11446         * sysdeps/unix/sysv/linux/Dist: Add new files
11447         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
11448         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
11449         rt_sigqueueinfo, rt_sigaction.
11451         * posix/Makefile (headers): Add bits/environments.h.
11452         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
11453         and _CS_LFS_CFLAGS on 64bit platforms.
11454         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
11455         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
11456         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
11457         compilation modules.
11458         * sysdeps/wordsize-32/bits/environments.h: New file.
11459         * sysdeps/wordsize-64/bits/environments.h: New file.
11461         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
11462         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
11463         __libc_pid.
11464         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
11465         0xf00baa.
11467         * string/string.h: Add declaration of __strverscmp.
11468         * string/strverscmp.c: Rename function ot __strverscmp and make old
11469         name weak alias.
11471         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
11472         * sysdeps/generic/enbl-secure.c: Likewise.
11473         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11475         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
11477         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
11479 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11481         * posix/sys/wait.h: Use __transparent_union__ instead of
11482         transparent_union.  Reported by Roland McGrath.
11484 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11486         * resolv/inet_neta.c (inet_neta): Change type of first parameter
11487         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
11488         [PR libc/366].
11490         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
11492         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
11494 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11496         * grp/initgroups.c: Increase buffer if it is too small.
11498 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
11500         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
11501         fields, this is no ISO C.  Reported by Andreas Jaeger.
11503 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11505         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
11507 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
11509         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
11510         _SYS_UTSNAME_H not _UTSNAME_H.
11512 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11514         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
11515         computing s_scale.
11517 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11519         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
11520         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
11521         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
11523         * math/libm-test.c (csqrt_test): Add testcase.
11525 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
11527         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
11528         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
11529         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
11531 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11533         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
11535 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11537         * math/libm-test.c (acos_test): Add more tests.
11538         (asin_test): Likewise.
11539         (atan_test): Likewise.
11540         (exp_test): Likewise.
11541         (sin_test): Likewise.
11542         (sqrt_test): Likewise.
11543         (cpow_test): Likewise.
11544         (csqrt_test): Likewise.
11545         (cexp_test): Correct typo in gcc version test.
11547 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
11549         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
11550         <bits/setjmp.h>.
11551         * sysdeps/arm/setjmp.S: Likewise.
11553         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
11555 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
11557         * stdio/stdio.h: Add prototype for tmpfile64().
11559 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
11561         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
11562         prototype to keep in step with libio version.
11564         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
11566 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
11568         * sysdeps/generic/Makefile: Don't try to use make_siglist if
11569         cross-compiling.
11571 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
11573         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
11574         load GOT ptr before jumping to _exit.
11575         Reported by Xavier Leroy.
11577 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
11579         * Makefile (subdirs): Add iconvdata and localedata.
11581         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
11583         * iconv/gconv_conf.c (read_conf_file): Little optimization.
11585         * iconvdata/8bit-gap.c: New file.
11586         * iconvdata/8bit-generic.c: Renamed from ...
11587         * iconvdata/iso8859-generic.c: ...this.
11588         * iconvdata/configure: Removed.
11589         * iconvdata/Makefile: Add new modules and better rules.
11590         * iconvdata/iso6937.c: Minor bug fixes.
11591         * iconvdata/iso8859-1.c: Likewise.
11592         * iconvdata/t61.c: Likewise.
11593         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
11594         Minor bug fixes.
11595         * iconvdata/iso8859-3.c: Likewise.
11596         * iconvdata/iso8859-4.c: Likewise.
11597         * iconvdata/iso8859-5.c: Likewise.
11598         * iconvdata/iso8859-6.c: Likewise.
11599         * iconvdata/iso8859-7.c: Likewise.
11600         * iconvdata/iso8859-8.c: Likewise.
11601         * iconvdata/iso8859-9.c: Likewise.
11602         * iconvdata/iso8859-10.c: Likewise.
11603         * iconvdata/ebcdic-at-de-a.c: New file.
11604         * iconvdata/ebcdic-at-de.c: New file.
11605         * iconvdata/ebcdic-ca-fr.c: New file.
11606         * iconvdata/hp-roman8.c: New file.
11607         * iconvdata/koi-8.c: New file.
11608         * iconvdata/koi8-r.c: New file.
11609         * iconvdata/koi8-h.c: New file.
11610         * iconvdata/latin-greek-1.c: New file.
11611         * iconvdata/latin-greek-1.h: New file.
11612         * iconvdata/latin-greek.c: New file.
11613         * iconvdata/latin-greek.h: New file.
11614         * iconvdata/jis0201.c: New file.
11615         * iconvdata/jis0201.h: New file.
11616         * iconvdata/jis0208.c: New file.
11617         * iconvdata/jis0208.h: New file.
11618         * iconvdata/jis0212.c: New file.
11619         * iconvdata/jis0212.h: New file.
11620         * iconvdata/sjis.c: New file.
11621         * iconvdata/gap.pl: New file.  Script to generate table header.
11622         * iconvdata/gaptab.pl: New file.
11623         * iconvdata/gconv-modules: Add info about new modules.
11625         * locale/programs/charmap.c: Also examine alias names given in charmap
11626         files.
11628         * localedata/*: Add to here from add-on.  We need the information
11629         to generate tables for iconv.
11631         Update from db-2.3.14.
11632         * db2/Makefile: Updated.
11633         * db2/config.h: Likewise.
11634         * db2/db.h: Likewise.
11635         * db2/db_int.h: Likewise.
11636         * db2/btree/bt_cursor.c: Likewise.
11637         * db2/btree/bt_delete.c: Likewise.
11638         * db2/btree/bt_put.c: Likewise.
11639         * db2/btree/bt_search.c: Likewise.
11640         * db2/btree/bt_split.c: Likewise.
11641         * db2/btree/btree_auto.c: Likewise.
11642         * db2/common/db_appinit.c: Likewise.
11643         * db2/common/db_apprec.c: Likewise.
11644         * db2/common/db_err.c: Likewise.
11645         * db2/common/db_region.c: Likewise.
11646         * db2/db/db_auto.c: Likewise.
11647         * db2/db/db_dispatch.c: Likewise.
11648         * db2/db/db_ret.c: Likewise.
11649         * db2/dbm/dbm.c: Likewise.
11650         * db2/hash/hash_auto.c: Likewise.
11651         * db2/include/btree_ext.h: Likewise.
11652         * db2/include/common_ext.h: Likewise.
11653         * db2/include/db.h.src: Likewise.
11654         * db2/include/db_cxx.h: Likewise.
11655         * db2/include/db_ext.h: Likewise.
11656         * db2/include/db_int.h.src: Likewise.
11657         * db2/include/lock.h: Likewise.
11658         * db2/include/log.h: Likewise.
11659         * db2/include/mp.h: Likewise.
11660         * db2/include/mp_ext.h: Likewise.
11661         * db2/include/os_ext.h: Likewise.
11662         * db2/include/os_func.h: Likewise.
11663         * db2/lock/lock.c: Likewise.
11664         * db2/lock/lock_deadlock.c: Likewise.
11665         * db2/log/log.c: Likewise.
11666         * db2/log/log_archive.c: Likewise.
11667         * db2/log/log_auto.c: Likewise.
11668         * db2/log/log_get.c: Likewise.
11669         * db2/log/log_put.c: Likewise.
11670         * db2/mp/mp_bh.c: Likewise.
11671         * db2/mp/mp_fget.c: Likewise.
11672         * db2/mp/mp_fopen.c: Likewise.
11673         * db2/mp/mp_fput.c: Likewise.
11674         * db2/mp/mp_fset.c: Likewise.
11675         * db2/mp/mp_open.c: Likewise.
11676         * db2/mp/mp_pr.c: Likewise.
11677         * db2/mp/mp_region.c: Likewise.
11678         * db2/mp/mp_sync.c: Likewise.
11679         * db2/mutex/README: Likewise.
11680         * db2/mutex/mutex.c: Likewise.
11681         * db2/os/os_open.c: Likewise.
11682         * db2/os/os_func.c: Removed.
11683         * db2/os/os_config.c: New file.
11684         * db2/os/os_spin.c: New file.
11685         * db2/txn/txn.c: Likewise.
11686         * db2/txn/txn_auto.c: Likewise.
11688 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11690         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11691         __typeof for C++ since this fails for class members.
11692         Reported by Neal Becker <neal@ctd.comsat.com>.
11694 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11696         * configure.in: Check for a working makeinfo (3.11 or better).
11697         * config.make.in: Add MAKEINFO to be substituted.
11698         * manual/Makefile: Don't update info if makeinfo is too old.
11700 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11702         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11703         * sysdeps/alpha/__longjmp.S: Likewise.
11704         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11705         not <bits/termios.h>.
11707         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11708         __llseek and make llseek and lseek64 weak aliases.
11709         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11710         Patches by a sun <asun@zoology.washington.edu>.
11712 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11714         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11717         * misc/sys/syslog.h: Clean up BSD header.
11719 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11721         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11723         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11724         for ctan(+-inf,x).
11725         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11726         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11728         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11729         csqrt (-1), ctanh(i*pi/4).
11731 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11733         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11735 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11737         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11739 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11741         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11743 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11745         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11746         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11747         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11748         of GETCWD_STORYGE_CLASS and put the return type and the
11749         `internal_function' in the right order for gcc 2.7.2.
11751 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11753         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11754         incompatible with Linux 2.1.x.  Packages using modules
11755         (e.g. modutils) should/do provide their own version.  Suggested by
11756         Richard Henderson.
11758         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11761         [$(subdir)=socket]: Remove sys/module.h.
11763 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11765         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11766         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11768         * iconv/gconv_close.c: Correct freeing of descriptor data.
11769         * iconv/gconv_simple.c: Return correct error values for illegal or
11770         incomplete characters.
11772         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11773         development.
11774         * iconvdata/Makefile: New file.
11775         * iconvdata/configure: Likewise.
11776         * iconvdata/extra-module.mk: Likewise.
11777         * iconvdata/gconv-modules: Likewise.
11778         * iconvdata/iso6937.c: Likewise.
11779         * iconvdata/iso8859-1.c: Likewise.
11780         * iconvdata/iso8859-10.c: Likewise.
11781         * iconvdata/iso8859-10.h: Likewise.
11782         * iconvdata/iso8859-2.c: Likewise.
11783         * iconvdata/iso8859-2.h: Likewise.
11784         * iconvdata/iso8859-3.c: Likewise.
11785         * iconvdata/iso8859-3.h: Likewise.
11786         * iconvdata/iso8859-4.c: Likewise.
11787         * iconvdata/iso8859-4.h: Likewise.
11788         * iconvdata/iso8859-5.c: Likewise.
11789         * iconvdata/iso8859-5.h: Likewise.
11790         * iconvdata/iso8859-6.c: Likewise.
11791         * iconvdata/iso8859-6.h: Likewise.
11792         * iconvdata/iso8859-7.c: Likewise.
11793         * iconvdata/iso8859-7.h: Likewise.
11794         * iconvdata/iso8859-8.c: Likewise.
11795         * iconvdata/iso8859-8.h: Likewise.
11796         * iconvdata/iso8859-9.c: Likewise.
11797         * iconvdata/iso8859-9.h: Likewise.
11798         * iconvdata/iso8859-generic.c: Likewise.
11799         * iconvdata/t61.c: Likewise.
11801         * string/Makefile (routines): Add strcasestr.
11802         * string/string.h: Add prototype for strcasestr.
11803         * sysdeps/generic/strcasestr.c: New file.
11804         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11805         * wcsmbs/wcrtomb.c: Likewise.
11806         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11807         * wcsmbs/wcsnrtombs.c: Likewise.
11808         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11809         partial character is read.
11810         * wcsmbs/wcsrtombs.c: Likewise.
11811         * wcsmbs/wmemrtombs.c: Likewise.
11812         * wcsmbs/wmemrtowcs.c: Likewise.
11814         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11815         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11816         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11817         * sysdeps/i386/elf/setjmp.S: Likewise.
11818         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11819         <bits/termios.h>.
11821         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11822         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11824         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11825         * sysvipc/sys/ipc.h: Likewise.
11826         * sysvipc/sys/msg.h: Likewise.
11827         * sysvipc/sys/sem.h: Likewise.
11828         * sysvipc/sys/shm.h: Likewise.
11830         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11831         used directly.
11832         * sysdeps/alpha/bits/setjmp.h: Likewise.
11833         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11834         * sysdeps/arm/bits/endian.h: Likewise.
11835         * sysdeps/arm/bits/setjmp.h: Likewise.
11836         * sysdeps/generic/bits/byteswap.h: Likewise.
11837         * sysdeps/generic/bits/confname.h: Likewise.
11838         * sysdeps/generic/bits/dirent.h: Likewise.
11839         * sysdeps/generic/bits/dlfcn.h: Likewise.
11840         * sysdeps/generic/bits/endian.h: Likewise.
11841         * sysdeps/generic/bits/fenv.h: Likewise.
11842         * sysdeps/generic/bits/huge_val.h: Likewise.
11843         * sysdeps/generic/bits/in.h: Likewise.
11844         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11845         * sysdeps/generic/bits/ioctls.h: Likewise.
11846         * sysdeps/generic/bits/ipc.h: Likewise.
11847         * sysdeps/generic/bits/msq.h: Likewise.
11848         * sysdeps/generic/bits/poll.h: Likewise.
11849         * sysdeps/generic/bits/resource.h: Likewise.
11850         * sysdeps/generic/bits/sched.h: Likewise.
11851         * sysdeps/generic/bits/sem.h: Likewise.
11852         * sysdeps/generic/bits/setjmp.h: Likewise.
11853         * sysdeps/generic/bits/shm.h: Likewise.
11854         * sysdeps/generic/bits/sigaction.h: Likewise.
11855         * sysdeps/generic/bits/sigcontext.h: Likewise.
11856         * sysdeps/generic/bits/socket.h: Likewise.
11857         * sysdeps/generic/bits/stat.h: Likewise.
11858         * sysdeps/generic/bits/statfs.h: Likewise.
11859         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11860         * sysdeps/generic/bits/termios.h: Likewise.
11861         * sysdeps/generic/bits/time.h: Likewise.
11862         * sysdeps/generic/bits/uio.h: Likewise.
11863         * sysdeps/generic/bits/utmp.h: Likewise.
11864         * sysdeps/generic/bits/utmpx.h: Likewise.
11865         * sysdeps/generic/bits/utsname.h: Likewise.
11866         * sysdeps/generic/bits/waitflags.h: Likewise.
11867         * sysdeps/generic/bits/waitstatus.h: Likewise.
11868         * sysdeps/gnu/bits/utmp.h: Likewise.
11869         * sysdeps/gnu/bits/utmpx.h: Likewise.
11870         * sysdeps/i386/bits/byteswap.h: Likewise.
11871         * sysdeps/i386/bits/endian.h: Likewise.
11872         * sysdeps/i386/bits/huge_val.h: Likewise.
11873         * sysdeps/i386/bits/setjmp.h: Likewise.
11874         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11875         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11876         * sysdeps/m68k/bits/byteswap.h: Likewise.
11877         * sysdeps/m68k/bits/endian.h: Likewise.
11878         * sysdeps/m68k/bits/setjmp.h: Likewise.
11879         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11880         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11881         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11882         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11883         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11884         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11885         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11886         * sysdeps/mips/bits/dlfcn.h: Likewise.
11887         * sysdeps/mips/bits/endian.h: Likewise.
11888         * sysdeps/mips/bits/setjmp.h: Likewise.
11889         * sysdeps/mips/dec/bits/endian.h: Likewise.
11890         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11891         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11892         * sysdeps/mips/p40/bits/endian.h: Likewise.
11893         * sysdeps/powerpc/bits/endian.h: Likewise.
11894         * sysdeps/powerpc/bits/fenv.h: Likewise.
11895         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11896         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11897         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11898         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11899         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11900         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11901         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11902         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11903         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11904         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11905         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11906         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11907         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11908         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11909         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11910         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11911         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11912         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11913         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11914         * sysdeps/unix/common/bits/dirent.h: Likewise.
11915         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11916         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11917         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11918         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11919         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11920         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11921         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11922         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11923         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11924         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11925         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11926         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11927         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11928         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11929         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11930         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11931         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11932         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11933         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11934         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11935         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11936         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11937         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11938         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11939         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11940         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11941         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11942         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11943         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11944         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11945         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11946         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11947         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11948         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11950         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11951         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11952         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11953         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11954         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11955         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11956         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11957         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11958         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11959         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11960         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11961         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11962         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11963         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11964         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11965         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11966         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11967         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11968         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11969         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11970         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11971         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11972         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11973         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11974         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11975         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11976         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11977         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11978         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11979         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11980         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11981         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11982         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11983         * sysdeps/vax/bits/huge_val.h: Likewise.
11984         * sysdeps/vax/bits/setjmp.h: Likewise.
11985         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11986         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11988 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11990         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11992 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11994         * strftime.c (strftime):
11995         No longer any need to undef or declare if emacs is defined.
11996         (my_strftime): When checking a -1 returned by mktime, don't blow up
11997         if localtime_r returns NULL.
11999 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12001         * README.template: Fix spelling.
12003 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12005         * configure.in: Enhance --enable-add-ons description a wee bit.
12007 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12009         * glibcbug.in: Add more information of build environment and flags.
12011 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12013         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
12014         it into ENOENT.
12016 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
12018         * elf/dl-support.c: Call __libc_init_secure to make sure
12019         __libc_enable_secure is defined early.
12020         * sysdeps/generic/enbl-secure.c: Change function name to
12021         __libc_init_secure and make it global instead of a constructor.
12023         * iconv/gconv.c: Fix lots of bugs.
12024         * iconv/gconv.h: Likewise.
12025         * iconv/gconv_builtin.h: Likewise.
12026         * iconv/gconv_close.c: Likewise.
12027         * iconv/gconv_conf.c: Likewise.
12028         * iconv/gconv_db.c: Likewise.
12029         * iconv/gconv_dl.c: Likewise.
12030         * iconv/gconv_open.c: Likewise.
12031         * iconv/gconv_simple.c: Likewise.
12032         * iconv/iconv.c: Likewise.
12033         * iconv/iconv_close.c: Likewise.
12034         * iconv/iconv_open.c: Likewise.
12036         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
12037         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
12038         * wcsmbs/wmemrtombs.c: New file.
12039         * wcsmbs/wmemrtowcs.c: New file.
12041 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
12043         * iconv/gconv_simple.c: Fix lots of bugs.
12044         * iconv/iconv_open.c: Normalize names before passing them to
12045         __gconv_open.
12047         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
12049         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
12050         * stdio-common/test-popen.c: Add test for above change.
12052         * math/libm-test.c: Print test results also using %a format,
12053         specified in PRINTF_XEXPR macro.
12054         * math/test-double.c: Define PRINTF_XEXPR.
12055         * math/test-float.c: Likewise.
12056         * math/test-ldouble.c: Likewise.
12057         * math/test-idouble.c: Likewise.
12058         * math/test-ifloat.c: Likewise.
12059         * math/test-ildoubl.c: Likewise.
12061         * stdio-common/vfscanf.c: Recognize a in format specifier only as
12062         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
12063         FP number format.
12065         * stdlib/strtod.c: Little code cleanup.
12067         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
12068         compiling in math subdir.
12070         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
12071         instead of __LIBC_M81_MATH_INLINES.
12072         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
12073         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
12074         * sysdeps/m68k/fpu/e_pow.c: Likewise.
12075         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
12076         * sysdeps/m68k/fpu/k_cos.c: Likewise.
12077         * sysdeps/m68k/fpu/k_sin.c: Likewise.
12078         * sysdeps/m68k/fpu/k_tan.c: Likewise.
12079         * sysdeps/m68k/fpu/s_atan.c: Likewise.
12080         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
12081         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
12082         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
12083         * sysdeps/m68k/fpu/s_csin.c: Likewise.
12084         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
12085         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
12086         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
12087         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
12088         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
12089         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
12090         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
12091         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
12092         * sysdeps/m68k/fpu/s_modf.c: Likewise.
12093         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
12094         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
12095         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
12096         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
12097         __LIBC_INTERNAL_MATH_INLINES is defined.
12099         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
12100         of compare macros from ISO C 9X.  Optimize generic versions a bit.
12101         Define __signbit inline functions and __ieee754_sqrt which can be
12102         used if the ompiler is fixed.
12104         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
12106 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12108         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
12109         sysdeps/generic in the whole dep file, not only in the first line.
12111 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12113         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
12115 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12117         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
12118         place.
12120 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12122         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
12123         is non-empty.
12125 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
12127         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
12128         return value.
12130 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
12132         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
12133         readlink succeeds but the return value is too long.
12135         * stdio-common/printf_fphex.c: Determine sign of number correctly.
12137 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
12139         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
12140         __remqu for Alpha.
12142 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
12144         * sysdeps/generic/sys/ucontext.h: Stub context file.
12146         * libio/iofprintf.c: Removed.  We use the stdio-common version.
12148         * manual/Makefile (distribute): Add stdio-fp.c.
12150         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
12152         * db2/Makefile (distribute): Add include/os_func.h, README and
12153         mutex/tsl_parisc.s.
12155         * hesiod/Makefile (distribute): Add README.hesiod.
12157 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
12159         * iconv/gconv.c: Correctly call transformation function.
12161         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
12163 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12165         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
12166         wrong results for e.g. remquo (3,2, &x)).
12167         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
12168         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
12170 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12172         * configure.in (ld --version-script): Test if the same symbol
12173         maybe defined in all versions (needed by recent changes to
12174         libc.map and supported with binutils 2.8.1.0.17) and issue warning
12175         if versioning is not supported/enabled.
12176         (bash test): Correct test case.
12178         * math/libm-test.c: Added counting/reporting of number of test cases.
12180         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
12181         use awk instead.
12183         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
12185 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12187         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
12189 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
12191         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
12192         Replace revoke call by use of REVOKE.
12193         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
12194         empty and #include generic version.
12195         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12197 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
12199         * libc.map: Add socket functions with __libc_* names.
12200         Reported by Andreas Jaeger.
12202 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12204         * libc.map: Tidy up (remove duplicates, sort entries).
12206 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12208         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
12210 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
12212         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
12213         again after successful call.
12214         Patch by Marc Lehmann <pcg@goof.com>.
12216 1997-11-17  Paul Eggert  <eggert@twinsun.com>
12218         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
12219         as some hosts need this to declare localtime_r properly.
12221 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
12223         * libc.map: Add iconv_open, iconv, and iconv_close.
12225 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
12227         * iconv/Makefile: New file.
12228         * iconv/gconv.c: New file.
12229         * iconv/gconv.h: New file.
12230         * iconv/gconv_builtin.c: New file.
12231         * iconv/gconv_builtin.h: New file.
12232         * iconv/gconv_close.c: New file.
12233         * iconv/gconv_conf.c: New file.
12234         * iconv/gconv_db.c: New file.
12235         * iconv/gconv_dl.c: New file.
12236         * iconv/gconv_open.c: New file.
12237         * iconv/gconv_simple.c: New file.
12238         * iconv/iconv.c: New file.
12239         * iconv/iconv.h: New file.
12240         * iconv/iconv_close.c: New file.
12241         * iconv/iconv_open.c: New file.
12242         * include/gconv.h: New file.
12244         * Makeconfig: Define gconvdir.
12245         * Makefile (subdirs): Add iconv.
12247         * string/bits/string2.h: Add optimization for strtok_r.
12249         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
12250         for NULL.
12251         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
12252         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
12254         * configure.in: Correct test for bash2.
12255         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12257         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
12258         (CFLAGS-locfile.c): Likewise.
12259         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
12261         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
12262         non-existing entry if the table is full.
12264         * posix/regex.h: Pretty print.
12266         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
12268         * sysdeps/posix/ctermid.c: Simplify a bit.
12270         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
12272 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12274         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
12275         <sys/types.h> instead of <asm/types.h>.
12277 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12279         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
12281 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
12283         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
12284         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
12285         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
12286         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
12287         fclose): Added to GLIBC_2.1.
12289         * libio/Makefile (routines, shared-only-routines): Add
12290         oldiofclose.  Remove oldfreopen.
12292         * libio/freopen.c (freopen): When PIC is defined, call
12293         _IO_old_freopen () for old stdio.
12295         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
12296         (_IO_fclose, fclose): Use _IO_new_fclose as default version
12297         for GLIBC_2.1.
12299         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
12300         instead of _IO_file_close_it.
12302         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
12303         to _IO_2_1_stdxxx_.
12304         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
12305         is defined.
12307         * libio/libioP.h (_IO_old_do_flush): New.
12309         * libio/oldfileops.c (_IO_old_file_close_it,
12310         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
12311         Call _IO_old_do_flush () instead of _IO_do_flush ().
12312         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
12313         _IO_do_write ().
12315         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
12316         instead of _IO_file_init ().
12317         Bind old symbols to version GLIBC_2.0.
12319         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
12320         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
12321         _IO_stdxxx_.
12322         (_IO_check_libio): New function in .init.
12324         * libio/oldiofclose.c: New file.
12326         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
12327         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
12328         (DEF_STDFILE): Don't use default_symbol_version.
12330         * libio/stdio.c (stdin, stdout, stderr): Set to
12331         _IO_2_1_stdxxx_._
12332         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
12333         stdxxx.
12335         * csu/Makefile (distribute): Add init.c.
12336         (extra-objs): Add init.o for ELF.
12337         (start-installed-name): Add $(objpfx)init.o.
12339         * csu/init.c: New file.
12341 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
12343         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
12344         definition as the default.
12346 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
12348         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
12350 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12352         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
12353         (PR 351).
12355 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
12357         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
12358         to preserve condition codes on function call.
12360 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12362         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
12364 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12366         * math/libm-test.c (asin_test): Add epsilon for float.
12367         (tan_test): Add epsilon for float.
12368         (log1p_test): Add epsilon for float.
12369         (inverse_functions): Add epsilons.
12371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
12372         net/if_packet.h.
12374         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
12376 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12378         * md5-crypt/Makefile (extra-objs): Make recursively expanded
12379         variable, since $(object-suffixes) is not defined yet.
12381 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12383         * db2/Makefile (distribute): db185/db185_int.src ->
12384         db185/db185_int.h.
12386 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12388         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
12389         exactly one.
12391 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12393         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
12394         name.
12395         * sysdeps/generic/e_acosl.c: Likewise.
12396         * sysdeps/generic/e_asinl.c: Likewise.
12397         * sysdeps/generic/e_atan2l.c: Likewise.
12398         * sysdeps/generic/e_expl.c: Likewise.
12399         * sysdeps/generic/e_fmodl.c: Likewise.
12400         * sysdeps/generic/e_j0l.c: Likewise.
12401         * sysdeps/generic/e_j1l.c: Likewise.
12402         * sysdeps/generic/e_jnl.c: Likewise.
12403         * sysdeps/generic/e_lgammal_r.c: Likewise.
12404         * sysdeps/generic/e_log10l.c: Likewise.
12405         * sysdeps/generic/e_logl.c: Likewise.
12406         * sysdeps/generic/e_powl.c: Likewise.
12407         * sysdeps/generic/e_sqrtl.c: Likewise.
12408         * sysdeps/generic/e_exp2l.c: Likewise.
12410 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12412         * Make-dist (+sysdep-names): Remove extra paren.
12413         * Makefile (distribute): Add stub-tag.h.
12414         * elf/Makefile (distribute): Add atomicity.h.
12415         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
12416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
12417         [$(subdir)=socket]: Add net/if_packet.h.
12418         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
12419         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
12420         net/if_packet.h, scsi/sg.h.
12422 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12424         * Makefile (install): Quote $(CC) expansion.
12426 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12428         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
12429         working /proc cwd and no restrictions on path length.  Following
12430         some ideas from Andi Kleen <ak@muc.de> (PR 350).
12432 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
12434         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
12435         * nis/nss_compat/compat-pwd.c: Likewise.
12436         * nis/nss_compat/compat-spwd.c: Likewise.
12438 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
12440         * sysdeps/libm-i387/s_fdim.S: New file.
12441         * sysdeps/libm-i387/s_fdimf.S: New file.
12442         * sysdeps/libm-i387/s_fdiml.S: New file.
12443         * sysdeps/libm-i387/i686/s_fdim.S: New file.
12444         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
12445         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
12447 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12449         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
12450         pointer to unsigned char.
12452 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12454         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
12456         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
12458         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
12460 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
12462         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
12463         ilogb(0/NaN).
12464         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
12465         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
12467 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
12469         * sysdeps/libm-i387/s_fmin.S: New file.
12470         * sysdeps/libm-i387/s_fminf.S: New file.
12471         * sysdeps/libm-i387/s_fminl.S: New file.
12472         * sysdeps/libm-i387/s_fmax.S: New file.
12473         * sysdeps/libm-i387/s_fmaxf.S: New file.
12474         * sysdeps/libm-i387/s_fmaxl.S: New file.
12475         * sysdeps/libm-i387/i686/s_fmin.S: New file.
12476         * sysdeps/libm-i387/i686/s_fminf.S: New file.
12477         * sysdeps/libm-i387/i686/s_fminl.S: New file.
12478         * sysdeps/libm-i387/i686/s_fmax.S: New file.
12479         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
12480         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
12482 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
12484         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
12485         * sysdeps/unix/sysv/linux/send.S: Likewise.
12486         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12487         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12488         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12489         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12490         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12491         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12492         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
12494 See ChangeLog.7 for earlier changes.