Wrapper around resource/ulimit.h.
[glibc/history.git] / ChangeLog
blob841c2d9afa3e4d3e361c2c66fcf8c8f2f5ee7aba
1 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
3         * version.h (VERSION): Bump to 2.0.91.
5         * db2/makedb.c (process_input): Fix typo in message.
6         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
8         * elf/dynamic-link.h: Pretty print.
10         * elf/rtld.c: Allow multiple preloading of a shared object.
12         * include/limits.h: Prevent multiple inclusion.
14         * malloc/Makefile (headers): Add mcheck.h.
15         (distribute): Remove it here.
16         * malloc/mcheck.h: Pretty print.
17         * malloc/mtrace.c (mallenv): Make `const'.
18         * malloc/mtrace.pl: Don't print table head for memory leaks if there
19         are none.
20         * manual/memory.texi: Update descriptor of malloc hooks.
22         * posix/Makefile (routines): Add waitid.
23         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
24         on __id_t.
25         * posix/sys/wait.h: Define idtype_t type.
26         Add prototype for waitid.
27         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
28         * sysdeps/generic/waitid.c: Stub for waitid.
29         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
30         the __need_siginfo_t defined.
31         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
32         * sysdeps/generic/bits/types.h: Define __id_t.
33         Correct definition of __FDMASK.
34         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
35         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
36         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
38         * sysdeps/posix/waitid.c: New file.
39         Provided by Zack Weinberg.
41         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
43         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
44         Add missing parameters.
46         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
47         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
48         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
49         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
50         initialized.
52         * sysdeps/i386/dl-machine.h: Little cleanup.
54         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
55         (__finite): Mark function as const.
56         Add inline code for __ieee754_atan2.
58         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
59         (but don't use it now).
60         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
61         __atan.
62         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
63         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
64         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
65         real part.
66         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
67         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
68         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
69         __ieee754_atan2 to base 10.
70         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
71         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
73         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
74         old_kernel_sigaction.
76         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
78         * wctype/Makefile (routines): Add wctype_l.
79         * wctype/wctype.h: Add declaration of __wctype_l.
80         * wctype/wctype_l.c: New file.
82 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
84         * locale/C-ctype.c: Correct data for isw* functions.
85         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
86         byte order.
87         * wctype/test_wctype.c: Add test for isw* functions.
88         * wctype/wctype.c: Return value with expected byte order.
90 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
92         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
94 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
96         * iconvdata/Makefile: Fix a typo.
98         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
99         oldsiglist for shared library.
101         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
102         sys_sigabbrev): Make them as the default version GLIBC_2.1.
104         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
105         sys_siglist, sys_sigabbrev): New file. Make them as the old
106         version GLIBC_2.0.
108         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
109         to GLIBC_2.1.
111 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
113         * libio/iofgets.c (_IO_fgets): Return an error only if there
114         is a new error.
115         * libio/iogets.c (_IO_gets): Ditto.
117 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
119         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
121         * libio/Makefile (routines, shared-only-routines): Add
122         oldiofdopen.
124         * libio/fileops.c: Don't use _IO_FILE_complete.
125         * libio/iofdopen.c: Ditto.
126         * libio/iofopen.c: Ditto.
127         * libio/iofopen64.c: Ditto.
128         * libio/iopopen.c: Ditto.
129         * libio/iovdprintf.c: Ditto.
131         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
133         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
134         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
136         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
137         _IO_old_fdopen, _IO_new_fdopen): New declaration.
139         * libio/libio.h (_IO_FILE): Add more fields.
140         (_IO_FILE_complete): Defined and make _IO_FILE be the old
141         one if _IO_USE_OLD_IO_FILE is defined
142         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
143         them _IO_FILE_complete.
145         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
146         to adjust vtable.
147         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
148         _IO_JUMPS.
149         (_IO_FILE_complete): Commented out.
151         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
152         * libio/oldiofclose.c: Ditto.
153         * libio/oldiofopen.c: Ditto.
154         * libio/oldstdfiles.c: Ditto.
156         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
157         for the old _IO_FILE.
159         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
160         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
161         and stderr.
163         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
164         and remove INAME.
166         * libio/stdio.c (stdin, stdout, stdin): Don't use
167         _IO_FILE_complete.
169         * libio/oldiofdopen.c: New.
171         * stdio-common/vfprintf.c (buffered_vfprintf): Set
172         hp->_vtable_offset to 0.
174 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
176         * libc.map (_IO_file_open): Added.
178         * libio/libioP.h (_IO_file_open): Declared.
180         * libio/fileops.c (_IO_file_open): New.
181         (_IO_file_fopen): Call _IO_file_open ().
183         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
184         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
186 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
188         * signal/signal.h: Fix selection of signal semantics to match
189         comment.
191 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
193         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
194         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
195         rt_sigreturn.
196         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
197         [$(subdir)=signal]: Remove rt_sigreturn.
198         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
199         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
200         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
202 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
204         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
205         declarations.
207 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
209         * iconvdata/extra-module.mk: Expand extra-objs now.
211 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
213         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
214         inline functions by feature tests to avoid warning about missing
215         prototype declarations.
217 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
219         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
220         return code for non existent +name entries.
221         * nis/nss_compat/compat-pwd.c: Likewise.
222         * nis/nss_compat/compat-spwd.c: Likewise.
224 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
226         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
227         (EIO): Likewise.
228         (ENOSPC): Likewise.
229         (EEXIST): Likewise.
230         (__errno_location): Likewise.
232         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
234         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
236 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
238         * sunrpc/publickey.c: Use new NSS interface.
240 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
242         * manual/malloc.texi: Document mtrace/muntrace and the concept.
244 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
246         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
247         value, to match spirit of the standard.
248         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
249         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
250         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
252 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
254         * manual/signal.texi (Signal Stack): Remove spurious @item.
256 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
258         * rt/aio.h: Remove double semicolon.
260         * rt/librt.map: Add aio_init.
262 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
264         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
265         * Makefile (subdirs): Replace rt by $(rt).
267         * shlib-versions: Use version .2 for NSS modules.
269         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
270         argument.
271         * pwd/fgetpwent_r.c: Likewise.
272         * spwd/fgetspent_r.c: Likewise.
273         * spwd/sgetspent_r.c: Likewise.
274         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
275         Store error number in *ERRNOP.  Little optimization.
276         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
277         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
278         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
279         (__internal_getnetgrent_r): New argument.
280         Call __internal_setnetgrent_reuse with new argument.
281         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
282         * inet/netgroup.h: Add argument to prototypes.
283         * nis/nisplus-parser.h: Likewise.
284         * nis/nss_compat/compat-grp.c: Change everything to store error
285         code through provided pointer and not use errno.
286         * nis/nss_compat/compat-pwd.c: Likewise.
287         * nis/nss_compat/compat-spwd.c: Likewise.
288         * nis/nss_nis/nis-alias.c: Likewise.
289         * nis/nss_nis/nis-ethers.c: Likewise.
290         * nis/nss_nis/nis-grp.c: Likewise.
291         * nis/nss_nis/nis-hosts.c: Likewise.
292         * nis/nss_nis/nis-netgrp.c: Likewise.
293         * nis/nss_nis/nis-network.c: Likewise.
294         * nis/nss_nis/nis-proto.c: Likewise.
295         * nis/nss_nis/nis-publickey.c: Likewise.
296         * nis/nss_nis/nis-pwd.c: Likewise.
297         * nis/nss_nis/nis-rpc.c: Likewise.
298         * nis/nss_nis/nis-service.c: Likewise.
299         * nis/nss_nis/nis-spwd.c: Likewise.
300         * nis/nss_nisplus/nisplus-alias.c: Likewise.
301         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
302         * nis/nss_nisplus/nisplus-grp.c: Likewise.
303         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
304         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
305         * nis/nss_nisplus/nisplus-network.c: Likewise.
306         * nis/nss_nisplus/nisplus-parser.c: Likewise.
307         * nis/nss_nisplus/nisplus-proto.c: Likewise.
308         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
309         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
310         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
311         * nis/nss_nisplus/nisplus-service.c: Likewise.
312         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
313         * nss/nss_db/db-XXX.c: Likewise.
314         * nss/nss_db/db-alias.c: Likewise.
315         * nss/nss_db/db-netgrp.c: Likewise.
316         * nss/nss_files/files-XXX.c: Likewise
317         * nss/nss_files/files-alias.c: Likewise
318         * nss/nss_files/files-netgrp.c: Likewise
319         * nss/nss_files/files-parse.c: Likewise
320         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
321         parameter of get functions.
322         * nss/getXXent_r.c: Likewise.
324         * localedata/tst-fmon.c: Print debug info if test fails.
326         * rt/Makefile (routines): Add aio_notify.
327         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
328         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
329         * rt/aio_fsync.c: Likewise.
330         * rt/aio_misc.c: Likewise.
331         * rt/aio_misc.h: Likewise.
332         * rt/aio_read.c: Likewise.
333         * rt/aio_read64.c: Likewise.
334         * rt/aio_suspend.c: Likewise.
335         * rt/aio_write.c: Likewise.
336         * rt/aio_write64.c: Likewise.
337         * rt/lio_listio.c: Likewise.
338         * rt/lio_listio64.c: Likewise.
339         * rt/aio_notify.c: New file.
341         * sysdeps/generic/bits/sigset.h: Pretty print.
343         * sysdeps/posix/pwrite.c: Define weak alias only if function is
344         really defined as __pwrite.
346         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
347         instead of pread64.
348         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
350         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
351         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
352         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
353         size in syscall.
354         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
355         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
356         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
357         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
358         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
359         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
360         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
361         for ACT being NULL.
362         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
363         RT signals.
364         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
365         __NR_pread is not defined.
366         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
367         __NR_pwrite is not defined.
369 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
371         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
372         handle for /etc/group back in some more cases.
373         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
374         handle for /etc/passwd back in some more cases.
375         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
376         handle for /etc/shadow back in some more cases.
378 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
380         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
381         beyound its size.
382         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
383         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
385 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
387         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
388         handling.  Don't use macros, we need functions.  Use inline functions
389         for optimization.
390         * sysdeps/wordsize-64/inttypes.h: Likewise.
391         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
392         and wcstoumax.
393         * sysdeps/wordsize-64/Makefile: Likewise.
394         * sysdeps/wordsize-32/Dist: Likewise.
395         * sysdeps/wordsize-64/Dist: Likewise.
396         * sysdeps/wordsize-32/strtoimax.c: New file.
397         * sysdeps/wordsize-32/strtoumax.c: New file.
398         * sysdeps/wordsize-32/wcstoimax.c: New file.
399         * sysdeps/wordsize-32/wcstoumax.c: New file.
400         * sysdeps/wordsize-64/strtoimax.c: New file.
401         * sysdeps/wordsize-64/strtoumax.c: New file.
402         * sysdeps/wordsize-64/wcstoimax.c: New file.
403         * sysdeps/wordsize-64/wcstoumax.c: New file.
405 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
407         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
408         that transparent union works.
409         * sysdeps/generic/wait4.c (__wait4): Likewise.
410         * sysdeps/generic/wait.c (__wait): Likewise.
412         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
413         size_t.
415         * sysdeps/generic/syscall.c (syscall): Return value and arg are
416         long, to match prototype.
418         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
419         have mremap() yet.
421         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
423         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
425         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
427         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
428         __rlim_t.
430         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
432         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
434         * io/sys/stat.h (S_ISLNK): Always false if we don't have
435         __S_IFLNK.
437         * sysdeps/standalone/close.c (_STDIO_H): Define before including
438         <bits/stdio_lim.h>.
439         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
441 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
443         * posix/sys/wait.h: Don't use transparent unions in C++.
445 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
447         * time/time.h: Add strfxtime.
449         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
450         sysv_signal, strfxtime, pread64, pwrite64.
452 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
454         Alpha changes for EGCS:
455         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
456         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
457         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
458         (_start): Likewise.
459         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
461 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
463         The kernel expects the arguments in a different order.
464         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
465         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
467         * FAQ.in: New file.
468         * gen-FAQ.pl: New file.
469         * Makefile (FAQ): Add rule to generate from FAQ.in.
471         * iconvdata/Makefile: Treat libJIS like the other modules.
473         * rt/librt.map: New file.
475         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
476         inclusion.
477         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
478         comment.
480 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
482         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
483         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
484         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
485         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
487 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
489         * string/bits/string2.h: Fix spellings.
491         * string/string.h: Fix spellings.
493 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
495         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
496         declaration to __syscall_rt_sigaction.
498         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
499         non-existant <sigcontext.h>.
501 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
503         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
504         typo.
506 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
508         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
510         * Makeconfig (shared-thread-library): Correct spelling.
512         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
513         <asm/pci.h>.
515 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
517         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
518         constants from Linux headers. Pointed out by
519         csmall@scooter.o.i.net. [PR libc/369]
521 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
523         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
525 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
527         * configure.in: If --enable-add-ons is given without an
528         argument, set the addons list to all subdirs with a configure
529         script.
531 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
533         * Makeconfig: Add shared-thread-library variable.
535         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
536         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
537         here.
538         * sysdeps/m68k/fpu/e_acos.c: Likewise.
539         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
540         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
541         * sysdeps/m68k/fpu/e_pow.c: Likewise.
542         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
543         * sysdeps/m68k/fpu/k_cos.c: Likewise.
544         * sysdeps/m68k/fpu/k_sin.c: Likewise.
545         * sysdeps/m68k/fpu/k_tan.c: Likewise.
546         * sysdeps/m68k/fpu/s_atan.c: Likewise.
547         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
548         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
549         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
550         * sysdeps/m68k/fpu/s_csin.c: Likewise.
551         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
552         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
553         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
554         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
555         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
556         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
557         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
558         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
559         * sysdeps/m68k/fpu/s_modf.c: Likewise.
560         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
561         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
562         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
564         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
565         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
566         * signal/Makefile (headers): Add bits/siginfo.h.
567         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
568         (distribute): Add testrtsig.h.
569         * signal/allocrtsig.c: New file.
570         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
571         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
572         __libc_current_sigrtmax.
573         * sysdeps/generic/sigqueue.c: New file.
574         * sysdeps/generic/sigtimedwait.c: New file.
575         * sysdeps/generic/sigwaitinfo.c: New file.
576         * sysdeps/generic/testrtsig.h: New file.
577         * sysdeps/generic/bits/siginfo.h: New file.
578         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
579         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
580         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
581         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
582         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
583         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
584         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
585         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
586         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
587         * sysdeps/unix/sysv/linux/sigpending.c: New file.
588         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
589         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
590         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
591         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
592         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
593         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
594         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
595         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
596         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
597         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
598         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
599         and _POSIX_REALTIME_SIGNALS.
600         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
601         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
602         update _NSIG.
603         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
604         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
605         definitions.
607         * Makefile (subdirs): Add rt.
608         * shlib-versions: Add entry for librt.
609         * rt/Makefile: New file.
610         * rt/aio.h: New file.
611         * rt/aio_cancel.c: New file.
612         * rt/aio_error.c: New file.
613         * rt/aio_fsync.c: New file.
614         * rt/aio_misc.c: New file.
615         * rt/aio_misc.h: New file.
616         * rt/aio_read.c: New file.
617         * rt/aio_read64.c: New file.
618         * rt/aio_return.c: New file.
619         * rt/aio_suspend.c: New file.
620         * rt/aio_write.c: New file.
621         * rt/aio_write64.c: New file.
622         * rt/lio_listio.c: New file.
623         * rt/lio_listio64.c: New file.
624         * sysdeps/generic/aio_sigqueue.c: New file.
625         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
626         * sysdeps/unix/sysv/linux/Dist: Add new files
627         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
628         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
629         rt_sigqueueinfo, rt_sigaction.
631         * posix/Makefile (headers): Add bits/environments.h.
632         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
633         and _CS_LFS_CFLAGS on 64bit platforms.
634         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
635         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
636         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
637         compilation modules.
638         * sysdeps/wordsize-32/bits/environments.h: New file.
639         * sysdeps/wordsize-64/bits/environments.h: New file.
641         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
642         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
643         __libc_pid.
644         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
645         0xf00baa.
647         * string/string.h: Add declaration of __strverscmp.
648         * string/strverscmp.c: Rename function ot __strverscmp and make old
649         name weak alias.
651         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
652         * sysdeps/generic/enbl-secure.c: Likewise.
653         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
655         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
657         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
659 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
661         * posix/sys/wait.h: Use __transparent_union__ instead of
662         transparent_union.  Reported by Roland McGrath.
664 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
666         * resolv/inet_neta.c (inet_neta): Change type of first parameter
667         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
668         [PR libc/366].
670         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
672         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
674 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
676         * grp/initgroups.c: Increase buffer if it is too small.
678 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
680         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
681         fields, this is no ISO C.  Reported by Andreas Jaeger.
683 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
685         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
687 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
689         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
690         _SYS_UTSNAME_H not _UTSNAME_H.
692 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
694         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
695         computing s_scale.
697 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
699         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
700         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
701         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
703         * math/libm-test.c (csqrt_test): Add testcase.
705 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
707         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
708         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
709         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
711 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
713         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
715 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
717         * math/libm-test.c (acos_test): Add more tests.
718         (asin_test): Likewise.
719         (atan_test): Likewise.
720         (exp_test): Likewise.
721         (sin_test): Likewise.
722         (sqrt_test): Likewise.
723         (cpow_test): Likewise.
724         (csqrt_test): Likewise.
725         (cexp_test): Correct typo in gcc version test.
727 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
729         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
730         <bits/setjmp.h>.
731         * sysdeps/arm/setjmp.S: Likewise.
733         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
735 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
737         * stdio/stdio.h: Add prototype for tmpfile64().
739 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
741         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
742         prototype to keep in step with libio version.
744         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
746 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
748         * sysdeps/generic/Makefile: Don't try to use make_siglist if
749         cross-compiling.
751 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
753         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
754         load GOT ptr before jumping to _exit.
755         Reported by Xavier Leroy.
757 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
759         * Makefile (subdirs): Add iconvdata and localedata.
761         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
763         * iconv/gconv_conf.c (read_conf_file): Little optimization.
765         * iconvdata/8bit-gap.c: New file.
766         * iconvdata/8bit-generic.c: Renamed from ...
767         * iconvdata/iso8859-generic.c: ...this.
768         * iconvdata/configure: Removed.
769         * iconvdata/Makefile: Add new modules and better rules.
770         * iconvdata/iso6937.c: Minor bug fixes.
771         * iconvdata/iso8859-1.c: Likewise.
772         * iconvdata/t61.c: Likewise.
773         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
774         Minor bug fixes.
775         * iconvdata/iso8859-3.c: Likewise.
776         * iconvdata/iso8859-4.c: Likewise.
777         * iconvdata/iso8859-5.c: Likewise.
778         * iconvdata/iso8859-6.c: Likewise.
779         * iconvdata/iso8859-7.c: Likewise.
780         * iconvdata/iso8859-8.c: Likewise.
781         * iconvdata/iso8859-9.c: Likewise.
782         * iconvdata/iso8859-10.c: Likewise.
783         * iconvdata/ebcdic-at-de-a.c: New file.
784         * iconvdata/ebcdic-at-de.c: New file.
785         * iconvdata/ebcdic-ca-fr.c: New file.
786         * iconvdata/hp-roman8.c: New file.
787         * iconvdata/koi-8.c: New file.
788         * iconvdata/koi8-r.c: New file.
789         * iconvdata/koi8-h.c: New file.
790         * iconvdata/latin-greek-1.c: New file.
791         * iconvdata/latin-greek-1.h: New file.
792         * iconvdata/latin-greek.c: New file.
793         * iconvdata/latin-greek.h: New file.
794         * iconvdata/jis0201.c: New file.
795         * iconvdata/jis0201.h: New file.
796         * iconvdata/jis0208.c: New file.
797         * iconvdata/jis0208.h: New file.
798         * iconvdata/jis0212.c: New file.
799         * iconvdata/jis0212.h: New file.
800         * iconvdata/sjis.c: New file.
801         * iconvdata/gap.pl: New file.  Script to generate table header.
802         * iconvdata/gaptab.pl: New file.
803         * iconvdata/gconv-modules: Add info about new modules.
805         * locale/programs/charmap.c: Also examine alias names given in charmap
806         files.
808         * localedata/*: Add to here from add-on.  We need the information
809         to generate tables for iconv.
811         Update from db-2.3.14.
812         * db2/Makefile: Updated.
813         * db2/config.h: Likewise.
814         * db2/db.h: Likewise.
815         * db2/db_int.h: Likewise.
816         * db2/btree/bt_cursor.c: Likewise.
817         * db2/btree/bt_delete.c: Likewise.
818         * db2/btree/bt_put.c: Likewise.
819         * db2/btree/bt_search.c: Likewise.
820         * db2/btree/bt_split.c: Likewise.
821         * db2/btree/btree_auto.c: Likewise.
822         * db2/common/db_appinit.c: Likewise.
823         * db2/common/db_apprec.c: Likewise.
824         * db2/common/db_err.c: Likewise.
825         * db2/common/db_region.c: Likewise.
826         * db2/db/db_auto.c: Likewise.
827         * db2/db/db_dispatch.c: Likewise.
828         * db2/db/db_ret.c: Likewise.
829         * db2/dbm/dbm.c: Likewise.
830         * db2/hash/hash_auto.c: Likewise.
831         * db2/include/btree_ext.h: Likewise.
832         * db2/include/common_ext.h: Likewise.
833         * db2/include/db.h.src: Likewise.
834         * db2/include/db_cxx.h: Likewise.
835         * db2/include/db_ext.h: Likewise.
836         * db2/include/db_int.h.src: Likewise.
837         * db2/include/lock.h: Likewise.
838         * db2/include/log.h: Likewise.
839         * db2/include/mp.h: Likewise.
840         * db2/include/mp_ext.h: Likewise.
841         * db2/include/os_ext.h: Likewise.
842         * db2/include/os_func.h: Likewise.
843         * db2/lock/lock.c: Likewise.
844         * db2/lock/lock_deadlock.c: Likewise.
845         * db2/log/log.c: Likewise.
846         * db2/log/log_archive.c: Likewise.
847         * db2/log/log_auto.c: Likewise.
848         * db2/log/log_get.c: Likewise.
849         * db2/log/log_put.c: Likewise.
850         * db2/mp/mp_bh.c: Likewise.
851         * db2/mp/mp_fget.c: Likewise.
852         * db2/mp/mp_fopen.c: Likewise.
853         * db2/mp/mp_fput.c: Likewise.
854         * db2/mp/mp_fset.c: Likewise.
855         * db2/mp/mp_open.c: Likewise.
856         * db2/mp/mp_pr.c: Likewise.
857         * db2/mp/mp_region.c: Likewise.
858         * db2/mp/mp_sync.c: Likewise.
859         * db2/mutex/README: Likewise.
860         * db2/mutex/mutex.c: Likewise.
861         * db2/os/os_open.c: Likewise.
862         * db2/os/os_func.c: Removed.
863         * db2/os/os_config.c: New file.
864         * db2/os/os_spin.c: New file.
865         * db2/txn/txn.c: Likewise.
866         * db2/txn/txn_auto.c: Likewise.
868 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
870         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
871         __typeof for C++ since this fails for class members.
872         Reported by Neal Becker <neal@ctd.comsat.com>.
874 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
876         * configure.in: Check for a working makeinfo (3.11 or better).
877         * config.make.in: Add MAKEINFO to be substituted.
878         * manual/Makefile: Don't update info if makeinfo is too old.
880 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
882         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
883         * sysdeps/alpha/__longjmp.S: Likewise.
884         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
885         not <bits/termios.h>.
887         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
888         __llseek and make llseek and lseek64 weak aliases.
889         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
890         Patches by a sun <asun@zoology.washington.edu>.
892 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
894         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
896         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
897         * misc/sys/syslog.h: Clean up BSD header.
899 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
901         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
903         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
904         for ctan(+-inf,x).
905         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
906         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
908         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
909         csqrt (-1), ctanh(i*pi/4).
911 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
913         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
915 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
917         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
919 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
921         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
923 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
925         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
926         and use.  Define GETCWD_RETURN_TYPE instead and use it.
927         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
928         of GETCWD_STORYGE_CLASS and put the return type and the
929         `internal_function' in the right order for gcc 2.7.2.
931 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
933         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
934         incompatible with Linux 2.1.x.  Packages using modules
935         (e.g. modutils) should/do provide their own version.  Suggested by
936         Richard Henderson.
938         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
941         [$(subdir)=socket]: Remove sys/module.h.
943 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
945         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
946         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
948         * iconv/gconv_close.c: Correct freeing of descriptor data.
949         * iconv/gconv_simple.c: Return correct error values for illegal or
950         incomplete characters.
952         * Makefile (iconvdata/%): Special goal to simplify iconvdata
953         development.
954         * iconvdata/Makefile: New file.
955         * iconvdata/configure: Likewise.
956         * iconvdata/extra-module.mk: Likewise.
957         * iconvdata/gconv-modules: Likewise.
958         * iconvdata/iso6937.c: Likewise.
959         * iconvdata/iso8859-1.c: Likewise.
960         * iconvdata/iso8859-10.c: Likewise.
961         * iconvdata/iso8859-10.h: Likewise.
962         * iconvdata/iso8859-2.c: Likewise.
963         * iconvdata/iso8859-2.h: Likewise.
964         * iconvdata/iso8859-3.c: Likewise.
965         * iconvdata/iso8859-3.h: Likewise.
966         * iconvdata/iso8859-4.c: Likewise.
967         * iconvdata/iso8859-4.h: Likewise.
968         * iconvdata/iso8859-5.c: Likewise.
969         * iconvdata/iso8859-5.h: Likewise.
970         * iconvdata/iso8859-6.c: Likewise.
971         * iconvdata/iso8859-6.h: Likewise.
972         * iconvdata/iso8859-7.c: Likewise.
973         * iconvdata/iso8859-7.h: Likewise.
974         * iconvdata/iso8859-8.c: Likewise.
975         * iconvdata/iso8859-8.h: Likewise.
976         * iconvdata/iso8859-9.c: Likewise.
977         * iconvdata/iso8859-9.h: Likewise.
978         * iconvdata/iso8859-generic.c: Likewise.
979         * iconvdata/t61.c: Likewise.
981         * string/Makefile (routines): Add strcasestr.
982         * string/string.h: Add prototype for strcasestr.
983         * sysdeps/generic/strcasestr.c: New file.
984         * wcsmbs/mbrtowc.c: Simplify special case a bit.
985         * wcsmbs/wcrtomb.c: Likewise.
986         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
987         * wcsmbs/wcsnrtombs.c: Likewise.
988         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
989         partial character is read.
990         * wcsmbs/wcsrtombs.c: Likewise.
991         * wcsmbs/wmemrtombs.c: Likewise.
992         * wcsmbs/wmemrtowcs.c: Likewise.
994         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
995         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
996         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
997         * sysdeps/i386/elf/setjmp.S: Likewise.
998         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
999         <bits/termios.h>.
1001         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
1002         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
1004         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
1005         * sysvipc/sys/ipc.h: Likewise.
1006         * sysvipc/sys/msg.h: Likewise.
1007         * sysvipc/sys/sem.h: Likewise.
1008         * sysvipc/sys/shm.h: Likewise.
1010         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
1011         used directly.
1012         * sysdeps/alpha/bits/setjmp.h: Likewise.
1013         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
1014         * sysdeps/arm/bits/endian.h: Likewise.
1015         * sysdeps/arm/bits/setjmp.h: Likewise.
1016         * sysdeps/generic/bits/byteswap.h: Likewise.
1017         * sysdeps/generic/bits/confname.h: Likewise.
1018         * sysdeps/generic/bits/dirent.h: Likewise.
1019         * sysdeps/generic/bits/dlfcn.h: Likewise.
1020         * sysdeps/generic/bits/endian.h: Likewise.
1021         * sysdeps/generic/bits/fenv.h: Likewise.
1022         * sysdeps/generic/bits/huge_val.h: Likewise.
1023         * sysdeps/generic/bits/in.h: Likewise.
1024         * sysdeps/generic/bits/ioctl-types.h: Likewise.
1025         * sysdeps/generic/bits/ioctls.h: Likewise.
1026         * sysdeps/generic/bits/ipc.h: Likewise.
1027         * sysdeps/generic/bits/msq.h: Likewise.
1028         * sysdeps/generic/bits/poll.h: Likewise.
1029         * sysdeps/generic/bits/resource.h: Likewise.
1030         * sysdeps/generic/bits/sched.h: Likewise.
1031         * sysdeps/generic/bits/sem.h: Likewise.
1032         * sysdeps/generic/bits/setjmp.h: Likewise.
1033         * sysdeps/generic/bits/shm.h: Likewise.
1034         * sysdeps/generic/bits/sigaction.h: Likewise.
1035         * sysdeps/generic/bits/sigcontext.h: Likewise.
1036         * sysdeps/generic/bits/socket.h: Likewise.
1037         * sysdeps/generic/bits/stat.h: Likewise.
1038         * sysdeps/generic/bits/statfs.h: Likewise.
1039         * sysdeps/generic/bits/stdio_lim.h: Likewise.
1040         * sysdeps/generic/bits/termios.h: Likewise.
1041         * sysdeps/generic/bits/time.h: Likewise.
1042         * sysdeps/generic/bits/uio.h: Likewise.
1043         * sysdeps/generic/bits/utmp.h: Likewise.
1044         * sysdeps/generic/bits/utmpx.h: Likewise.
1045         * sysdeps/generic/bits/utsname.h: Likewise.
1046         * sysdeps/generic/bits/waitflags.h: Likewise.
1047         * sysdeps/generic/bits/waitstatus.h: Likewise.
1048         * sysdeps/gnu/bits/utmp.h: Likewise.
1049         * sysdeps/gnu/bits/utmpx.h: Likewise.
1050         * sysdeps/i386/bits/byteswap.h: Likewise.
1051         * sysdeps/i386/bits/endian.h: Likewise.
1052         * sysdeps/i386/bits/huge_val.h: Likewise.
1053         * sysdeps/i386/bits/setjmp.h: Likewise.
1054         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1055         * sysdeps/ieee754/bits/huge_val.h: Likewise.
1056         * sysdeps/m68k/bits/byteswap.h: Likewise.
1057         * sysdeps/m68k/bits/endian.h: Likewise.
1058         * sysdeps/m68k/bits/setjmp.h: Likewise.
1059         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
1060         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
1061         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1062         * sysdeps/mach/hurd/bits/stat.h: Likewise.
1063         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
1064         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
1065         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
1066         * sysdeps/mips/bits/dlfcn.h: Likewise.
1067         * sysdeps/mips/bits/endian.h: Likewise.
1068         * sysdeps/mips/bits/setjmp.h: Likewise.
1069         * sysdeps/mips/dec/bits/endian.h: Likewise.
1070         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
1071         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
1072         * sysdeps/mips/p40/bits/endian.h: Likewise.
1073         * sysdeps/powerpc/bits/endian.h: Likewise.
1074         * sysdeps/powerpc/bits/fenv.h: Likewise.
1075         * sysdeps/powerpc/bits/setjmp.h: Likewise.
1076         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
1077         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1078         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
1079         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
1080         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
1081         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
1082         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1083         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
1084         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
1085         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1086         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
1087         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
1088         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
1089         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
1090         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
1091         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
1092         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
1093         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
1094         * sysdeps/unix/common/bits/dirent.h: Likewise.
1095         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
1096         * sysdeps/unix/sysv/bits/stat.h: Likewise.
1097         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1098         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1099         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
1100         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1101         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
1102         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
1103         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1104         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
1105         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1106         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1107         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
1108         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
1109         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1110         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
1111         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
1112         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1113         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1114         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
1115         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1116         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1117         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1118         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1119         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1120         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
1121         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1122         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1123         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
1124         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1125         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
1126         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1127         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
1128         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
1129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1130         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1131         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
1133         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
1134         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
1135         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
1136         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
1137         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
1138         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
1139         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1140         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1141         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
1142         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1143         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
1144         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1146         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
1149         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
1150         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1151         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
1152         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
1153         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
1154         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
1155         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
1156         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
1157         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
1158         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
1159         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
1160         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1161         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1162         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
1163         * sysdeps/vax/bits/huge_val.h: Likewise.
1164         * sysdeps/vax/bits/setjmp.h: Likewise.
1165         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
1166         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
1168 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1170         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
1172 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
1174         * strftime.c (strftime):
1175         No longer any need to undef or declare if emacs is defined.
1176         (my_strftime): When checking a -1 returned by mktime, don't blow up
1177         if localtime_r returns NULL.
1179 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1181         * README.template: Fix spelling.
1183 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1185         * configure.in: Enhance --enable-add-ons description a wee bit.
1187 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1189         * glibcbug.in: Add more information of build environment and flags.
1191 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1193         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
1194         it into ENOENT.
1196 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
1198         * elf/dl-support.c: Call __libc_init_secure to make sure
1199         __libc_enable_secure is defined early.
1200         * sysdeps/generic/enbl-secure.c: Change function name to
1201         __libc_init_secure and make it global instead of a constructor.
1203         * iconv/gconv.c: Fix lots of bugs.
1204         * iconv/gconv.h: Likewise.
1205         * iconv/gconv_builtin.h: Likewise.
1206         * iconv/gconv_close.c: Likewise.
1207         * iconv/gconv_conf.c: Likewise.
1208         * iconv/gconv_db.c: Likewise.
1209         * iconv/gconv_dl.c: Likewise.
1210         * iconv/gconv_open.c: Likewise.
1211         * iconv/gconv_simple.c: Likewise.
1212         * iconv/iconv.c: Likewise.
1213         * iconv/iconv_close.c: Likewise.
1214         * iconv/iconv_open.c: Likewise.
1216         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
1217         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
1218         * wcsmbs/wmemrtombs.c: New file.
1219         * wcsmbs/wmemrtowcs.c: New file.
1221 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
1223         * iconv/gconv_simple.c: Fix lots of bugs.
1224         * iconv/iconv_open.c: Normalize names before passing them to
1225         __gconv_open.
1227         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
1229         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
1230         * stdio-common/test-popen.c: Add test for above change.
1232         * math/libm-test.c: Print test results also using %a format,
1233         specified in PRINTF_XEXPR macro.
1234         * math/test-double.c: Define PRINTF_XEXPR.
1235         * math/test-float.c: Likewise.
1236         * math/test-ldouble.c: Likewise.
1237         * math/test-idouble.c: Likewise.
1238         * math/test-ifloat.c: Likewise.
1239         * math/test-ildoubl.c: Likewise.
1241         * stdio-common/vfscanf.c: Recognize a in format specifier only as
1242         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
1243         FP number format.
1245         * stdlib/strtod.c: Little code cleanup.
1247         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
1248         compiling in math subdir.
1250         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
1251         instead of __LIBC_M81_MATH_INLINES.
1252         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1253         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1254         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1255         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1256         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1257         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1258         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1259         * sysdeps/m68k/fpu/s_atan.c: Likewise.
1260         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1261         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1262         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1263         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1264         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1265         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1266         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1267         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1268         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1269         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1270         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1271         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1272         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1273         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1274         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1275         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1276         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
1277         __LIBC_INTERNAL_MATH_INLINES is defined.
1279         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
1280         of compare macros from ISO C 9X.  Optimize generic versions a bit.
1281         Define __signbit inline functions and __ieee754_sqrt which can be
1282         used if the ompiler is fixed.
1284         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
1286 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1288         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
1289         sysdeps/generic in the whole dep file, not only in the first line.
1291 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1293         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
1295 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1297         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
1298         place.
1300 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1302         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
1303         is non-empty.
1305 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
1307         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
1308         return value.
1310 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
1312         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
1313         readlink succeeds but the return value is too long.
1315         * stdio-common/printf_fphex.c: Determine sign of number correctly.
1317 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
1319         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
1320         __remqu for Alpha.
1322 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
1324         * sysdeps/generic/sys/ucontext.h: Stub context file.
1326         * libio/iofprintf.c: Removed.  We use the stdio-common version.
1328         * manual/Makefile (distribute): Add stdio-fp.c.
1330         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
1332         * db2/Makefile (distribute): Add include/os_func.h, README and
1333         mutex/tsl_parisc.s.
1335         * hesiod/Makefile (distribute): Add README.hesiod.
1337 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
1339         * iconv/gconv.c: Correctly call transformation function.
1341         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
1343 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1345         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
1346         wrong results for e.g. remquo (3,2, &x)).
1347         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
1348         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
1350 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1352         * configure.in (ld --version-script): Test if the same symbol
1353         maybe defined in all versions (needed by recent changes to
1354         libc.map and supported with binutils 2.8.1.0.17) and issue warning
1355         if versioning is not supported/enabled.
1356         (bash test): Correct test case.
1358         * math/libm-test.c: Added counting/reporting of number of test cases.
1360         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
1361         use awk instead.
1363         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
1365 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1367         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
1369 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
1371         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
1372         Replace revoke call by use of REVOKE.
1373         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
1374         empty and #include generic version.
1375         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1377 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
1379         * libc.map: Add socket functions with __libc_* names.
1380         Reported by Andreas Jaeger.
1382 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1384         * libc.map: Tidy up (remove duplicates, sort entries).
1386 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1388         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
1390 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
1392         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
1393         again after successful call.
1394         Patch by Marc Lehmann <pcg@goof.com>.
1396 1997-11-17  Paul Eggert  <eggert@twinsun.com>
1398         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
1399         as some hosts need this to declare localtime_r properly.
1401 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
1403         * libc.map: Add iconv_open, iconv, and iconv_close.
1405 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
1407         * iconv/Makefile: New file.
1408         * iconv/gconv.c: New file.
1409         * iconv/gconv.h: New file.
1410         * iconv/gconv_builtin.c: New file.
1411         * iconv/gconv_builtin.h: New file.
1412         * iconv/gconv_close.c: New file.
1413         * iconv/gconv_conf.c: New file.
1414         * iconv/gconv_db.c: New file.
1415         * iconv/gconv_dl.c: New file.
1416         * iconv/gconv_open.c: New file.
1417         * iconv/gconv_simple.c: New file.
1418         * iconv/iconv.c: New file.
1419         * iconv/iconv.h: New file.
1420         * iconv/iconv_close.c: New file.
1421         * iconv/iconv_open.c: New file.
1422         * include/gconv.h: New file.
1424         * Makeconfig: Define gconvdir.
1425         * Makefile (subdirs): Add iconv.
1427         * string/bits/string2.h: Add optimization for strtok_r.
1429         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
1430         for NULL.
1431         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
1432         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
1434         * configure.in: Correct test for bash2.
1435         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1437         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
1438         (CFLAGS-locfile.c): Likewise.
1439         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1441         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
1442         non-existing entry if the table is full.
1444         * posix/regex.h: Pretty print.
1446         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
1448         * sysdeps/posix/ctermid.c: Simplify a bit.
1450         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
1452 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1454         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
1455         <sys/types.h> instead of <asm/types.h>.
1457 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1459         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
1461 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
1463         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
1464         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
1465         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
1466         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
1467         fclose): Added to GLIBC_2.1.
1469         * libio/Makefile (routines, shared-only-routines): Add
1470         oldiofclose.  Remove oldfreopen.
1472         * libio/freopen.c (freopen): When PIC is defined, call
1473         _IO_old_freopen () for old stdio.
1475         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
1476         (_IO_fclose, fclose): Use _IO_new_fclose as default version
1477         for GLIBC_2.1.
1479         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
1480         instead of _IO_file_close_it.
1482         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
1483         to _IO_2_1_stdxxx_.
1484         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
1485         is defined.
1487         * libio/libioP.h (_IO_old_do_flush): New.
1489         * libio/oldfileops.c (_IO_old_file_close_it,
1490         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
1491         Call _IO_old_do_flush () instead of _IO_do_flush ().
1492         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
1493         _IO_do_write ().
1495         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
1496         instead of _IO_file_init ().
1497         Bind old symbols to version GLIBC_2.0.
1499         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
1500         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
1501         _IO_stdxxx_.
1502         (_IO_check_libio): New function in .init.
1504         * libio/oldiofclose.c: New file.
1506         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
1507         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
1508         (DEF_STDFILE): Don't use default_symbol_version.
1510         * libio/stdio.c (stdin, stdout, stderr): Set to
1511         _IO_2_1_stdxxx_._
1512         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
1513         stdxxx.
1515         * csu/Makefile (distribute): Add init.c.
1516         (extra-objs): Add init.o for ELF.
1517         (start-installed-name): Add $(objpfx)init.o.
1519         * csu/init.c: New file.
1521 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
1523         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
1524         definition as the default.
1526 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
1528         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
1530 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1532         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
1533         (PR 351).
1535 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
1537         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
1538         to preserve condition codes on function call.
1540 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1542         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
1544 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1546         * math/libm-test.c (asin_test): Add epsilon for float.
1547         (tan_test): Add epsilon for float.
1548         (log1p_test): Add epsilon for float.
1549         (inverse_functions): Add epsilons.
1551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
1552         net/if_packet.h.
1554         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
1556 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1558         * md5-crypt/Makefile (extra-objs): Make recursively expanded
1559         variable, since $(object-suffixes) is not defined yet.
1561 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1563         * db2/Makefile (distribute): db185/db185_int.src ->
1564         db185/db185_int.h.
1566 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1568         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
1569         exactly one.
1571 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1573         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
1574         name.
1575         * sysdeps/generic/e_acosl.c: Likewise.
1576         * sysdeps/generic/e_asinl.c: Likewise.
1577         * sysdeps/generic/e_atan2l.c: Likewise.
1578         * sysdeps/generic/e_expl.c: Likewise.
1579         * sysdeps/generic/e_fmodl.c: Likewise.
1580         * sysdeps/generic/e_j0l.c: Likewise.
1581         * sysdeps/generic/e_j1l.c: Likewise.
1582         * sysdeps/generic/e_jnl.c: Likewise.
1583         * sysdeps/generic/e_lgammal_r.c: Likewise.
1584         * sysdeps/generic/e_log10l.c: Likewise.
1585         * sysdeps/generic/e_logl.c: Likewise.
1586         * sysdeps/generic/e_powl.c: Likewise.
1587         * sysdeps/generic/e_sqrtl.c: Likewise.
1588         * sysdeps/generic/e_exp2l.c: Likewise.
1590 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1592         * Make-dist (+sysdep-names): Remove extra paren.
1593         * Makefile (distribute): Add stub-tag.h.
1594         * elf/Makefile (distribute): Add atomicity.h.
1595         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
1596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
1597         [$(subdir)=socket]: Add net/if_packet.h.
1598         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
1599         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
1600         net/if_packet.h, scsi/sg.h.
1602 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1604         * Makefile (install): Quote $(CC) expansion.
1606 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1608         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
1609         working /proc cwd and no restrictions on path length.  Following
1610         some ideas from Andi Kleen <ak@muc.de> (PR 350).
1612 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1614         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
1615         * nis/nss_compat/compat-pwd.c: Likewise.
1616         * nis/nss_compat/compat-spwd.c: Likewise.
1618 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
1620         * sysdeps/libm-i387/s_fdim.S: New file.
1621         * sysdeps/libm-i387/s_fdimf.S: New file.
1622         * sysdeps/libm-i387/s_fdiml.S: New file.
1623         * sysdeps/libm-i387/i686/s_fdim.S: New file.
1624         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
1625         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
1627 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1629         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
1630         pointer to unsigned char.
1632 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1634         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
1636         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
1638         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
1640 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1642         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
1643         ilogb(0/NaN).
1644         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
1645         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
1647 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
1649         * sysdeps/libm-i387/s_fmin.S: New file.
1650         * sysdeps/libm-i387/s_fminf.S: New file.
1651         * sysdeps/libm-i387/s_fminl.S: New file.
1652         * sysdeps/libm-i387/s_fmax.S: New file.
1653         * sysdeps/libm-i387/s_fmaxf.S: New file.
1654         * sysdeps/libm-i387/s_fmaxl.S: New file.
1655         * sysdeps/libm-i387/i686/s_fmin.S: New file.
1656         * sysdeps/libm-i387/i686/s_fminf.S: New file.
1657         * sysdeps/libm-i387/i686/s_fminl.S: New file.
1658         * sysdeps/libm-i387/i686/s_fmax.S: New file.
1659         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
1660         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
1662 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
1664         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
1665         * sysdeps/unix/sysv/linux/send.S: Likewise.
1666         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1667         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1668         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1669         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1670         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1671         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1672         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
1674 See ChangeLog.7 for earlier changes.