Little cleanup.
[glibc/history.git] / ChangeLog
blob92e48ed9ee71980dccb47ca83ea1c9ebd4b29b9d
1 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
5 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
7         * iconvdata/Makefile: Fix a typo.
9         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10         oldsiglist for shared library.
11         (signal): Add rt_sigreturn and rt_sigpending.
13         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
14         sys_sigabbrev): Make them as the default version GLIBC_2.1.
16         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
17         sys_siglist, sys_sigabbrev): New file. Make them as the old
18         version GLIBC_2.0.
20         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
21         to GLIBC_2.1.
23 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
25         * libio/iofgets.c (_IO_fgets): Return an error only if there
26         is a new error.
27         * libio/iogets.c (_IO_gets): Ditto.
29 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
31         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
33         * libio/Makefile (routines, shared-only-routines): Add
34         oldiofdopen.
36         * libio/fileops.c: Don't use _IO_FILE_complete.
37         * libio/iofdopen.c: Ditto.
38         * libio/iofopen.c: Ditto.
39         * libio/iofopen64.c: Ditto.
40         * libio/iopopen.c: Ditto.
41         * libio/iovdprintf.c: Ditto.
43         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
45         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
46         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
48         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
49         _IO_old_fdopen, _IO_new_fdopen): New declaration.
51         * libio/libio.h (_IO_FILE): Add more fields.
52         (_IO_FILE_complete): Defined and make _IO_FILE be the old
53         one if _IO_USE_OLD_IO_FILE is defined
54         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
55         them _IO_FILE_complete.
57         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
58         to adjust vtable.
59         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
60         _IO_JUMPS.
61         (_IO_FILE_complete): Commented out.
63         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
64         * libio/oldiofclose.c: Ditto.
65         * libio/oldiofopen.c: Ditto.
66         * libio/oldstdfiles.c: Ditto.
68         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
69         for the old _IO_FILE.
71         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
72         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
73         and stderr.
75         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
76         and remove INAME.
78         * libio/stdio.c (stdin, stdout, stdin): Don't use
79         _IO_FILE_complete.
81         * libio/oldiofdopen.c: New.
83         * stdio-common/vfprintf.c (buffered_vfprintf): Set
84         hp->_vtable_offset to 0.
86 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
88         * libc.map (_IO_file_open): Added.
90         * libio/libioP.h (_IO_file_open): Declared.
92         * libio/fileops.c (_IO_file_open): New.
93         (_IO_file_fopen): Call _IO_file_open ().
95         * sysdeps/generic/_G_config.h
96         * sysdeps/unix/sysv/linux/_G_config.h: Define
97         _G_HAVE_IO_FILE_OPEN.
99 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
101         * signal/signal.h: Fix selection of signal semantics to match
102         comment.
104 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
106         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
107         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
108         rt_sigreturn.
109         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
110         [$(subdir)=signal]: Remove rt_sigreturn.
111         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
112         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
113         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
115 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
117         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
118         declarations.
120 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
122         * iconvdata/extra-module.mk: Expand extra-objs now.
124 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
126         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
127         inline functions by feature tests to avoid warning about missing
128         prototype declarations.
130 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
132         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
133         return code for non existent +name entries.
134         * nis/nss_compat/compat-pwd.c: Likewise.
135         * nis/nss_compat/compat-spwd.c: Likewise.
137 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
139         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
140         (EIO): Likewise.
141         (ENOSPC): Likewise.
142         (EEXIST): Likewise.
143         (__errno_location): Likewise.
145         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
147         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
149 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
151         * sunrpc/publickey.c: Use new NSS interface.
153 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
155         * manual/malloc.texi: Document mtrace/muntrace and the concept.
157 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
159         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
160         value, to match spirit of the standard.
161         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
162         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
163         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
165 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
167         * manual/signal.texi (Signal Stack): Remove spurious @item.
169 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
171         * rt/aio.h: Remove double semicolon.
173         * rt/librt.map: Add aio_init.
175 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
177         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
178         * Makefile (subdirs): Replace rt by $(rt).
180         * shlib-versions: Use version .2 for NSS modules.
182         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
183         argument.
184         * pwd/fgetpwent_r.c: Likewise.
185         * spwd/fgetspent_r.c: Likewise.
186         * spwd/sgetspent_r.c: Likewise.
187         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
188         Store error number in *ERRNOP.  Little optimization.
189         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
190         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
191         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
192         (__internal_getnetgrent_r): New argument.
193         Call __internal_setnetgrent_reuse with new argument.
194         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
195         * inet/netgroup.h: Add argument to prototypes.
196         * nis/nisplus-parser.h: Likewise.
197         * nis/nss_compat/compat-grp.c: Change everything to store error
198         code through provided pointer and not use errno.
199         * nis/nss_compat/compat-pwd.c: Likewise.
200         * nis/nss_compat/compat-spwd.c: Likewise.
201         * nis/nss_nis/nis-alias.c: Likewise.
202         * nis/nss_nis/nis-ethers.c: Likewise.
203         * nis/nss_nis/nis-grp.c: Likewise.
204         * nis/nss_nis/nis-hosts.c: Likewise.
205         * nis/nss_nis/nis-netgrp.c: Likewise.
206         * nis/nss_nis/nis-network.c: Likewise.
207         * nis/nss_nis/nis-proto.c: Likewise.
208         * nis/nss_nis/nis-publickey.c: Likewise.
209         * nis/nss_nis/nis-pwd.c: Likewise.
210         * nis/nss_nis/nis-rpc.c: Likewise.
211         * nis/nss_nis/nis-service.c: Likewise.
212         * nis/nss_nis/nis-spwd.c: Likewise.
213         * nis/nss_nisplus/nisplus-alias.c: Likewise.
214         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
215         * nis/nss_nisplus/nisplus-grp.c: Likewise.
216         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
217         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
218         * nis/nss_nisplus/nisplus-network.c: Likewise.
219         * nis/nss_nisplus/nisplus-parser.c: Likewise.
220         * nis/nss_nisplus/nisplus-proto.c: Likewise.
221         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
222         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
223         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
224         * nis/nss_nisplus/nisplus-service.c: Likewise.
225         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
226         * nss/nss_db/db-XXX.c: Likewise.
227         * nss/nss_db/db-alias.c: Likewise.
228         * nss/nss_db/db-netgrp.c: Likewise.
229         * nss/nss_files/files-XXX.c: Likewise
230         * nss/nss_files/files-alias.c: Likewise
231         * nss/nss_files/files-netgrp.c: Likewise
232         * nss/nss_files/files-parse.c: Likewise
233         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
234         parameter of get functions.
235         * nss/getXXent_r.c: Likewise.
237         * localedata/tst-fmon.c: Print debug info if test fails.
239         * rt/Makefile (routines): Add aio_notify.
240         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
241         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
242         * rt/aio_fsync.c: Likewise.
243         * rt/aio_misc.c: Likewise.
244         * rt/aio_misc.h: Likewise.
245         * rt/aio_read.c: Likewise.
246         * rt/aio_read64.c: Likewise.
247         * rt/aio_suspend.c: Likewise.
248         * rt/aio_write.c: Likewise.
249         * rt/aio_write64.c: Likewise.
250         * rt/lio_listio.c: Likewise.
251         * rt/lio_listio64.c: Likewise.
252         * rt/aio_notify.c: New file.
254         * sysdeps/generic/bits/sigset.h: Pretty print.
256         * sysdeps/posix/pwrite.c: Define weak alias only if function is
257         really defined as __pwrite.
259         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
260         instead of pread64.
261         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
263         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
264         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
265         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
266         size in syscall.
267         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
268         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
269         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
270         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
271         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
272         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
273         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
274         for ACT being NULL.
275         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
276         RT signals.
277         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
278         __NR_pread is not defined.
279         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
280         __NR_pwrite is not defined.
282 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
284         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
285         handle for /etc/group back in some more cases.
286         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
287         handle for /etc/passwd back in some more cases.
288         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
289         handle for /etc/shadow back in some more cases.
291 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
293         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
294         beyound its size.
295         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
296         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
298 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
300         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
301         handling.  Don't use macros, we need functions.  Use inline functions
302         for optimization.
303         * sysdeps/wordsize-64/inttypes.h: Likewise.
304         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
305         and wcstoumax.
306         * sysdeps/wordsize-64/Makefile: Likewise.
307         * sysdeps/wordsize-32/Dist: Likewise.
308         * sysdeps/wordsize-64/Dist: Likewise.
309         * sysdeps/wordsize-32/strtoimax.c: New file.
310         * sysdeps/wordsize-32/strtoumax.c: New file.
311         * sysdeps/wordsize-32/wcstoimax.c: New file.
312         * sysdeps/wordsize-32/wcstoumax.c: New file.
313         * sysdeps/wordsize-64/strtoimax.c: New file.
314         * sysdeps/wordsize-64/strtoumax.c: New file.
315         * sysdeps/wordsize-64/wcstoimax.c: New file.
316         * sysdeps/wordsize-64/wcstoumax.c: New file.
318 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
320         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
321         that transparent union works.
322         * sysdeps/generic/wait4.c (__wait4): Likewise.
323         * sysdeps/generic/wait.c (__wait): Likewise.
325         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
326         size_t.
328         * sysdeps/generic/syscall.c (syscall): Return value and arg are
329         long, to match prototype.
331         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
332         have mremap() yet.
334         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
336         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
338         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
340         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
341         __rlim_t.
343         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
345         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
347         * io/sys/stat.h (S_ISLNK): Always false if we don't have
348         __S_IFLNK.
350         * sysdeps/standalone/close.c (_STDIO_H): Define before including
351         <bits/stdio_lim.h>.
352         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
354 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
356         * posix/sys/wait.h: Don't use transparent unions in C++.
358 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
360         * time/time.h: Add strfxtime.
362         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
363         sysv_signal, strfxtime, pread64, pwrite64.
365 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
367         Alpha changes for EGCS:
368         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
369         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
370         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
371         (_start): Likewise.
372         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
374 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
376         The kernel expects the arguments in a different order.
377         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
378         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
380         * FAQ.in: New file.
381         * gen-FAQ.pl: New file.
382         * Makefile (FAQ): Add rule to generate from FAQ.in.
384         * iconvdata/Makefile: Treat libJIS like the other modules.
386         * rt/librt.map: New file.
388         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
389         inclusion.
390         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
391         comment.
393 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
395         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
396         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
397         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
398         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
400 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
402         * string/bits/string2.h: Fix spellings.
404         * string/string.h: Fix spellings.
406 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
408         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
409         declaration to __syscall_rt_sigaction.
411         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
412         non-existant <sigcontext.h>.
414 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
416         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
417         typo.
419 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
421         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
423         * Makeconfig (shared-thread-library): Correct spelling.
425         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
426         <asm/pci.h>.
428 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
430         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
431         constants from Linux headers. Pointed out by
432         csmall@scooter.o.i.net. [PR libc/369]
434 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
436         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
438 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
440         * configure.in: If --enable-add-ons is given without an
441         argument, set the addons list to all subdirs with a configure
442         script.
444 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
446         * Makeconfig: Add shared-thread-library variable.
448         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
449         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
450         here.
451         * sysdeps/m68k/fpu/e_acos.c: Likewise.
452         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
453         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
454         * sysdeps/m68k/fpu/e_pow.c: Likewise.
455         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
456         * sysdeps/m68k/fpu/k_cos.c: Likewise.
457         * sysdeps/m68k/fpu/k_sin.c: Likewise.
458         * sysdeps/m68k/fpu/k_tan.c: Likewise.
459         * sysdeps/m68k/fpu/s_atan.c: Likewise.
460         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
461         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
462         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
463         * sysdeps/m68k/fpu/s_csin.c: Likewise.
464         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
465         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
466         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
467         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
468         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
469         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
470         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
471         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
472         * sysdeps/m68k/fpu/s_modf.c: Likewise.
473         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
474         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
475         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
477         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
478         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
479         * signal/Makefile (headers): Add bits/siginfo.h.
480         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
481         (distribute): Add testrtsig.h.
482         * signal/allocrtsig.c: New file.
483         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
484         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
485         __libc_current_sigrtmax.
486         * sysdeps/generic/sigqueue.c: New file.
487         * sysdeps/generic/sigtimedwait.c: New file.
488         * sysdeps/generic/sigwaitinfo.c: New file.
489         * sysdeps/generic/testrtsig.h: New file.
490         * sysdeps/generic/bits/siginfo.h: New file.
491         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
492         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
493         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
494         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
495         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
496         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
497         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
498         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
499         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
500         * sysdeps/unix/sysv/linux/sigpending.c: New file.
501         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
502         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
503         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
504         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
505         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
506         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
507         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
508         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
509         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
510         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
511         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
512         and _POSIX_REALTIME_SIGNALS.
513         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
514         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
515         update _NSIG.
516         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
517         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
518         definitions.
520         * Makefile (subdirs): Add rt.
521         * shlib-versions: Add entry for librt.
522         * rt/Makefile: New file.
523         * rt/aio.h: New file.
524         * rt/aio_cancel.c: New file.
525         * rt/aio_error.c: New file.
526         * rt/aio_fsync.c: New file.
527         * rt/aio_misc.c: New file.
528         * rt/aio_misc.h: New file.
529         * rt/aio_read.c: New file.
530         * rt/aio_read64.c: New file.
531         * rt/aio_return.c: New file.
532         * rt/aio_suspend.c: New file.
533         * rt/aio_write.c: New file.
534         * rt/aio_write64.c: New file.
535         * rt/lio_listio.c: New file.
536         * rt/lio_listio64.c: New file.
537         * sysdeps/generic/aio_sigqueue.c: New file.
538         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
539         * sysdeps/unix/sysv/linux/Dist: Add new files
540         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
541         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
542         rt_sigqueueinfo, rt_sigaction.
544         * posix/Makefile (headers): Add bits/environments.h.
545         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
546         and _CS_LFS_CFLAGS on 64bit platforms.
547         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
548         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
549         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
550         compilation modules.
551         * sysdeps/wordsize-32/bits/environments.h: New file.
552         * sysdeps/wordsize-64/bits/environments.h: New file.
554         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
555         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
556         __libc_pid.
557         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
558         0xf00baa.
560         * string/string.h: Add declaration of __strverscmp.
561         * string/strverscmp.c: Rename function ot __strverscmp and make old
562         name weak alias.
564         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
565         * sysdeps/generic/enbl-secure.c: Likewise.
566         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
568         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
570         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
572 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
574         * posix/sys/wait.h: Use __transparent_union__ instead of
575         transparent_union.  Reported by Roland McGrath.
577 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
579         * resolv/inet_neta.c (inet_neta): Change type of first parameter
580         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
581         [PR libc/366].
583         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
585         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
587 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
589         * grp/initgroups.c: Increase buffer if it is too small.
591 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
593         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
594         fields, this is no ISO C.  Reported by Andreas Jaeger.
596 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
598         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
600 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
602         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
603         _SYS_UTSNAME_H not _UTSNAME_H.
605 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
607         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
608         computing s_scale.
610 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
612         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
613         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
614         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
616         * math/libm-test.c (csqrt_test): Add testcase.
618 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
620         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
621         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
622         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
624 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
626         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
628 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
630         * math/libm-test.c (acos_test): Add more tests.
631         (asin_test): Likewise.
632         (atan_test): Likewise.
633         (exp_test): Likewise.
634         (sin_test): Likewise.
635         (sqrt_test): Likewise.
636         (cpow_test): Likewise.
637         (csqrt_test): Likewise.
638         (cexp_test): Correct typo in gcc version test.
640 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
642         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
643         <bits/setjmp.h>.
644         * sysdeps/arm/setjmp.S: Likewise.
646         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
648 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
650         * stdio/stdio.h: Add prototype for tmpfile64().
652 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
654         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
655         prototype to keep in step with libio version.
657         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
659 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
661         * sysdeps/generic/Makefile: Don't try to use make_siglist if
662         cross-compiling.
664 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
666         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
667         load GOT ptr before jumping to _exit.
668         Reported by Xavier Leroy.
670 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
672         * Makefile (subdirs): Add iconvdata and localedata.
674         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
676         * iconv/gconv_conf.c (read_conf_file): Little optimization.
678         * iconvdata/8bit-gap.c: New file.
679         * iconvdata/8bit-generic.c: Renamed from ...
680         * iconvdata/iso8859-generic.c: ...this.
681         * iconvdata/configure: Removed.
682         * iconvdata/Makefile: Add new modules and better rules.
683         * iconvdata/iso6937.c: Minor bug fixes.
684         * iconvdata/iso8859-1.c: Likewise.
685         * iconvdata/t61.c: Likewise.
686         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
687         Minor bug fixes.
688         * iconvdata/iso8859-3.c: Likewise.
689         * iconvdata/iso8859-4.c: Likewise.
690         * iconvdata/iso8859-5.c: Likewise.
691         * iconvdata/iso8859-6.c: Likewise.
692         * iconvdata/iso8859-7.c: Likewise.
693         * iconvdata/iso8859-8.c: Likewise.
694         * iconvdata/iso8859-9.c: Likewise.
695         * iconvdata/iso8859-10.c: Likewise.
696         * iconvdata/ebcdic-at-de-a.c: New file.
697         * iconvdata/ebcdic-at-de.c: New file.
698         * iconvdata/ebcdic-ca-fr.c: New file.
699         * iconvdata/hp-roman8.c: New file.
700         * iconvdata/koi-8.c: New file.
701         * iconvdata/koi8-r.c: New file.
702         * iconvdata/koi8-h.c: New file.
703         * iconvdata/latin-greek-1.c: New file.
704         * iconvdata/latin-greek-1.h: New file.
705         * iconvdata/latin-greek.c: New file.
706         * iconvdata/latin-greek.h: New file.
707         * iconvdata/jis0201.c: New file.
708         * iconvdata/jis0201.h: New file.
709         * iconvdata/jis0208.c: New file.
710         * iconvdata/jis0208.h: New file.
711         * iconvdata/jis0212.c: New file.
712         * iconvdata/jis0212.h: New file.
713         * iconvdata/sjis.c: New file.
714         * iconvdata/gap.pl: New file.  Script to generate table header.
715         * iconvdata/gaptab.pl: New file.
716         * iconvdata/gconv-modules: Add info about new modules.
718         * locale/programs/charmap.c: Also examine alias names given in charmap
719         files.
721         * localedata/*: Add to here from add-on.  We need the information
722         to generate tables for iconv.
724         Update from db-2.3.14.
725         * db2/Makefile: Updated.
726         * db2/config.h: Likewise.
727         * db2/db.h: Likewise.
728         * db2/db_int.h: Likewise.
729         * db2/btree/bt_cursor.c: Likewise.
730         * db2/btree/bt_delete.c: Likewise.
731         * db2/btree/bt_put.c: Likewise.
732         * db2/btree/bt_search.c: Likewise.
733         * db2/btree/bt_split.c: Likewise.
734         * db2/btree/btree_auto.c: Likewise.
735         * db2/common/db_appinit.c: Likewise.
736         * db2/common/db_apprec.c: Likewise.
737         * db2/common/db_err.c: Likewise.
738         * db2/common/db_region.c: Likewise.
739         * db2/db/db_auto.c: Likewise.
740         * db2/db/db_dispatch.c: Likewise.
741         * db2/db/db_ret.c: Likewise.
742         * db2/dbm/dbm.c: Likewise.
743         * db2/hash/hash_auto.c: Likewise.
744         * db2/include/btree_ext.h: Likewise.
745         * db2/include/common_ext.h: Likewise.
746         * db2/include/db.h.src: Likewise.
747         * db2/include/db_cxx.h: Likewise.
748         * db2/include/db_ext.h: Likewise.
749         * db2/include/db_int.h.src: Likewise.
750         * db2/include/lock.h: Likewise.
751         * db2/include/log.h: Likewise.
752         * db2/include/mp.h: Likewise.
753         * db2/include/mp_ext.h: Likewise.
754         * db2/include/os_ext.h: Likewise.
755         * db2/include/os_func.h: Likewise.
756         * db2/lock/lock.c: Likewise.
757         * db2/lock/lock_deadlock.c: Likewise.
758         * db2/log/log.c: Likewise.
759         * db2/log/log_archive.c: Likewise.
760         * db2/log/log_auto.c: Likewise.
761         * db2/log/log_get.c: Likewise.
762         * db2/log/log_put.c: Likewise.
763         * db2/mp/mp_bh.c: Likewise.
764         * db2/mp/mp_fget.c: Likewise.
765         * db2/mp/mp_fopen.c: Likewise.
766         * db2/mp/mp_fput.c: Likewise.
767         * db2/mp/mp_fset.c: Likewise.
768         * db2/mp/mp_open.c: Likewise.
769         * db2/mp/mp_pr.c: Likewise.
770         * db2/mp/mp_region.c: Likewise.
771         * db2/mp/mp_sync.c: Likewise.
772         * db2/mutex/README: Likewise.
773         * db2/mutex/mutex.c: Likewise.
774         * db2/os/os_open.c: Likewise.
775         * db2/os/os_func.c: Removed.
776         * db2/os/os_config.c: New file.
777         * db2/os/os_spin.c: New file.
778         * db2/txn/txn.c: Likewise.
779         * db2/txn/txn_auto.c: Likewise.
781 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
783         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
784         __typeof for C++ since this fails for class members.
785         Reported by Neal Becker <neal@ctd.comsat.com>.
787 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
789         * configure.in: Check for a working makeinfo (3.11 or better).
790         * config.make.in: Add MAKEINFO to be substituted.
791         * manual/Makefile: Don't update info if makeinfo is too old.
793 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
795         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
796         * sysdeps/alpha/__longjmp.S: Likewise.
797         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
798         not <bits/termios.h>.
800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
801         __llseek and make llseek and lseek64 weak aliases.
802         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
803         Patches by a sun <asun@zoology.washington.edu>.
805 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
807         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
808         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
809         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
810         * misc/sys/syslog.h: Clean up BSD header.
812 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
814         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
816         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
817         for ctan(+-inf,x).
818         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
819         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
821         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
822         csqrt (-1), ctanh(i*pi/4).
824 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
826         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
828 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
830         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
832 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
834         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
836 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
838         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
839         and use.  Define GETCWD_RETURN_TYPE instead and use it.
840         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
841         of GETCWD_STORYGE_CLASS and put the return type and the
842         `internal_function' in the right order for gcc 2.7.2.
844 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
846         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
847         incompatible with Linux 2.1.x.  Packages using modules
848         (e.g. modutils) should/do provide their own version.  Suggested by
849         Richard Henderson.
851         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
854         [$(subdir)=socket]: Remove sys/module.h.
856 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
858         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
859         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
861         * iconv/gconv_close.c: Correct freeing of descriptor data.
862         * iconv/gconv_simple.c: Return correct error values for illegal or
863         incomplete characters.
865         * Makefile (iconvdata/%): Special goal to simplify iconvdata
866         development.
867         * iconvdata/Makefile: New file.
868         * iconvdata/configure: Likewise.
869         * iconvdata/extra-module.mk: Likewise.
870         * iconvdata/gconv-modules: Likewise.
871         * iconvdata/iso6937.c: Likewise.
872         * iconvdata/iso8859-1.c: Likewise.
873         * iconvdata/iso8859-10.c: Likewise.
874         * iconvdata/iso8859-10.h: Likewise.
875         * iconvdata/iso8859-2.c: Likewise.
876         * iconvdata/iso8859-2.h: Likewise.
877         * iconvdata/iso8859-3.c: Likewise.
878         * iconvdata/iso8859-3.h: Likewise.
879         * iconvdata/iso8859-4.c: Likewise.
880         * iconvdata/iso8859-4.h: Likewise.
881         * iconvdata/iso8859-5.c: Likewise.
882         * iconvdata/iso8859-5.h: Likewise.
883         * iconvdata/iso8859-6.c: Likewise.
884         * iconvdata/iso8859-6.h: Likewise.
885         * iconvdata/iso8859-7.c: Likewise.
886         * iconvdata/iso8859-7.h: Likewise.
887         * iconvdata/iso8859-8.c: Likewise.
888         * iconvdata/iso8859-8.h: Likewise.
889         * iconvdata/iso8859-9.c: Likewise.
890         * iconvdata/iso8859-9.h: Likewise.
891         * iconvdata/iso8859-generic.c: Likewise.
892         * iconvdata/t61.c: Likewise.
894         * string/Makefile (routines): Add strcasestr.
895         * string/string.h: Add prototype for strcasestr.
896         * sysdeps/generic/strcasestr.c: New file.
897         * wcsmbs/mbrtowc.c: Simplify special case a bit.
898         * wcsmbs/wcrtomb.c: Likewise.
899         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
900         * wcsmbs/wcsnrtombs.c: Likewise.
901         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
902         partial character is read.
903         * wcsmbs/wcsrtombs.c: Likewise.
904         * wcsmbs/wmemrtombs.c: Likewise.
905         * wcsmbs/wmemrtowcs.c: Likewise.
907         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
908         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
909         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
910         * sysdeps/i386/elf/setjmp.S: Likewise.
911         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
912         <bits/termios.h>.
914         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
915         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
917         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
918         * sysvipc/sys/ipc.h: Likewise.
919         * sysvipc/sys/msg.h: Likewise.
920         * sysvipc/sys/sem.h: Likewise.
921         * sysvipc/sys/shm.h: Likewise.
923         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
924         used directly.
925         * sysdeps/alpha/bits/setjmp.h: Likewise.
926         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
927         * sysdeps/arm/bits/endian.h: Likewise.
928         * sysdeps/arm/bits/setjmp.h: Likewise.
929         * sysdeps/generic/bits/byteswap.h: Likewise.
930         * sysdeps/generic/bits/confname.h: Likewise.
931         * sysdeps/generic/bits/dirent.h: Likewise.
932         * sysdeps/generic/bits/dlfcn.h: Likewise.
933         * sysdeps/generic/bits/endian.h: Likewise.
934         * sysdeps/generic/bits/fenv.h: Likewise.
935         * sysdeps/generic/bits/huge_val.h: Likewise.
936         * sysdeps/generic/bits/in.h: Likewise.
937         * sysdeps/generic/bits/ioctl-types.h: Likewise.
938         * sysdeps/generic/bits/ioctls.h: Likewise.
939         * sysdeps/generic/bits/ipc.h: Likewise.
940         * sysdeps/generic/bits/msq.h: Likewise.
941         * sysdeps/generic/bits/poll.h: Likewise.
942         * sysdeps/generic/bits/resource.h: Likewise.
943         * sysdeps/generic/bits/sched.h: Likewise.
944         * sysdeps/generic/bits/sem.h: Likewise.
945         * sysdeps/generic/bits/setjmp.h: Likewise.
946         * sysdeps/generic/bits/shm.h: Likewise.
947         * sysdeps/generic/bits/sigaction.h: Likewise.
948         * sysdeps/generic/bits/sigcontext.h: Likewise.
949         * sysdeps/generic/bits/socket.h: Likewise.
950         * sysdeps/generic/bits/stat.h: Likewise.
951         * sysdeps/generic/bits/statfs.h: Likewise.
952         * sysdeps/generic/bits/stdio_lim.h: Likewise.
953         * sysdeps/generic/bits/termios.h: Likewise.
954         * sysdeps/generic/bits/time.h: Likewise.
955         * sysdeps/generic/bits/uio.h: Likewise.
956         * sysdeps/generic/bits/utmp.h: Likewise.
957         * sysdeps/generic/bits/utmpx.h: Likewise.
958         * sysdeps/generic/bits/utsname.h: Likewise.
959         * sysdeps/generic/bits/waitflags.h: Likewise.
960         * sysdeps/generic/bits/waitstatus.h: Likewise.
961         * sysdeps/gnu/bits/utmp.h: Likewise.
962         * sysdeps/gnu/bits/utmpx.h: Likewise.
963         * sysdeps/i386/bits/byteswap.h: Likewise.
964         * sysdeps/i386/bits/endian.h: Likewise.
965         * sysdeps/i386/bits/huge_val.h: Likewise.
966         * sysdeps/i386/bits/setjmp.h: Likewise.
967         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
968         * sysdeps/ieee754/bits/huge_val.h: Likewise.
969         * sysdeps/m68k/bits/byteswap.h: Likewise.
970         * sysdeps/m68k/bits/endian.h: Likewise.
971         * sysdeps/m68k/bits/setjmp.h: Likewise.
972         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
973         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
974         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
975         * sysdeps/mach/hurd/bits/stat.h: Likewise.
976         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
977         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
978         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
979         * sysdeps/mips/bits/dlfcn.h: Likewise.
980         * sysdeps/mips/bits/endian.h: Likewise.
981         * sysdeps/mips/bits/setjmp.h: Likewise.
982         * sysdeps/mips/dec/bits/endian.h: Likewise.
983         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
984         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
985         * sysdeps/mips/p40/bits/endian.h: Likewise.
986         * sysdeps/powerpc/bits/endian.h: Likewise.
987         * sysdeps/powerpc/bits/fenv.h: Likewise.
988         * sysdeps/powerpc/bits/setjmp.h: Likewise.
989         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
990         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
991         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
992         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
993         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
994         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
995         * sysdeps/unix/bsd/bits/stat.h: Likewise.
996         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
997         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
998         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
999         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
1000         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
1001         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
1002         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1003         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
1004         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
1005         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
1006         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
1007         * sysdeps/unix/common/bits/dirent.h: Likewise.
1008         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
1009         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1010         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1011         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1012         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
1013         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1014         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
1015         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1016         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1017         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
1018         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1019         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1020         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1021         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
1022         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1023         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
1024         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
1025         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1026         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1027         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1028         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1029         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1030         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1031         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1032         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1033         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
1034         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1035         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1036         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1037         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1038         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1039         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1040         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
1041         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
1042         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1043         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1044         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1045         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
1046         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
1047         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1048         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
1049         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1050         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1051         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1052         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1053         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1054         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1055         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1056         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
1058         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1060         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
1061         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1062         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1063         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1064         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
1065         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
1066         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
1067         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
1068         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
1069         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
1070         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
1071         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
1072         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
1073         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1074         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1075         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
1076         * sysdeps/vax/bits/huge_val.h: Likewise.
1077         * sysdeps/vax/bits/setjmp.h: Likewise.
1078         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
1079         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
1081 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1083         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
1085 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
1087         * strftime.c (strftime):
1088         No longer any need to undef or declare if emacs is defined.
1089         (my_strftime): When checking a -1 returned by mktime, don't blow up
1090         if localtime_r returns NULL.
1092 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1094         * README.template: Fix spelling.
1096 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1098         * configure.in: Enhance --enable-add-ons description a wee bit.
1100 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1102         * glibcbug.in: Add more information of build environment and flags.
1104 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1106         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
1107         it into ENOENT.
1109 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
1111         * elf/dl-support.c: Call __libc_init_secure to make sure
1112         __libc_enable_secure is defined early.
1113         * sysdeps/generic/enbl-secure.c: Change function name to
1114         __libc_init_secure and make it global instead of a constructor.
1116         * iconv/gconv.c: Fix lots of bugs.
1117         * iconv/gconv.h: Likewise.
1118         * iconv/gconv_builtin.h: Likewise.
1119         * iconv/gconv_close.c: Likewise.
1120         * iconv/gconv_conf.c: Likewise.
1121         * iconv/gconv_db.c: Likewise.
1122         * iconv/gconv_dl.c: Likewise.
1123         * iconv/gconv_open.c: Likewise.
1124         * iconv/gconv_simple.c: Likewise.
1125         * iconv/iconv.c: Likewise.
1126         * iconv/iconv_close.c: Likewise.
1127         * iconv/iconv_open.c: Likewise.
1129         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
1130         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
1131         * wcsmbs/wmemrtombs.c: New file.
1132         * wcsmbs/wmemrtowcs.c: New file.
1134 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
1136         * iconv/gconv_simple.c: Fix lots of bugs.
1137         * iconv/iconv_open.c: Normalize names before passing them to
1138         __gconv_open.
1140         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
1142         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
1143         * stdio-common/test-popen.c: Add test for above change.
1145         * math/libm-test.c: Print test results also using %a format,
1146         specified in PRINTF_XEXPR macro.
1147         * math/test-double.c: Define PRINTF_XEXPR.
1148         * math/test-float.c: Likewise.
1149         * math/test-ldouble.c: Likewise.
1150         * math/test-idouble.c: Likewise.
1151         * math/test-ifloat.c: Likewise.
1152         * math/test-ildoubl.c: Likewise.
1154         * stdio-common/vfscanf.c: Recognize a in format specifier only as
1155         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
1156         FP number format.
1158         * stdlib/strtod.c: Little code cleanup.
1160         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
1161         compiling in math subdir.
1163         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
1164         instead of __LIBC_M81_MATH_INLINES.
1165         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1166         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1167         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1168         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1169         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1170         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1171         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1172         * sysdeps/m68k/fpu/s_atan.c: Likewise.
1173         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1174         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1175         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1176         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1177         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1178         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1179         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1180         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1181         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1182         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1183         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1184         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1185         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1186         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1187         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1188         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1189         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
1190         __LIBC_INTERNAL_MATH_INLINES is defined.
1192         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
1193         of compare macros from ISO C 9X.  Optimize generic versions a bit.
1194         Define __signbit inline functions and __ieee754_sqrt which can be
1195         used if the ompiler is fixed.
1197         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1199 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1201         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
1202         sysdeps/generic in the whole dep file, not only in the first line.
1204 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1206         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
1208 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1210         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
1211         place.
1213 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1215         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
1216         is non-empty.
1218 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1220         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1221         return value.
1223 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
1225         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
1226         readlink succeeds but the return value is too long.
1228         * stdio-common/printf_fphex.c: Determine sign of number correctly.
1230 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
1232         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
1233         __remqu for Alpha.
1235 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
1237         * sysdeps/generic/sys/ucontext.h: Stub context file.
1239         * libio/iofprintf.c: Removed.  We use the stdio-common version.
1241         * manual/Makefile (distribute): Add stdio-fp.c.
1243         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
1245         * db2/Makefile (distribute): Add include/os_func.h, README and
1246         mutex/tsl_parisc.s.
1248         * hesiod/Makefile (distribute): Add README.hesiod.
1250 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
1252         * iconv/gconv.c: Correctly call transformation function.
1254         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
1256 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1258         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
1259         wrong results for e.g. remquo (3,2, &x)).
1260         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
1261         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
1263 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1265         * configure.in (ld --version-script): Test if the same symbol
1266         maybe defined in all versions (needed by recent changes to
1267         libc.map and supported with binutils 2.8.1.0.17) and issue warning
1268         if versioning is not supported/enabled.
1269         (bash test): Correct test case.
1271         * math/libm-test.c: Added counting/reporting of number of test cases.
1273         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
1274         use awk instead.
1276         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
1278 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1280         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
1282 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1284         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1285         Replace revoke call by use of REVOKE.
1286         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1287         empty and #include generic version.
1288         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1290 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
1292         * libc.map: Add socket functions with __libc_* names.
1293         Reported by Andreas Jaeger.
1295 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1297         * libc.map: Tidy up (remove duplicates, sort entries).
1299 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1301         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
1303 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1305         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1306         again after successful call.
1307         Patch by Marc Lehmann <pcg@goof.com>.
1309 1997-11-17  Paul Eggert  <eggert@twinsun.com>
1311         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
1312         as some hosts need this to declare localtime_r properly.
1314 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
1316         * libc.map: Add iconv_open, iconv, and iconv_close.
1318 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1320         * iconv/Makefile: New file.
1321         * iconv/gconv.c: New file.
1322         * iconv/gconv.h: New file.
1323         * iconv/gconv_builtin.c: New file.
1324         * iconv/gconv_builtin.h: New file.
1325         * iconv/gconv_close.c: New file.
1326         * iconv/gconv_conf.c: New file.
1327         * iconv/gconv_db.c: New file.
1328         * iconv/gconv_dl.c: New file.
1329         * iconv/gconv_open.c: New file.
1330         * iconv/gconv_simple.c: New file.
1331         * iconv/iconv.c: New file.
1332         * iconv/iconv.h: New file.
1333         * iconv/iconv_close.c: New file.
1334         * iconv/iconv_open.c: New file.
1335         * include/gconv.h: New file.
1337         * Makeconfig: Define gconvdir.
1338         * Makefile (subdirs): Add iconv.
1340         * string/bits/string2.h: Add optimization for strtok_r.
1342         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1343         for NULL.
1344         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1345         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1347         * configure.in: Correct test for bash2.
1348         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1350         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1351         (CFLAGS-locfile.c): Likewise.
1352         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1354         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1355         non-existing entry if the table is full.
1357         * posix/regex.h: Pretty print.
1359         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1361         * sysdeps/posix/ctermid.c: Simplify a bit.
1363         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
1365 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1367         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
1368         <sys/types.h> instead of <asm/types.h>.
1370 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1372         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
1374 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
1376         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
1377         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
1378         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
1379         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
1380         fclose): Added to GLIBC_2.1.
1382         * libio/Makefile (routines, shared-only-routines): Add
1383         oldiofclose.  Remove oldfreopen.
1385         * libio/freopen.c (freopen): When PIC is defined, call
1386         _IO_old_freopen () for old stdio.
1388         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
1389         (_IO_fclose, fclose): Use _IO_new_fclose as default version
1390         for GLIBC_2.1.
1392         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
1393         instead of _IO_file_close_it.
1395         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
1396         to _IO_2_1_stdxxx_.
1397         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
1398         is defined.
1400         * libio/libioP.h (_IO_old_do_flush): New.
1402         * libio/oldfileops.c (_IO_old_file_close_it,
1403         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
1404         Call _IO_old_do_flush () instead of _IO_do_flush ().
1405         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
1406         _IO_do_write ().
1408         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
1409         instead of _IO_file_init ().
1410         Bind old symbols to version GLIBC_2.0.
1412         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
1413         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
1414         _IO_stdxxx_.
1415         (_IO_check_libio): New function in .init.
1417         * libio/oldiofclose.c: New file.
1419         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
1420         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
1421         (DEF_STDFILE): Don't use default_symbol_version.
1423         * libio/stdio.c (stdin, stdout, stderr): Set to
1424         _IO_2_1_stdxxx_._
1425         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
1426         stdxxx.
1428         * csu/Makefile (distribute): Add init.c.
1429         (extra-objs): Add init.o for ELF.
1430         (start-installed-name): Add $(objpfx)init.o.
1432         * csu/init.c: New file.
1434 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1436         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
1437         definition as the default.
1439 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
1441         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
1443 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1445         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
1446         (PR 351).
1448 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
1450         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
1451         to preserve condition codes on function call.
1453 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1455         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
1457 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1459         * math/libm-test.c (asin_test): Add epsilon for float.
1460         (tan_test): Add epsilon for float.
1461         (log1p_test): Add epsilon for float.
1462         (inverse_functions): Add epsilons.
1464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
1465         net/if_packet.h.
1467         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
1469 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1471         * md5-crypt/Makefile (extra-objs): Make recursively expanded
1472         variable, since $(object-suffixes) is not defined yet.
1474 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1476         * db2/Makefile (distribute): db185/db185_int.src ->
1477         db185/db185_int.h.
1479 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1481         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
1482         exactly one.
1484 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1486         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
1487         name.
1488         * sysdeps/generic/e_acosl.c: Likewise.
1489         * sysdeps/generic/e_asinl.c: Likewise.
1490         * sysdeps/generic/e_atan2l.c: Likewise.
1491         * sysdeps/generic/e_expl.c: Likewise.
1492         * sysdeps/generic/e_fmodl.c: Likewise.
1493         * sysdeps/generic/e_j0l.c: Likewise.
1494         * sysdeps/generic/e_j1l.c: Likewise.
1495         * sysdeps/generic/e_jnl.c: Likewise.
1496         * sysdeps/generic/e_lgammal_r.c: Likewise.
1497         * sysdeps/generic/e_log10l.c: Likewise.
1498         * sysdeps/generic/e_logl.c: Likewise.
1499         * sysdeps/generic/e_powl.c: Likewise.
1500         * sysdeps/generic/e_sqrtl.c: Likewise.
1501         * sysdeps/generic/e_exp2l.c: Likewise.
1503 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1505         * Make-dist (+sysdep-names): Remove extra paren.
1506         * Makefile (distribute): Add stub-tag.h.
1507         * elf/Makefile (distribute): Add atomicity.h.
1508         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
1509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1510         [$(subdir)=socket]: Add net/if_packet.h.
1511         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1512         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
1513         net/if_packet.h, scsi/sg.h.
1515 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1517         * Makefile (install): Quote $(CC) expansion.
1519 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1521         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
1522         working /proc cwd and no restrictions on path length.  Following
1523         some ideas from Andi Kleen <ak@muc.de> (PR 350).
1525 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1527         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
1528         * nis/nss_compat/compat-pwd.c: Likewise.
1529         * nis/nss_compat/compat-spwd.c: Likewise.
1531 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
1533         * sysdeps/libm-i387/s_fdim.S: New file.
1534         * sysdeps/libm-i387/s_fdimf.S: New file.
1535         * sysdeps/libm-i387/s_fdiml.S: New file.
1536         * sysdeps/libm-i387/i686/s_fdim.S: New file.
1537         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
1538         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
1540 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1542         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
1543         pointer to unsigned char.
1545 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1547         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
1549         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
1551         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
1553 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1555         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
1556         ilogb(0/NaN).
1557         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
1558         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
1560 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
1562         * sysdeps/libm-i387/s_fmin.S: New file.
1563         * sysdeps/libm-i387/s_fminf.S: New file.
1564         * sysdeps/libm-i387/s_fminl.S: New file.
1565         * sysdeps/libm-i387/s_fmax.S: New file.
1566         * sysdeps/libm-i387/s_fmaxf.S: New file.
1567         * sysdeps/libm-i387/s_fmaxl.S: New file.
1568         * sysdeps/libm-i387/i686/s_fmin.S: New file.
1569         * sysdeps/libm-i387/i686/s_fminf.S: New file.
1570         * sysdeps/libm-i387/i686/s_fminl.S: New file.
1571         * sysdeps/libm-i387/i686/s_fmax.S: New file.
1572         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
1573         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
1575 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1577         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1578         * sysdeps/unix/sysv/linux/send.S: Likewise.
1579         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1580         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1581         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1582         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1583         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1584         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1585         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
1587 See ChangeLog.7 for earlier changes.