(glob_in_dir): Add support for cases insensitive VMS.
[glibc.git] / ChangeLog
blob51860f8ea76981c98d7cee724b83b6d904044690
1 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
3         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4         Changed type of TWO43, TWO52 from float to double.
5         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7         Changed type of TWO43 from float to double.
8         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
9         Use __isinff.
11 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
13         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
14         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
15         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
17 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
19         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
20         kernel_termios.h.
21         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
22         Clean up random whitespace.
23         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
24         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
25         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
26         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
28 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
30         * shlib-versions: Match alpha*.
31         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
32         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
34         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
35         Implement copysign* with and without __ prefix.
36         Likewise for fabs; use builtin for gcc 2.8.
37         (floor*): New.
38         (fdim*): New.
40         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
41         (R_SPARC*): Match current v9 ABI.
43         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
45         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
46         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
47         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
48         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
49         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
50         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
51         * sysdeps/unix/grantpt.c (argv): Fix consts.
52         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
53         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
55 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
57         * misc/syslog.c: Change to allow user the interpretation of the
58         outcome even with syslog having no return value.
60 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
62         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
63         that the number of program headers is >0 (which is wrong for the
64         loader itself).
66 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
68         * Makefile (distribute): Add README.libm.
70 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
72         * time/clocktest.c (main): Correct typo: "--" -> "==".
74 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
76         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
77         inline function.
78         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
79         inline functions.
81         * math/libm.map (__atan2): Added.
83 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
85         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
86         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
88         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
89         bug.
91 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
93         * manual/arith.texi (Old-style number conversion): Correct
94         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
96 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
98         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
99         but does not require it.  Handle missing argv[] values gracefully.
100         * posix/execl.c: Likewise.
101         * posix/execle.c: Likewise.
103 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
105         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
106         bit.
107         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
109 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
111         * libc.map: Add __adjtimex.
113 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
115         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
116         Remove memset.
118 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
120         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
121         to 64.
123         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
125         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
126         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
128         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
129         for shared library.
131         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
133         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
134         Added adjtimex and old_adjtimex.
136         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
137         New.
138         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
139         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
141         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
142         symbols only for shared library.
143         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
144         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
145         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
146         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
147         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
148         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
149         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
151         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
152         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
153         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
154         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
155         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
156         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
157         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
158         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
160         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
161         rusage pointer.
163         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
164         New macros.
165         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
166         timex and __adjtimex, respectively.
168         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
170         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
172 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
174         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
175         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
177 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
179         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
181 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
183         * Makefile.in: Disable built-in rules.
185 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
187         * sysdeps/i386/fpu/t_exp.c: Move to ...
188         * sysdeps/libm-i387/t_exp.c: ... here.
190 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
192         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
193         from __exp2_deltatable.
195 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
197         * nis/ypclnt.c (yp_master): Check result of strdup.
198         Patch by Thorsten Kukuk.
200 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
202         * nis/ypclnt.c: Give clnt handle after error checking free, change
203         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
205 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
207         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
208         Patch by Joe Keane <jgk@jgk.org>.
210         * misc/fstab.h (struct fstab): Change fs_type member to be const.
211         * misc/fstab.c: Remove casts in fs_type assignments.
213 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
215         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
216         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
217         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
218         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
219         * sysdeps/powerpc/bits/fenv.h: Likewise.
220         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
221         * sysdeps/generic/bits/fenv.h: Likewise.
222         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
223         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
224         * sysdeps/powerpc/test-arith.c (main): Likewise.
226 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
228         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
229         the comparison macros.
231 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
233         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
234         (__log2): Fixed return values.
235         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
237 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
239         * math/math.h (isunordered): Rename local variables to ensure
240         correct code.  Reported by HJ Lu.
242 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
244         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
245         isless, islessequal, islessgreater, isunordered): Fix syntax for
246         fucompip instruction.
247         (isless, islessequal): Fix logic.
249 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
251         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
252         (comparisons_test): New tests for comparison macros.
254 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
256         * Makeconfig: Filter out frame-pointer effecting options when
257         compiling profiling or debugging code.
258         * config.h.in (internal_function): Don't define here if PROF is
259         defined.
260         * gmon/gmon.c (__moncontrol): Don't change state if already in error
261         state.
262         (__monstartup): If calloc fails set error state and mark array as
263         not allocated.
264         (_mcleanup): Don't call write_gmon if in error state.  Don't try
265         to free array if not  successfully allocated.
267         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
268         Include elf.h to get macro definitions.
269         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
271 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
273         * elf/ldd.sh.in: Add compatibility for broken old shells.
274         * elf/ldd.bash.in: Likewise.
276 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
278         * sunrpc/rpc_main.c (open_input): Check pipe return error.
280         * time/clocktest.c (main): Check signal return error.
282 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
284         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
285         "/" and use do-install-program. Reported by Mark M. Kettenis.
286         (subdir_install):  Likewise.
288 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
290         * sunrpc/rpc_sample.c: Fix typo.
292         * nscd/connections.c: Use locale.
293         * nscd/grpcache.c: Add debug messages, gidtbl should get the
294           calloc result.
295         * nscd/nscd.c: Check if init functions fails.
296         * nscd/nscd_conf.c: Allow disabling of group cache.
297         * nscd/nscd_getgr_r.c: Fix return code if group not found.
298         * nscd/pwdcache.c: Fix debug messages.
300 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
302         * libc.map: Add __monstartup and _mcleanup for profiling support.
304 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
306         * libc.map: Export __getpagesize, for binary compatibility with
307         2.0.
309 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
311         * posix/globtest.sh: Use --library-path instead of
312         LD_LIBRARY_PATH.
313         * localedata/sort-test.sh: Likewise.
314         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
316 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
318         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
319         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
320         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
322         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
323         kernel_sigaction): Define.
324         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
325         kernel_sigaction): Define.
327 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
329         * math/libm-test.c: Change epsilons for libm-ieee754.
331 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
333         * sysdeps/i386/__longjmp.S: Fix race condition.
334         Reported by Bruno Haible <haible@ilog.fr>.
336 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
338         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
339         * iconvdata/8bit-gap.c: Likewise.
340         * iconvdata/8bit-generic.c: Likewise.
341         * iconvdata/iso6937.c: Likewise.
342         * iconvdata/iso8859-1.c: Likewise.
343         * iconvdata/sjis.c: Likewise.
344         * iconvdata/t61.c: Likewise.
346 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
348         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
349         feature tests by positive feature tests.
351 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
353         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
355 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
357         * elf/dlvsym.c (dlvsym_doit): More corrections.
358         Patch by Andreas Jaeger.
360 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
362         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
364 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
366         * libc.map: More reordering for GLIBC_2.1 symbols.
368 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
370         * libc.map: Move some functions from version GLIBC_2.0 to
371         GLIBC_2.1, reorder declarations.
373 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
375         * resolv/gethnamaddr.c (addrsort): Make this function extern.
376         Patch by zab@thebrain.grumblesmurf.net.
378 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
380         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
381         NIS+ functions with version GLIBC_2.1.
383 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
385         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
386         with 2.0 binaries.  Reported by Thorsten Kukuk.
388 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
390         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
392         * elf/dlsym.c (dlsym_doit): Likewise.
394 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
396         * elf/link.h: Correct typos.
398         * iconv/iconv_prog.c: Correct typo.
400 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
402         * iconv/Makefile: Add rules to build and install iconv program.
403         * iconv/iconv_prog.c: New file.
405 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
407         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
408         _dl_lookup_symbol_skip call.
409         * elf/dlvsym.c (dlvsym_doit): Likewise.
411 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
413         * libio/iovsscanf.c: Do not include errno.h.
415 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
417         * elf/dl-load.c (add_name_to_object): Don't translate strings.
418         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
419         pulling in the whole error list.
420         (__dcgettext, dcgettext): Removed.
421         * libc.map: Export _strerror_internal.
423 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
425         * sysdeps/i386/fpu/t_exp.c: New file.
427 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
429         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
430         everything with version GLIBC_2.1.
431         * hesiod/libnss_hesiod.map: Likewise.
433 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
435         * manual/arith.texi (Old-style number conversion): This node is a
436         section, not a subsection.
438 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
440         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
442 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
444         * elf/rtld.c (dl_main): Make sure that the library search paths
445         have been initialized before the first call to _dl_map_object.
447 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
449         * Makerules (common-generated): Add libc_pic.os.
451 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
453         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
454         of the executable.
456 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
458         * sysdeps/m68k/fpu/t_exp.c: New file.
460 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
462         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
463         to global errno variable anymore.
465 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
467         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
468         If PRELOADED is nonzero check in case of an SUID application
469         whether the shared object has the SUID bit set.
470         Fix some other problems with handling shared objects in system
471         specific directories.
472         (_dl_map_object): Also take extra parameter and pass it to open_path.
473         * elf/link.h (_dl_map_object): Correct prototype and comment.
474         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
475         * elf/dl-open.c (_dl_open): Likewise.
476         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
478         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
480 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
482         * math/libm-test.c (modf_test): Add test for 1.5.
484         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
485         0 to get always an int.
487 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
489         * math/libm.map: Move all symbols that are new in glibc 2.1 to
490         version GLIBC_2.1.
492 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
494         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
495         trying to read another character.
497 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
499         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
500         name to lowercase.
502         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
503         name to lowercase, add test for big enough buffer.
505 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
507         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
508         Make compatible with older kernels.  Patch by Richard Henderson.
510 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
512         * elf/dl-load.c (open_path): Use __xstat instead of stat.
514         * localedata/tst-locale.sh: Comment out first test for now.
516 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
518         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
519         as 1.
520         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
521         Likewise.
523         * libio/iogetline.c (_IO_getline_info): Renamed from
524         _IO_getline.
525         (_IO_getline): Just call _IO_getline_info.
527         * libio/libioP.h (_IO_getline_info): New declaration.
529         * libc.map (_IO_getline_info, __write): Added.
531 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
533         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
534         const char* to shut up gcc.
536 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
538         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
539         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
541         * math/math.h: Define M_* constants always as `double' and add new
542         macros M_*l which are of type `long double'.
543         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
544         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
545         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
546         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
547         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
548         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
549         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
550         * math/libm-tst.c: Likewise.
552         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
553         define as long double unconditionally.
555 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
557         * manual/arith.texi (Old-style number conversion): Correct some
558         typos.
560 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
562         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
563         Restore.
565         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
567 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
569         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
570         on $(rtld-ldscript).
572         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
573         starting from 0 not only from `from'.
574         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
576 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
578         * elf/rtld.c (dl_main): Recognize --library-path parameter and
579         pass value (or NULL) to _dl_init_paths.
580         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
581         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
582         environment variable.
583         * elf/link.h: Change prototype for _dl_init_paths.
584         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
586         * localedata/Makefile (distribute): Add test files.
588 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
590         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
591         test1.def, test2.def, test3.def, test4.def}: Simple input files
592         for localedef. Contributed by Yung-Ching Hsiao
593         <yhsiao@cae.wisc.edu>.
595         * localedata/Makefile (tests): Call tst-locale.sh.
597         * localedata/tst-locale.sh: New file, regression tests for some
598         localedef problems.
600 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
602         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
604         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
605         terminated.
606         * nis/nss_nisplus/nisplus-network.c: Likewise.
607         * nis/nss_nisplus/nisplus-proto.c: Likewise.
608         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
609         * nis/nss_nisplus/nisplus-service.c: Likewise.
611         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
612         and support generating thread safe RPC code.
613         * sunrpc/rpc_main.c: Add changes.
614         * sunrpc/rpc_clntout.c: Likewise.
615         * sunrpc/rpc_cout.c: Likewise.
616         * sunrpc/rpc_hout.c: Likewise.
617         * sunrpc/rpc_parse.c: Likewise.
618         * sunrpc/rpc_sample.c: Likewise.
619         * sunrpc/rpc_scan.c: Likewise.
620         * sunrpc/rpc_svcout.c: Likewise.
621         * sunrpc/rpc_util.c: Likewise.
622         * sunrpc/rpc_util.h: Add new structs and prototypes.
623         * sunrpc/proto.h: Remove prototypes for static functions.
625 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
627         * locale/programs/ld-messages.c (messages_finish): Don't skip
628         error checking when being quiet.
629         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
630         (set_class_defaults): Likewise.
631         * locale/programs/charmap.c (parse_charmap): Likewise.
632         * locale/programs/ld-collate.c (collate_finish): Likewise.
633         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
634         * locale/programs/ld-time.c (time_finish): Likewise.
635         * locale/programs/locfile.c (write_locale_data): Likewise.
637         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
638         unknown characters and empty ranges.
639         * locale/programs/ld-collate.c (collate_order_elem): When
640         processing an ellipsis properly form a linked list in the result
641         table, fix typo when allocating ordering array.
642         [PR libc/419]
644 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
646         * elf/Makefile (ld-map): Define.
647         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
648         `$(rtld-ldscript)'.
649         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
650         on $(ld-map).
651         (rtld-link): Combine the two versions of this definition.  Fixed
652         to make it work when no symbol versioning is used.
654 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
656         * Makeconfig (build-program-cmd): Use --library-path parameter to
657         ld.so instead of environment variable.
659         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
660         * sunrpc/rpc_main.c: Remove support for -$$ option again.
662 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
664         * Make-dist: Respect with-cvs setting.
665         * MakeTAGS (all-pot): Likewise.
666         * sysdeps/sparc/sparc32/Makefile: Likewise.
667         * sysdeps/mach/hurd/Makefile: Likewise.
668         * stdlib/Makefile: Likewise.
669         * posix/Makefile: Likewise.
670         * intl/Makefile: Likewise.
671         * po/Makefile (linguas): Likewise
673 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
675         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
677 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
679         * libc.map: Add __strcasecmp.
681         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
682         module.
684         * nss/getXXent_r.c: If no more module is found don't try to call
685         setXXent functions but leave unsuccessfully.
687         * malloc/obstack.h: Cleanups.
689         * sysdeps/wordsize-32/stdint.h: New file.
690         * sysdeps/wordsize-64/stdint.h: New file.
691         * sysdeps/generic/stdint.h: New file.
692         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
693         * sysdeps/wordsize-64/inttypes.h: Likewise.
694         * stdlib/Makefile (headers): Add stdint.h.
696 1998-02-03  Paul Eggert  <eggert@twinsun.com>
698         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
700 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
702         * timezone: New directory.
703         * time/README, time/africa, time/antarctica, time/asia,
704         time/australasia, time/backward, time/checktab.awk,
705         time/etcetera, time/europe, time/factory, time/ialloc.c,
706         time/iso3166.tab, time/leapseconds, time/northamerica,
707         time/pacificnew, time/private.h, time/scheck.c,
708         time/solar87, time/solar88, time/solar89, time/southamerica,
709         time/systemv, time/test-tz.c, time/tzfile.h,
710         time/tzselect.ksh, time/yearistype, time/zdump.c,
711         time/zic.c, time/zone.tab: Moved to timezone.
712         * time/tzfile.c: Include tzfile.h from timezone subdir.
713         * time/tzset.c: Likewise.
714         * time/Makefile: Cut out all code relating to timezones...
715         * timezone/Makefile: ...and paste it in here.
716         * Makefile (subdirs): Add timezone.
718 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
720         * libc.map (_sys_nerr): Added.
722         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
723         versioned symbol.
725 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
727         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
728         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
729         Reported by Craig Metz <cmetz@inner.net>.
731 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
733         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
734         instead of strcasecmp.
735         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
737         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
739 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
741         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
742         Patch by Dean Gaudet <dgaudet@arctic.org>.
744 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
746         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
748 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
750         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
751         with no poll syscall, just include the BSD version.
752         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
753         kernel without the syscall, include the stub version.
754         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
755         * sysdeps/generic/getresuid.c: New file.
756         * sysdeps/generic/getresgid.c: New file.
758 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
760         * stdio-common/vfscanf.c: Correct last change a bit.
762 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
764         * elf/Makefile: Don't use --version-script parameter to link ld.so
765         unconditionally.
767 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
769         * math/Makefile: Add t_exp.
770         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
771         constants.
772         * math/test-reduce.c: Remove temporarily, it seems to be broken.
773         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
774         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
775         better accuracy.
776         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
777         algorithm for very large/very small arguments.
778         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
779         correct algorithm for very large/very small arguments; adjust for
780         new table.
781         * sysdeps/libm-ieee754/t_exp.c: New file.
782         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
784         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
785         back, with comment that explains what breaks when you remove it :-(.
787         * localedata/xfrm-test.c: Avoid integer overflow.
789         * stdlib/strfmon.c: char is unsigned, sometimes.
791         * sysdeps/powerpc/Makefile: Remove quad float support.
792         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
793         * sysdeps/powerpc/quad_float.h: Likewise.
794         * sysdeps/powerpc/test-arith.c: Likewise.
795         * sysdeps/powerpc/test-arithf.c: Likewise.
797         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
798         * sysdeps/generic/s_exp2f.c: Likewise.
800         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
801         don't try anything if _SOFT_FLOAT.
803 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
805         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
806         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
807         * wctype/wctype.c: Likewise.
808         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
809         changed.  They are incompatible with the _ISxxx values from
810         <ctype.h> on little endian machines.
811         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
812         bit number.  This fixes the real bug and restores the integrity of
813         the ctype locale file.
814         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
815         * wctype/wcfuncs_l.c: Likewise.
816         * wctype/wcextra.c: Likewise.
817         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
818         byte swapping.
820 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
823         into .bss segment instead of .common, so that aliases on it work.
825         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
826         .size directives, put into .bss segment instead of initializing it
827         to 4.
829 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
831         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
833         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
834         functions.
835         Make names without __ weak aliases.
836         (__libc_release, __libc_version): Make them static.
838         * include/gnu/libc-version.h: New file.
839         * Makefile (headers): Add gnu/libc-version.h.
841 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
843         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
844         and use x for member name.
845         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
847         * stdlib/drand48.c: Change according to member name change.
848         * stdlib/drand48_r.c: Likewise.
849         * stdlib/lcong48_r.c: Likewise.
850         * stdlib/lrand48.c: Likewise.
851         * stdlib/lrand48_r.c: Likewise.
852         * stdlib/mrand48.c: Likewise.
853         * stdlib/mrand48_r.c: Likewise.
854         * stdlib/seed48.c: Likewise.
855         * stdlib/seed48_r.c: Likewise.
856         * stdlib/srand48_r.c: Likewise.
858 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
860         * nss/test-netdb.c: Add some more test cases.
862 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
864         * libio/iovsscanf.c: Undo last change modifying errno.
866 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
868         * stdio-common/vfscanf.c: Never try to read another character
869         after EOF.  Don't decrement read_in after EOF, it wasn't
870         incremented in the first place.
871         (NEXT_WIDE_CHAR): Set First, not first.
873 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
875         * db/Makefile ($(inst_libdir)/libndbm.a,
876         $(inst_libdir)/libndbm.so): New targets.
877         * db2/Makefile: Likewise.
879 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
881         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
882         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
884 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
886         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
887         <streambuf.h>.
888         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
890 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
892         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
893         versioned symbols.
895 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
897         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
898         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
899         Added for libdl.so.
901 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
903         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
904         extra syscall.
906         * grp/Makefile: Fix logic when checking for thread package.
907         * pwd/Makefile: Likewise.
909 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
911         * elf/Makefile (rtld-map): Replaced by libc-map.
913         * elf/rtld.map: Removed.
915         * libc.map (__libc_enable_secure, _dl_catch_error,
916         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
917         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
918         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
919         _dl_object_relocation_scope, _dl_relocate_object,
920         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
921         _r_debug): Added for ld.so.
923 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
925         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
926         DO_VERSIONING.
927         * libio/iofdopen.c: Ditto.
928         * libio/iofopen.c: Ditto.
929         * libio/oldfileops.c: Ditto.
931         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
932         version GLIBC_2.1.
934         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
935         oldsiglist from sysdep_routines and shared-only-routines.
937         * sysdeps/unix/sysv/linux/errlist.c: New.
938         * sysdeps/unix/sysv/linux/errlist.h: New.
939         * sysdeps/unix/sysv/linux/sizes.h: New.
940         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
941         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
943         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
945         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
946         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
947         directive.
949         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
951         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
952         (oldsiglist.c): Removed.
954         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
955         (_sys_siglist): Use SYS_SIGLIST instead.
956         (_sys_nerr): Use SYS_NERR instead.
958         * sysdeps/gnu/errlist.c: Rebuilt.
960 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
962         * elf/Makefile (others-static): New, set to ldconfig.
963         ($(objpfx)ldconfig): Removed.
965         * Rules (binaries-all, binaries-static, binaries-shared): New.
966         Create targets for $(binaries-static) and $(binaries-shared).
968         * Makeconfig (+link-static, link-libc-static,
969         link-extra-libs-static): New for static linking.
971 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
973         * manual/memory.texi (Using the Memory Debugger): Fix typo.
975         * math/libm-test.c (modf_test): Add one more test for modf.
977 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
979         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
980         Rename from __libc_have_rt_sigs and leave as COMMON data.
982 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
984         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
985         of __finite.
987 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
989         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
991 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
993         * misc/tst-efgcvt.c: Add yet more tests.
994         * misc/efgcvt_r.c: And correct for these tests again.
995         Reported by HJ Lu.
997         * isomac.c: Move to...
998         * stdlib/isomac.c: ...here.
999         * Makefile: Move rules for handling isomac...
1000         * stdlib/Makefile: ...to here.
1002 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1004         * misc/tst-efgcvt.c: Add more tests.
1005         * misc/efgcvt_r.c: Correct result for above new tests.
1007 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
1009         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
1010         NDIGIT <= 0.
1012 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
1014         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
1015         if the programs weren't built.
1017 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
1019         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
1020         FE_TONEAREST, soldier on regardless and do the best we can.
1021         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
1023 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
1025         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
1026         _STDIO_H, before including <bits/stdio_lim.h>.
1028         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
1030         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
1031         exist.
1033         * sysdeps/arm/sys/ucontext.h: New file.
1035 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
1037         * manual/stdio.texi (Formatted Output Functions): Explicitly say
1038         that the return value from snprintf() does not count the
1039         terminating NUL as a character.
1041 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1043         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
1044         add description for sete[ug]id and general cleanup.
1045         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1047 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1049         * Makefile (parent-clean): Don't remove makefile fragments here.
1050         (postclean): New variable.
1051         (clean): Remove makefile fragments here.
1052         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
1053         (generated): Add isomac and isomanc.out.
1054         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
1055         avoid-generated is set.
1056         (postclean-generated): Add soversion.mk.
1057         ($(common-objpfx)version.mk): Don't include if avoid-generated is
1058         set.
1059         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
1060         avoid-generated is set.
1061         (common-generated): Add libc.so and libc.so$(libc.so-version).
1062         (generated): Add versioned libraries.
1063         (common-mostlyclean): Also remove %.so and %_pic.a.
1064         * csu/Makefile (generated): Add abi-tag.h.
1065         * db2/Makefile (extra-objs): Add getlong.o.
1066         * elf/Makefile (generated): Add ld.so, ldd and
1067         $(rtld-installed-name).
1068         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
1069         * malloc/Makefile (generated): Add mtrace.
1070         * po/Makefile: Don't include version.mk, not needed any more.
1071         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
1072         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
1073         syscall.h -> sys/syscall.h.
1074         (common-generated): Add s-proto.d.
1075         (postclean-generated): Add sysd-syscalls.
1076         * localedata/Makefile (test-output): Add all output files.
1077         (generated): Add test-input and test-output.
1078         (generated-dirs): Add all the dirs.
1080 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1082         * Makefile (test-output, generated, generated-dirs): New
1083         variables.
1085 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
1087         * resolv/nss_dns/dns-host.c: Various code cleanups.
1089 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
1091         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
1092         From Philip Blundell <pb@nexus.co.uk>.
1093         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
1095 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1097         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
1098         Suggested by debian/sparc porters.
1100 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1102         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
1103         for ecvt and fcvt.
1105 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
1107         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
1108         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
1110         * signal/signal.h: Always define sigset_t if __need_sigset_t is
1111         defined even if __USE_POSIX is not defined.
1113 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1115         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
1116         to support obsolete tty major numbers correctly.
1118 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
1120         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
1121         directory first and ignore install error.
1123         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
1124         128 from ptyno and fix a typo for the BSD style pty.
1126 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1128         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
1129         syscalls.list's.
1131 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1133         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1134         getresuid and getresgid.
1136         * sysdeps/unix/sysv/linux/getresuid.c: New file.
1137         * sysdeps/unix/sysv/linux/getresgid.c: New file.
1139         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
1140         s_getres[ug]id.
1142         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
1143         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1144         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1145         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1147 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
1149         * nscd/grpcache.c: Include <stdlib.h>.
1151 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
1153         * stdlib/atoll.c: Fix comments.
1155         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
1156         * sysdeps/posix/ttyname_r.c: Ditto.
1158 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1160         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
1161         __USE_MISC, independent of __USE_UNIX98.
1163 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
1165         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
1166         Rename from __libc_have_rt_sigs and leave as COMMON data.
1168 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
1170         * Makeconfig (CFLAGS-.os): Kill -fno-common.
1171         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
1173         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
1174         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
1175         version symbols.
1176         * include/libc-symbols.h (symbol_version, default_symbol_version):
1177         Provide asm versions and correct !DO_VERSIONING versions.
1178         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
1179         the weak symbol list.
1181         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
1182         Rename from __libc_have_rt_sigs and leave as COMMON data.
1183         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1184         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1185         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1187 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1189         * sunrpc/Makefile: Correct dependencies of rpcgen.
1191 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
1193         * nscd/Makefile: Fix test for available linuxthreads add-on.
1194         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1196 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1198         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
1200 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1202         * sysdeps/gnu/Makefile: Respect with-cvs variable.
1204         * manual/errno.texi (Error Messages): Correct description of
1205         strerror_r.  Pointed out by jonas@bagge.se.
1207 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1209         * manual/socket.texi (Host Address Functions): Clarify description
1210         of inet_network.
1212 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1214         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
1215         (grantpt): Delete superfluous cast.
1217 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1219         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
1220         elf/ldso_install instead of elf/subdir_install.
1221         (elf/ldso_install): New target.
1223         * elf/Makefile (ldso_install): New target.
1225 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1227         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
1228         of 1998-01-06.
1230 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1232         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
1233         constant expressions.
1235 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1237         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
1238         for __nss_configure_lookup.
1239         (output_hostent): Remove unused variable.
1241 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1243         * string/tst-inlcall.c: Fix format string.
1245 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1247         * inet/netinet/in.h: Rename second parameter of bindresvport to
1248         avoid buggy gcc warning. [PR libc/412]
1250 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
1252         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
1253         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
1255         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
1256         Follow POSIX and make tv_sec a time_t.
1257         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
1258         new tv64 syscall as well as fall back to tv32.
1259         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1260         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1261         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1262         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1263         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1264         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1265         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1266         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
1268         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
1269         * include/rpcsvc/nis_tags.h: Likewise.
1270         * include/rpcsvc/nislib.h: Likewise.
1272 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
1274         * libc.map: Add _h_errno.
1275         * inet/herrno.c: Make _h_errno weak alias.
1277         * login/Makefile (distribute): Add pty-internal.h.
1279         * nscd/Makefile (distribute): Add all the files missing.
1281         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
1282         are available.
1284         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
1285         and report status at the end.
1287         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
1289         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
1290         variable.
1291         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
1292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1293         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1295 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
1297         * configure.in: Fix --enable-add-ons code.
1299 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1301         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
1302         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
1303         [PR libc/441]
1305         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
1306         occurence in cache.  Reported by Rudolf Leitgeb
1307         <leitgeb@leland.stanford.edu>.
1308         [PR libc/440]
1310 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
1312         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
1313         that it never is EINTR (which is tested for in _IO_vfscanf).
1315         * Makefile.in: Call sub-make with CVSOPTS.
1317         * elf/Makefile (distribute): Add dl-procinfo.h.
1319         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
1321 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
1323         * version.h (VERSION): Bump to 2.0.92.
1325 1998-01-31  Phil Blundell  <philb@gnu.org>
1327         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
1328         alias for __new_sys_siglist.
1330 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
1332         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
1333         getgrgid_r.c if thread package is available.
1334         * pwd/Makefile: Likewise.
1335         * grp/getgrnam_r.c: Remove USE_NSCD definition.
1336         * grp/getgrgid_r.c: Likewise.
1337         * pwd/getpwnam_r.c: Likewise.
1338         * pwd/getpwuid_r.c: Likewise.
1340 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
1342         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
1343         with error to allow user intervention.
1344         * nss/getXXent_r.c: Likewise.
1346 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
1348         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
1349         AT_PLATFORM string.  Pretty print AT_BASE info.
1351         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
1352         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
1353         * sysdeps/generic/dl-procinfo.h: New file.
1354         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
1356 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
1358         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
1360         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
1361         thread and not pthread_detach.
1363         * nscd/nscd.c: Rewrite to use argp instead of getopt.
1365 1998-01-31  Phil Blundell  <philb@gnu.org>
1367         * configure.in: Add --without-cvs option to suppress automatic
1368         checkin of regenerated files.
1369         * config.make.in: Likewise.
1370         * Makefile: Respect with-cvs setting.
1371         * Makerules: Likewise.
1373         * configure.in: Allow the standalone ARM port to be configured.
1375 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1377         * grp/getgrgid_r.c: Define USE_NSCD.
1378         * grp/getgrnam_r.c: Likewise.
1379         * pwd/getpwuid_r.c: Likewise.
1380         * pwd/getpwnam_r.c: Likewise.
1382         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
1384         * nss/getXXbyYY_r.c: Try at first nscd.
1386         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
1387         * nscd/connections.c: New file.
1388         * nscd/dbg_log.c: New file.
1389         * nscd/dbg_log.h: New file.
1390         * nscd/grpcache.c: New file.
1391         * nscd/nscd.c: New file.
1392         * nscd/nscd.h: New file.
1393         * nscd/nscd_conf.c: New file.
1394         * nscd/nscd_stat.c: New file.
1395         * nscd/pwdcache.c: New file.
1397         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
1398         * nscd/nscd_getpw_r.c: Likewise.
1399         * nscd/nscd_proto.h: New, prototypes for client functions.
1401         * nscd/nscd.conf: New, example for a configuration file.
1402         * nscd/nscd.init: New, example for a startup script.
1404         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
1405         avoid deadlocks.
1406         * nscd/getgrnam_r.c: Likewise.
1407         * nscd/getpwnam_r.c: Likewise.
1408         * nscd/getpwuid_r.c: Likewise.
1410 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
1412         * intl/Makefile: Use CVSOPTS in cvs invocation.
1413         * po/Makefile: Likewise.
1414         * posix/Makefile: Likewise.
1415         * stdlib/Makefile: Likewise.
1417 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
1419         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
1420         [PR libc/410]
1421         * misc/Makefile (tests): Add tst-efgcvt.
1422         * misc/tst-efgcvt.c: New file.
1424 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
1426         * posix/regex.c: Add some more cleanups by Akim Demaille.
1428 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
1430         * signal/signal.h: Revert last change.
1431         * string/strsignal.c: Regard signal number NSGI as illegal.
1432         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
1433         members.
1435 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
1437         * Makefile.in: Add comment about CVSOPTS Makefile variable.
1438         * Makerules: Use CVSOPTS in cvs invocation.
1439         * Makefile: Likewise.
1440         * MakeTAGS: Likewise.
1441         * Make-dist: Likewise.
1443 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
1445         * sysdeps/generic/memmem.c: Correct last change.
1447 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
1449         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
1450         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
1452 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1454         * nis/ypclnt.c: Try at first to use the binding file from ypbind
1455         before using RPC.
1457 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1459         * manual/memory.texi (Heap Consistency Checking): mcheck is
1460         declared in <mcheck.h>.
1461         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
1463 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1465         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
1466         beginning of haystack.
1468 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1470         * nss/nss_files/files-service.c: Correct last patch.
1472 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
1474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
1475         __libc_have_rt_sigs.
1476         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
1477         including <bits/setjmp.h>.
1478         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1479         Patch from the Debian glibc/SPARC package.
1481 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
1483         * sysdeps/alpha/bzero.S: Fix a typo.
1484         * sysdeps/alpha/htonl.S: Ditto.
1485         * sysdeps/alpha/htons.S: Ditto.
1487 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1489         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
1491 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
1493         * include/cpio.h: Move to ...
1494         * posix/cpio.h: ...here.
1496         * locale/programs/ld-collate.c: Fix typo.
1498         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
1500         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
1502         * login/utmp_file.c (pututline_file): Don't always report success
1503         if similar entry is found.  Patch by Mark M. Kettenis.
1505 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
1507         * manual/Makefile: Don't try to install the info files if makeinfo
1508         is not available.
1510 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
1512         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
1513         kernel's network ioctls, rather than using <linux/sockios.h> to
1514         get them.  This way we are sure of maintaining compatibility if
1515         the kernel interface should change.
1517 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
1519         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
1521 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
1523         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
1524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
1526 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1528         Implement System V pseudoterminal handling.
1530         * login/Makefile
1531         (routines): Add getpt, grantpt, unlockpt, ptsname.
1532         (libutil-routines): Remove pty. Add openpty, forkpty.
1533         (distribute): New internal header pty-internal.h.
1534         (others): Add the helper program, pt_chown.
1535         (install-others): Install it, in $(libexecdir), mode 4755.
1537         * login/pty-internal.h: New file.
1538         * login/openpty.c: New file.
1539         * login/forkpty.c: New file.
1540         * login/programs/pt_chown.c: New file.
1542         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
1543         * stdlib/stdlib.h: Prototype them.
1545         * config.make.in: Define $(libexecdir).
1546         * Makeconfig: Define $(inst_libexecdir).
1548         * sysdeps/generic/pty.c: Removed.
1549         * sysdeps/unix/sysv/linux/pty.c: Removed.
1551         * sysdeps/generic/getpt.c: Stub out.
1552         * sysdeps/generic/grantpt.c: Likewise.
1553         * sysdeps/generic/ptsname.c: Likewise.
1554         * sysdeps/generic/unlockpt.c: Likewise.
1556         * sysdeps/unix/grantpt.c: New file.
1557         * sysdeps/unix/bsd/getpt.c: New file.
1558         * sysdeps/unix/bsd/unlockpt.c: New file.
1559         * sysdeps/unix/sysv/linux/getpt.c: New file.
1560         * sysdeps/unix/sysv/linux/ptsname.c: New file.
1561         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
1563 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
1565         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
1567 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1569         * nss/Makefile (tests): Add rule for test-netdb.c.
1571         * nss/test-netdb.c: New file.
1573 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
1575         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
1576         really kept as a variable.  Patch by Richard Henderson,
1577         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
1579         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
1580         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
1581         entries as not existing.
1583 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1585         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
1586         zero in alternate form with precision of zero, which must produce
1587         "0".  Add braces to avoid ambiguous `else'.
1589 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1591         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
1592         problem with strncpy.
1593         * nis/nss_compat/compat-pwd.c: Likewise.
1594         * nis/nss_compat/comapt-spwd.c: Likewise.
1596 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1598         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
1599         by uch@nop.or.jp. [PR libc/437]
1601 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1603         * locales/pl_PL: Fix int_curr_symbol.
1605 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1607         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
1609 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1611         * stdio-common/test-popen.c: Include <errno.h>.
1613         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
1614         close.
1616         * inet/getnetgrent_r.c: Include <errno.h>.
1618         * db2/db/db_conv.c: Include <string.h> for memcpy.
1620         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
1621         so that memcpy is declared.
1623         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
1625         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
1627 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1629         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
1630         overflow while reading line with fgets.
1631         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1633 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
1635         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
1636         unsigned short, not short.
1637         Reported by Andreas Jaeger.
1639 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1641         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
1642         (ccept->accept).
1644         * sysdeps/generic/inttypes.h: Fix spelling.
1646 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1648         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
1650         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
1652 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
1654         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
1655         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
1656         field for hh modifier.
1657         * stdio-common/vfprint.c: Use is_char field and do not depend in
1658         is_short having the value 2.
1659         Bug reported by Andreas Jaeger.
1661 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1663         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
1664         PIC && DO_VERSIONING.
1666 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1668         * Rules: Add rules for $(common-objpfx)dummy$o.
1670 1998-01-26  Richard Henderson  <rth@cygnus.com>
1672         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
1673         unimplemented OSF/1 definitions so that they are not accidentally seen.
1675         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
1676         of the trampoline function into the macro.
1677         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
1678         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
1679         kernel 2.1.82 has this fixed.
1681         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
1682         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1684 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
1686         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
1687         support sigaction on kernels > 2.1.7x.
1689 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
1691         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
1692         if it is empty.
1694         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
1695         Patch by David Engel <david@sw.ods.com>.
1697         * configure.in: Fix another typo in --enable-add-ons code.
1699 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
1701         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
1703 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1705         * nss/nss_files/files-network.c: Correct order of parameters for
1706         getnetbyaddr.
1708 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
1710         * db2/Makefile (routines): Add os_alloc.
1711         * db2/db.h: Update from db-2.3.16.
1712         * db2/db_185.h: Likewise.
1713         * db2/db_int.h: Likewise.
1714         * db2/btree/bt_close.c: Likewise.
1715         * db2/btree/bt_cursor.c: Likewise.
1716         * db2/btree/bt_delete.c: Likewise.
1717         * db2/btree/bt_open.c: Likewise.
1718         * db2/btree/bt_page.c: Likewise.
1719         * db2/btree/bt_put.c: Likewise.
1720         * db2/btree/bt_rec.c: Likewise.
1721         * db2/btree/bt_recno.c: Likewise.
1722         * db2/btree/btree_auto.c: Likewise.
1723         * db2/common/db_appinit.c: Likewise.
1724         * db2/common/db_apprec.c: Likewise.
1725         * db2/common/db_err.c: Likewise.
1726         * db2/common/db_region.c: Likewise.
1727         * db2/common/db_shash.c: Likewise.
1728         * db2/db/db.c: Likewise.
1729         * db2/db/db_auto.c: Likewise.
1730         * db2/db/db_conv.c: Likewise.
1731         * db2/db/db_dispatch.c: Likewise.
1732         * db2/db/db_dup.c: Likewise.
1733         * db2/db/db_pr.c: Likewise.
1734         * db2/db/db_rec.c: Likewise.
1735         * db2/db185/db185.c: Likewise.
1736         * db2/dbm/dbm.c: Likewise.
1737         * db2/hash/hash.c: Likewise.
1738         * db2/hash/hash_auto.c: Likewise.
1739         * db2/hash/hash_dup.c: Likewise.
1740         * db2/hash/hash_page.c: Likewise.
1741         * db2/hash/hash_rec.c: Likewise.
1742         * db2/include/btree_ext.h: Likewise.
1743         * db2/include/clib_ext.h: Likewise.
1744         * db2/include/common_ext.h: Likewise.
1745         * db2/include/db.h.src: Likewise.
1746         * db2/include/db_185.h.src: Likewise.
1747         * db2/include/db_am.h: Likewise.
1748         * db2/include/db_ext.h: Likewise.
1749         * db2/include/db_int.h.src: Likewise.
1750         * db2/include/hash_ext.h: Likewise.
1751         * db2/include/lock_ext.h: Likewise.
1752         * db2/include/log.h: Likewise.
1753         * db2/include/log_auto.h: Likewise.
1754         * db2/include/log_ext.h: Likewise.
1755         * db2/include/mp.h: Likewise.
1756         * db2/include/mp_ext.h: Likewise.
1757         * db2/include/mutex_ext.h: Likewise.
1758         * db2/include/os_ext.h: Likewise.
1759         * db2/include/os_func.h: Likewise.
1760         * db2/include/txn_ext.h: Likewise.
1761         * db2/lock/lock.c: Likewise.
1762         * db2/lock/lock_util.c: Likewise.
1763         * db2/log/log.c: Likewise.
1764         * db2/log/log.src: Likewise.
1765         * db2/log/log_archive.c: Likewise.
1766         * db2/log/log_auto.c: Likewise.
1767         * db2/log/log_get.c: Likewise.
1768         * db2/log/log_put.c: Likewise.
1769         * db2/log/log_rec.c: Likewise.
1770         * db2/log/log_register.c: Likewise.
1771         * db2/mp/mp_bh.c: Likewise.
1772         * db2/mp/mp_fget.c: Likewise.
1773         * db2/mp/mp_fopen.c: Likewise.
1774         * db2/mp/mp_fput.c: Likewise.
1775         * db2/mp/mp_pr.c: Likewise.
1776         * db2/mp/mp_sync.c: Likewise.
1777         * db2/mutex/mutex.c: Likewise.
1778         * db2/os/os_alloc.c: Likewise.
1779         * db2/os/os_config.c: Likewise.
1780         * db2/os/os_stat.c: Likewise.
1781         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1782         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1783         * db2/progs/db_load/db_load.c: Likewise.
1784         * db2/progs/db_printlog/db_printlog.c: Likewise.
1785         * db2/progs/db_recover/db_recover.c: Likewise.
1786         * db2/progs/db_stat/db_stat.c: Likewise.
1787         * db2/txn/txn.c: Likewise.
1789         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
1790         Unmap memory blocks in reverse order of allocation.
1791         Call munmap with load address added to offset.
1792         Bug reported by Miguel de Icaza.
1794         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
1795         up weight array.
1797         * localedata/locales/cs_CZ: Update by Michael Mraka
1798         <michael@informatics.muni.cz>.
1800         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
1801         __USE_BSD.
1803         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
1804         reading line with fgets.
1805         * nis/nss_compat/compat-pwd.c: Likewise.
1806         * nis/nss_compat/compat-spwd.c: Likewise.
1807         * nss/nss_files/files-XXX.c: Likewise.
1808         * nss/nss_files/files-alias.c: Likewise.
1809         * shadow/fgetspent_r.c: Likewise.
1811         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
1813         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
1814         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1815         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1817         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
1818         FP register content in ucontext_t.
1820 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1822         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
1823         calculation.  Patch by Markus Schoder
1824         <Markus.Schoder@dresdner-bank.de>.
1826         * math/libm-test.c (modf_test): Add more tests for modf.
1828         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
1829         munlock according to Unix98.
1831 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1833         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
1834         AF_INET.
1836 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
1838         * sysdeps/posix/ttyname.c: Handle symbolic links.
1839         * sysdeps/posix/ttyname_r.c: Ditto.
1841 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
1843         * db2/makedb.c (process_input): Write terminating \0 for value.
1844         (print_database): Simply print value string, don't use length.
1846 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1848         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
1849         exit of loop.
1851 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1853         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
1854         close all sockets.
1856 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
1858         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
1859         sigset.
1860         * signal/sighold.c: New file.
1861         * signal/sigrelse.c: New file.
1862         * sysdeps/generic/sigignore.c: New file.
1863         * sysdeps/generic/sigset.c: New file.
1864         * sysdeps/posix/sigignore.c: New file.
1865         * sysdeps/posix/sigset.c: New file.
1866         * signal/signal.h: Add prototypes for new functions.
1868         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
1869         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
1870         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
1871         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
1873 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
1875         * posix/wordexp.c: Added IFS field-splitting in parameter and
1876         command substitution.  Fixed an IFS-related bug that caused an
1877         infinite loop.
1879 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
1881         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
1882         and swapcontext.
1883         * stdlib/ucontext.h: Correct prototypes.
1884         * sysdeps/generic/getcontext.c: New file.
1885         * sysdeps/generic/setcontext.c: New file.
1886         * sysdeps/generic/makecontext.c: New file.
1887         * sysdeps/generic/swapcontext.c: New file.
1888         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
1890 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
1892         * resource/sys/resource.h: Remove #include of ulimit.h which is
1893         not allowed by SUSv2 and not available on other systems.
1894         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
1896         * streams/Makefile: New file.
1897         * streams/stropts.h: New file.
1898         * sysdeps/generic/bits/stropts.h: New file.
1899         * sysdeps/generic/isastream.c: New file.
1900         * sysdeps/generic/getmsg.c: New file.
1901         * sysdeps/generic/getpmsg.c: New file.
1902         * sysdeps/generic/putmsg.c: New file.
1903         * sysdeps/generic/putpmsg.c: New file.
1904         * sysdeps/generic/fattach.c: New file.
1905         * sysdeps/generic/fdetach.c: New file.
1906         * sysdeps/unix/inet/Subdirs: Add streams.
1907         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
1908         __t_uscalar_t.
1909         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1910         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
1911         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1914         * sysdeps/mach/_strerror.c: Follow changes of generic version to
1915         handle small buffers correctly.
1917 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
1919         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
1920         Remove the 3rd arg and add declaration for _dl_runtime_resolve
1921         and _dl_runtime_profile.
1923 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
1925         * include/cpio.h: New file.  Mainly copied from GNU cpio.
1926         * posix/Makefile (headers): Add cpio.h.
1928 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1930         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
1931         to routines.
1932         * nis/nis_cache.c: New file.
1933         * nis/nis_cache2.h: New file.
1934         * nis/nis_cache2_xdr.c: New file.
1935         * nis/nis_call.c: Changes for cache2_info parameter.
1936         * nis/nis_checkpoint.c: Likewise.
1937         * nis/nis_intern.h: Likewise.
1938         * nis/nis_mkdir.c: Likewise.
1939         * nis/nis_ping.c: Likewise.
1940         * nis/nis_rmdir.c: Likewise.
1941         * nis/nis_server.c: Likewise.
1942         * nis/nis_util.c: Likewise.
1944 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1946         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
1947         return/errnop codes.
1948         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1949         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1950         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1951         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1952         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1953         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1954         * nis/nss_nisplus/nisplus-rpc.c: Likewise
1955         * nis/nss_nisplus/nisplus-service.c: Likewise.
1956         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1958 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1960         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
1961         * nis/nss_nis/nis-ethers.c: Likewise.
1962         * nis/nss_nis/nis-grp.c: Likewise.
1963         * nis/nss_nis/nis-hosts.c: Likewise.
1964         * nis/nss_nis/nis-network.c: Likewise.
1965         * nis/nss_nis/nis-proto.c: Likewise.
1966         * nis/nss_nis/nis-hosts.c: Likewise.
1967         * nis/nss_nis/nis-network.c: Likewise.
1968         * nis/nss_nis/nis-proto.c: Likewise.
1969         * nis/nss_nis/nis-publickey.c: Likewise.
1970         * nis/nss_nis/nis-pwd.c: Likewise.
1971         * nis/nss_nis/nis-rpc.c: Likewise.
1972         * nis/nss_nis/nis-service.c: Likewise.
1973         * nis/nss_nis/nis-spwd.c: Likewise.
1975 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
1977         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
1978         Added to follow latest kernel development.
1980 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
1982         * nss/db-Makefile: Handle empty and comment lines better.
1983         ($(VAR_DB)/services.db): Generate entries with missing protocol
1984         value.
1986 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1988         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
1989           NULL.
1990           (getservbyname): Allow proto == NULL.
1991           Pointed out by David N. Welton <davidw@gate.cks.com>.
1992           [PR libc/430].
1994 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
1996         * nis/nislib/nislib.h: Finally removed.
1998         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
1999         C compiler.  From Kaveh Ghazi.
2000         (TYPE_MINIMUM): Define.
2001         (TYPE_MAXIMUM): Define.
2002         (TIME_T_MIN): Use TYPE_MINIMUM.
2003         (TIME_T_MAX): Use TYPE_MAXIMUM.
2004         Patch by Jim Meyering <meyering@ascend.com>.
2006 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
2008         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
2009         __pread64, __pwrite64, and __getpid.
2011         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
2012         versions.
2014 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2016         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
2017         cancelable socket functions as __libc_xxx with __xxx as weak
2018         alias.
2019         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2020         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2022         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
2023         redefined.
2024         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2025         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
2026         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
2027         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2029         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
2030         and __xxx a weak alias.
2031         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2032         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2033         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2034         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2035         * sysdeps/unix/sysv/linux/send.S: Likewise.
2036         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2037         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2039 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2041         * locale/langinfo.h: Add defines.
2043         * dirent/dirent.h: Add defines for DT_*, check also for
2044         _DIRENT_HAVE_D_TYPE.
2045         Suggested by Roland McGrath.
2047 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2049         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
2050         Update from Linux 2.1.73+79.
2052         * README.template: Update information about possible
2053         configurations.
2055         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
2056         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
2057         [PR libc/417].
2059         * manual/time.texi (Priority): Correct description of
2060         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
2061         [PR libc/416].
2063 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
2065         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
2066         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
2068 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
2070         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
2071         Andreas Jaeger.
2073 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
2075         * locale/programs/ld-collate.c: Little optimizations.
2077         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
2079         * string/Makefile (tests): Add tst-inlcall.
2080         * string/tst-inlcall.c: New file.
2082         * string/strsignal.c: Add support for real-time signals.
2084         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
2085         presense of small buffer.
2087         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
2089         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
2090         for i686.
2092         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
2093         _NSIG + 1.
2095 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
2097         * Rules: Add explicit rule for dummy.o; at least one library needs
2098           it and it isn't autogenerated by the default rules.
2100 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2102         * math/libm-test.c: Tweak epsilons.
2104 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2106         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
2107         child.
2108         (feenv_mask_test): Likewise.
2110 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2112         * Makeconfig: Don't export CPPFLAGS.
2114 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2116         * sunrpc/rpc_main.c (parseargs): Use perror to print error
2117         message.
2119 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2121         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
2122         terminating null in key size.
2124 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2126         * nss/nss_files/files-service.c: Fix allocation size to include
2127         length of PROTO.
2129         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
2130         applicable.  Fix return value and error checking.
2131         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
2132         unparsable lines.
2133         (DB_LOOKUP): Allocate space for terminating null byte.
2135         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
2136         uids specially.
2138         * db2/makedb.c (process_input): Continue processing if a duplicate
2139         key is encountered.
2141 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
2143         * time/tzfile.h: Updated from tzcode1998b.
2144         * time/zdump.c: Likewise.
2145         * time/zic.c: Likewise.
2146         * time/africa: Update from tzdata1998b.
2147         * time/antarctica: Likewise.
2148         * time/asia: Likewise.
2149         * time/australasia: Likewise.
2150         * time/etcetera: Likewise.
2151         * time/europe: Likewise.
2152         * time/leapseconds: Likewise.
2153         * time/northamerica: Likewise.
2154         * time/southamerica: Likewise.
2156 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2158         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
2159         lookups ignoring case.
2160         * nss/nss_files/files-network.c: Do network lookups ignoring
2161         case.
2162         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
2163         case.
2164         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
2165         case insensitive comparing.
2166         Patches by Cristian Gafton <gafton@redhat.com>.
2168 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2170         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
2171         by Roland McGrath. [PR libc/395]
2173 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2175         * manual/arith.texi (Parsing of Integers): Correct description of
2176         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
2177         [PR libc/396]
2179 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
2181         * misc/lsearch.c (lsearch): Return a pointer to the new element
2182         if one was "allocated".
2184 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2186         * string/strsignal.c: NSIG is not a valid index into
2187         _sys_siglist.  Don't zap the last character of the "Unknown
2188         signal" message.
2190 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
2192         * locale/programs/charmap.c (parse_charmap): Correct parsing of
2193         ellipsis expressions.
2195         * locale/programs/charset.c (insert_char): Correctly insert value
2196         of eliipsis expression.
2198 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
2200         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
2201         <bits/setjmp.h>.
2202         * sysdeps/powerpc/setjmp.S: Likewise.
2203         Patches by Matt McLean <keys@keys.got.net>.
2205         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
2207         * Makefile: Undo last patch.
2208         (distribute): Add test-installation.pl.
2210         * configure.in: Correct handling of --enable-add-ons without parameter.
2211         Correct address of WWW pages.
2213         * libc.map: Add _nl_domain_bindings.
2215         * db2/mutex/tsl_parisc.s: New file.
2217         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
2218         and extra-module.mk.
2220         * localedata/Makefile (distribute): New.  Add all the files.
2222         * stdlib/Makefile (headers): Add inttypes.h.
2223         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
2224         * sysdeps/generic/inttypes.h: New file.
2225         * sysdeps/generic/strtoimax.c: New file.
2226         * sysdeps/generic/strtoumax.c: New file.
2227         * sysdeps/generic/wcstoimax.c: New file.
2228         * sysdeps/generic/wcstoumax.c: New file.
2229         * sysdeps/wordsize-32/Dist: Removed.
2230         * sysdeps/wordsize-32/Makefile: Removed.
2231         * sysdeps/wordsize-64/Dist: Removed.
2232         * sysdeps/wordsize-64/Makefile: Removed.
2233         * sysdeps/generic/bits/environments.h: New file.
2235         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
2236         header is still not correct.
2238         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
2239         * posix/unistd.h: Likewise.
2240         * sysdeps/generic/sys/mman.h: Likewise.
2241         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
2243         * manual/arith.texi: Change definition of mul macro.
2244         * manual/math.texi: Likewise.
2246         * misc/Makefile (routines): Add mmap64.
2247         * sysdeps/generic/mmap64.c: New file.
2248         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
2249         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
2250         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
2251         aliases to mmap.
2252         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2254         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
2256         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
2258         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
2260         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
2261         FOPEN_MAX also when included by limits.h.
2262         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
2264         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
2265         and netrom/netrom.h.
2266         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
2267         oldsiglist to sysdep_routines, not aux.
2268         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
2270         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
2271         and SOL_NETROM definition.
2273         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
2275         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
2276         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
2278 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
2280         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
2282         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
2283         sa_handler with k_sa_handler.
2284         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
2285         strong alias.
2286         Reported by a sun.
2288         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
2289         __libc_have_rt_sigs here.
2290         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
2291         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2292         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
2293         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2295 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
2297         * sysdeps/powerpc/atomicity.h: New file.
2298         * sysdeps/mach/powerpc/machine-lock.h: New file.
2300         * Rules: Use -fpic to build anything that might end up in a users'
2301         shared library.
2303         * sysdeps/powerpc/s_fdim.c: New file.
2304         * sysdeps/powerpc/s_fdimf.c: New file.
2305         * sysdeps/powerpc/s_fmax.S: New file.
2306         * sysdeps/powerpc/s_fmaxf.S: New file.
2307         * sysdeps/powerpc/s_fmin.S: New file.
2308         * sysdeps/powerpc/s_fminf.S: New file.
2309         * sysdeps/powerpc/s_llrint.c: Now is for double.
2310         * sysdeps/powerpc/s_llrintf.c: New file.
2311         * sysdeps/powerpc/s_llround.c: Now is for double.
2312         * sysdeps/powerpc/s_llroundf.c: New file.
2313         * sysdeps/powerpc/s_lrint.c: Now is for double.
2314         * sysdeps/powerpc/s_lrintf.S: New file.
2315         * sysdeps/powerpc/s_lround.c: Now is for double.
2316         * sysdeps/powerpc/s_lroundf.c: New file.
2317         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
2318         lrintf, fdim, fdimf.
2320         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
2321         file directly, use its parent.
2323         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
2324         (for the third time).
2326 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
2328         * posix/sched.h: timespec is in <time.h>.
2330         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
2332 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
2334         * configure.in: Stop with error if --disable-static is used when
2335         the shared lib uses this library.
2337         * gen-FAQ.pl: I've perl installed in /usr/bin.
2339         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
2341         Fix Unix98 conformance problems in the headers.
2342         * catgets/nl_types.h: Define nl_item.
2343         * grp/grp.h: Define gid_t.
2344         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
2345         * include/nl_types.h: New file.
2346         * include/ulimit.h: New file.
2347         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
2348         constants in POSIX mode.
2349         * io/utime.h: Get definition for time_t.
2350         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
2351         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
2352         * libio/stdio.h: Define va_list.  Make snprintf also available is
2353         __USE_UNIX98.  Declare getopt function and variables.
2354         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
2355         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
2356         * math/math.h: Defined M_* constants as double for Unix98 mode.
2357         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
2358         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
2359         * posix/regex.h: Define REG_NOSYS.
2360         * posix/wordexp.h: Define WRDE_NOSYS.
2361         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
2362         500 for Unix98.
2363         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
2364         somewhere else as well.  Define clock_t for Unix98.
2365         * posix/sys/wait.h: Define pid_t.
2366         * pwd/pwd.h: Define gid_t, uid_t.
2367         * resource/Makefile (headers): Add ulimit.h.
2368         * resource/ulimit.h: New file.
2369         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
2370         instead of second argument.
2371         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
2372         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
2373         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
2374         * signal/signal.h: Define pid_t.
2375         * string/string.h: Don't declare BSD string functions in POSIX mode.
2376         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
2377         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
2378         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
2379         and POSIX.
2381         * inet/test_ifindex.c: Change test so that it does not fail for
2382         interface aliases.
2384         * locale/programs/locale.c (show_info): Use correct cast sequence
2385         for 64bit machines.
2387         * malloc/malloc.c: __malloc_initialized now signals three states:
2388         uninitialized, initializing, initialized.  Used in mcheck.
2389         * malloc/mcheck.c (mabort): Add '\n' to messages.
2390         (mcheck): Allow installation when malloc is uninitialized or is
2391         just initializing.
2393         * manual/memory.texi: Explain mtrace output a bit more.
2395         * math/libm-test.c: Add more epsilons.
2397         * misc/regexp.h (compile): Remove __ prefix from parameter names.
2399         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
2400         instead of strcpy for security.
2401         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
2402         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
2403         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
2405         * nss/digits_dots.c: Pretty print.
2407         * posix/getconf.c (vars): Add symbols for programming environment
2408         recognition.  Recognize --version.
2410         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
2411         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
2412         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
2414         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
2415         __need_FOPEN_MAX.
2416         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
2417         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
2418         __need_FOPEN_MAX.
2420         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
2421         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
2423         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
2424         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2425         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2426         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
2427         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2428         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
2430         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
2431         SCNu*.
2432         * sysdeps/wordsize-64/inttypes.h: Likewise.
2434         * time/africa: Update from tzdata1997j.
2435         * time/antarctica: Likewise.
2436         * time/asia: Likewise.
2437         * time/australasia: Likewise.
2438         * time/backward: Likewise.
2439         * time/etcetera: Likewise.
2440         * time/europe: Likewise.
2441         * time/factory: Likewise.
2442         * time/northamerica: Likewise.
2443         * time/pacificnew: Likewise.
2444         * time/southamerica: Likewise.
2446         * time/tzfile.h: Update from tzcode1997h.
2447         * time/zic.c: Likewise.
2449         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
2450         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
2451         isw*() functions for Unix98.
2452         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
2453         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
2454         is defined.
2456 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2458         * locale/duplocale.c: Increase usage_count only if less than
2459         MAX_USAGE_COUNT.
2460         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
2461         MAX_USAGE_COUNT.
2462         * locale/setlocale.c: Likewise.
2464 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2466         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
2467         dependency to make it easier to install it selectively.
2469         * Makerules (.SUFFIXES): Don't define any suffixes.
2471 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2473         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
2474         * sysdeps/generic/statfs64.c: Emulate using statfs.
2475         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
2476         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
2477         * sysdpes/generic/ftruncate64.c: New file.
2478         * sysdpes/generic/truncate64.c: New file.
2480         * sysdeps/generic/bits/stat.h: Add LFS support.
2481         * sysdeps/generic/bits/statfs.h: Likewise.
2483         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
2484         [__USE_FILE_OFFSET64]: Make long long constant.
2485         (RLIM64_INFINITY): Likewise.
2487         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
2488         for LFS support.
2489         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
2490         * sysdeps/generic/bits/resource.h: Likewise.
2492         * misc/Makefile (routines): Add truncate64 and ftruncate64.
2494         * include/features.h: Don't prevent LFS support from defining BSD
2495         and SYSV things.
2497         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
2498         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
2499         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
2501         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
2502         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
2503         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2505         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
2506         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
2507         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
2508         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
2509         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
2510         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
2511         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
2512         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
2513         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
2514         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
2515         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
2516         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
2518         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
2519         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
2520         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
2521         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
2522         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
2523         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
2524         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
2526         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
2527         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
2528         * sysdeps/unix/sysv/linux/xstat64.c: New file.
2529         * sysdeps/unix/sysv/linux/readdir64.c: New file.
2530         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
2532         * sysdeps/unix/sysv/linux/getdents64.c: New file.
2533         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
2534         [$(subdir)=dirent]: Add getdents64.
2535         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
2537         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
2539 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
2541         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
2543         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
2544         * sysdeps/generic/getrlimit64.c: Likewise.
2545         * sysdeps/generic/setrlimit.c: Likewise.
2546         * sysdeps/generic/setrlimit64.c: Likewise.
2548 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
2550         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
2551         using versioning.
2553         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
2555         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
2557 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2559         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
2560         after the codeset name.
2562 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2564         * libc.map: Add get_kernel_syms.
2566 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2568         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
2569         static.
2570         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
2571         Likewise.  Fix condition.
2573 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2575         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
2577 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2579         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
2580         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
2582 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2584         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
2585         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
2586         instead.  Oops.
2588 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2590         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
2592 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2594         * math/libm-test.c (catanh_test): Change epsilon.
2595         Reported by H.J. Lu.
2597 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
2599         * libc.map (__getpid): Added for linuxthreads.
2601 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
2603         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
2604         it if gcc uses static variable in DWARF2 unwind information
2605         for exception support.
2607         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
2609         * elf/soinit.c (__libc_global_ctors, _fini): Handle
2610         HAVE_DWARF2_UNWIND_INFO_STATIC.
2612         * libc.map (__register_frame*, __deregister_frame*): Make them
2613         global.
2615 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2617         * math/libm-test.c: Add more tests for "normal" values.
2619 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2621         * stdio-common/printf_fphex.c: Fix printing of long double number
2622         with a biased exponent of zero.  Fix rounding.
2624 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2626         * sunrpc/rpc_main.c: Accept new flag -$.
2627         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
2629 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2631         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
2632         dynamic linker first, in case the interface has changed.
2634 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2636         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
2637         order.
2639 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2641         * math/tgmath.h: Check for double first, for architectures where
2642         sizeof (long double) == sizeof (double).
2644 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2646         * math/libm-test.c: New tests for "normal" values added for most
2647         functions.
2649 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
2651         * version.h (VERSION): Bump to 2.0.91.
2653         * db2/makedb.c (process_input): Fix typo in message.
2654         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
2656         * elf/dynamic-link.h: Pretty print.
2658         * elf/rtld.c: Allow multiple preloading of a shared object.
2660         * include/limits.h: Prevent multiple inclusion.
2662         * malloc/Makefile (headers): Add mcheck.h.
2663         (distribute): Remove it here.
2664         * malloc/mcheck.h: Pretty print.
2665         * malloc/mtrace.c (mallenv): Make `const'.
2666         * malloc/mtrace.pl: Don't print table head for memory leaks if there
2667         are none.
2668         * manual/memory.texi: Update descriptor of malloc hooks.
2670         * posix/Makefile (routines): Add waitid.
2671         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
2672         on __id_t.
2673         * posix/sys/wait.h: Define idtype_t type.
2674         Add prototype for waitid.
2675         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
2676         * sysdeps/generic/waitid.c: Stub for waitid.
2677         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
2678         the __need_siginfo_t defined.
2679         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
2680         * sysdeps/generic/bits/types.h: Define __id_t.
2681         Correct definition of __FDMASK.
2682         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2683         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
2686         * sysdeps/posix/waitid.c: New file.
2687         Provided by Zack Weinberg.
2689         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
2691         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
2692         Add missing parameters.
2694         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
2695         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
2696         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
2697         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
2698         initialized.
2700         * sysdeps/i386/dl-machine.h: Little cleanup.
2702         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
2703         (__finite): Mark function as const.
2704         Add inline code for __ieee754_atan2.
2706         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
2707         (but don't use it now).
2708         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
2709         __atan.
2710         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
2711         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
2712         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
2713         real part.
2714         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
2715         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
2716         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
2717         __ieee754_atan2 to base 10.
2718         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
2719         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
2721         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
2722         old_kernel_sigaction.
2724         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
2726         * wctype/Makefile (routines): Add wctype_l.
2727         * wctype/wctype.h: Add declaration of __wctype_l.
2728         * wctype/wctype_l.c: New file.
2730 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
2732         * locale/C-ctype.c: Correct data for isw* functions.
2733         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
2734         byte order.
2735         * wctype/test_wctype.c: Add test for isw* functions.
2736         * wctype/wctype.c: Return value with expected byte order.
2738 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2740         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
2742 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
2744         * iconvdata/Makefile: Fix a typo.
2746         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
2747         oldsiglist for shared library.
2749         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
2750         sys_sigabbrev): Make them as the default version GLIBC_2.1.
2752         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
2753         sys_siglist, sys_sigabbrev): New file. Make them as the old
2754         version GLIBC_2.0.
2756         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
2757         to GLIBC_2.1.
2759 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
2761         * libio/iofgets.c (_IO_fgets): Return an error only if there
2762         is a new error.
2763         * libio/iogets.c (_IO_gets): Ditto.
2765 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
2767         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
2769         * libio/Makefile (routines, shared-only-routines): Add
2770         oldiofdopen.
2772         * libio/fileops.c: Don't use _IO_FILE_complete.
2773         * libio/iofdopen.c: Ditto.
2774         * libio/iofopen.c: Ditto.
2775         * libio/iofopen64.c: Ditto.
2776         * libio/iopopen.c: Ditto.
2777         * libio/iovdprintf.c: Ditto.
2779         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
2781         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
2782         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
2784         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
2785         _IO_old_fdopen, _IO_new_fdopen): New declaration.
2787         * libio/libio.h (_IO_FILE): Add more fields.
2788         (_IO_FILE_complete): Defined and make _IO_FILE be the old
2789         one if _IO_USE_OLD_IO_FILE is defined
2790         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
2791         them _IO_FILE_complete.
2793         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
2794         to adjust vtable.
2795         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
2796         _IO_JUMPS.
2797         (_IO_FILE_complete): Commented out.
2799         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
2800         * libio/oldiofclose.c: Ditto.
2801         * libio/oldiofopen.c: Ditto.
2802         * libio/oldstdfiles.c: Ditto.
2804         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
2805         for the old _IO_FILE.
2807         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
2808         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
2809         and stderr.
2811         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
2812         and remove INAME.
2814         * libio/stdio.c (stdin, stdout, stdin): Don't use
2815         _IO_FILE_complete.
2817         * libio/oldiofdopen.c: New.
2819         * stdio-common/vfprintf.c (buffered_vfprintf): Set
2820         hp->_vtable_offset to 0.
2822 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
2824         * libc.map (_IO_file_open): Added.
2826         * libio/libioP.h (_IO_file_open): Declared.
2828         * libio/fileops.c (_IO_file_open): New.
2829         (_IO_file_fopen): Call _IO_file_open ().
2831         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
2832         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
2834 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2836         * signal/signal.h: Fix selection of signal semantics to match
2837         comment.
2839 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2841         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
2842         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
2843         rt_sigreturn.
2844         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
2845         [$(subdir)=signal]: Remove rt_sigreturn.
2846         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
2847         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
2848         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
2850 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2852         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
2853         declarations.
2855 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2857         * iconvdata/extra-module.mk: Expand extra-objs now.
2859 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2861         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
2862         inline functions by feature tests to avoid warning about missing
2863         prototype declarations.
2865 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2867         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
2868         return code for non existent +name entries.
2869         * nis/nss_compat/compat-pwd.c: Likewise.
2870         * nis/nss_compat/compat-spwd.c: Likewise.
2872 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
2874         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
2875         (EIO): Likewise.
2876         (ENOSPC): Likewise.
2877         (EEXIST): Likewise.
2878         (__errno_location): Likewise.
2880         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
2882         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
2884 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2886         * sunrpc/publickey.c: Use new NSS interface.
2888 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
2890         * manual/malloc.texi: Document mtrace/muntrace and the concept.
2892 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2894         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
2895         value, to match spirit of the standard.
2896         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
2897         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
2898         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
2900 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2902         * manual/signal.texi (Signal Stack): Remove spurious @item.
2904 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2906         * rt/aio.h: Remove double semicolon.
2908         * rt/librt.map: Add aio_init.
2910 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
2912         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
2913         * Makefile (subdirs): Replace rt by $(rt).
2915         * shlib-versions: Use version .2 for NSS modules.
2917         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
2918         argument.
2919         * pwd/fgetpwent_r.c: Likewise.
2920         * spwd/fgetspent_r.c: Likewise.
2921         * spwd/sgetspent_r.c: Likewise.
2922         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
2923         Store error number in *ERRNOP.  Little optimization.
2924         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
2925         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
2926         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
2927         (__internal_getnetgrent_r): New argument.
2928         Call __internal_setnetgrent_reuse with new argument.
2929         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
2930         * inet/netgroup.h: Add argument to prototypes.
2931         * nis/nisplus-parser.h: Likewise.
2932         * nis/nss_compat/compat-grp.c: Change everything to store error
2933         code through provided pointer and not use errno.
2934         * nis/nss_compat/compat-pwd.c: Likewise.
2935         * nis/nss_compat/compat-spwd.c: Likewise.
2936         * nis/nss_nis/nis-alias.c: Likewise.
2937         * nis/nss_nis/nis-ethers.c: Likewise.
2938         * nis/nss_nis/nis-grp.c: Likewise.
2939         * nis/nss_nis/nis-hosts.c: Likewise.
2940         * nis/nss_nis/nis-netgrp.c: Likewise.
2941         * nis/nss_nis/nis-network.c: Likewise.
2942         * nis/nss_nis/nis-proto.c: Likewise.
2943         * nis/nss_nis/nis-publickey.c: Likewise.
2944         * nis/nss_nis/nis-pwd.c: Likewise.
2945         * nis/nss_nis/nis-rpc.c: Likewise.
2946         * nis/nss_nis/nis-service.c: Likewise.
2947         * nis/nss_nis/nis-spwd.c: Likewise.
2948         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2949         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2950         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2951         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2952         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2953         * nis/nss_nisplus/nisplus-network.c: Likewise.
2954         * nis/nss_nisplus/nisplus-parser.c: Likewise.
2955         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2956         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2957         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2958         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2959         * nis/nss_nisplus/nisplus-service.c: Likewise.
2960         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2961         * nss/nss_db/db-XXX.c: Likewise.
2962         * nss/nss_db/db-alias.c: Likewise.
2963         * nss/nss_db/db-netgrp.c: Likewise.
2964         * nss/nss_files/files-XXX.c: Likewise
2965         * nss/nss_files/files-alias.c: Likewise
2966         * nss/nss_files/files-netgrp.c: Likewise
2967         * nss/nss_files/files-parse.c: Likewise
2968         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
2969         parameter of get functions.
2970         * nss/getXXent_r.c: Likewise.
2972         * localedata/tst-fmon.c: Print debug info if test fails.
2974         * rt/Makefile (routines): Add aio_notify.
2975         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
2976         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
2977         * rt/aio_fsync.c: Likewise.
2978         * rt/aio_misc.c: Likewise.
2979         * rt/aio_misc.h: Likewise.
2980         * rt/aio_read.c: Likewise.
2981         * rt/aio_read64.c: Likewise.
2982         * rt/aio_suspend.c: Likewise.
2983         * rt/aio_write.c: Likewise.
2984         * rt/aio_write64.c: Likewise.
2985         * rt/lio_listio.c: Likewise.
2986         * rt/lio_listio64.c: Likewise.
2987         * rt/aio_notify.c: New file.
2989         * sysdeps/generic/bits/sigset.h: Pretty print.
2991         * sysdeps/posix/pwrite.c: Define weak alias only if function is
2992         really defined as __pwrite.
2994         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
2995         instead of pread64.
2996         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2998         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
2999         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
3000         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
3001         size in syscall.
3002         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3003         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3004         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
3005         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3006         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3007         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3008         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
3009         for ACT being NULL.
3010         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
3011         RT signals.
3012         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
3013         __NR_pread is not defined.
3014         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
3015         __NR_pwrite is not defined.
3017 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3019         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
3020         handle for /etc/group back in some more cases.
3021         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
3022         handle for /etc/passwd back in some more cases.
3023         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
3024         handle for /etc/shadow back in some more cases.
3026 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
3028         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
3029         beyound its size.
3030         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
3031         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
3033 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
3035         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
3036         handling.  Don't use macros, we need functions.  Use inline functions
3037         for optimization.
3038         * sysdeps/wordsize-64/inttypes.h: Likewise.
3039         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
3040         and wcstoumax.
3041         * sysdeps/wordsize-64/Makefile: Likewise.
3042         * sysdeps/wordsize-32/Dist: Likewise.
3043         * sysdeps/wordsize-64/Dist: Likewise.
3044         * sysdeps/wordsize-32/strtoimax.c: New file.
3045         * sysdeps/wordsize-32/strtoumax.c: New file.
3046         * sysdeps/wordsize-32/wcstoimax.c: New file.
3047         * sysdeps/wordsize-32/wcstoumax.c: New file.
3048         * sysdeps/wordsize-64/strtoimax.c: New file.
3049         * sysdeps/wordsize-64/strtoumax.c: New file.
3050         * sysdeps/wordsize-64/wcstoimax.c: New file.
3051         * sysdeps/wordsize-64/wcstoumax.c: New file.
3053 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
3055         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
3056         that transparent union works.
3057         * sysdeps/generic/wait4.c (__wait4): Likewise.
3058         * sysdeps/generic/wait.c (__wait): Likewise.
3060         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
3061         size_t.
3063         * sysdeps/generic/syscall.c (syscall): Return value and arg are
3064         long, to match prototype.
3066         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
3067         have mremap() yet.
3069         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
3071         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
3073         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
3075         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
3076         __rlim_t.
3078         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
3080         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
3082         * io/sys/stat.h (S_ISLNK): Always false if we don't have
3083         __S_IFLNK.
3085         * sysdeps/standalone/close.c (_STDIO_H): Define before including
3086         <bits/stdio_lim.h>.
3087         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
3089 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
3091         * posix/sys/wait.h: Don't use transparent unions in C++.
3093 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3095         * time/time.h: Add strfxtime.
3097         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
3098         sysv_signal, strfxtime, pread64, pwrite64.
3100 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
3102         Alpha changes for EGCS:
3103         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
3104         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
3105         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
3106         (_start): Likewise.
3107         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
3109 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
3111         The kernel expects the arguments in a different order.
3112         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
3113         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
3115         * FAQ.in: New file.
3116         * gen-FAQ.pl: New file.
3117         * Makefile (FAQ): Add rule to generate from FAQ.in.
3119         * iconvdata/Makefile: Treat libJIS like the other modules.
3121         * rt/librt.map: New file.
3123         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
3124         inclusion.
3125         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
3126         comment.
3128 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
3130         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
3131         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3132         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
3133         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3135 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3137         * string/bits/string2.h: Fix spellings.
3139         * string/string.h: Fix spellings.
3141 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3143         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
3144         declaration to __syscall_rt_sigaction.
3146         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
3147         non-existant <sigcontext.h>.
3149 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3151         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
3152         typo.
3154 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3156         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
3158         * Makeconfig (shared-thread-library): Correct spelling.
3160         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
3161         <asm/pci.h>.
3163 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3165         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
3166         constants from Linux headers. Pointed out by
3167         csmall@scooter.o.i.net. [PR libc/369]
3169 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3171         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
3173 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3175         * configure.in: If --enable-add-ons is given without an
3176         argument, set the addons list to all subdirs with a configure
3177         script.
3179 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
3181         * Makeconfig: Add shared-thread-library variable.
3183         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
3184         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
3185         here.
3186         * sysdeps/m68k/fpu/e_acos.c: Likewise.
3187         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3188         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3189         * sysdeps/m68k/fpu/e_pow.c: Likewise.
3190         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3191         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3192         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3193         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3194         * sysdeps/m68k/fpu/s_atan.c: Likewise.
3195         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3196         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3197         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3198         * sysdeps/m68k/fpu/s_csin.c: Likewise.
3199         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3200         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3201         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3202         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3203         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3204         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3205         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3206         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
3207         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3208         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
3209         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3210         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
3212         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
3213         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
3214         * signal/Makefile (headers): Add bits/siginfo.h.
3215         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
3216         (distribute): Add testrtsig.h.
3217         * signal/allocrtsig.c: New file.
3218         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
3219         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
3220         __libc_current_sigrtmax.
3221         * sysdeps/generic/sigqueue.c: New file.
3222         * sysdeps/generic/sigtimedwait.c: New file.
3223         * sysdeps/generic/sigwaitinfo.c: New file.
3224         * sysdeps/generic/testrtsig.h: New file.
3225         * sysdeps/generic/bits/siginfo.h: New file.
3226         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
3227         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
3228         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
3229         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
3230         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
3231         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
3232         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
3233         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
3234         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
3235         * sysdeps/unix/sysv/linux/sigpending.c: New file.
3236         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
3237         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
3238         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
3239         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
3240         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
3241         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
3242         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
3243         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
3244         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
3245         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
3246         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
3247         and _POSIX_REALTIME_SIGNALS.
3248         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
3249         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
3250         update _NSIG.
3251         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
3252         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
3253         definitions.
3255         * Makefile (subdirs): Add rt.
3256         * shlib-versions: Add entry for librt.
3257         * rt/Makefile: New file.
3258         * rt/aio.h: New file.
3259         * rt/aio_cancel.c: New file.
3260         * rt/aio_error.c: New file.
3261         * rt/aio_fsync.c: New file.
3262         * rt/aio_misc.c: New file.
3263         * rt/aio_misc.h: New file.
3264         * rt/aio_read.c: New file.
3265         * rt/aio_read64.c: New file.
3266         * rt/aio_return.c: New file.
3267         * rt/aio_suspend.c: New file.
3268         * rt/aio_write.c: New file.
3269         * rt/aio_write64.c: New file.
3270         * rt/lio_listio.c: New file.
3271         * rt/lio_listio64.c: New file.
3272         * sysdeps/generic/aio_sigqueue.c: New file.
3273         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
3274         * sysdeps/unix/sysv/linux/Dist: Add new files
3275         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
3276         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
3277         rt_sigqueueinfo, rt_sigaction.
3279         * posix/Makefile (headers): Add bits/environments.h.
3280         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
3281         and _CS_LFS_CFLAGS on 64bit platforms.
3282         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
3283         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
3284         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
3285         compilation modules.
3286         * sysdeps/wordsize-32/bits/environments.h: New file.
3287         * sysdeps/wordsize-64/bits/environments.h: New file.
3289         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
3290         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
3291         __libc_pid.
3292         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
3293         0xf00baa.
3295         * string/string.h: Add declaration of __strverscmp.
3296         * string/strverscmp.c: Rename function ot __strverscmp and make old
3297         name weak alias.
3299         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
3300         * sysdeps/generic/enbl-secure.c: Likewise.
3301         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3303         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
3305         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
3307 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
3309         * posix/sys/wait.h: Use __transparent_union__ instead of
3310         transparent_union.  Reported by Roland McGrath.
3312 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3314         * resolv/inet_neta.c (inet_neta): Change type of first parameter
3315         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
3316         [PR libc/366].
3318         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
3320         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
3322 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3324         * grp/initgroups.c: Increase buffer if it is too small.
3326 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
3328         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
3329         fields, this is no ISO C.  Reported by Andreas Jaeger.
3331 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3333         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
3335 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
3337         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
3338         _SYS_UTSNAME_H not _UTSNAME_H.
3340 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3342         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
3343         computing s_scale.
3345 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3347         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
3348         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
3349         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
3351         * math/libm-test.c (csqrt_test): Add testcase.
3353 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
3355         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
3356         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
3357         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
3359 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3361         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
3363 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3365         * math/libm-test.c (acos_test): Add more tests.
3366         (asin_test): Likewise.
3367         (atan_test): Likewise.
3368         (exp_test): Likewise.
3369         (sin_test): Likewise.
3370         (sqrt_test): Likewise.
3371         (cpow_test): Likewise.
3372         (csqrt_test): Likewise.
3373         (cexp_test): Correct typo in gcc version test.
3375 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
3377         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
3378         <bits/setjmp.h>.
3379         * sysdeps/arm/setjmp.S: Likewise.
3381         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
3383 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
3385         * stdio/stdio.h: Add prototype for tmpfile64().
3387 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
3389         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
3390         prototype to keep in step with libio version.
3392         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
3394 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
3396         * sysdeps/generic/Makefile: Don't try to use make_siglist if
3397         cross-compiling.
3399 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
3401         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
3402         load GOT ptr before jumping to _exit.
3403         Reported by Xavier Leroy.
3405 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
3407         * Makefile (subdirs): Add iconvdata and localedata.
3409         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
3411         * iconv/gconv_conf.c (read_conf_file): Little optimization.
3413         * iconvdata/8bit-gap.c: New file.
3414         * iconvdata/8bit-generic.c: Renamed from ...
3415         * iconvdata/iso8859-generic.c: ...this.
3416         * iconvdata/configure: Removed.
3417         * iconvdata/Makefile: Add new modules and better rules.
3418         * iconvdata/iso6937.c: Minor bug fixes.
3419         * iconvdata/iso8859-1.c: Likewise.
3420         * iconvdata/t61.c: Likewise.
3421         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
3422         Minor bug fixes.
3423         * iconvdata/iso8859-3.c: Likewise.
3424         * iconvdata/iso8859-4.c: Likewise.
3425         * iconvdata/iso8859-5.c: Likewise.
3426         * iconvdata/iso8859-6.c: Likewise.
3427         * iconvdata/iso8859-7.c: Likewise.
3428         * iconvdata/iso8859-8.c: Likewise.
3429         * iconvdata/iso8859-9.c: Likewise.
3430         * iconvdata/iso8859-10.c: Likewise.
3431         * iconvdata/ebcdic-at-de-a.c: New file.
3432         * iconvdata/ebcdic-at-de.c: New file.
3433         * iconvdata/ebcdic-ca-fr.c: New file.
3434         * iconvdata/hp-roman8.c: New file.
3435         * iconvdata/koi-8.c: New file.
3436         * iconvdata/koi8-r.c: New file.
3437         * iconvdata/koi8-h.c: New file.
3438         * iconvdata/latin-greek-1.c: New file.
3439         * iconvdata/latin-greek-1.h: New file.
3440         * iconvdata/latin-greek.c: New file.
3441         * iconvdata/latin-greek.h: New file.
3442         * iconvdata/jis0201.c: New file.
3443         * iconvdata/jis0201.h: New file.
3444         * iconvdata/jis0208.c: New file.
3445         * iconvdata/jis0208.h: New file.
3446         * iconvdata/jis0212.c: New file.
3447         * iconvdata/jis0212.h: New file.
3448         * iconvdata/sjis.c: New file.
3449         * iconvdata/gap.pl: New file.  Script to generate table header.
3450         * iconvdata/gaptab.pl: New file.
3451         * iconvdata/gconv-modules: Add info about new modules.
3453         * locale/programs/charmap.c: Also examine alias names given in charmap
3454         files.
3456         * localedata/*: Add to here from add-on.  We need the information
3457         to generate tables for iconv.
3459         Update from db-2.3.14.
3460         * db2/Makefile: Updated.
3461         * db2/config.h: Likewise.
3462         * db2/db.h: Likewise.
3463         * db2/db_int.h: Likewise.
3464         * db2/btree/bt_cursor.c: Likewise.
3465         * db2/btree/bt_delete.c: Likewise.
3466         * db2/btree/bt_put.c: Likewise.
3467         * db2/btree/bt_search.c: Likewise.
3468         * db2/btree/bt_split.c: Likewise.
3469         * db2/btree/btree_auto.c: Likewise.
3470         * db2/common/db_appinit.c: Likewise.
3471         * db2/common/db_apprec.c: Likewise.
3472         * db2/common/db_err.c: Likewise.
3473         * db2/common/db_region.c: Likewise.
3474         * db2/db/db_auto.c: Likewise.
3475         * db2/db/db_dispatch.c: Likewise.
3476         * db2/db/db_ret.c: Likewise.
3477         * db2/dbm/dbm.c: Likewise.
3478         * db2/hash/hash_auto.c: Likewise.
3479         * db2/include/btree_ext.h: Likewise.
3480         * db2/include/common_ext.h: Likewise.
3481         * db2/include/db.h.src: Likewise.
3482         * db2/include/db_cxx.h: Likewise.
3483         * db2/include/db_ext.h: Likewise.
3484         * db2/include/db_int.h.src: Likewise.
3485         * db2/include/lock.h: Likewise.
3486         * db2/include/log.h: Likewise.
3487         * db2/include/mp.h: Likewise.
3488         * db2/include/mp_ext.h: Likewise.
3489         * db2/include/os_ext.h: Likewise.
3490         * db2/include/os_func.h: Likewise.
3491         * db2/lock/lock.c: Likewise.
3492         * db2/lock/lock_deadlock.c: Likewise.
3493         * db2/log/log.c: Likewise.
3494         * db2/log/log_archive.c: Likewise.
3495         * db2/log/log_auto.c: Likewise.
3496         * db2/log/log_get.c: Likewise.
3497         * db2/log/log_put.c: Likewise.
3498         * db2/mp/mp_bh.c: Likewise.
3499         * db2/mp/mp_fget.c: Likewise.
3500         * db2/mp/mp_fopen.c: Likewise.
3501         * db2/mp/mp_fput.c: Likewise.
3502         * db2/mp/mp_fset.c: Likewise.
3503         * db2/mp/mp_open.c: Likewise.
3504         * db2/mp/mp_pr.c: Likewise.
3505         * db2/mp/mp_region.c: Likewise.
3506         * db2/mp/mp_sync.c: Likewise.
3507         * db2/mutex/README: Likewise.
3508         * db2/mutex/mutex.c: Likewise.
3509         * db2/os/os_open.c: Likewise.
3510         * db2/os/os_func.c: Removed.
3511         * db2/os/os_config.c: New file.
3512         * db2/os/os_spin.c: New file.
3513         * db2/txn/txn.c: Likewise.
3514         * db2/txn/txn_auto.c: Likewise.
3516 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
3518         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
3519         __typeof for C++ since this fails for class members.
3520         Reported by Neal Becker <neal@ctd.comsat.com>.
3522 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3524         * configure.in: Check for a working makeinfo (3.11 or better).
3525         * config.make.in: Add MAKEINFO to be substituted.
3526         * manual/Makefile: Don't update info if makeinfo is too old.
3528 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
3530         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
3531         * sysdeps/alpha/__longjmp.S: Likewise.
3532         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
3533         not <bits/termios.h>.
3535         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
3536         __llseek and make llseek and lseek64 weak aliases.
3537         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3538         Patches by a sun <asun@zoology.washington.edu>.
3540 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3542         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
3543         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3544         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3545         * misc/sys/syslog.h: Clean up BSD header.
3547 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3549         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
3551         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
3552         for ctan(+-inf,x).
3553         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
3554         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
3556         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
3557         csqrt (-1), ctanh(i*pi/4).
3559 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3561         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
3563 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
3565         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
3567 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3569         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
3571 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
3573         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
3574         and use.  Define GETCWD_RETURN_TYPE instead and use it.
3575         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
3576         of GETCWD_STORYGE_CLASS and put the return type and the
3577         `internal_function' in the right order for gcc 2.7.2.
3579 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3581         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
3582         incompatible with Linux 2.1.x.  Packages using modules
3583         (e.g. modutils) should/do provide their own version.  Suggested by
3584         Richard Henderson.
3586         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
3588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
3589         [$(subdir)=socket]: Remove sys/module.h.
3591 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
3593         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
3594         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
3596         * iconv/gconv_close.c: Correct freeing of descriptor data.
3597         * iconv/gconv_simple.c: Return correct error values for illegal or
3598         incomplete characters.
3600         * Makefile (iconvdata/%): Special goal to simplify iconvdata
3601         development.
3602         * iconvdata/Makefile: New file.
3603         * iconvdata/configure: Likewise.
3604         * iconvdata/extra-module.mk: Likewise.
3605         * iconvdata/gconv-modules: Likewise.
3606         * iconvdata/iso6937.c: Likewise.
3607         * iconvdata/iso8859-1.c: Likewise.
3608         * iconvdata/iso8859-10.c: Likewise.
3609         * iconvdata/iso8859-10.h: Likewise.
3610         * iconvdata/iso8859-2.c: Likewise.
3611         * iconvdata/iso8859-2.h: Likewise.
3612         * iconvdata/iso8859-3.c: Likewise.
3613         * iconvdata/iso8859-3.h: Likewise.
3614         * iconvdata/iso8859-4.c: Likewise.
3615         * iconvdata/iso8859-4.h: Likewise.
3616         * iconvdata/iso8859-5.c: Likewise.
3617         * iconvdata/iso8859-5.h: Likewise.
3618         * iconvdata/iso8859-6.c: Likewise.
3619         * iconvdata/iso8859-6.h: Likewise.
3620         * iconvdata/iso8859-7.c: Likewise.
3621         * iconvdata/iso8859-7.h: Likewise.
3622         * iconvdata/iso8859-8.c: Likewise.
3623         * iconvdata/iso8859-8.h: Likewise.
3624         * iconvdata/iso8859-9.c: Likewise.
3625         * iconvdata/iso8859-9.h: Likewise.
3626         * iconvdata/iso8859-generic.c: Likewise.
3627         * iconvdata/t61.c: Likewise.
3629         * string/Makefile (routines): Add strcasestr.
3630         * string/string.h: Add prototype for strcasestr.
3631         * sysdeps/generic/strcasestr.c: New file.
3632         * wcsmbs/mbrtowc.c: Simplify special case a bit.
3633         * wcsmbs/wcrtomb.c: Likewise.
3634         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
3635         * wcsmbs/wcsnrtombs.c: Likewise.
3636         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
3637         partial character is read.
3638         * wcsmbs/wcsrtombs.c: Likewise.
3639         * wcsmbs/wmemrtombs.c: Likewise.
3640         * wcsmbs/wmemrtowcs.c: Likewise.
3642         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
3643         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
3644         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
3645         * sysdeps/i386/elf/setjmp.S: Likewise.
3646         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
3647         <bits/termios.h>.
3649         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
3650         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
3652         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
3653         * sysvipc/sys/ipc.h: Likewise.
3654         * sysvipc/sys/msg.h: Likewise.
3655         * sysvipc/sys/sem.h: Likewise.
3656         * sysvipc/sys/shm.h: Likewise.
3658         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
3659         used directly.
3660         * sysdeps/alpha/bits/setjmp.h: Likewise.
3661         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
3662         * sysdeps/arm/bits/endian.h: Likewise.
3663         * sysdeps/arm/bits/setjmp.h: Likewise.
3664         * sysdeps/generic/bits/byteswap.h: Likewise.
3665         * sysdeps/generic/bits/confname.h: Likewise.
3666         * sysdeps/generic/bits/dirent.h: Likewise.
3667         * sysdeps/generic/bits/dlfcn.h: Likewise.
3668         * sysdeps/generic/bits/endian.h: Likewise.
3669         * sysdeps/generic/bits/fenv.h: Likewise.
3670         * sysdeps/generic/bits/huge_val.h: Likewise.
3671         * sysdeps/generic/bits/in.h: Likewise.
3672         * sysdeps/generic/bits/ioctl-types.h: Likewise.
3673         * sysdeps/generic/bits/ioctls.h: Likewise.
3674         * sysdeps/generic/bits/ipc.h: Likewise.
3675         * sysdeps/generic/bits/msq.h: Likewise.
3676         * sysdeps/generic/bits/poll.h: Likewise.
3677         * sysdeps/generic/bits/resource.h: Likewise.
3678         * sysdeps/generic/bits/sched.h: Likewise.
3679         * sysdeps/generic/bits/sem.h: Likewise.
3680         * sysdeps/generic/bits/setjmp.h: Likewise.
3681         * sysdeps/generic/bits/shm.h: Likewise.
3682         * sysdeps/generic/bits/sigaction.h: Likewise.
3683         * sysdeps/generic/bits/sigcontext.h: Likewise.
3684         * sysdeps/generic/bits/socket.h: Likewise.
3685         * sysdeps/generic/bits/stat.h: Likewise.
3686         * sysdeps/generic/bits/statfs.h: Likewise.
3687         * sysdeps/generic/bits/stdio_lim.h: Likewise.
3688         * sysdeps/generic/bits/termios.h: Likewise.
3689         * sysdeps/generic/bits/time.h: Likewise.
3690         * sysdeps/generic/bits/uio.h: Likewise.
3691         * sysdeps/generic/bits/utmp.h: Likewise.
3692         * sysdeps/generic/bits/utmpx.h: Likewise.
3693         * sysdeps/generic/bits/utsname.h: Likewise.
3694         * sysdeps/generic/bits/waitflags.h: Likewise.
3695         * sysdeps/generic/bits/waitstatus.h: Likewise.
3696         * sysdeps/gnu/bits/utmp.h: Likewise.
3697         * sysdeps/gnu/bits/utmpx.h: Likewise.
3698         * sysdeps/i386/bits/byteswap.h: Likewise.
3699         * sysdeps/i386/bits/endian.h: Likewise.
3700         * sysdeps/i386/bits/huge_val.h: Likewise.
3701         * sysdeps/i386/bits/setjmp.h: Likewise.
3702         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3703         * sysdeps/ieee754/bits/huge_val.h: Likewise.
3704         * sysdeps/m68k/bits/byteswap.h: Likewise.
3705         * sysdeps/m68k/bits/endian.h: Likewise.
3706         * sysdeps/m68k/bits/setjmp.h: Likewise.
3707         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
3708         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
3709         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3710         * sysdeps/mach/hurd/bits/stat.h: Likewise.
3711         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
3712         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
3713         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
3714         * sysdeps/mips/bits/dlfcn.h: Likewise.
3715         * sysdeps/mips/bits/endian.h: Likewise.
3716         * sysdeps/mips/bits/setjmp.h: Likewise.
3717         * sysdeps/mips/dec/bits/endian.h: Likewise.
3718         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
3719         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
3720         * sysdeps/mips/p40/bits/endian.h: Likewise.
3721         * sysdeps/powerpc/bits/endian.h: Likewise.
3722         * sysdeps/powerpc/bits/fenv.h: Likewise.
3723         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3724         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
3725         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3726         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
3727         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
3728         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
3729         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
3730         * sysdeps/unix/bsd/bits/stat.h: Likewise.
3731         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
3732         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
3733         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
3734         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
3735         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
3736         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
3737         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
3738         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
3739         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
3740         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
3741         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
3742         * sysdeps/unix/common/bits/dirent.h: Likewise.
3743         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
3744         * sysdeps/unix/sysv/bits/stat.h: Likewise.
3745         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3746         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3747         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
3748         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
3749         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
3750         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
3751         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
3752         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3753         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
3754         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
3755         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
3756         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
3757         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3758         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
3759         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
3760         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3761         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3762         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
3763         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3764         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3765         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3766         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3767         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
3768         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
3769         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3770         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3771         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
3772         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
3773         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
3774         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3775         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
3776         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
3777         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
3778         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
3779         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
3780         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
3781         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
3782         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
3783         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
3784         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
3785         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3786         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
3787         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
3788         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
3789         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
3790         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
3791         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
3792         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
3793         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3794         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
3795         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
3796         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
3799         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
3800         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
3802         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3803         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
3804         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
3805         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3806         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
3807         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
3808         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
3809         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
3810         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
3811         * sysdeps/vax/bits/huge_val.h: Likewise.
3812         * sysdeps/vax/bits/setjmp.h: Likewise.
3813         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
3814         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
3816 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3818         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
3820 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
3822         * strftime.c (strftime):
3823         No longer any need to undef or declare if emacs is defined.
3824         (my_strftime): When checking a -1 returned by mktime, don't blow up
3825         if localtime_r returns NULL.
3827 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3829         * README.template: Fix spelling.
3831 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3833         * configure.in: Enhance --enable-add-ons description a wee bit.
3835 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3837         * glibcbug.in: Add more information of build environment and flags.
3839 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3841         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
3842         it into ENOENT.
3844 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
3846         * elf/dl-support.c: Call __libc_init_secure to make sure
3847         __libc_enable_secure is defined early.
3848         * sysdeps/generic/enbl-secure.c: Change function name to
3849         __libc_init_secure and make it global instead of a constructor.
3851         * iconv/gconv.c: Fix lots of bugs.
3852         * iconv/gconv.h: Likewise.
3853         * iconv/gconv_builtin.h: Likewise.
3854         * iconv/gconv_close.c: Likewise.
3855         * iconv/gconv_conf.c: Likewise.
3856         * iconv/gconv_db.c: Likewise.
3857         * iconv/gconv_dl.c: Likewise.
3858         * iconv/gconv_open.c: Likewise.
3859         * iconv/gconv_simple.c: Likewise.
3860         * iconv/iconv.c: Likewise.
3861         * iconv/iconv_close.c: Likewise.
3862         * iconv/iconv_open.c: Likewise.
3864         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
3865         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
3866         * wcsmbs/wmemrtombs.c: New file.
3867         * wcsmbs/wmemrtowcs.c: New file.
3869 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
3871         * iconv/gconv_simple.c: Fix lots of bugs.
3872         * iconv/iconv_open.c: Normalize names before passing them to
3873         __gconv_open.
3875         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
3877         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
3878         * stdio-common/test-popen.c: Add test for above change.
3880         * math/libm-test.c: Print test results also using %a format,
3881         specified in PRINTF_XEXPR macro.
3882         * math/test-double.c: Define PRINTF_XEXPR.
3883         * math/test-float.c: Likewise.
3884         * math/test-ldouble.c: Likewise.
3885         * math/test-idouble.c: Likewise.
3886         * math/test-ifloat.c: Likewise.
3887         * math/test-ildoubl.c: Likewise.
3889         * stdio-common/vfscanf.c: Recognize a in format specifier only as
3890         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
3891         FP number format.
3893         * stdlib/strtod.c: Little code cleanup.
3895         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
3896         compiling in math subdir.
3898         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
3899         instead of __LIBC_M81_MATH_INLINES.
3900         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
3901         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
3902         * sysdeps/m68k/fpu/e_pow.c: Likewise.
3903         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
3904         * sysdeps/m68k/fpu/k_cos.c: Likewise.
3905         * sysdeps/m68k/fpu/k_sin.c: Likewise.
3906         * sysdeps/m68k/fpu/k_tan.c: Likewise.
3907         * sysdeps/m68k/fpu/s_atan.c: Likewise.
3908         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
3909         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
3910         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
3911         * sysdeps/m68k/fpu/s_csin.c: Likewise.
3912         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
3913         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
3914         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
3915         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
3916         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
3917         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
3918         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
3919         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
3920         * sysdeps/m68k/fpu/s_modf.c: Likewise.
3921         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
3922         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
3923         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
3924         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
3925         __LIBC_INTERNAL_MATH_INLINES is defined.
3927         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
3928         of compare macros from ISO C 9X.  Optimize generic versions a bit.
3929         Define __signbit inline functions and __ieee754_sqrt which can be
3930         used if the ompiler is fixed.
3932         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
3934 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3936         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
3937         sysdeps/generic in the whole dep file, not only in the first line.
3939 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3941         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
3943 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3945         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
3946         place.
3948 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3950         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
3951         is non-empty.
3953 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
3955         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
3956         return value.
3958 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
3960         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
3961         readlink succeeds but the return value is too long.
3963         * stdio-common/printf_fphex.c: Determine sign of number correctly.
3965 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
3967         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
3968         __remqu for Alpha.
3970 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
3972         * sysdeps/generic/sys/ucontext.h: Stub context file.
3974         * libio/iofprintf.c: Removed.  We use the stdio-common version.
3976         * manual/Makefile (distribute): Add stdio-fp.c.
3978         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
3980         * db2/Makefile (distribute): Add include/os_func.h, README and
3981         mutex/tsl_parisc.s.
3983         * hesiod/Makefile (distribute): Add README.hesiod.
3985 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
3987         * iconv/gconv.c: Correctly call transformation function.
3989         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
3991 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3993         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
3994         wrong results for e.g. remquo (3,2, &x)).
3995         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
3996         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
3998 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4000         * configure.in (ld --version-script): Test if the same symbol
4001         maybe defined in all versions (needed by recent changes to
4002         libc.map and supported with binutils 2.8.1.0.17) and issue warning
4003         if versioning is not supported/enabled.
4004         (bash test): Correct test case.
4006         * math/libm-test.c: Added counting/reporting of number of test cases.
4008         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
4009         use awk instead.
4011         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
4013 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4015         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
4017 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
4019         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
4020         Replace revoke call by use of REVOKE.
4021         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
4022         empty and #include generic version.
4023         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4025 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
4027         * libc.map: Add socket functions with __libc_* names.
4028         Reported by Andreas Jaeger.
4030 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4032         * libc.map: Tidy up (remove duplicates, sort entries).
4034 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4036         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
4038 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
4040         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
4041         again after successful call.
4042         Patch by Marc Lehmann <pcg@goof.com>.
4044 1997-11-17  Paul Eggert  <eggert@twinsun.com>
4046         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
4047         as some hosts need this to declare localtime_r properly.
4049 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
4051         * libc.map: Add iconv_open, iconv, and iconv_close.
4053 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
4055         * iconv/Makefile: New file.
4056         * iconv/gconv.c: New file.
4057         * iconv/gconv.h: New file.
4058         * iconv/gconv_builtin.c: New file.
4059         * iconv/gconv_builtin.h: New file.
4060         * iconv/gconv_close.c: New file.
4061         * iconv/gconv_conf.c: New file.
4062         * iconv/gconv_db.c: New file.
4063         * iconv/gconv_dl.c: New file.
4064         * iconv/gconv_open.c: New file.
4065         * iconv/gconv_simple.c: New file.
4066         * iconv/iconv.c: New file.
4067         * iconv/iconv.h: New file.
4068         * iconv/iconv_close.c: New file.
4069         * iconv/iconv_open.c: New file.
4070         * include/gconv.h: New file.
4072         * Makeconfig: Define gconvdir.
4073         * Makefile (subdirs): Add iconv.
4075         * string/bits/string2.h: Add optimization for strtok_r.
4077         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
4078         for NULL.
4079         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
4080         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
4082         * configure.in: Correct test for bash2.
4083         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4085         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
4086         (CFLAGS-locfile.c): Likewise.
4087         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
4089         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
4090         non-existing entry if the table is full.
4092         * posix/regex.h: Pretty print.
4094         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
4096         * sysdeps/posix/ctermid.c: Simplify a bit.
4098         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
4100 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4102         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
4103         <sys/types.h> instead of <asm/types.h>.
4105 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4107         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
4109 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
4111         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
4112         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
4113         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
4114         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
4115         fclose): Added to GLIBC_2.1.
4117         * libio/Makefile (routines, shared-only-routines): Add
4118         oldiofclose.  Remove oldfreopen.
4120         * libio/freopen.c (freopen): When PIC is defined, call
4121         _IO_old_freopen () for old stdio.
4123         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
4124         (_IO_fclose, fclose): Use _IO_new_fclose as default version
4125         for GLIBC_2.1.
4127         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
4128         instead of _IO_file_close_it.
4130         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
4131         to _IO_2_1_stdxxx_.
4132         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
4133         is defined.
4135         * libio/libioP.h (_IO_old_do_flush): New.
4137         * libio/oldfileops.c (_IO_old_file_close_it,
4138         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
4139         Call _IO_old_do_flush () instead of _IO_do_flush ().
4140         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
4141         _IO_do_write ().
4143         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
4144         instead of _IO_file_init ().
4145         Bind old symbols to version GLIBC_2.0.
4147         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
4148         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
4149         _IO_stdxxx_.
4150         (_IO_check_libio): New function in .init.
4152         * libio/oldiofclose.c: New file.
4154         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
4155         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
4156         (DEF_STDFILE): Don't use default_symbol_version.
4158         * libio/stdio.c (stdin, stdout, stderr): Set to
4159         _IO_2_1_stdxxx_._
4160         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
4161         stdxxx.
4163         * csu/Makefile (distribute): Add init.c.
4164         (extra-objs): Add init.o for ELF.
4165         (start-installed-name): Add $(objpfx)init.o.
4167         * csu/init.c: New file.
4169 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
4171         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
4172         definition as the default.
4174 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
4176         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
4178 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4180         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
4181         (PR 351).
4183 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
4185         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
4186         to preserve condition codes on function call.
4188 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4190         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
4192 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4194         * math/libm-test.c (asin_test): Add epsilon for float.
4195         (tan_test): Add epsilon for float.
4196         (log1p_test): Add epsilon for float.
4197         (inverse_functions): Add epsilons.
4199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
4200         net/if_packet.h.
4202         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
4204 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4206         * md5-crypt/Makefile (extra-objs): Make recursively expanded
4207         variable, since $(object-suffixes) is not defined yet.
4209 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4211         * db2/Makefile (distribute): db185/db185_int.src ->
4212         db185/db185_int.h.
4214 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4216         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
4217         exactly one.
4219 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4221         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
4222         name.
4223         * sysdeps/generic/e_acosl.c: Likewise.
4224         * sysdeps/generic/e_asinl.c: Likewise.
4225         * sysdeps/generic/e_atan2l.c: Likewise.
4226         * sysdeps/generic/e_expl.c: Likewise.
4227         * sysdeps/generic/e_fmodl.c: Likewise.
4228         * sysdeps/generic/e_j0l.c: Likewise.
4229         * sysdeps/generic/e_j1l.c: Likewise.
4230         * sysdeps/generic/e_jnl.c: Likewise.
4231         * sysdeps/generic/e_lgammal_r.c: Likewise.
4232         * sysdeps/generic/e_log10l.c: Likewise.
4233         * sysdeps/generic/e_logl.c: Likewise.
4234         * sysdeps/generic/e_powl.c: Likewise.
4235         * sysdeps/generic/e_sqrtl.c: Likewise.
4236         * sysdeps/generic/e_exp2l.c: Likewise.
4238 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4240         * Make-dist (+sysdep-names): Remove extra paren.
4241         * Makefile (distribute): Add stub-tag.h.
4242         * elf/Makefile (distribute): Add atomicity.h.
4243         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
4244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
4245         [$(subdir)=socket]: Add net/if_packet.h.
4246         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
4247         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
4248         net/if_packet.h, scsi/sg.h.
4250 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4252         * Makefile (install): Quote $(CC) expansion.
4254 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4256         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
4257         working /proc cwd and no restrictions on path length.  Following
4258         some ideas from Andi Kleen <ak@muc.de> (PR 350).
4260 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4262         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
4263         * nis/nss_compat/compat-pwd.c: Likewise.
4264         * nis/nss_compat/compat-spwd.c: Likewise.
4266 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
4268         * sysdeps/libm-i387/s_fdim.S: New file.
4269         * sysdeps/libm-i387/s_fdimf.S: New file.
4270         * sysdeps/libm-i387/s_fdiml.S: New file.
4271         * sysdeps/libm-i387/i686/s_fdim.S: New file.
4272         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
4273         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
4275 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4277         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
4278         pointer to unsigned char.
4280 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4282         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
4284         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
4286         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
4288 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4290         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
4291         ilogb(0/NaN).
4292         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
4293         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
4295 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
4297         * sysdeps/libm-i387/s_fmin.S: New file.
4298         * sysdeps/libm-i387/s_fminf.S: New file.
4299         * sysdeps/libm-i387/s_fminl.S: New file.
4300         * sysdeps/libm-i387/s_fmax.S: New file.
4301         * sysdeps/libm-i387/s_fmaxf.S: New file.
4302         * sysdeps/libm-i387/s_fmaxl.S: New file.
4303         * sysdeps/libm-i387/i686/s_fmin.S: New file.
4304         * sysdeps/libm-i387/i686/s_fminf.S: New file.
4305         * sysdeps/libm-i387/i686/s_fminl.S: New file.
4306         * sysdeps/libm-i387/i686/s_fmax.S: New file.
4307         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
4308         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
4310 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
4312         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
4313         * sysdeps/unix/sysv/linux/send.S: Likewise.
4314         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4315         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4316         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4317         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4318         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4319         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4320         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
4322 See ChangeLog.7 for earlier changes.