Update.
[glibc.git] / ChangeLog
blob703423c5b9b405cb79925f5abe1c47110ce4161b
1 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
3         * nscd/nscd.c: Include unistd.h.
5 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
7         * math/libm-test.c: Adjust delta for indentities1_test because gcc
8         became cleverer.
10 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
14 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
16         * scripts/test-installation.pl: Include <stdio.h> in test program
17         to make it strictly conforming.
19 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
21         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
22         not a strong alias.
23         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
24         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
25         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
26         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
28 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
30         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
31         not a strong alias.
33 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
35         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
36         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
37         bits/pthreadtypes.h.
39 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
41         * include/aio.h: New file.
42         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
43         (tests): Build and run annexc program.
44         * posix/annexc.c: New file.
45         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
46         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
47         * rt/aio_misc.c: Include limits.h.
48         * rt/aio_notify.c: Include errno.h.
49         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
50         Define size_t.
51         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
52         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
54         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
55         kernel doesn't do this.
56         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
57         __USE_LARGEFILE64 is defined.
58         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
59         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
60         if requested.
61         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
63         * stdlib/isomac.c: Avoid include_next warning.
65 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
67         * argp/argp.h: Use __PMT instead of __P for function pointer.
68         * iconv/gconv.h: Likewise.
69         * io/fts.h: Likewise.
70         * io/ftw.h: Likewise.
71         * libio/libio.h: Likewise.
72         * malloc/mcheck.h: Likewise.
73         * misc/search.h: Likewise.
74         * posix/glob.h: Likewise.
75         * resolv/resolv.h: Likewise.
76         * signal/signal.h: Likewise.
77         * stdlib/stdlib.h: Likewise.
78         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
79         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
81 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
83         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
85 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
87         * posix/wordexp.c (parse_param): Fix memory leak.
89 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
91         * libc.map: Export _IO_ftrylockfile.
93 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
95         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
96         __get[pu]id.
98 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
100         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
102         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
103         same search list twice.
105 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
107         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
108         used to optimize loop/select.
110 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
112         * sysdeps/generic/init-first.c: Don't define __libc_pid.
113         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
114         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
115         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
116         * sysdeps/arm/init-first.c: Likewise.
117         * posix/getopt_init.c: Don't use __libc_pid.
118         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
119         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
120         * libc.map: Remove __libc_uid and __libc_pid.
122 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
124         * sunrpc/rtime.c (rtime): Use poll instead of select.
126 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
128         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
129         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
130         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
131         Patches from FreeBSD current.
133 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
135         * nscd/connections.c (handle_new_request): Handle POLLHUP
136         correctly.
137         (close_sockets): Correct parameter to dbg_log.
139 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
141         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
142         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
143         (elf_machine_fixup_plt): Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
145         _dl_pagesize not set, use system call to always get correct answer.
146         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
147         (__syscall_getpagesize): Add
149 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
151         * resolv/res_send.c (res_send): Fix typo.
153 1998-06-25  Andi Kleen <ak@muc.de>
155         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
156         * resolv/res_send.c (res_send): Likewise.
158 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
160         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
161         * sysdeps/unix/sysv/linux/poll.c: Likewise.
163 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
165         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
166         * math/atest-exp2.c (exp_mpn, main): Likewise.
167         * math/atest-sincos.c (main): Likewise.
169         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
170         base handling away from strtoul.  Always reset errno.
172         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
174         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
175         _dl_profile_map if _dl_name_match_p.
176         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
177         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
179         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
180         as early-clobber.
182         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
183         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
184         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
186 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
188         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
190 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
192         * nis/nis_call.c: Don't copy server structure.
193         * nis/nis_intern.h: Remove unused entries.
194         * nis/nis_table.c: Rewrite __create_ib_request.
196 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
198         * configure.in: Check for -fexceptions.
199         * config.make.in: Define exceptions, not no-exceptions.
200         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
201         __P to use throw().
202         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
203         $(exceptions).
204         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
205         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
206         lfind, and lsearch prototpypes.
207         * stdlib/stdlib.h: Likewise for bsearch and qsort.
209 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
211         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
213 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
215         * Makefile (remove-old-headers): Make phony.
217         * configure.in: Substitute @old_glibc_headers@.
219 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
221         * libc.map: Remove __libc_uid.
223 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
225         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
226         typos.
228 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
230         * libc.map: Add Alpha-specific io function from protected namespace.
232 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
234         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
235         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
236         CPPFLAGS.
238         * libc.map: Export __sigaction.
240 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
242         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
243         (from Linux 2.1.107).
245 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
247         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
248         position when file was opened here.
249         Reported by Howard Chu <hyc@platinum.com>.
251         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
252         undefined in a second inclusion.
254 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
256         * sysdeps/mach/hurd/i386/Makefile: New file.
257         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
258         __libc_init_secure.
259         (_hurd_stack_setup): Renamed
260         from __libc_init_first.
261         (__libc_init_first): New function.
262         * sysdeps/mach/hurd/i386/static-start.S: New file.
264 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
266         * sysdeps/mach/hurd/i386/init-first.c
268 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
270         * grp/initgroups.c: Use _CALL_DL_FCT.
272 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
274         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
276 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
278         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
280 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
282         * config.make.in: Remove LDAP support.
283         * nss/Makefile: Likewise.
285 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
287         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
288         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
289         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
290         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
292 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
294         * mach/Makefile: Change `mv' invocations to `mv -f'.
295         * mach/Machrules: Likewise.
297 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
299         * config.make.in (old-glibc-headers): Add it.
301         * configure.in: Add test for glibc 2.0.x headers.
303         * Makefile (headers2_0): New variable - contains so far only
304         Linux/Intel glibc 2.0.x headers.
305         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
306         (install): Depend on remove-old-headers.
308 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
310         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
311         make ftruncate a weak alias.
312         * sysdeps/mach/hurd/ftruncate.c: Really define function as
313         __ftruncate.
314         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
315         (truncate): Fix function defenition to match prototype.
317 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
319         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
320         unlockpt, ptsname, ptsname_r, openpty and forkpty.
322 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
324         * sysdeps/generic/glob.c: Make it possible to include glob.h
325         before loading glob.c.
326         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
328 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
330         * nscd/connections.c: Use poll() instead of select().
332 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
334         * sysdeps/generic/Dist: Fix typo.
336 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
338         * nis/nis_add.c: Avoid unnecessary strlen () calls.
339         * nis/nis_addmember.c: Likewise.
340         * nis/nis_call.c: Likewise.
341         * nis/nis_creategroup.c: Likewise.
342         * nis/nis_destroygroup.c: Likewise.
343         * nis/nis_findserv.c: Likewise.
344         * nis/nis_ismember.c: Likewise.
345         * nis/nis_print.c: Likewise.
346         * nis/nis_print_group_entry.c: Likewise.
347         * nis/nis_removemember.c: Likewise.
348         * nis/nis_verifygroup.c: Likewise.
349         * nis/ypclnt.c: Likewise.
351         * nis/nis_file.c: Close file handles.
353         * nis/nis_callback.c: Fix typo.
355 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
357         * nis/Makefile: Add nis-initgroups and compat-initgroups.
358         * nis/libnss_compat.map: Add _nss_compat_initgroups.
359         * nis/libnss_nis.map: Add _nss_nis_initgroups.
360         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
361         * nis/nss_nis/nis-initgroups.c: Likewise.
362         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
363         __nss_lookup_function and make it public.
364         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
365         module if exists, else use old method.
367 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
369         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
370         definition.
371         * nss/getXXent_r.c (set_function, end_function, get_function):
372         Likewise.  Reported by Thorsten Kukuk.
374         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
376 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
378         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
379         1998-06-16 and distribute kernel_termios.h.
381         * nis/Makefile (distribute): Add nis_xdr.h.
383 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
385         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
386         kernels that don't have sigaltstack.
388 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
390         * sysdeps/generic/bits/sem.h: Don't define union semun.
392         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
394         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
395         here.
396         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
397         definition here.
399 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
401         * signal/signal.h: Add prototype for __sigaltstack.
402         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
403         Remove sigstack entry.
404         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
405         * sysdeps/unix/sysv/linux/sigstack.c: New file.
407         * sysdeps/i386/backtrace.c: Add casts.
409 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
411         * intl/dcgettext.c: use complete type name.
412         * intl/hash-string.h: Likewise.
414         * intl/localealias.c: Undo patch from 1998-04-29.
415         * intl/l10nflist.c: Likewise.
416         * intl/loadinfo.h: Likewise.
418 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
420         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
422 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
424         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
425         _dl_mcount, _dl_mcount_wrapper.
426         * elf/Makefile (routines): Add dl-profstub.
427         * elf/dl-profstub.c: New file.
428         * elf/dl-support.c: Don't define _dl_profile_map.
429         * elf/rtld.c: Likewise.
430         * elf/dlfcn.h: Define DL_CALL_FCT macro.
431         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
432         Define _CALL_DL_FCT.
433         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
434         loaded object.
435         * iconv/gconv_db.c: Likewise.
436         * iconv/skeleton.c: Likewise.
437         * nss/getXXbyYY_r.c: Likewise.
438         * nss/getXXent_r.c: Likewise.
439         * nss/nsswitch.c: Likewise.
441 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
443         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
444         * sysdeps/libm-i387/e_scalbf.S: Likewise.
445         * sysdeps/libm-i387/e_scalbl.S: Likewise.
447 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
449         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
450         longestdbl.
452 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
454         * iconvdata/Makefile (modules): Add MACINTOSH.
455         (MACINTOSH-routines): New variable.
456         (distribute): Add macintosh.c.
457         (awk-generated-headers): Add macintosh.h.
458         Add rule for macintosh.h generation.
459         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
460         * iconvdata/macintosh.c: New file.
462 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
464         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
466         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
467         only should happen for cy != 0.
469         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
470         glob.h.
472 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
474         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
475         to compare stack addresses.
477 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
479         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
480         defining prototypes.
482 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
484         * sysdeps/sparc/sparc32/dl-machine.h
485         (elf_machine_fixup_plt): During rtld bootstrap, always perform
486         flushes as the kernel will emulate it when the underlying cpu does
487         not implement flush.
489         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
490         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
492         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
493         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
494         trampoline code.
496         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
497         (__clone): Branch to label .Lerror not __clone_syscall_error.
498         (.Lerror): Fixup EINVAL setting.
499         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
500         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
501         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
502         (__syscall_getgroups, __syscall_setgroups): Add.
504         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
505         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
506         around sa_mask data.
508 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
510         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
512         * string/Makefile: Make sure test-ffs does not use builtins.
514 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
516         * sunrpc/svc.c: Check for NULL pointer.
518         * nis/libnsl.map: Add public NIS+ xdr functions.
520         * nis/rpcsvc/nis_callback.h: New file.
521         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
522         * nis/nis_xdr.h: ... here.
524         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
525         pointers, use NIS+ defines where possible.
526         * nis/nis_cache.c: Likewise.
527         * nis/nis_cache2_xdr.c: Likewise.
528         * nis/nis_call.c: Likewise.
529         * nis/nis_checkpoint.c: Likewise.
530         * nis/nis_clone_dir.c: Likewise.
531         * nis/nis_clone_obj.c: Likewise.
532         * nis/nis_clone_res.c: Likewise.
533         * nis/nis_creategroup.c: Likewise.
534         * nis/nis_file.c: Likewise.
535         * nis/nis_free.c: Likewise.
536         * nis/nis_getservlist.c: Likewise.
537         * nis/nis_local_names.c: likewise.
538         * nis/nis_lookup.c: Likewise.
539         * nis/nis_mkdir.c: Likewise.
540         * nis/nis_modify.c: Likewise.
541         * nis/nis_ping.c: Likewise.
542         * nis/nis_print.c: Likewise.
543         * nis/nis_remove.c: Likewise.
544         * nis/nis_removemember.c: Likewise.
545         * nis/nis_rmdir.c: Likewise.
546         * nis/nis_server.c: Likewise.
547         * nis/nis_table.c: Likewise.
548         * nis/nis_util.c: Likewise.
549         * nis/nis_verifygroup.c: Likewise.
550         * nis/nis_xdr.c: Likewise.
551         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
552         * nis/nis_xdr.c: ... to here.
554 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
556         * iconvdata/ksc5601.h: Clean up a bit.
558 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
560         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
561         and process incoming data.
562         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
563         fragments as invalid.
564         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
566 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
568         Removal of duplicates like "the the".
569         * manual/time.texi (TZ Variable): Likewise.
570         * manual/users.texi (Manipulating the Database): Likewise.
571         * manual/sysinfo.texi (Filesystem handling): Likewise.
572         * manual/signal.texi (Signaling Yourself): Likewise.
573         * manual/message.texi (Message Translation): Likewise.
574         (Common Usage): Likewise.
575         * manual/llio.texi: Likewise.
576         * manual/arith.texi (Old-style number conversion): Likewise.
577         * manual/argp.texi (Argp): Likewise.
578         (Argp Parsers): Likewise.
579         (Argp Help Filtering): Likewise.
581         * hesiod/README.hesiod: Correct typo.
583         * manual/llio.texi: Correct typos.
584         * manual/sysinfo.texi: Likewise.
586 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
588         * rt/aio.h: Rename __op to __operation for g++.
590 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
592         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
593         script.
594         * iconvdata/gen-8bit-gap-1.sh: Likewise.
595         * iconvdata/gen-8bit.sh: Clean up sed script.
597         * iconvdata/Makefile: Remove all PERL conditionals; build all
598         the modules all the time.  Export AWK.
599         (gen-8bit-gap): Delete setting of PERL.
600         (gen-8bit-gap-1): Likewise.
601         (perl-generated-headers): Renamed awk-generated-headers.
603         * iconvdata/gap.pl: Removed.
604         * iconvdata/gaptab.pl: Removed.
605         * iconvdata/gap.awk: New file.
606         * iconvdata/gaptab.awk: New file.
608 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
610         * sysdeps/generic/Dist: Add errno-loc.c.
612         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
613         __new_* functions.
615 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
617         * stdio-common/bug12.c: New test for fread()/fseek().
618         * stdio-common/Makefile (tests): Add bug12.
620 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
622         * sysdeps/generic/elf/backtracesyms.c: Make array elements
623         constant.
624         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
625         * debug/execinfo.h: Update declaration.
627 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
629         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
630         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
631         * debug/execinfo.h: Update declaration.
633 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
635         * manual/llio.texi: Fix spelling.
636         * manual/sysinfo.texi: Fix spelling.
638 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
640         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
641         alias for old name.  Put this on __libc_subfreeres.
642         * misc/search.h: Declare it.
644 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
646         * string/bits/string2.h (strcmp): Add missing parens around macro
647         parameters.
649 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
651         * manual/arith.texi: Fix problem with @math and texinfo.tex.
653         * manual/filesys.texi: Document LFS functions.
654         * manual/llio.texi: Likewise.
655         * manual/stdio.texi: Likewise.
656         * manual/time.texi: Likewise.
658         * manual/llio.texi: Document AIO functions.
660         * resource/sys/resource.h: Mark second argument of setrlimit as const.
661         * sysdeps/generic/setrlimit.c: Likewise.
662         * sysdeps/generic/setrlimit64.c: Likewise.
663         * sysdeps/mach/hurd/setrlimit.c: Likewise.
664         * sysdeps/unix/sysv/setrlimit.c: Likewise.
666 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
668         * sysdeps/generic/getenv.c: Fix last change.
670 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
672         * sysdeps/generic/backtrace.c: Provide generic implementation.
674 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
676         * configure.in: Give visual feedback of the default directories we
677         added.
679 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
681         * io/fts.c (fts_build): Define oflag only if needed.
683 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
685         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
687 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
689         * libc.map: Don't export argp's fmtstream handling functions.
691         * manual/sysinfo.texi: Document fstab and mtab handling functions.
692         * manual/llio.texi: Document more LFS functions and start documenting
693         the AIO functions.
695 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
697         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
698         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
699         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
700         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
702 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
704         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
705         makes it easier to undump emacs.
706         * sysdeps/powerpc/bits/endian.h: Use more informative error message
707         for when the endianness can't be determined.
709 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
711         * nss/Makefile: Add files publickey database support.
712         * nss/libnss_files.map: Export the required functions.
713         * nss/nss_files/files-key.c: Implement it.
714         * sunrpc/rpc/auth_des.h: Correct typos in comments.
716 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
718         * iconv/gconv_builtin.h: Add aliases for CORBA.
719         * iconvdata/gconv-modules: Likewise.
721 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
723         * math/libm-test.c (main): Call exp10_test.
724         (exp10_test): New function which tests exp10.
726 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
728         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
729         sigstack.
731         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
732         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
733         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
735 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
737         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
738         in the variable, not its GOT slot.
740 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
742         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
743         inline.
744         * sysdeps/m68k/fpu/e_exp10.c: New file.
745         * sysdeps/m68k/fpu/e_exp10f.c: New file.
746         * sysdeps/m68k/fpu/e_exp10l.c: New file.
748         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
749         _dl_profile_map only if the name matches.
750         (_dl_start_user): Remember stack address.
751         * sysdeps/m68k/elf/start.S: Pass new argument to
752         __libc_start_user.
754         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
755         definition.
756         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
757         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
758         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
759         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
760         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
762 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
764         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
765         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
766         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
767         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
768         prototypes.
769         * sysdeps/libm-i387/e_exp10.S: New file.
770         * sysdeps/libm-i387/e_exp10f.S: New file.
771         * sysdeps/libm-i387/e_exp10l.S: New file.
772         * sysdeps/libm-ieee754/e_exp10.c: New file.
773         * sysdeps/libm-ieee754/e_exp10f.c: New file.
774         * sysdeps/libm-ieee754/e_exp10l.c: New file.
775         * sysdeps/libm-ieee754/w_exp10.c: New file.
776         * sysdeps/libm-ieee754/w_exp10f.c: New file.
777         * sysdeps/libm-ieee754/w_exp10l.c: New file.
778         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
780 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
782         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
783         sys/elf.h and sys/reg.h.
784         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
785         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
786         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
787         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
789         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
790         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
792 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
794         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
795         __data member only for gcc.  Reported by ak@muc.de.
797         * misc/mntent.h: Undo last patch.
798         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
799         * misc/tst/mntent.c: Adjust code for this change.
801         * io/fts.c: Updated from a slightly more recent BSD version.
802         * io/fts.h: Likewise.
804         * libc.map: Add __libc_stack_end.
806         * db2/Makefile (routines): Add lock_region.
807         * db2/config.h: Update from db-2.4.14.
808         * db2/db.h: Likewise.
809         * db2/db_185.h: Likewise.
810         * db2/db_int.h: Likewise.
811         * db2/btree/bt_close.c: Likewise.
812         * db2/btree/bt_compare.c: Likewise.
813         * db2/btree/bt_conv.c: Likewise.
814         * db2/btree/bt_cursor.c: Likewise.
815         * db2/btree/bt_delete.c: Likewise.
816         * db2/btree/bt_open.c: Likewise.
817         * db2/btree/bt_page.c: Likewise.
818         * db2/btree/bt_put.c: Likewise.
819         * db2/btree/bt_rec.c: Likewise.
820         * db2/btree/bt_recno.c: Likewise.
821         * db2/btree/bt_rsearch.c: Likewise.
822         * db2/btree/bt_search.c: Likewise.
823         * db2/btree/bt_split.c: Likewise.
824         * db2/btree/bt_stat.c: Likewise.
825         * db2/btree/btree.src: Likewise.
826         * db2/btree/btree_auto.c: Likewise.
827         * db2/clib/getlong.c: Likewise.
828         * db2/common/db_appinit.c: Likewise.
829         * db2/common/db_apprec.c: Likewise.
830         * db2/common/db_byteorder.c: Likewise.
831         * db2/common/db_err.c: Likewise.
832         * db2/common/db_log2.c: Likewise.
833         * db2/common/db_region.c: Likewise.
834         * db2/common/db_salloc.c: Likewise.
835         * db2/common/db_shash.c: Likewise.
836         * db2/db/db.c: Likewise.
837         * db2/db/db.src: Likewise.
838         * db2/db/db_auto.c: Likewise.
839         * db2/db/db_conv.c: Likewise.
840         * db2/db/db_dispatch.c: Likewise.
841         * db2/db/db_dup.c: Likewise.
842         * db2/db/db_overflow.c: Likewise.
843         * db2/db/db_pr.c: Likewise.
844         * db2/db/db_rec.c: Likewise.
845         * db2/db/db_ret.c: Likewise.
846         * db2/db/db_thread.c: Likewise.
847         * db2/db185/db185.c: Likewise.
848         * db2/db185/db185_int.h: Likewise.
849         * db2/dbm/dbm.c: Likewise.
850         * db2/hash/hash.c: Likewise.
851         * db2/hash/hash.src: Likewise.
852         * db2/hash/hash_auto.c: Likewise.
853         * db2/hash/hash_conv.c: Likewise.
854         * db2/hash/hash_debug.c: Likewise.
855         * db2/hash/hash_dup.c: Likewise.
856         * db2/hash/hash_func.c: Likewise.
857         * db2/hash/hash_page.c: Likewise.
858         * db2/hash/hash_rec.c: Likewise.
859         * db2/hash/hash_stat.c: Likewise.
860         * db2/include/btree.h: Likewise.
861         * db2/include/btree_ext.h: Likewise.
862         * db2/include/clib_ext.h: Likewise.
863         * db2/include/common_ext.h: Likewise.
864         * db2/include/cxx_int.h: Likewise.
865         * db2/include/db.h.src: Likewise.
866         * db2/include/db_185.h.src: Likewise.
867         * db2/include/db_am.h: Likewise.
868         * db2/include/db_auto.h: Likewise.
869         * db2/include/db_cxx.h: Likewise.
870         * db2/include/db_dispatch.h: Likewise.
871         * db2/include/db_ext.h: Likewise.
872         * db2/include/db_int.h.src: Likewise.
873         * db2/include/db_page.h: Likewise.
874         * db2/include/db_shash.h: Likewise.
875         * db2/include/db_swap.h: Likewise.
876         * db2/include/hash.h: Likewise.
877         * db2/include/hash_ext.h: Likewise.
878         * db2/include/lock.h: Likewise.
879         * db2/include/lock_ext.h: Likewise.
880         * db2/include/log.h: Likewise.
881         * db2/include/log_ext.h: Likewise.
882         * db2/include/mp.h: Likewise.
883         * db2/include/mp_ext.h: Likewise.
884         * db2/include/mutex_ext.h: Likewise.
885         * db2/include/os_ext.h: Likewise.
886         * db2/include/os_func.h: Likewise.
887         * db2/include/queue.h: Likewise.
888         * db2/include/shqueue.h: Likewise.
889         * db2/include/txn.h: Likewise.
890         * db2/lock/lock.c: Likewise.
891         * db2/lock/lock_conflict.c: Likewise.
892         * db2/lock/lock_deadlock.c: Likewise.
893         * db2/lock/lock_region.c: Likewise.
894         * db2/lock/lock_util.c: Likewise.
895         * db2/log/log.c: Likewise.
896         * db2/log/log.src: Likewise.
897         * db2/log/log_archive.c: Likewise.
898         * db2/log/log_auto.c: Likewise.
899         * db2/log/log_compare.c: Likewise.
900         * db2/log/log_findckp.c: Likewise.
901         * db2/log/log_get.c: Likewise.
902         * db2/log/log_put.c: Likewise.
903         * db2/log/log_rec.c: Likewise.
904         * db2/log/log_register.c: Likewise.
905         * db2/mp/mp_bh.c: Likewise.
906         * db2/mp/mp_fget.c: Likewise.
907         * db2/mp/mp_fopen.c: Likewise.
908         * db2/mp/mp_fput.c: Likewise.
909         * db2/mp/mp_fset.c: Likewise.
910         * db2/mp/mp_open.c: Likewise.
911         * db2/mp/mp_pr.c: Likewise.
912         * db2/mp/mp_region.c: Likewise.
913         * db2/mp/mp_sync.c: Likewise.
914         * db2/mutex/68020.gcc: Likewise.
915         * db2/mutex/mutex.c: Likewise.
916         * db2/mutex/parisc.gcc: Likewise.
917         * db2/mutex/parisc.hp: Likewise.
918         * db2/mutex/sco.cc: Likewise.
919         * db2/os/os_abs.c: Likewise.
920         * db2/os/os_alloc.c: Likewise.
921         * db2/os/os_config.c: Likewise.
922         * db2/os/os_dir.c: Likewise.
923         * db2/os/os_fid.c: Likewise.
924         * db2/os/os_fsync.c: Likewise.
925         * db2/os/os_map.c: Likewise.
926         * db2/os/os_oflags.c: Likewise.
927         * db2/os/os_open.c: Likewise.
928         * db2/os/os_rpath.c: Likewise.
929         * db2/os/os_rw.c: Likewise.
930         * db2/os/os_seek.c: Likewise.
931         * db2/os/os_sleep.c: Likewise.
932         * db2/os/os_spin.c: Likewise.
933         * db2/os/os_stat.c: Likewise.
934         * db2/os/os_unlink.c: Likewise.
935         * db2/progs/db_archive/db_archive.c: Likewise.
936         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
937         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
938         * db2/progs/db_dump/db_dump.c: Likewise.
939         * db2/progs/db_dump185/db_dump185.c: Likewise.
940         * db2/progs/db_load/db_load.c: Likewise.
941         * db2/progs/db_printlog/db_printlog.c: Likewise.
942         * db2/progs/db_recover/db_recover.c: Likewise.
943         * db2/progs/db_stat/db_stat.c: Likewise.
944         * db2/txn/txn.c: Likewise.
945         * db2/txn/txn.src: Likewise.
946         * db2/txn/txn_auto.c: Likewise.
947         * db2/txn/txn_rec.c: Likewise.
949         * elf/rtld.c: Move definition of __libc_stack_end to ...
950         * sysdeps/generic/dl-sysdep.h: ...here.
952         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
953         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
954         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
956         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
957         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
958         before following it.
960 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
962         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
963         from mntent correctly.
965 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
967         * sunrpc/Makefile (generated): Correct typo.
969 1998-06-04  Philip Blundell  <philb@gnu.org>
971         * elf/elf.h (EM_ARM, et al.): New definitions.
972         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
974 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
976         * localedata/SUPPORTED: Add sk_SK.
977         * localedata/locales/sk_SK: New file.
979 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
981         * Makeconfig (subdirs): Add debug.
982         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
983         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
984         backtrace_symbols.
985         * sysdeps/generic/backtrace.c: New file.
986         * sysdeps/generic/backtracesyms.c: New file.
987         * sysdeps/generic/elf/backtracesyms.c: New file.
988         * sysdeps/i386/backtrace.c: New file.
989         * debug/Makefile: New file.
990         * debug/backtrace-tst.c: New file.
991         * debug/execinfo.h: New file.
993 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
995         * elf/sprof.c: Implement call graph profiling.
997         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
999 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1001         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1002         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1003         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1004         Noticed by Jake Garver <garver@valkyrie.net>.
1006 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1008         * libio/genops.c (__underflow): Read character from read pointer
1009         as unsigned.
1010         (__uflow): Likewise.
1012 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1014         * libc.map: Add _dl_profile.
1015         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1016         this to ELF_DYNAMIC_RELOCATE.
1017         Always allocate array for relocation result if LD_PROFILE is defined.
1018         * elf/ldsodefs.h: Adjust prototypes.
1019         * elf/dl-open.c (_dl_open): Call relocation function with extra
1020         argument.
1021         * elf/rtld.c: Likewise.
1022         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1023         Correct loop condition.
1024         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1025         consider_profile to runtime setup function.
1026         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1027         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1029         * elf/dl-support.c: Define __libc_stack_end.
1030         * elf/rtld.c: Likewise.
1031         * sysdeps/generic/libc-start.c: Store last stack address in
1032         __libc_stack_end.
1033         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1034         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1036         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1037         Include <stdint.h>, not <inttypes.h>.
1039         * elf/sprof.c: Implement flat profiling.
1041         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1042         _IO_funlockfile explicitly.
1043         * libio/fileops.c: Likewise.
1044         * libio/fputc.c: Likewise.
1045         * libio/freopen.c: Likewise.
1046         * libio/freopen64.c: Likewise.
1047         * libio/fseek.c: Likewise.
1048         * libio/fseeko.c: Likewise.
1049         * libio/fseeko64.c: Likewise.
1050         * libio/ftello.c: Likewise.
1051         * libio/ftello64.c: Likewise.
1052         * libio/getc.c: Likewise.
1053         * libio/getchar.c: Likewise.
1054         * libio/iofclose.c: Likewise.
1055         * libio/iofflush.c: Likewise.
1056         * libio/iofgetpos.c: Likewise.
1057         * libio/iofgetpos64.c: Likewise.
1058         * libio/iofgets.c: Likewise.
1059         * libio/iofputs.c: Likewise.
1060         * libio/iofread.c: Likewise.
1061         * libio/iofsetpos.c: Likewise.
1062         * libio/iofsetpos64.c: Likewise.
1063         * libio/ioftell.c: Likewise.
1064         * libio/iofwrite.c: Likewise.
1065         * libio/iogetdelim.c: Likewise.
1066         * libio/iogets.c: Likewise.
1067         * libio/ioputs.c: Likewise.
1068         * libio/ioseekoff.c: Likewise.
1069         * libio/ioseekpos.c: Likewise.
1070         * libio/iosetbuffer.c: Likewise.
1071         * libio/iosetvbuf.c: Likewise.
1072         * libio/ioungetc.c: Likewise.
1073         * libio/iovsprintf.c: Likewise.
1074         * libio/iovsscanf.c: Likewise.
1075         * libio/oldfileops.c: Likewise.
1076         * libio/oldiofclose.c: Likewise.
1077         * libio/peekc.c: Likewise.
1078         * libio/putc.c: Likewise.
1079         * libio/putchar.c: Likewise.
1080         * libio/rewind.c: Likewise.
1082         * malloc/mtrace.c: Pretty print.
1084         * misc/mntent.h (struct mentent): Make string elements const char *.
1086         * nis/nis_printf.c: Optimize I/O a little bit.
1088         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1089         * sysdeps/generic/sigset-cvt-mask.h: New file.
1090         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1091         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1092         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1093         sigset-cvt-mask.h to do the dirty work.
1094         Patches by Joe Keane.
1096         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1099         syscall_error label in case of PIC anonymous.
1100         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1101         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1102         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1103         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1104         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1105         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1106         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1108 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
1110         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1111         we cannot declare the struct element as const.
1112         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1113         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1115 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1117         * manual/Makefile: Include ../Makeconfig earlier.
1118         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1119         exist.
1120         (dir-add.texinfo): Remove useless $(SHELL).
1122 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1124         * Makefile (others): Build programs from install-bin.
1125         * configure.in: Modify config.make only if is was just created and
1126         move that command to second argument of AC_OUTPUT.  Add command to
1127         set config_vars in config.status.
1129 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1131         * malloc/Makefile (address-width): Fix conditional.
1133 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1135         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1136         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1137         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1138         version GLIBC_2.1.
1140 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1142         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1143         (Floating Point Parameters): Likewise.
1145 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1147         * hurd/Makefile (routines): Add cthreads.
1149 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1151         * login/login.c (login): Let pututline take care of finding the
1152         positin to insert the UTMP entry.  This corrects a bug where ssh
1153         was not reusing UTMP entries marked as DEAD_PROCESS.
1154         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1156 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1158         * login/Makefile (tests): New variable, add tst-utmp and
1159         tst-utmpx.
1160         * login/tst-utmp.c: New file.
1161         * login/tst-utmpx.c: New file.
1163 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1165         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1166         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1167         but need sys_err.
1169 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1171         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1172         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1174 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1176         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1177         make __read a weak alias.  Use ANSI-style function definition.
1178         * sysdeps/mach/hurd/write.c: Likewise.
1180 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1182         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1183         _sys_errlist.
1185 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1187         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1188         Renamed from librtld.so.
1190 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1192         * libc.map: Remove _IO_getline_info which was erroneously
1193         introduced in section GLIBC_2.0.
1194         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1196 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1198         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1199         created a weak alias.
1200         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1202 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1204         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1205         ftruncate function, and create a weak alias to ftruncate.
1207 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1209         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1210         * inet/getnetgrent_r.c: Likewise.
1211         * nss/getXXbyYY_r.c: Likewise.
1212         * nss/getXXent_r.c: Likewise.
1213         * pwd/fgetpwent_r.c: Likewise.
1214         * shadow/sgetspent_r.c: Likewise.
1215         * shadow/fgetspent_r.c: Likewise.
1216         * sunrpc/publickey.c: Likewise.
1218 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1220         * hurd/libhurduser.map: New file.
1221         * mach/libmachuser.map: Likewise.
1223         * libc.map: Add Hurd-specific functions to version 2.1.
1224         Add __flshfp and __fillbf.
1226 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1228         * manual/signal.texi (Basic Signal Handling): Fix typo.
1229         * manual/errno.texi (Error Codes): Likewise.
1231 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1233         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1234         instead of <sys/socket.h>.
1235         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1237         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1238         Finally make it working.
1239         Patch by Mark Hatle <fray@kernel.crashing.org>.
1241 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1243         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1244         a Solaris 2.6 bug.
1246 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1248         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1249         used by ARM systems.
1250         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1251         FE_EXCEPT_SHIFT.
1252         * sysdeps/arm/bits/fenv.h: Deleted.
1253         * sysdeps/arm/fpu/ieee754.h: New file.
1254         * sysdeps/arm/gmp-mparam.h: New file.
1255         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1256         implementation.
1258 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1260         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1262         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1263         of ((unused)).  Reported by Bruno Haible.
1265 1998-05-31  Philip Blundell  <philb@gnu.org>
1267         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1268         referring to errno and _errno.
1270         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1272         * sysdeps/i386/fpu_control.h: Fix typo.
1274         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1275         (_JMPBUF_UNWINDS): Added.
1276         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1278 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1280         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1281         order to build header files, not `generated'.
1283         * Rules (before-compile): New target which depends on all
1284         $(before-compile) files.
1286 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1288         * nis/nis_call.c: Make directory search faster.
1290         * nis/nis_callback.c: Insert public key of user in callback data.
1292         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1294         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1296         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1298         * nis/nis_intern.h: Remove duplicated prototype.
1300 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1302         * sunrpc/auth_des.c: Move prototypes from here ...
1303         * sunrpc/rpc/auth.h: ... to here.
1305         * sunrpc/clnt_tcp.c: Add more control flags.
1306         * sunrpc/clnt_udp.c: Likewise.
1308         * sunrpc/netname.c (host2netname): Remove prefixing dot from
1309         domainname.
1311         * sunrpc/rpc/clnt.h: Document, which control flags are not
1312         implementable.
1314         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1316 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
1318         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1319         files crash the program.
1321         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
1322         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
1323         Reported by Deborah Wallach <kerr@pa.dec.com>.
1325 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1327         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1328         on whether this is a stable release or not (keeps snapshot bug
1329         reports out of the database).
1331         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1332         * sysdeps/arm/sysdep.h: Likewise.
1333         * sysdeps/i386/sysdep.h: Likewise.
1334         * sysdeps/m68k/sysdep.h: Likewise.
1335         * sysdeps/mach/mips/sysdep.h: Likewise.
1336         * sysdeps/mach/sys/reboot.h: Likewise.
1337         * sysdeps/mach/sysdep.h: Likewise.
1338         * sysdeps/unix/alpha/sysdep.h: Likewise.
1339         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1340         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1341         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1342         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1343         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1344         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1345         * sysdeps/unix/i386/sysdep.h: Likewise.
1346         * sysdeps/unix/mips/sysdep.h: Likewise.
1347         * sysdeps/unix/sparc/sysdep.h: Likewise.
1348         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1349         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1351         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1352         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1355         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1357 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1359         * mach/Machrules: Use $(move-if-change).
1361 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1363         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1364         * Makerules (lib%.so): Depend on $(+interp).
1365         (libc.so): Add interp.os to list of dependencies.
1366         (interp-obj): Remove variable.
1367         * mach/Machrules (+interp): Define to empty since libhurduser and
1368         libmachuser don't need to have the interpreter set.
1370 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1372         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1374         * resolv/gethnamaddr.c: Likewise.
1376         * resolv/res_comp.c: Likewise.
1378 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
1380         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1381         so that transparent union works.
1383 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
1385         * manual/texinfo.tex: Update to last available version.
1387         * timezone/africa: Update from tzdata1998e.
1388         * timezone/antarctica: Likewise.
1389         * timezone/asia: Likewise.
1390         * timezone/australasia: Likewise.
1391         * timezone/europe: Likewise.
1392         * timezone/iso3166.tab: Likewise.
1393         * timezone/northamerica: Likewise.
1394         * timezone/tzselect.ksh: Likewise.
1395         * timezone/zone.tab: Likewise.
1397 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
1399         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1400         Reported by Matt McLean <keys@brio.yikes.com>.
1402 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1404         * catgets/Makefile ($(objpfx)de.cat): Renamed from
1405         do-gencat-test.  Use automatic variables.
1406         ($(objpfx)de.msg): Fix reference to po file.
1408 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1410         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1411         $(move-if-change).
1413 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1415         * intl/dcgettext.c: Fix typo.
1417 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1419         * configure.in: Allow more make versions e.g 3.76.90.
1421 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
1423         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
1425         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
1426         for Hurd.  Patch by Mark Kettenis.
1428 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
1430          * mach/Machrules (+preinit, +postinit): Define these variables to
1431          empty because libhurduser and libmachuser don't need startup
1432          files.
1434 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
1436          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
1437          instead of a raw bitmask.
1439 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1441         * Makeconfig (rpath-dirs): New variable.
1442         (rpath-link): Use it.
1443         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
1444         (db-objpfx): Removed.
1445         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
1446         * md5-crypt/Makefile: Likewise.
1447         * sysdeps/mach/hurd/Makefile: Likewise.
1449         * Makeconfig (move-if-change): New variable.
1450         * iconvdata/Makefile (move-if-change): Removed.
1451         * manual/Makefile (move-if-change): Set only if undefined, use
1452         local script by default.
1453         * sunrpc/Makefile (move-if-change): Removed.
1454         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1455         $(move-if-change).
1457          * elf/Makefile: Remove all references to obsolete file
1458          $(objpfx)rtldtbl.h.
1459          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
1461 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1463         * elf/dl-close.c (_dl_close): Add debugging message.
1465 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1467         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
1468         to get Linux version and not gcc version.
1469         Reported by Alan Curry <pacman@cqc.com>.
1471 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1473         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
1474         pointers - return unknown error message instead.
1475         Reported by Alan Curry <pacman@cqc.com>.
1477 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1479         * iconvdata/Makefile (modules, sed-generated-headers,
1480         perl-generated-headers): ibm424.h is perl generated.  Make
1481         necessary modifications to compile without perl.
1483 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1485         * hesiod/hesiod.c (read_config_file): Fix typo.
1487 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
1489         * version.h: Bump VERSION.
1491         * csu/Makefile (distribute): Add munch-tmpl.c.
1493 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1495         * nis/nis_defaults.c: Fix buffer problems and typos.
1497 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
1499         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
1500         Patch by Fred Fish.
1502 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1504         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
1505         overwriting bugs.
1507         * libio/strops.c (_IO_str_underflow): Read newly available
1508         character from buffer as unsigned.
1510 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
1512         * catgets/Makefile (distribute): Add xopen-msg.h.
1513         (generated): Add de.msg and de.cat.
1514         (tests): Add do-gencat-test.
1515         (do-gencat-test): New goal.  Run gencat on a generated msg file.
1516         * catgets/xopen-msg.h: New file.
1518 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1520         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
1521         functions.  Optimize filename creation a bit.
1523 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
1525         * stdlib/random_r.c: Help gcc to optimize the code.
1526         Patch by Joe Keane <jgk@jgk.org>.
1528 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1530         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
1531         tsearch calls.
1533 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1535         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
1536         it.
1538 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
1540         * wcsmbs/wcsnrtombs.c: Correct computation of result.
1541         * wcsmbs/wcsrtombs.c: Likewise.
1543         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
1544         * wcsmbs/wcsmbs-tst1.c: New file.
1546         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
1548         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
1549         as 1.
1551         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
1552         weak.
1554 1998-05-21  Philip Blundell  <philb@gnu.org>
1556         * sysdeps/arm/fpu_control.h: Replace stub file with real
1557         implementation.
1558         * sysdeps/arm/fpu/bits/fenv.h: New file.
1559         * sysdeps/arm/fpu/fesetround.c: Likewise.
1560         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1561         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
1562         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
1563         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1564         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1565         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1567 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
1569         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
1570         read instead of mmap.
1572 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
1574         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
1575         directly instead of include_next.  Add missing semicolons.
1576         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
1577         Add missing semicolons.
1579 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1581         * iconvdata/gconv-modules: Add more aliases to please java
1582         environments.
1584 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1586         * stdio-common/vfprintf.c (process_arg): Fix typo.
1588         * iconvdata/TESTS: New tests for EUC-KR.
1590         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
1591         * iconvdata/testdata/EUC-KR: New file.
1593 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
1595         * math/libm-test.c (hypot_test): Fix a typo.
1597 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1599         * stdio-common/vfprintf.c: When precision is specified for %ls or
1600         %S handle it correctly.
1602 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1604         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
1605         the" in one line - fixed it.
1606         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1607         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1608         * posix/unistd.h: Likewise
1610 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1612         * Makeconfig (rpath-link): Add resolvobjdir.
1613         (resolvobjdir): New variable.
1614         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
1616 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
1618         * elf/dl-close.c: Call shared object terminators at the right time.
1619         Patch by Philippe Troin <phil@fifi.org>.
1621 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1623         * Make-dist (+tsrcs): Also add *.map for every member of
1624         $(extra-libs).
1626         * Makefile (distribute): Don't distribute scripts/printsources and
1627         scripts/=__ify.  Distribute FAQ.in.
1628         (rpm/%): Don't pass subdirs to sub-make.
1630         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
1631         instead of $(no_deps).
1633 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1635         * sysdeps/generic/setenv.c: Protect against GNU C extension.
1636         (KNOWN_VALUE, STORE_VALUE): Do it right.
1637         (setenv): Remove unused variable.
1639 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1641         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
1642         (CFLAGS-zdump.c): Add $(tz-cflags).
1644         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
1645         return type.
1647 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1649         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
1650         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
1651         if use_localtime.
1652         * time/tzset.c: Update prototype of __tzfile_compute.
1653         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
1654         tm_zone and tm_offset here if __use_tzfile.
1656 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1658         * Makerules: Install libc.a even if there are no object file.
1660 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1662         * Makerules (do-makelib): Don't force creating library from
1663         scratch, which is faster and gets correct behaviour if $(subdirs)
1664         is incomplete.
1666 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1668         * Makerules (do-stamp): Make it work when building in source
1669         directory.
1671 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
1673         * elf/dl-load.c: Rename option and variable from ignore-rpath to
1674         inhibit-rpath.
1675         * elf/dl-support.c: Likewise.
1676         * elf/ldsodefs.h: Likewise.
1677         * elf/rtld.c: Likewise.
1678         * iconvdata/run-iconv-test.sh: Likewise.
1680 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
1682         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
1683         variable using the value.
1684         * elf/ldsodefs.h: Declare _dl_ignore_path.
1685         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
1686         object against list in _dl_ignore_path and ignore RPATH if on the list.
1687         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
1688         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
1689         to make sure we get the correct helper libraries loaded.
1691         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
1692         "RPATH" string in call to fillin_rpath instead.
1693         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
1695 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
1697         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
1698         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1700 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1702         * manual/terminal.texi (I/O Queues): Fix typo.
1704         * manual/stdio.texi (Closing Streams): Fix grammar.
1706         * manual/arith.texi (Absolute Value): Correct typo.
1707         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
1709 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
1711         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
1712         LD_PROFILE_OUTPUT in SUID binaries.
1713         * intl/dcgettext.c: In SUID binaries don't let language part of
1714         locale value contain path elements.
1715         * intl/explodename.h: Define new function _nl_find_language.
1716         * intl/loadinfo.h: Declare _nl_find_language.
1717         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
1718         language part it drop the value is path element is contained.
1720         * locale/setlocale.c: Fix typo.
1722 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
1724         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
1726         * sysdeps/arm/strlen.S: Support both big and little endian processors.
1728         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
1729         log, not a byte-count.
1731         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
1732         a.out compatibility.
1734 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1736         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
1737         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1738         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1739         * posix/unistd.h: Likewise.
1740         * math/math.h: Likewise.
1741         * manual/users.texi (Manipulating the Database): Likewise.
1742         * manual/signal.texi (Job Control Signals): Likewise.
1743         * manual/message.texi (The gencat program): Likewise.
1744         * manual/filesys.texi (Hard Links): Likewise.
1745         * manual/math.texi (SVID Random): Likewise.
1746         * manual/llio.texi (Waiting for I/O): Likewise.
1747         * manual/io.texi (File Name Errors): Likewise.
1748         * manual/conf.texi (String Parameters): Likewise.
1749         * manual/arith.texi (Infinity): Likewise.
1750         * malloc/malloc.c: Likewise.
1751         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
1752         * csu/Makefile: Likewise.
1754 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
1756         * manual/memory.texi: Add back accidently removed line.
1758 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
1760         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
1761         (timeout_handler): New function.
1762         (LOCK_FILE, UNLOCK_FILE): New macros.
1763         Implement file locking with timeout.
1764         (getutent_r_file, internal_getut_r, getutline_r_file,
1765         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
1766         locking.
1768 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
1770         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
1771         directory.
1773 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1775         * rpm/Makefile: Delete inclusion of version.mk.
1777 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1779         * libc.map: Add all libio functions needed libstdc++ with version
1780         2.0, sort entries.
1782 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1784         * iconvdata/Makefile (generated): Add *.stmp files.
1786 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1788         * timezone/Makefile (testdata, build-testdata): New variables, use
1789         them in rules for test data.
1790         ($(objpfx)tst-timezone.out): Depend on test data.
1791         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
1792         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
1793         New rules to build test data.
1794         (tst-timezone-ENV): Pass TZDIR to point to test data.
1796 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
1798         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
1799         (the designation sequence is disturbing).
1801 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1803         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
1804         * sunrpc/xdr_rec.c: Likewise.
1806 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1808         * posix/Makefile (tests): Add runptests.
1809         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
1810         (before-compile): Add ptestcases.h.
1811         (ptestscases.h): Add rule to generate from PTESTS.
1812         * posix/runptests.c: New file.
1813         * posix/PTESTS: New file.
1814         * posix/PTESTS2C.sed: New file.
1816 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1818         * iconv/loop.c: Let user add code to use and set paramaters.
1820         * iconvdata/iso-2022-kr.c: Correct to-loop.
1822         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
1823         point to output buffer.
1825         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
1826         hanja.
1828         * iconvdata/TESTS: Add ISO-2022-KR test.
1829         * iconvdata/testdata/ISO-2022-KR: New file.
1831 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
1833         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
1834         and internal_use.
1835         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
1836         and internal_use.
1837         * wcsmbs/btowc.c: Likewise.
1838         * wcsmbs/mbrtowcs.c: Likewise.
1839         * wcsmbs/mbsnrtowcs.c: Likewise.
1840         * wcsmbs/mbsrtowcs.c: Likewise.
1841         * wcsmbs/wcrtomb.c: Likewise.
1842         * wcsmbs/wcsnrtombs.c: Likewise.
1843         * wcsmbs/wcsrtombs.c: Likewise.
1844         * wcsmbs/wctob.c: Likewise.
1845         * iconv/skeleton.c: Increment invocation_counter.
1846         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
1847         sequence first.
1849         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
1850         * iconvdata/iso-2022-jp.c: Likewise.
1851         * iconvdata/iso646.c: Likewise.
1853         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
1855 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
1857         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
1859         * sysdeps/generic/setenv.c (setenv): Remove optimization for
1860         overwriting existing values if it fits.
1862 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
1864         * posix/wordexp-test.c: Avoid duplicate messages.
1866         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
1867         tsearch.  Correctly interpret values returned by those functions.
1868         (unsetenv): Store pointer to string, not pointer to string pointer.
1870         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
1871         DST information and offset in them.
1872         * time/tzset.c (__tz_convert): Pass extra parameters to
1873         __tzfile_compute.  Compute equivalent values for use of tz_rules.
1875 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1877         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
1878         stamp files to avoid unnecessary recompilation.
1879         (gen-8bit-gap-table): Likewise.
1880         (move-if-change): New variable.
1881         (all generated .h rules): Change to be .stmp rules.
1882         (%.h): New rule; depend on %.stmp; no commands.
1883         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
1884         gen-8bit-gap-1.sh.
1886 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1888         * Makerules (libc-map): Deleted.
1889         (load-map-file): Set to the appropriate compiler switch, not
1890         just the file name.  If libfoo-map is not set, look for a
1891         libfoo.map in the current directory and $(..).
1892         (map-file): New variable, contains just the mapfile name.
1893         (build-shlib): Adjust for new value of load-map-file.
1894         (libc.so): Correct dependencies.
1896         * extra-lib.mk: Correct shlib dependencies since libfoo-map
1897         may not be set anymore.
1899         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
1900         Delete libdl-map.  Tweak ld.so link rule to work with changed
1901         variable settings in Makerules.
1902         * iconvdata/Makefile: Tweak build-module to work with changed
1903         variable settings in Makerules.
1905         * db/Makefile: Delete libdb-map.
1906         * hesiod/Makefile: Delete libnss_hesiod-map.
1907         * linuxthreads/Makefile: Delete libpthread-map.
1908         * locale/Makefile: Delete libBrokenLocale-map.
1909         * login/Makefile: Delete libutil-map.
1910         * math/Makefile: Delete libm-map.
1911         * md5-crypt/Makefile: Delete libcrypt-map.
1912         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
1913         libnss_nisplus-map, and libnss_compat-map.
1914         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
1915         libnss_ldap-map.
1916         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
1917         * rt/Makefile: Delete librt-map.
1919 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1921         * configure.in: Instead of substituting `yes' or `no' for whether
1922         --no-whole-archive is available, set @no_whole_archive@ to the
1923         appropriate gcc switch or the empty string.  Likewise for
1924         -fno-exceptions.
1925         * config.make.in: Replace have-no-whole-archive with
1926         no-whole-archive and have-no-exceptions with no-exceptions.
1927         * Makerules: Delete stanzas setting no-whole-archive and
1928         no-exceptions.
1930         * sunrpc/Makefile: Use move-if-change to update generated .h
1931         and .c files.
1933 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1935         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
1936         of strchr loop.
1938 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1940         * time/tzfile.c (__tzfile_read): Remove unused variable info.
1941         (__tzfile_compute): Likewise.
1943 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1945         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
1946         defines from Linux 2.1.102.
1948 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
1950         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
1952 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
1954         * inet/netinet/in.h: Add defines for multicast.
1955         Reported by Jeremy Hall <jhall@UU.NET>.
1957         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
1958         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
1959         and unsetenv.  Optimize _LIBC case.
1960         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
1961         Define functions with leading __.
1963         * time/tzfile.c: Correct handling of global variables daylight,
1964         timezone, and tzname.
1965         * time/tzset.c: Likewise.
1966         * timezone/Makefile (tests): Add tst-timezone.
1967         * timezone/tst-timezone.c: New file.
1969 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
1971         * timezone/asia: Update from tzdata1998d.
1972         * timezone/australasia: Likewise.
1973         * timezone/europe: Likewise.
1975 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
1977         * string/string.h: Don't use the optimized versions for the string
1978         functions if optimizing for space.
1980         * stdlib/tst-strtod.c: Add test for -0.0.
1982         * io/ftwtest-sh: Prevent tests from being run by root.
1984         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
1985         last addition.  Patch by wkpark@chem.skku.ac.kr.
1987 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1989         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
1990         table.
1992 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1994         * iconvdata/gen-8bit.sh: New file.
1995         * iconvdata/gen-8bit-gap.sh: New file.
1996         * iconvdata/gen-8bit-gap-1.sh: New file.
1997         * iconvdata/Makefile (generate-8bit-table): Use shell script
1998         instead of writing the commands directly.
1999         (generate-8bit-gap-table): Likewise.
2000         ($(objpfx)iso8859-7jp.h): Likewise.
2001         (generated headers): Depend on shell script instead of Makefile.
2002         (before-compile): Add $(perl-generated-headers) only if perl is
2003         available.
2004         (headers): Depend on $(perl-generated-headers) only if perl is
2005         available.
2006         (sed-generated-headers): Remove iso8859-7jp.h.
2008 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2010         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2011         (/): Removed.
2013 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2015         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2016         formed charset names to getfct.  Let user override charset
2017         selection by mention charset in locale name.
2019 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2021         * posix/glob.c: Move to ...
2022         * sysdeps/generic/glob.c: ...here.
2023         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2024         elements.
2025         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2026         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2027         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2028         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2029         subdir.
2030         * libc.map [GLIBC_2.1]: Add glob and globfree.
2032 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2034         * sunrpc/Makefile (generated): Restore old list.
2036 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2038         * rt/Makefile (tests): Define only if we have a thread library.
2040         * nis/ypclnt.c: Add: #include <errno.h>.
2042 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2044         * configure.in: Define and substitute RELEASE as well as
2045         VERSION.
2046         * config.make.in: Add RELEASE and VERSION to be substituted.
2047         * Makeconfig: Delete all references to version.mk.
2048         * Make-dist: Likewise.
2049         * MakeTAGS: Likewise.
2050         * elf/Makefile: Likewise.
2052 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2054         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2055         yp_get_default_domain.
2057 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2059         * sysdeps/posix/profil.c (__profil): Don't define act and timer
2060         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
2062 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2064         * malloc/malloc.c: Fix for NO_THREADS case.
2066 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
2068         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2069         Remove statfs and fstatfs.
2070         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2071         and pwrite as EXTRA.
2072         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2074 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
2076         * libc.map: Add capget and capset.
2078 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2080         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2081         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2082         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
2083         and Matt McLean <keys@brio.yikes.com>.
2085 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
2087         * misc/Makefile (tests): Add tst-mntent.
2088         * misc/tst-mntent.c: New file.
2090 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2092         * autolock.sh: Removed.
2093         * manual/move-if-change: Removed.
2095         * scripts: New directory.
2096         * =__ify: Moved to scripts.
2097         * config.guess: Likewise.
2098         * config.sub: Likewise.
2099         * gen-FAQ.pl: Likewise.
2100         * install-sh: Likewise.
2101         * mkinstalldirs: Likewise.
2102         * move-if-change: Likewise.
2103         * printsources: Likewise.
2104         * rellns.sh: Likewise.
2105         * test-installation.pl: Likewise.
2107         * configure.in: Look in scripts for config.guess, config.sub,
2108         install-sh.
2109         * Makefile: Distribute all above files in their
2110         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
2111         * manual/Makefile: Find mkinstalldirs and move-if-change in
2112         $(..)scripts.  Drop them from distribute.  Minor cleanups.
2113         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2114         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2115         * timezone/Makefile: Find rellns-sh in scripts.
2117 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2119         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2120         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2122 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2124         * Makefile (+subdir-inits): Delete variable.
2125         (+init_subdirs): Likewise.
2126         (aux): Likewise.
2127         (before-compile): Likewise.
2128         (libc-init): Delete stanza.
2129         (version-info.h): Delete rule and associated variable.
2130         (distribute): Don't distribute moved files.
2131         * Makerules (interp-obj): It lives in elf now.  Only use it
2132         if $(elf) is set.  Delete rule to build it.
2133         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
2134         version.o and version-info.h.  Minor cleanups.
2135         (routines): Add libc-init, sysdep, version.
2136         (generated): Add version-info.h.
2137         * elf/Makefile: Build interp.os.
2139         * interp.c: Moved to elf.
2140         * set-init.c: Moved to csu.
2141         * munch-init.c: Likewise.
2142         * munch.awk: Likewise.
2143         * version.c: Likewise.
2145         * Rules: Unconfuse syntax highlighting with a fake comment.
2147 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2149         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2150         syscalls.
2152 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2154         * iconvdata/Makefile (generated): Set to *-generated-headers
2155         plus gconv-modules.
2156         (tests): Set to iconv-test.
2157         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2158         * posix/Makefile (generated): Set to wordexp-test-result*.
2159         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2160         (generated-dirs): Add rpcsvc.
2161         * libio/Makefile: Clean up.
2163 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2165         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2166         * Makerules: Likewise.
2167         (+depfiles): Also add sysdep-others.
2168         * Rules: Likewise.
2169         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2170         * iconvdata/Makefile (distribute): Add TESTS.
2171         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2172         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2173         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2174         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2175         sysdep-others, not others.
2176         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2177         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2179 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2181         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2182         cost_hi and cost_lo.
2183         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2184         Cost parameter and set cost_lo to INT_MAX.
2185         (add_module): Take new parameter and use it to initialize cost_lo.
2186         (read_conf_file): Count modules being loaded and use counter for
2187         new parameter to add_module.
2188         * iconv/gconv_db.c (find_derivation): When look for cost examine
2189         cost_hi and cost_lo.
2191 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2193         * string/bits/string2.h: Don't use unsigned char * unless really
2194         necessary since this disturbs C++.
2195         * sysdeps/i386/i486/bits/string.h: Likewise.
2196         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2198 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2200         * malloc/malloc.c (top_check): Fix last change.
2202 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2204         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2205         Patch by Matt McLean <keys@brio.yikes.com>.
2207 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2209         * Makerules (lib): Put back dependency on lib-noranlib.
2210         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2212 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2214         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2215         test in __pow2 implementation.
2217 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2219         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2220         Still need *FLAGS-.o because we still sometimes build .o files.
2221         * db2/Makefile: Don't build libndbm.a if !build-static.
2223 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2225         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2227 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2229         * configure.in: New test for broken gcc on PowerPC.
2230         * sysdeps/powerpc/atomicity.h: Use result of test.
2231         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2233         * math/libm-test.c: Update many of the epsilon to match actual
2234         performance.
2236         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2237         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2238         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2239         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2241         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2243         * sysdeps/powerpc/elf/libc-start.c: New file.
2244         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2245         * sysdeps/powerpc/elf/start.c: Delete.
2247         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2248         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2250         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2251         few patches.
2253 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2255         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2256         test for integer.
2258         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2259         * sysdeps/libm-i387/e_powl.S: Likewise.
2261 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2263         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2264         (malloc_check, free_check, realloc_check, memalign_check): Use
2265         them to improve overrun checking.  Overruns of a single byte and
2266         corruption of the top chunk are now detected much more reliably.
2268 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2270         * math/libm-test.c (pow_test): Add test for special value from PR
2271         libc/590.
2273 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2275         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2276         including linux/errno.h.
2278 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2280         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2281         Use correct types.
2282         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2283         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2285 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2287         * Makerules (elide-routines.*): Fix assignments.
2288         (do-makelib): Fix typo.
2289         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2290         makefile.
2292 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2294         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2295         $(objpfx)sysd-dirs): Move them...
2296         * Makeconfig: ... here.
2297         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2298         (stubs): Fix circular depedency.
2299         (do-makelib): Clean up.
2300         (lib): Don't depend on lib-noranlib.
2301         ($(objpfx)stamp.oS): Remove special case for empty
2302         static-only-routines.
2303         (elide-routines.o): Add $(static-only-routines).
2304         (elide-routines$o): Define this instead of elide-routines.$o.
2305         * manual/Makefile (stubs): Fix circular dependency.
2307 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2309         * libio/Makefile (routines): Remove duplicate oldiofclose.
2311 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2313         * string/strcoll.c: Use uint32_t instead of u_int32_t.
2315 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2317         * libio/stdio.h: Fix typo in __REDIRECT.
2318         * io/sys/stat.h: Likewise.
2319         Reported by Myles Uyema <myles@uyema.nws.net>.
2321 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2323         * locale/programs/localedef.c (options): Fix help message.
2325 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2327         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2328         relocations.  Patch by Joe Keane <jgk@jgk.org>.
2330 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
2332         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
2333         ptmalloc_unlock_all, but re-initializes the mutexes instead.
2334         (ptmalloc_init): Use new function in thread_at_fork call.
2335         (thread_atfork_static): Likewise.
2336         Suggested by Wolfram Gloger and Xavier Leroy.
2338 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2340         * signal/signal.h: Move definitions of struct sigstack and
2341         struct sigaltstack into separate file and include it.
2342         * sysdeps/generic/bits/sigstack.h: New file.
2343         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2344         * signal/Makefile (headers): Add bits/sigstack.h.
2346 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2348         * elf/rtld.c (dl_main): Fix check for number of references to
2349         interpreter object.
2351 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2353         * elf/rtld.c (dl_main): Check has_interp after executing platform
2354         specific code.
2356 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2358         * iconvdata/run-iconv-test.sh: Fix typo.
2360 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2362         * Makerules (+depfiles): Add depfiles for $(tests-static).
2363         Simplified.
2365 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2367         * manual/terminal.texi (Special Characters): Fix description of
2368         c_cc indexes.
2370 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2372         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2373         array.
2374         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
2375         of c_cc array.
2377 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2379         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2381 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2383         * intl/locale.alias: Update russian entry.
2385 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2387         * Makerules (static-only-routines): Reimplement in terms of
2388         elide-routines.os.
2389         (shared-only-routines): Reimplement in terms of
2390         elide-routines.X [where X is all object-suffixes except .os].
2392         (stubs): Create stubs file inside the subdir.
2393         (common-mostlyclean): Remove stubs file from inside the subdir.
2394         * Makefile (subdir-stubs): Look for stubs files inside the
2395         subdirs.
2396         * manual/Makefile (stubs): Create dummy stubs file inside the
2397         subdir.
2399 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2401         Build speed improvement: make ar less of a bottleneck.
2403         * Makerules (stamp$o): Just record the object list for later
2404         use.
2405         (libc_foo.a): New rule, depends on subdir stamp files; builds
2406         and ranlibs the library from the lists saved in those files.
2408         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2409         (subdirs-stamp-o): Likewise.
2411         (ar-symtab-name): Delete variable.
2412         (lib%.a): Delete target.
2413         (libc_foo.a(bar.%)): Delete target.
2414         (libc_foo.a($(ar-symtab-name))): Delete target.
2416         (objects objs): Just depend on libobjs and extra-objs.
2417         (libobjs): Depend on the stamp files, not the objects.
2418         (extra-objs): New target, just depends on the extra-objs list.
2420         (CREATE_ARFLAGS): Kill the `ar S' hack.
2422         * config.make.in (have-ar-S): Deleted.
2423         * configure.in: Delete test for `ar S'.  Add test to determine
2424         whether ranlib does anything useful.
2426 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2428         * inet/tst-ether_aton.c: Include <stdio.h>.
2430 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
2432         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
2434         * locale/Makefile (distribute): Add programs/repertoire.h.
2435         (localedef-modules): Add repertoire.
2436         (CPPFLAGS): Define REPERTOIREMAP_PATH.
2437         * locale/programs/repertoire.c: New file.
2438         * locale/programs/repertoire.h: New file.
2439         * locale/programs/charmap.c: Starting fixing character set handling
2440         to handle multi-byte encodings.
2441         * locale/programs/charset.c: Likewise.
2442         * locale/programs/charset.h: Likewise.
2443         * locale/programs/ld-collate.c: Likewise.
2444         * locale/programs/ld-ctype.c: Likewise.
2445         * locale/programs/linereader.c: Likewise.
2446         * locale/programs/localedef.c: Likewise.
2447         * locale/programs/locfile-kw.gperf: Likewise.
2448         * locale/programs/locfile-kw.h: Likewise.
2449         * locale/programs/locfile-token.h: Likewise.
2450         * locale/programs/locfile.h: Likewise.
2451         * locale/programs/stringtrans.c: Likewise.
2453         * locale/programs/locfile.c: Interpret I18NPATH value as base of
2454         path, extended with "/locales/".
2456 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
2458         * sysdeps/arm/memset.S: Fix off by one error.
2460         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
2461         __syscall_error rather than syscall_error directly.
2463 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
2465         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
2466         mmap() syscall for ARM.
2468         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
2469         binaries.
2471 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
2473         * locale/programs/localedef.c: Recognize repertoire-map option.
2475 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2477         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
2478         converting non-hex numbers.
2479         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
2481 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
2483         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
2484         check overflow.
2485         * resolv/Makefile (tests): New, add tst-aton.
2486         * resolv/tst-aton.c: New file.
2488 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2490         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
2491         semicolon.
2493 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
2495         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
2496         by letting the later modify the variable computing the total directly.
2497         * wcsmbs/mbsrtowcs.c: Likewise.
2498         * wcsmbs/wcsnrtombs.c: Likewise.
2499         * wcsmbs/wcsrtombs.c: Likewise.
2501         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
2502         it is not used.
2503         * wcsmbs/wctoc.c: Likewise.
2505         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
2506         * wcsmbs/wcsrtombs.c: Likewise.
2508         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
2510 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2512         * iconv/skeleton.c: Correct counting of actually converted
2513         characters.
2515         * intl/localealias.c (read_alias_file): Use unsigned char for
2516         local variables.  Remove unused variable tp.
2517         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2518         for type of codeset.  For loosing Solaris systems.
2519         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2520         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2521         len if not needed.
2522         Patches by Jim Meyering.
2524         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
2525         wcsrtombs must put it into initial state.
2527 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2529         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
2530         argument of bswap_XX macro.
2532 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2534         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
2535         variable name.
2537 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
2539         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
2540         semun and use stdarg macros to get the value.
2541         * sysdeps/generic/semctl.c: Don't use union semun.
2543         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
2545         * string/basename.c [!_LIBC]: Define function as gnu_basename.
2547         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
2548         strings.h.
2550         * stdlib/grouping.h: Accept ungrouped numbers even if locale
2551         defines grouping.
2553         * intl/hash-string.h: Don't include values.h.
2555         * inet/Makefile (tests): Add tst-ether_aton.
2556         * inet/tst-ether_aton.c: New file.
2558         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
2559         in hex conversion.
2560         * inet/ether_aton.c (ether_aton): Declare result variable static.
2561         Reported by ahyung@unixg.ubc.ca.
2563         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
2564         Define macro _SEM_SEMUN_UNDEFINED instead.
2565         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
2567         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
2568         * stdio-common/Makefile (tests): Add tst-wc-printf.
2570 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
2572         * manual/stdio.texi (Variable Arguments Output): Correct variable
2573         name.  Patch from Ewan Mellor <em@nexus.co.uk>
2575 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2577         * intl/dcgettext.c: Remove unneeded definition of
2578         internal_function.
2580 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2582         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
2583         instead of do-iconv-test.
2584         ($(objpfx)gconv-modules): Define rule only if objpfx is not
2585         empty.
2587 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2589         * string/string.h: Fix feature test.
2591 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2593         * iconvdata/iso646.c (BODY): Don't use character constants that
2594         depend on signedness of char.
2596 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2598         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
2599         (sysdep_routines): Add s_pread64 and s_pwrite64.
2601 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
2603         * iconvdata/Makefile (distribute): Remove generated .h files.
2604         * iconvdata/koi8-r.h: Removed.
2605         * iconvdata/latin-greek-1.h: Removed.
2606         * iconvdata/latin-greek.h: Removed.
2608         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
2609         * iconvdata/KOI-8: Likewise.
2610         * iconvdata/KOI-8..UTF8: Likewise.
2611         * iconvdata/KOI8-R: Likewise.
2612         * iconvdata/KOI8-R..UTF8: Likewise.
2614 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2616         * streams/Makefile (headers): Add sys/stropts.h.
2617         * streams/sys/stropts.h: New file.
2619 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2621         * sysdeps/unix/sysv/linux/ttyname.c,
2622         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
2623         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
2625 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2627         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
2628         argument of _itoa_word.
2630 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2632         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
2633         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
2634         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
2635         sigprocmask, resp., instead of EXTRA.
2637         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2638         s_pread64 and s_pwrite64.
2640 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
2642         * iconvdata/Makefile: Correct rules to generate gap table.
2643         * iconvdata/gap.pl: Simplify.
2645         * iconvdata/TESTS: Name new tests.
2646         * iconvdata/testdata/CP1250: New file.
2647         * iconvdata/testdata/CP1250..UTF8: New file.
2648         * iconvdata/testdata/CP1251: New file.
2649         * iconvdata/testdata/CP1251..UTF8: New file.
2650         * iconvdata/testdata/CP1252: New file.
2651         * iconvdata/testdata/CP1252..UTF8: New file.
2652         * iconvdata/testdata/CP1253: New file.
2653         * iconvdata/testdata/CP1253..UTF8: New file.
2654         * iconvdata/testdata/CP1254: New file.
2655         * iconvdata/testdata/CP1254..UTF8: New file.
2656         * iconvdata/testdata/CP1255: New file.
2657         * iconvdata/testdata/CP1255..UTF8: New file.
2658         * iconvdata/testdata/CP1256: New file.
2659         * iconvdata/testdata/CP1256..UTF8: New file.
2660         * iconvdata/testdata/CP1257: New file.
2661         * iconvdata/testdata/CP1257..UTF8: New file.
2663 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
2665         * iconvdata/Makefile: Add rules for ISO-2022-KR.
2666         * iconvdata/iso-2022-kr.c: New file.
2668         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
2669         and ISO-2022-KR.
2671 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
2673         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
2674         iso8859-8 and iso8859-10.
2675         * iconvdata/iso8859-5.c: Change to use gap method.
2676         * iconvdata/iso8859-7.c: Likewise.
2677         * iconvdata/iso8859-8.c: Likewise.
2678         * iconvdata/iso8859-10.c: Likewise.
2680         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
2681         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
2682         end of the loop.
2683         * iconvdata/iso-2022-jp.c: New file.
2685         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
2686         * iconvdata/ksc5601.h: Unify function interfaces.
2687         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
2688         * iconvdata/uhc.c: Likewise.
2690         * iconvdata/gb2312.h: Use correct types.
2692         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
2693         size elements of data.
2695 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2697         * string/tst-svc.expect: Adapt for change in .input.
2698         * string/tst-svc.input: More tests.
2700 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
2702         * iconvdata/Makefile: Add rules for new modules.
2703         * iconvdata/gconv-modules: Likewise.
2704         * iconvdata/cp737.c: New file.
2705         * iconvdata/cp737.h: New file.
2706         * iconvdata/cp775.c: New file.
2707         * iconvdata/cp775.h: New file.
2708         * iconvdata/cp874.c: New file.
2709         * iconvdata/cp874.h: New file.
2711 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
2713         * iconvdata/Makefile: Create target directory before generating
2714         headers.
2716 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2718         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
2719         __USER_LABEL_PREFIX__.
2720         (__ASMNAME, __ASMNAME2): New macros.
2722 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2724         * elf/dl-load.c: Include sys/param.h for MAX.
2726 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
2728         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
2729         __ftruncate the strong symbol, and add weak alias.
2730         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2732 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2734         * termios/cfsetspeed.c: Make code cleaner and add missing const.
2735         Patch by Joe Keane <jgk@jgk.org>.
2737         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
2738         free()ing.
2740 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
2742         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
2743         Patch by Thomas Bushnell, n/BSG.
2745 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2747         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
2749 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2751         * iconvdata/Makefile: Put generated headers in build directory.
2753 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
2755         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
2756         strsep as current directory.
2758         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
2759         Java.  Add definitions for unicodelittle implementation.
2760         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
2761         * iconv/gconv_simple.c: Define unicodelittle functions.
2763         * iconv/iconv_prog.c: Make program print information about position
2764         of illegal character in input.
2766         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
2767         comparison of charset name.
2768         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
2769         * iconvdata/ebcdic-at-de-a.c: Likewise.
2770         * iconvdata/ebcdic-at-de.c: Likewise.
2771         * iconvdata/ebcdic-ca-fr.c: Likewise.
2772         * iconvdata/euccn.c: Likewise.
2773         * iconvdata/eucjp.c: Likewise.
2774         * iconvdata/euckr.c: Likewise.
2775         * iconvdata/euctw.c: Likewise.
2776         * iconvdata/hp-roman8.c: Likewise.
2777         * iconvdata/iso6937.c: Likewise.
2778         * iconvdata/iso8859-1.c: Likewise.
2779         * iconvdata/iso8859-10.c: Likewise.
2780         * iconvdata/iso8859-2.c: Likewise.
2781         * iconvdata/iso8859-3.c: Likewise.
2782         * iconvdata/iso8859-4.c: Likewise.
2783         * iconvdata/iso8859-5.c: Likewise.
2784         * iconvdata/iso8859-6.c: Likewise.
2785         * iconvdata/iso8859-7.c: Likewise.
2786         * iconvdata/iso8859-8.c: Likewise.
2787         * iconvdata/iso8859-9.c: Likewise.
2788         * iconvdata/johab.c: Likewise.
2789         * iconvdata/koi-8.c: Likewise.
2790         * iconvdata/koi8-r.c: Likewise.
2791         * iconvdata/latin-greek-1.c: Likewise.
2792         * iconvdata/latin-greek.c: Likewise.
2793         * iconvdata/sjis.c: Likewise.
2794         * iconvdata/t61.c: Likewise.
2795         * iconvdata/uhc.c: Likewise.
2797         * iconvdata/iso646.c: Add support for more ISO 646 variants.
2798         * iconvdata/TESTS: Add tests for ISO646 module.
2799         * iconvdata/gconv-modules: Add new modules.
2800         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
2801         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
2802         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
2803         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
2804         * iconvdata/testdate/DIN_66003: Likewise.
2805         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
2806         * iconvdata/testdate/DS_2089: Likewise.
2807         * iconvdata/testdate/DS_2089..UTF8: Likewise.
2808         * iconvdata/testdate/ES: Likewise.
2809         * iconvdata/testdate/ES..UTF8: Likewise.
2810         * iconvdata/testdate/ES2: Likewise.
2811         * iconvdata/testdate/ES2..UTF8: Likewise.
2812         * iconvdata/testdate/GB_1988-80: Likewise.
2813         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
2814         * iconvdata/testdate/IT: Likewise.
2815         * iconvdata/testdate/IT..UTF8: Likewise.
2816         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
2817         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
2818         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
2819         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
2820         * iconvdata/testdate/JUS_I.B1.002: Likewise.
2821         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
2822         * iconvdata/testdate/KSC5636: Likewise.
2823         * iconvdata/testdate/KSC5636..UTF8: Likewise.
2824         * iconvdata/testdate/MSZ_7795.3: Likewise.
2825         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
2826         * iconvdata/testdate/NC_NC00-10: Likewise.
2827         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
2828         * iconvdata/testdate/NF_Z_62-010: Likewise.
2829         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
2830         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
2831         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
2832         * iconvdata/testdate/NS_4551-1: Likewise.
2833         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
2834         * iconvdata/testdate/NS_4551-2: Likewise.
2835         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
2836         * iconvdata/testdate/PT: Likewise.
2837         * iconvdata/testdate/PT..UTF8: Likewise.
2838         * iconvdata/testdate/PT2: Likewise.
2839         * iconvdata/testdate/PT2..UTF8: Likewise.
2840         * iconvdata/testdate/SEN_850200_B: Likewise.
2841         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
2842         * iconvdata/testdate/SEN_850200_C: Likewise.
2843         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
2845         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
2846         * iconvdata/cns11643l1.h: Likewise.
2847         * iconvdata/latin-greek-1.h: Likewise.
2848         * iconvdata/latin-greek.h: Likewise.
2849         * iconvdata/koi8-r.h: Likewise.
2850         * iconvdata/jis0212.h: Likewise.
2851         * iconvdata/gb2312.h: Likewise.
2852         * iconvdata/ksc5601.h: Likewise.
2854         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
2856         * iconvdata/Makefile: Add rules for lots of more modules.
2857         * iconvdata/cp1250.c: New file.
2858         * iconvdata/cp1251.c: New file.
2859         * iconvdata/cp1252.c: New file.
2860         * iconvdata/cp1253.c: New file.
2861         * iconvdata/cp1254.c: New file.
2862         * iconvdata/cp1255.c: New file.
2863         * iconvdata/cp1256.c: New file.
2864         * iconvdata/cp1257.c: New file.
2865         * iconvdata/ebcdic-dk-no-a.c: New file.
2866         * iconvdata/ebcdic-dk-no.c: New file.
2867         * iconvdata/ebcdic-es-a.c: New file.
2868         * iconvdata/ebcdic-es-s.c: New file.
2869         * iconvdata/ebcdic-es.c: New file.
2870         * iconvdata/ebcdic-fi-se-a.c: New file.
2871         * iconvdata/ebcdic-fi-se.c: New file.
2872         * iconvdata/ebcdic-fr.c: New file.
2873         * iconvdata/ebcdic-is-friss.c: New file.
2874         * iconvdata/ebcdic-it.c: New file.
2875         * iconvdata/ebcdic-pt.c: New file.
2876         * iconvdata/ebcdic-uk.c: New file.
2877         * iconvdata/ebcdic-us.c: New file.
2878         * iconvdata/ibm037.c: New file.
2879         * iconvdata/ibm038.c: New file.
2880         * iconvdata/ibm1004.c: New file.
2881         * iconvdata/ibm1026.c: New file.
2882         * iconvdata/ibm1047.c: New file.
2883         * iconvdata/ibm256.c: New file.
2884         * iconvdata/ibm273.c: New file.
2885         * iconvdata/ibm274.c: New file.
2886         * iconvdata/ibm275.c: New file.
2887         * iconvdata/ibm277.c: New file.
2888         * iconvdata/ibm278.c: New file.
2889         * iconvdata/ibm280.c: New file.
2890         * iconvdata/ibm281.c: New file.
2891         * iconvdata/ibm284.c: New file.
2892         * iconvdata/ibm285.c: New file.
2893         * iconvdata/ibm290.c: New file.
2894         * iconvdata/ibm297.c: New file.
2895         * iconvdata/ibm420.c: New file.
2896         * iconvdata/ibm423.c: New file.
2897         * iconvdata/ibm424.c: New file.
2898         * iconvdata/ibm437.c: New file.
2899         * iconvdata/ibm500.c: New file.
2900         * iconvdata/ibm850.c: New file.
2901         * iconvdata/ibm851.c: New file.
2902         * iconvdata/ibm852.c: New file.
2903         * iconvdata/ibm855.c: New file.
2904         * iconvdata/ibm857.c: New file.
2905         * iconvdata/ibm860.c: New file.
2906         * iconvdata/ibm861.c: New file.
2907         * iconvdata/ibm862.c: New file.
2908         * iconvdata/ibm863.c: New file.
2909         * iconvdata/ibm864.c: New file.
2910         * iconvdata/ibm865.c: New file.
2911         * iconvdata/ibm868.c: New file.
2912         * iconvdata/ibm869.c: New file.
2913         * iconvdata/ibm870.c: New file.
2914         * iconvdata/ibm871.c: New file.
2915         * iconvdata/ibm875.c: New file.
2916         * iconvdata/ibm880.c: New file.
2917         * iconvdata/ibm891.c: New file.
2918         * iconvdata/ibm903.c: New file.
2919         * iconvdata/ibm904.c: New file.
2920         * iconvdata/ibm905.c: New file.
2921         * iconvdata/ibm918.c: New file.
2923         * locale/iso-4217.def: Update.
2924         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
2926         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
2927         formats.
2929 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2931         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
2932         LD_LIBRARY_PATH.
2934 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2936         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
2937         * Makefile: Likewise.
2938         * posix/Makefile: Likewise.
2939         * sysdeps/mach/hurd/Makefile: Likewise.
2941 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2943         * sysdeps/mach/hurd/bits/dirent.h: New file.
2944         * sysdeps/mach/hurd/readdir64.c: New file.
2945         * sysdeps/mach/hurd/readdir64_r.c: New file.
2947 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2949         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
2950         dprintf): Synchronize declarations with libio/stdio.h.
2952 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2954         * elf/dlerror.c (dlerror): Don't assume that
2955         __libc_internal_tsd_get is defined.  __libc_getspecific is already
2956         well-protected, so just use it directly.
2958 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2960         * io/ftw.h (ftw): Fix typo.
2962 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
2964         * sysdeps/gnu/utmp_file.c: Fix typo.
2966 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2968         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
2969         one part of a test fails move on to the next test.
2971 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
2973         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2975 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2977         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
2978         as pointers, not signed integers.
2980 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2982         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
2984 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2986         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
2987         asm symbol name of functions.
2988         * include/features.h: Kill redundant test.
2990         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
2991         * io/ftw.h: Likewise.
2992         * io/sys/stat.h: Likewise.
2993         * io/sys/statfs.h: Likewise.
2994         * io/sys/statvfs.h: Likewise.
2995         * libio/stdio.h: Likewise.
2996         * resource/sys/resource.h: Likewise.
2997         * rt/aio.h: Likewise.
2999         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3000          __FAVOR_BSD.
3001         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3003         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3004         a dummy library.
3005         * misc/bsd-compat.c: Removed.
3007 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3009         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3010         function declaration.
3011         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3012         and use them in conversion function.
3013         * iconvdata/Makefile (modules): Re-add ISO6446.
3014         * iconvdata/TEST: Add tests for ASCII variants.
3015         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3016         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3017         * iconvdata/testdata/BS_4730: New file.
3018         * iconvdata/testdata/BS_4730..UTF8: New file.
3020 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3022         * iconv/gconv.h (struct gconv_step): Add element stateful.
3023         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3024         to zero for all internal conversions.
3025         * iconv/skeleton.c: Initialize stateful depending on whether or not
3026         RESET_STATE is defined to one or zero respectively.
3027         * stdlib/mblen.c: Use stateful element of currently selected
3028         converter for result if S is NULL.
3029         * stdlib/mbtowc.c: Likewise.
3030         * stdlib/wctomb.c: Likewise.
3032 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3034         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3036         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3038         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3039         character in comparison with uint32_t.
3040         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3041         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3042         Optimize BODY a bit.
3044         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3045         be defined.
3047         * iconv/skeleton.c: Also reset converted counter in case of an error.
3048         Call reset function using correct value for output buffer start.
3050         * iconvdata/Makefile: Re-enable tests.
3052         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3053         value for to-conversion.
3055         * iconvdata/TESTS: Add new third column.
3056         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3057         not ASCII based.
3058         * iconvdata/testdata/suntzus: New file.
3060         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3061         while reading.  Correctly used base.  Little optimization.
3062         (__strtoul_internal): Likewise.
3064         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3065         was wrong.  Use explicit variable.
3067 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3069         * configure.in: Check for awk.
3070         * config.make.in: Add AWK to be substituted.
3072         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3073         * manual/users.texi: Fix typo exposed by above rewrite.
3075         * Makefile: Invoke awk using AWK variable.
3076         * csu/Makefile: Likewise.
3077         * elf/Makefile: Likewise.
3078         * mach/Makefile: Likewise.
3079         * manual/Makefile: Likewise.
3080         * sysdeps/gnu/Makefile: Likewise.
3081         * sysdeps/mach/hurd/Makefile: Likewise.
3082         * sysdeps/unix/Makefile: Likewise.
3083         * timezone/Makefile: Likewise.
3085 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3087         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3088         array index translation.
3089         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3090         these are defined.
3092         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3094         * sysdeps/mach/hurd/errlist.c: New file.
3095         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3096         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3097         semantics, so rename it.
3099 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3101         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
3102         conversions.
3104 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
3106         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3107         * wcsmbs/wcsnrtombs.c: Likewise.
3109 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
3111         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3113         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3115         * time/strftime.c (my_strftime): Initialize pad variable in
3116         declaration.
3118         * iconvdata/big5.c: Don't use character constants in comparisons
3119         with unsigned value.
3121 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
3123         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3124         __libc_siglongjmp to GLIBC_2.1.
3126         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3127         __strerror_r.
3129         * iconv/Makefile: Don't run tests now.
3131         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3132         with correct output buffer.
3134         Major rewrite of the low-level gconv functionality.
3135         * iconv/gconv.c: Rewritten.
3136         * iconv/gconv.h: Likewise.
3137         * iconv/gconv_builtin.c: Likewise.
3138         * iconv/gconv_builtin.h: Likewise.
3139         * iconv/gconv_conf.c: Likewise.
3140         * iconv/gconv_int.h: Likewise.
3141         * iconv/gconv_open.c: Likewise.
3142         * iconv/gconv_simple.c: Likewise.
3143         * iconv/iconv.c: Likewise.
3144         * iconvdata/8bit-gap.c: Likewise.
3145         * iconvdata/8bit-generic.c: Likewise.
3146         * iconvdata/Makefile: Likewise.
3147         * iconvdata/big5.c: Likewise.
3148         * iconvdata/cns11643.c: Likewise.
3149         * iconvdata/cns11643.h: Likewise.
3150         * iconvdata/cns11643l1.c: Likewise.
3151         * iconvdata/cns11643l1.h: Likewise.
3152         * iconvdata/ebcdic-at-de-a.c: Likewise.
3153         * iconvdata/ebcdic-at-de.c: Likewise.
3154         * iconvdata/ebcdic-ca-fr.c: Likewise.
3155         * iconvdata/euccn.c: Likewise.
3156         * iconvdata/eucjp.c: Likewise.
3157         * iconvdata/euckr.c: Likewise.
3158         * iconvdata/euctw.c: Likewise.
3159         * iconvdata/gb2312.c: Likewise.
3160         * iconvdata/gb2312.h: Likewise.
3161         * iconvdata/hp-roman8.c: Likewise.
3162         * iconvdata/iso646.c: Likewise.
3163         * iconvdata/iso6937.c: Likewise.
3164         * iconvdata/iso8859-1.c: Likewise.
3165         * iconvdata/iso8859-10.c: Likewise.
3166         * iconvdata/iso8859-2.c: Likewise.
3167         * iconvdata/iso8859-3.c: Likewise.
3168         * iconvdata/iso8859-4.c: Likewise.
3169         * iconvdata/iso8859-5.c: Likewise.
3170         * iconvdata/iso8859-6.c: Likewise.
3171         * iconvdata/iso8859-7.c: Likewise.
3172         * iconvdata/iso8859-8.c: Likewise.
3173         * iconvdata/iso8859-9.c: Likewise.
3174         * iconvdata/jis0201.c: Likewise.
3175         * iconvdata/jis0201.h: Likewise.
3176         * iconvdata/jis0208.c: Likewise.
3177         * iconvdata/jis0208.h: Likewise.
3178         * iconvdata/jis0212.c: Likewise.
3179         * iconvdata/jis0212.h: Likewise.
3180         * iconvdata/johab.c: Likewise.
3181         * iconvdata/koi-8.c: Likewise.
3182         * iconvdata/koi8-r.c: Likewise.
3183         * iconvdata/ksc5601.c: Likewise.
3184         * iconvdata/ksc5601.h: Likewise.
3185         * iconvdata/latin-greek-1.c: Likewise.
3186         * iconvdata/latin-greek.c: Likewise.
3187         * iconvdata/run-iconv-test.sh: Likewise.
3188         * iconvdata/sjis.c: Likewise.
3189         * iconvdata/t61.c: Likewise.
3190         * iconvdata/uhc.c: Likewise.
3191         * wcsmbs/btowc.c: Likewise.
3192         * wcsmbs/mbrtowc.c: Likewise.
3193         * wcsmbs/mbsnrtowcs.c: Likewise.
3194         * wcsmbs/mbsrtowcs.c: Likewise.
3195         * wcsmbs/wcrtomb.c: Likewise.
3196         * wcsmbs/wcsmbsload.c: Likewise.
3197         * wcsmbs/wcsnrtombs.c: Likewise.
3198         * wcsmbs/wcsrtombs.c: Likewise.
3199         * wcsmbs/wctob.c: Likewise.
3200         * iconv/loop.c: New file.
3201         * iconv/skeleton.c: New file.
3203         * stdlib/mblen.c: Handle empty input string correctly.
3204         * stdlib/mbtowc.c: Likewise.
3206         * posix/getopt.c: Various cleanups.
3208         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3209         * sysdeps/i386/bits/setjmp.h: Likewise.
3210         * sysdeps/m68k/bits/setjmp.h: Likewise.
3211         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3212         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3214         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3215         and make longjmp weak alias.
3217 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3219         * iconv/Makefile (routines): Only include gconv_dl if building for
3220         an ELF system - dynamic linking is not available on a.out.
3221         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3222         due to above check.
3223         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3224         routines from gconv_dl.
3226 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3228         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3229         we can compile without libio.
3231 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3233         * sysdeps/mach/hurd/Subdirs: Remove login.
3235 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3237         * db2/compat.h: Include <errno.h>, to make sure we get the
3238         definition of EFTYPE before we define it ourselves.
3240 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3242         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3243         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3244         Fix typo to allow inclusion from sys/ioctl.h again.
3246 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3248         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3250 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3252         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3254 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3256         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3257         Also undefine __strcasestr.
3259 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3261         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3262         aliases do not work with global variables due to copy relocations.
3264 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3266         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3268 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3270         * signal/sighold.c: Include stddef.h for NULL definition.
3271         * signal/sigrelse.c: Likewise.
3272         * sysdeps/posix/sigignore.c: Likewise.
3273         * sysdeps/posix/sigset.c: Likewise.
3274         * sysdeps/posix/waitid.c: Likewise.
3275         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3276         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3277         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3278         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3279         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3281 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3283         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3284         * login/getutent.c (getutxent): Remove alias.
3285         * login/getutent_r.c (setutxent, pututxline, endutxent):
3286         Remove aliases.
3287         * login/getutid.c (getutxid): Remove alias.
3288         * login/getutline.c (getutxline): Remove alias.
3289         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3290         __getutid, __getutline and __pututline.
3291         * login/utmpx.h: Moved to ...
3292         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3293         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3294         and updwtmpx.
3295         * login/updwtmp.c: Moved to ...
3296         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
3297         allowing file name transformation.
3298         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
3299         additional file name transformation.
3300         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3301         * login/utmp_file.c: Moved to ...
3302         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
3303         Generalized by allowing file name transformation.  Do not
3304         print error message.  Library functions should not print them.
3305         Reported by Jim Meyering.
3306         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
3307         with additional file name transformation.
3308         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3309         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3310         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3311         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
3312         and bits/utmpx.h.
3313         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3314         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
3315         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
3316         Define if __USE_GNU.
3317         * sysdeps/generic/setutxent.c: New file.
3318         * sysdeps/generic/getutxent.c: New file.
3319         * sysdeps/generic/endutxent.c: New file.
3320         * sysdeps/generic/getutxid.c: New file.
3321         * sysdeps/generic/getutxline.c: New file.
3322         * sysdeps/generic/pututxline.c: New file.
3323         * sysdeps/generic/utmpxname.c: New file.
3324         * sysdeps/generic/updwtmpx.c: New file.
3325         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3326         * sysdeps/generic/bits/utmpx.h: Remove.
3328 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
3330         * posix/wordexp-test.c (main): Initialize ifs element of ts for
3331         ~root test.
3333 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
3335         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3337 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
3339         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3340         variable using _G_stat64.
3341         * libio/fileops.c: Remove macro definition of fstat, it is in the
3342         global header.
3343         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3345 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
3347         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3348         <willy@odie.barnet.ac.uk>.
3350 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
3352         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3353         required by IPv6 Basic API.
3354         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3355         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3356         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3357         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3359 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
3361         Don't name internal representation since it might be different from
3362         the external form (namely on little endian machines).
3363         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
3364         UCS4 into references to INTERNAL.
3365         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3366         Add endianess support to UCS functions.  Change references to
3367         UCS4 into references to INTERNAL.
3368         * iconv/gconv_int.h: Change references to UCS4 into references to
3369         INTERNAL.
3370         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3371         * iconvdata/gconv-modules: Change accordingly.
3372         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3374         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3375         overflow.
3376         * iconvdata/8bit-gap.c: Likewise.
3377         * iconvdata/8bit-generic.c: Likewise.
3378         * iconvdata/big5.c: Likewise.
3379         * iconvdata/euccn.c: Likewise.
3380         * iconvdata/eucjp.c: Likewise.
3381         * iconvdata/euckr.c: Likewise.
3382         * iconvdata/euctw.c: Likewise.
3383         * iconvdata/iso646.c: Likewise.
3384         * iconvdata/iso6937.c: Likewise.
3385         * iconvdata/iso8859-1.c: Likewise.
3386         * iconvdata/johab.c: Likewise.
3387         * iconvdata/sjis.c: Likewise.
3388         * iconvdata/t61.c: Likewise.
3389         * iconvdata/uhc.c: Likewise.
3391         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3392         * iconvdata/8bit-generic.c: Likewise.
3394         * iconvdata/TESTS: Add more tests.
3396         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3398 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
3400         * iconvdata/Makefile: Better rules to run tests.
3402         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3403         * iconvdata/testdata/ISO-8859-10: Likewise.
3404         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3405         * iconvdata/testdata/ISO-8859-2: Likewise.
3406         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3407         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3408         * iconvdata/testdata/ISO-8859-3: Likewise.
3409         * iconvdata/testdata/ISO-8859-4: Likewise.
3410         * iconvdata/testdata/ISO-8859-5: Likewise.
3411         * iconvdata/testdata/ISO-8859-6: Likewise.
3412         * iconvdata/testdata/ISO-8859-7: Likewise.
3413         * iconvdata/testdata/ISO-8859-8: Likewise.
3414         * iconvdata/testdata/ISO-8859-9: Likewise.
3416 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
3418         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
3419         intermediate result (if available).
3421         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
3422         last change.
3424         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
3425         (distribute): Add run-iconv-test.sh and testdata/*.
3427         * stdlib/testmb.c (main): Simplify mbc array handling.
3429 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3431         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
3432         return value on overflow.
3434 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3436         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
3437         bits.
3439 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3441         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
3442         of non-standard function setbuffer.
3444 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3446         * stdio-common/perror.c: Include <string.h> for __strerror_r.
3448 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
3450         * iconvdata/Makefile: Add rules to run tests.
3451         * iconvdata/TESTS: New file.
3452         * iconvdata/run-iconv-test.sh: New file.
3453         * iconvdata/testdata/ISO-8859-1: New file.
3455         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
3456         not stdout.
3458 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
3460         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3461         counter element of step.
3463         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
3465         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
3466         termination test.
3467         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
3468         ACTUALLY.
3469         (__gconv_transform_utf8_ucs4): Correct test for empty input.
3471 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3473         * Makefile: Include makeconfig before defining rule to regenerate
3474         configure files.
3476         * configure.in: Remove restriction on compiling without static
3477         libs.
3479 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
3481         * test-skeleton.c: Provide hook for initializing code before the fork.
3482         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
3483         removed.
3485         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
3486         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
3487         * libio/libioP.h: Adopt _IO_cleanup prototype.
3489         * stdlib/Makefile (tests): Add test-canon2.
3490         * stdlib/test-canon2.c: New file.
3491         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
3492         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
3493         symlink sequences.
3494         (__realpath): Make real function which checks RESOLVED parameter for
3495         not being NULL.
3497 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3499         * catgets/open_catalog.c (__open_catalog): Fix problems with
3500         reading non-files.  Always close file.
3501         Reported by Cristian Gafton <gafton@redhat.com>.
3503         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
3505 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
3507         * libc.map: Add various low-level I/O functions.
3509 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3511         * string/Makefile (routines): Remove strerror_r.
3512         * string/strerror_r.c: Removed.
3513         * string/strerror.c: Call __strerror_r for doing the real work.
3514         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
3515         add weak alias strerror_r.
3516         * sysdeps/mach/_strerror.c: Likewise.
3517         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
3518         * elf/dl-error.c (_dl_signal_error): Likewise.
3519         * elf/dl-profile.c (_dl_start_profile): Likewise.
3520         * gmon/gmon.c (write_gmon): Likewise.
3521         * stdio-common/perror.c: Likewise.
3522         * stdio-common/vfprintf.c: Likewise.
3524 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
3526         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
3527         (sysdep_headers): Add netatalk/at.h.
3529 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3531         * manual/socket.texi, manual/creature.texi, manual/time.texi:
3532         Formatting fixes.
3534 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3536         * posix/regex.c: Rename __re_syntax_options back to
3537         re_syntax_options, aliases do not work with global variables due
3538         to copy relocations.
3539         (regex_compile): Use syntax parameter instead of
3540         re_syntax_options.
3542 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3544         * configure.in: Document that enable-force-install is default.
3546 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
3548         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
3549         all needed 36 bits.
3550         * sysdeps/posix/mkstemp.c: Likewise.
3552 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
3554         * iconvdata/8bit-gap.c: Simplify step data handling.
3555         * iconvdata/8bit-generic.c: Likewise.
3556         * iconvdata/big5.c: Likewise.
3557         * iconvdata/euccn.c: Likewise.
3558         * iconvdata/eucjp.c: Likewise.
3559         * iconvdata/euckr.c: Likewise.
3560         * iconvdata/euctw.c: Likewise.
3561         * iconvdata/iso6937.c: Likewise.
3562         * iconvdata/iso8859-1.c: Likewise.
3563         * iconvdata/jis0208.h: Likewise.
3564         * iconvdata/jis0212.c: Likewise.
3565         * iconvdata/jis0212.h: Likewise.
3566         * iconvdata/johab.c: Likewise.
3567         * iconvdata/ksc5601.h: Likewise.
3568         * iconvdata/sjis.c: Likewise.
3569         * iconvdata/t61.c: Likewise.
3570         * iconvdata/uhc.c: Likewise.
3572 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
3574         * manual/texinfo.texi: Updated from last version.
3576 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
3578         * iconvdata/cns11643.c: New file.
3579         * iconvdata/cns11643.h: New file.
3580         * iconvdata/cns11643l1.c: New file.
3581         * iconvdata/cns11643l1.h: New file.
3582         * iconvdata/euctw.c: New file.
3583         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
3584         * iconvdata/gconv-modules: Likewise.
3586         * iconvdata/eucjp.c: Several bug fixes and improvements.
3587         * iconvdata/gb2312.h: Likewise.
3588         * iconvdata/jis0201.h: Likewise.
3589         * iconvdata/jis0208.h: Likewise.
3590         * iconvdata/jis0212.h: Likewise.
3592 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
3594         * iconvdata/eucjp.c: New file.
3595         * iconvdata/euccn.c: New file.
3596         * iconvdata/gb2312.h: New file.
3597         * iconvdata/gb2312.c: New file.
3598         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
3599         * iconvdata/gconv-modules: Likewise.
3601         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
3603 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3605         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3606         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
3607         Patch by Mark Hatle <fray@kernel.crashing.org>.
3609 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
3611         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
3612         comment.
3613         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
3614         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
3616 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3618         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
3620         * iconvdata/Makefile: Add rules for big5 conversion.
3621         * iconvdata/gconv-modules: Likewise.
3622         * iconvdata/big5.c: New file.
3624         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
3625         Patch by Jim Meyering.
3627 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
3629         * rt/tst-aio.c: Add test for aio_read and lio_listio.
3631         * rt/lio_listio.c: Correct total counter handling.
3633         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
3634         from request queue.
3636         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
3637         of signal on exit even more.
3639         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
3640         instead of call to pthread_cond_init.
3641         * rt/lio_listio.c (lio_listio): Likewise.
3642         * rt/lio_listio64.c (lio_listio64): Likewise.
3644         * nis/nis_findserv.c: Include sys/socket.h.
3646 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
3648         * Makeconfig (rtobjdir): New variable.
3649         (rpath-link): Add rtobjdir and thread directory, if available.
3651         * test-skeleton.c: Add support to remove temporary files.
3652         Always define test_dir.  Improve message about expected signal.
3654         * rt/Makefile (tests): Add tst-aio.
3655         Add rules for tst-aio to be linked with librt and thread library.
3656         * rt/aio_misc.c: Correct fundamental bugs.
3657         * rt/aio_suspend.c: Correct bug in test for available request.
3658         Initialize conditional variable.
3659         * rt/lio_listio.c: Initialize conditional variable.
3660         * rt/lio_listio64.c: Likewise.
3661         * rt/tst-aio.c: New file.
3663         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
3664         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
3665         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3666         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3667         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3668         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3669         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3671 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
3673         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
3675 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
3677         * elf/dl-load.c (open_path): Use correct name for test whether
3678         directory in load path exists.
3680         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
3681         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
3682         Patches by Tom Rini <trini@kernel.crashing.org>.
3684         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
3685         * wcsmbs/wcstod_l.c: Likewise.
3686         * wcsmbs/wcstold_l.c: Likewise.
3688         * include/byteswap.h: New file.
3690         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
3691         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
3693         * inet/getnameinfo.c (getnameinfo): Change parameter to match
3694         declaration.  Patch by Richard Henderson.
3696 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3698         * manual/process.texi (SIGCHLD example): Save errno.
3700 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
3702         * posix/regex.c: Define regerror really as __regerror.
3703         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
3704         regerror and regfree.
3706         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
3707         * stdlib/strtod_l.c: Likewise.
3708         * stdlib/strtold_l.c: Likewise.
3710         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
3712         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
3714         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
3715         Patch by Christian Gafton.
3717 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
3719         * manual/socket.texi (Interface Naming): Correct @deftypefun line
3720         for if_indextoname.
3722 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3724         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
3726         * manual/socket.texi (Interface Naming): Fix typo.
3728 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3730         * manual/examples/filesrv.c (main): Remove filename first.
3732         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
3733         ?F_UNIX.
3735         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
3736         instead of PF_UNIX.
3738         * manual/examples/filecli.c (main): Use AF_LOCAL
3739         instead of AF_UNIX.
3741 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
3743         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
3744         signgam weak alias.
3745         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
3746         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3747         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3748         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
3749         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3750         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3752         * login/utmp_daemon.c (open_socket): Use __connect not connect.
3754 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3756         * configure.in: Add new option --enable-force-install.  Substitute
3757         force_install.
3758         * config.make.in (force-install): Set from configure.
3759         * Makerules (force-install): New phony target.
3760         * Makeconfig (+force): New variable.
3761         * Makefile: Use it in dependency list of installation targets.
3762         * db/Makefile: Likewise.
3763         * db2/Makefile: Likewise.
3764         * elf/Makefile: Likewise.
3765         * hurd/Makefile: Likewise.
3766         * iconv/Makefile: Likewise.
3767         * iconvdata/Makefile: Likewise.
3768         * intl/Makefile: Likewise.
3769         * localedata/Makefile: Likewise.
3770         * login/Makefile: Likewise.
3771         * po/Makefile: Likewise.
3772         * sunrpc/Makefile: Likewise.
3773         * sysdeps/mach/hurd/Makefile: Likewise.
3774         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
3775         * sysdeps/unix/sysv/linux/Makefile: Likewise.
3776         * timezone/Makefile: Likewise.
3778 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3780         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
3781         alloc_size.  Pass return value of getcwd syscall to realloc.
3783 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3785         * manual/socket.texi: Spelling fixes.
3787 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3789         * elf/dl-load.c (print_search_path): Remove unused variable.
3791 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
3793         * login/utmp_file.c: use __ftruncate not ftruncate.
3794         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
3795         for system call and make ftruncate weak alias.
3796         * posix/unistd.h: Add prototype for __ftruncate.
3797         * login/utmp_daemon.c (open_socket): Use __socket not socket.
3798         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
3799         instead of snprintf and readv.
3800         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
3801         snprintf.
3802         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
3803         directly.
3805 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
3807         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
3808         * iconv/gconv_db.c: Use __ protected regex functions.
3809         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
3810         * posix/getopt_init.c: Use __getpid not getpid.
3811         * posix/regex.c: Rename all global functions to start with __ and
3812         make old names weak aliases.
3813         * posix/regex.h: Adopt prototypes for this.
3814         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
3815         a weak alias and use __getcwd instead of getcwd.
3816         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
3817         * stdlib/strtod.c: Use __btowc instead of btowc.
3818         * stdlib/strtol.c: Likewise.
3819         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
3820         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
3821         and sys_errlist are weak.
3822         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
3823         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
3824         * wcsmbs/mbsnrtowcs.c: Likewise.
3825         * wcsmbs/mbsrtowcs.c: Likewise.
3826         * wcsmbs/wcsnrtombs.c: Likewise.
3827         * wcsmbs/wcsrtombs.c: Likewise.
3828         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
3829         weak alias.
3830         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
3831         * wctype/wctype.c: Define function as __wctype and make wctype
3832         weak alias.
3833         * wctype/wctype.h: Declare __wctype.
3835 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
3837         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
3839 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3841         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
3842         stat64.
3843         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
3844         functions.
3845         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
3846         for __llseek.
3847         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3848         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
3849         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
3850         make it a weak alias.
3851         * posix/unistd.h: Declare __lseek64.
3853         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
3854         (_IO_file_stat): Fix typo.
3855         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
3856         block size from the file.  Use __mempcpy if _LIBC.
3858 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
3860         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
3861         * wcsmbs/mbrtowc.c: Likewise.
3862         * wcsmbs/mbsnrtowcs.c: Likewise.
3863         * wcsmbs/mbsrtowcs.c: Likewise.
3864         * wcsmbs/wcrtomb.c: Likewise.
3865         * wcsmbs/wcsnrtombs.c: Likewise.
3866         * wcsmbs/wcsrtombs.c: Likewise.
3867         * wcsmbs/wctob.c: Likewise.
3869         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
3870         position of next output character correctly.
3871         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
3873         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
3875         * stdlib/strtod.c: Don't use mbtowc.
3877 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
3879         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
3880         what we want is smaller than a buffer.
3882 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
3884         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
3885         this function.
3887 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
3889         * configure.in: Recognize --with-headers flag and determine
3890         commandline options to be used in compilation.
3891         * Makeconfig (+includes): Use $(sysincludes).
3892         * config.make.in (sysincludes): Define from SYSINCLUDES.
3893         * glibcbug.in: Use SYSINCLUDES information.
3894         Patches by Zack Weinberg.
3896 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3898         * glibcbug.in: On linux, report version of kernel headers seen
3899         by compiler.
3901 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
3903         * libc.map: Add __asprintf to GLIBC_2.1.
3904         * elf/dlerror.c: Use __asprintf, not asprintf.
3905         * libio/stdio.h: Declare __asprintf.
3906         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
3907         a weak alias.
3909         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
3910         to avoid inclusion from libc_pic.a.
3912         * elf/dl-runtime.c: Undo last patch.
3914         * stdlib/strtod.c: Don't use mbtowc, use btowc.
3916         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
3917         as default, use NULL.
3919 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3921         * resolv/Makefile: Include ../Makeconfig - needed for building
3922         static NSS module.
3924 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3926         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
3927         static-nss since we don't want hesiod in the static NSS.
3929         * nss/Makefile: Build only nss_files as static.
3931         * nss/function.def: Remove support for service db.
3933 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
3935         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
3937 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
3939         * posix/wordexp-test.c: Make IFS per test-case.
3941 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3943         * glibcbug.in: Report version of gcc in use.  Remove unused variable
3944         ENVIRONMENT.
3946 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
3948         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
3949         `-print-file-name' to find as and ld.
3951 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
3953         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
3954         template is wrong.  Remove unused varaible `ignored'.
3956 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3958         * libc.map: Export __libc_sa_len.
3960         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
3962 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
3964         * iconv/gconv.c: Take care for NULL arguments.
3965         * iconv/gconv_dl.c: Make find_func function global.
3966         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
3967         Add prototypes for ASCII conversion functions.
3968         * iconv/gconv_simple.c: Add ASCII conversion functions.
3969         * locale/C-ctype.c: Correct charset name.
3971         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
3972         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
3973         wcsmbsload.
3974         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
3975         * wcsmbs/mbrtowc.c: Likewise.
3976         * wcsmbs/mbsnrtowcs.c: Likewise.
3977         * wcsmbs/mbsrtowcs.c: Likewise.
3978         * wcsmbs/wcrtomb.c: Likewise.
3979         * wcsmbs/wcsnrtombs.c: Likewise.
3980         * wcsmbs/wcsrtombs.c: Likewise.
3981         * wcsmbs/wctob.c: Likewise.
3982         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
3983         prototypes for wmemr*.
3984         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
3985         * wcsmbs/wcsnlen.c: New file.
3986         * wcsmbs/wcsmbsload.c: New file.
3987         * wcsmbs/wcsmbsload.h: New file.
3989         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
3991         * manual/install.texi: Describe some more critical points.
3993         * string/string.h: Add prototype for __strnlen.
3994         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
3996         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
3997         much less predictable names.
3998         * sysdeps/posix/mkstemp.c: Likewise.
4000 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4002         * manual/libc.texinfo (Top): Change "file namespace" to "local
4003         namespace".
4005         * manual/socket.texi: Change file namespace to local namespace.
4006         (Out-of-Band Data): Remove unneeded variable link.
4007         (Host Address Functions): Use uint32_t consequently and add a
4008         number of clarifications for IPv4/IPv6, classless addresses.
4009         (Internet Namespace): Added some paragraphs about IPv6.
4010         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4012 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4014         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4016         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4017         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4018         (AI_NUMERICHOST): Define.
4019         (getnodebyname): New prototype.
4020         (AI_V4MAPPED, et al.): New constants.
4022         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4023         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4024         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4025         for socket.
4026         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4027         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4029         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4031         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4032         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4033         * socket/Makefile (headers): Add bits/sockunion.h.
4034         * socket/sys/socket.h: Include <bits/sockunion.h>
4035         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4036         <sys/socket.h>, to avoid getting sockaddr_union defined.
4037         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4038         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4039         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4041         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4042         (2.2.x kernels won't have it).
4044 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4046         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4047         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4048         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4049         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4051 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4053         * manual/socket.texi (Socket Addresses): Fix a typo.
4054         (Interface Naming): New section.
4056 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4058         * configure.in: Check for CC using $ac_tool_prefix, to handle
4059         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
4060         * config.make.in: Add MIG to be substituted.
4061         * mach/Machrules: Don't define MIG variable.
4063         Patch by Gordon Matzigkeit <gord@profitpress.com>.
4065 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
4067         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4068         strdupa to copy rpath.
4070 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4072         * configure.in: Fix gcc version check.
4074         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4075         confusing.
4077 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
4079         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4080         of ptsname_r.
4082         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4083         like ttyname_r.
4084         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4085         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4086         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4087         of __ptsname_r accordingly.
4088         * login/openpty.c (openpty): Likewise.
4090 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
4092         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4094 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4096         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4098         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4100 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4102         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4103         return value for better error checking.
4105 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4107         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4108         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4110         * elf/elf.h (EM_SPARC64): Remove.
4111         (EM_SPARC32PLUS, EM_SPARCV9): Add.
4112         (HWCAP_SPARC_V9): Add.
4114         * elf/ldsodefs.h (_dl_hwcap): Declare.
4115         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4116         Weaken so dlopen from static progies works.
4117         (WEAKADDR): New macro.
4118         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4119         (LD_SO_PRELOAD): New macro.
4120         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4121         (elf_machine_rela): Weaken _dl_rtld_map.
4123         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4124         to __clone, and remove the later's alias.
4125         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4127         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4128         the kernel's structure.
4130         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4131         Sparc needs a custom value of __KERNEL_NCCS.
4133 1998-04-06  Richard Henderson  <rth@cygnus.com>
4135         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4137         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4138         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4140 1998-04-06  Richard Henderson  <rth@cygnus.com>
4142         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4143         as the buffer is not properly aligned.
4144         Reported by Juan Cespedes <cespedes@debian.org>.
4146 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4148         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4149         instead of AF_FILE.
4151 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
4153         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4154         and wc*tomb* functions.
4156 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4158         * sysdeps/unix/start.c: Fix typo.
4160 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4162         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4164 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4166         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4167         expressions and using array variables.
4168         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4169         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4170         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4171         * sysdeps/libm-ieee754/e_log.c: Likewise.
4172         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4173         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4174         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4175         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4176         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4177         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4178         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4179         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4180         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4182 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4184         * iconv/gconv.c: Rewrite of the low-level of gconv.
4185         * iconv/gconv.h: Likewise.
4186         * iconv/gconv_builtin.h: Likewise.
4187         * iconv/gconv_close.c: Likewise.
4188         * iconv/gconv_db.: Likewise.
4189         * iconv/gconv_dl.c: Likewise.
4190         * iconv/gconv_int.h: Likewise.
4191         * iconv/gconv_open.c: Likewise.
4192         * iconv/gconv_simple.c: Likewise.
4193         * iconvdata/8bit-gap.c: Adapt for rewrite.
4194         * iconvdata/8bit-generic.c: Likewise.
4195         * iconvdata/euckr.c: Likewise.
4196         * iconvdata/iso646.c: Likewise.
4197         * iconvdata/iso6937.c: Likewise.
4198         * iconvdata/iso8859-1.c: Likewise.
4199         * iconvdata/johab.c: Likewise.
4200         * iconvdata/sjis.c: Likewise.
4201         * iconvdata/t61.c: Likewise.
4202         * iconvdata/uhc.c: Likewise.
4204 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4206         * iconv/gconv_int.h: New file.  Internal header.
4207         * iconv/Makefile (distribute): Add gconv_int.h.
4208         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4209         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4210         * iconv/gconv_close.c: Likewise.
4211         * iconv/gconv_conf.c: Likewise.
4212         * iconv/gconv_db.c: Likewise.
4213         * iconv/gconv_dl.c: Likewise.
4214         * iconv/gconv_int.h: Likewise.
4215         * iconv/gconv_open.c: Likewise.
4216         * iconv/iconv.c: Likewise.
4217         * iconv/iconv_close.c: Likewise.
4218         * iconv/iconv_open.c: Likewise.
4219         * iconv/iconv_prog.c: Likewise.
4221 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4223         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4224         missing braces.
4226 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4228         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4230 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4232         Based on patch from Pat Beirne:
4233         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4234         PIC and non-PIC now.  Correctly negate error number.
4235         (errno): Use `%' not `@' in .type directives.
4237 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4239         * sysdeps/i386/strtok.S: Change to use single exit point.
4240         * sysdeps/i386/i686/strtok.S: Likewise.
4242 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4244         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4245         default.
4247 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4249         * Makerules (installed-libcs): Fix typo.
4251 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4253         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4254         (UHC-routines): Remove ksc5601.
4256 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4258         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4259         introduced in last change.
4261 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4263         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4264         before 2.1.92.
4266 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4268         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4270         * stdlib/isomac.c: Use -isystem instead of -I for system include
4271         dir.
4273 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4275         * resolv/res_comp.c (underscorechar): New.
4276         (middlechar): Allow '_'.
4278 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4280         * intl/explodename.c (stdlib.h): Include that file only if
4281         STDC_HEADERS or _LIBC.
4282         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4283         Patch by Philippe De Muyter <phdm@macqel.be>.
4285 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4287         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4288         (AC_PROG_CHECK_VER): New macro.
4289         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4290         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4292 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
4294         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4295         * sysdeps/i386/i686/strtok.S: New file
4296         * sysdeps/i386/i686/strtok_r.S: New file
4298 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
4300         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4301         type to __off64_t.
4302         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4303         parameter as __off64_t instead of __off_t.
4304         (ftello): Make alias for ftello64 instead of ftello.  Change
4305         return type to __off64_t.
4307 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4309         * sysdeps/i386/bits/string.h: Fix various typos.
4310         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4312         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4314 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4316         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4317         lchown syscall correctly.  [PR libc/541].
4319 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
4321         * localedata/Makefile: Correct testsuite rules.
4323         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4324         * iconvdata/iso646.c: Fix conversion from UCS4.
4326         * elf/ldsodefs.h: Mark internal function with internal_function.
4327         * elf/dl-addr.c: Likewise.
4328         * elf/dl-close.c: Likewise.
4329         * elf/dl-debug.c: Likewise.
4330         * elf/dl-deps.c: Likewise.
4331         * elf/dl-error.c: Likewise.
4332         * elf/dl-fini.c: Likewise.
4333         * elf/dl-init.c: Likewise.
4334         * elf/dl-load.c: Likewise.
4335         * elf/dl-lookup.c: Likewise.
4336         * elf/dl-object.c: Likewise.
4337         * elf/dl-open.c: Likewise.
4338         * elf/dl-profile.c: Likewise.
4339         * elf/dl-reloc.c: Likewise.
4340         * elf/dl-runtime.c: Likewise.
4341         * elf/dl-symbol.c: Likewise.
4342         * elf/dl-version.c: Likewise.
4343         * elf/dlerror.c: Likewise.
4344         * sysdeps/generic/dl-sysdep.c: Likewise.
4345         * sysdeps/i386/dl-machine.h: Likewise.
4346         * intl/finddomain.c: Likewise.
4347         * intl/gettextP.h: Likewise.
4348         * intl/loadmsgcat.c: Likewise.
4350 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
4352         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
4353         * iconv/gconv_builtin.h: Add definitions for new builtins.
4354         * iconv/gconv.h: Add prototypes for new builtins.
4356         * iconvdata/Makefile (modules): Add ISO646.
4357         Add rules for ISO646 module.
4358         (distribute): Add iso646.c.
4359         * iconvdata/gconv-modules: Add module and alias definition for
4360         ISO646 charsets.
4361         * iconvdata/iso646.c: New file.
4363 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
4365         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4366         * iconv/iconv_prog.c: Implement --list option to print available
4367         coded character sets.
4369 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4371         Make fread() read large blocks straight to the user buffer.
4373         * libio/fileops.c (_IO_file_xsgetn): New function.
4374         (_IO_file_jumps): Use it.
4375         * libio/libioP.h: Prototype it.
4377 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4379         * iconv/gconv_conf.c (builtin_aliases): New variable.
4380         (__gconv_read_conf): Add builtin aliases.
4381         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
4382         noop macro before including gconv_builtin.h.
4383         * iconv/gconv_builtin.h: Add alias names.
4385         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4386         number of converted bytes correctly.
4388 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4390         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4391         we only wait for a replay.
4393 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4395         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4396         EUC-KR modules.
4398 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
4400         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4401         use PLTJMP() rather than explicit (PLT).
4403         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4404         __libc_start_main().
4406         Based on patch from Pat Beirne:
4407         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4408         Always define, not only #ifndef PIC.
4409         (DO_CALL): Pass fifth argument correctly in R4.
4410         (PSEUDO): Correct test for error, call syscall_error through PLT
4411         if PIC.
4413 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
4415         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
4416         definitions.
4418 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4420         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
4421         JOHAB.so.
4423 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
4425         * io/Makefile (static-only-routines): Add stat64, fstat64 and
4426         lstat64.
4428 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4430         * manual/Makefile: Use object-suffixes-for-libc instead of
4431         object-suffixes.
4432         * rpm/Makefile (install-lib): Likewise.
4434 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4436         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
4438         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
4439         `m68*', not only `m68k'.
4441 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4443         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
4445         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
4446         install lddlibc4.
4448 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4450         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
4451         EUC-KR.
4453         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
4454         comment.
4456 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
4458         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
4459         the init stuff.
4461 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4463         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
4464         adjtimex syscall.
4465         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4466         adjtimex.
4467         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
4469 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4471         * Makerules (install): Change comment for libc.so following the
4472         libc_nonshared changes.
4474 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4476         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
4478         * iconvdata/gap.pl: Avoid using %#06x.
4480 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4482         * Makerules: Use $? instead of S^ when invoking ar.
4484 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4486         * db2/compat.h: Allow EFTYPE being defined.
4487         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
4488         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
4489         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
4490         * sysdeps/mach/bits/libc-lock.h: Fix typo.
4491         (__libc_once): Correctly unlock semaphore.
4492         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
4493         * sysdeps/unix/bsd/getpt.c: Fix typo.
4494         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
4496 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4498         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
4499         macros.
4501 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
4503         * include/mntent.h: New file.
4505         * elf/Makefile (trusted-dirs.h): Append slash to filename.
4506         * elf/dl-load.c: Rewrite search path handling.
4507         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
4508         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
4509         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
4510         * elf/ldsodefs.h: Add prototype.
4512 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4514         * nss/nsswitch.c (__nss_lookup): Adjust comment.
4516         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
4517         function.
4519         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
4521         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
4522         New function.
4523         (HWCAP_IMPORTANT): New definition.
4525 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
4527         * elf/dl-open.c (_dl_open): Fix a typo.
4528         (_dl_global_scope_alloc): Make it static.
4530 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
4532         * Makerules: Remove duplicate rules to handle stamp.oS.
4534 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4536         * manual/examples/inetsrv.c (main): Change prototype of
4537         make_socket following change in mkisock.c.
4539         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
4540         example host.
4541         (main): Change prototype of init_sockaddr following change in
4542         isockadd.c.
4544         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
4545         * manual/examples/isockad.c (init_sockaddr): Likewise.
4547         * manual/examples/mkfsock.c (make_named_socket): Removed blank
4548         lines for clarification.
4549         (make_named_socket): Use strncpy instead of strcpy.
4550         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4552 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
4554         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
4555         determining libs to remove.
4556         (postclean): Add soversions.mk.
4557         * Makerules (common-mostlyclean): Add tests-static and generated
4558         files.
4560 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
4562         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
4563         scanning for \0.
4564         (__strncat_g): Add i686 specific code.
4566 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4568         * manual/install.texi (Reporting Bugs): Ask to include section
4569         names in reports.
4571 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4573         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
4574         guard against direct inclusion.
4576 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4578         Rework support for libc_nonshared.a:
4579         * Makeconfig (object-suffixes-for-libc): New variable.
4580         * Rules: Remove handling of static-only and shared-only routines.
4581         * Makerules: Handle them here instead.  Use
4582         object-suffixes-for-libc instead of object-suffixes when dealing
4583         with libc objects.
4584         (object-suffixes-for-rules): Remove variable.
4585         (elide-routines.oS): Elide all routines except static-only
4586         routines.
4587         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
4588         empty.
4589         (installed-libcs): Remove special case for .oS.
4590         (rmobjs): Likewise.
4592 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4594         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
4595         do-tst-rpmatch): New targets.
4596         (test): Use them.
4597         (install-locales): Ignore comment lines.
4599 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4601         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
4602         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
4603         ($(objpfx)rtldtbl.h): Likewise.
4604         (CPPFLAGS-dl-load.c): Fix reference to object directory.
4606 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
4608         * manual/string.texi (Finding Tokens in a String): Extend strsep
4609         description and correct example.
4611 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4613         * manual/socket.texi: Remove misguided explicit line breaks and
4614         fix the formatting problem instead by reformulating the
4615         paragraphs.
4616         * manual/filesys.texi: Likewise.
4617         * manual/conf.texi: Likewise.  Don't typeset table with index
4618         fonts, that looks worse than a minimally overfull line.
4620 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4622         * nscd/Makefile (nscd-modules): Move definition outside of
4623         conditional.
4625         * pwd/Makefile: Use have-thread-library to test for thread
4626         library.
4628 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4630         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
4632         * iconvdata/uhc.c (gconv): Remove unused variable idx.
4634 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4636         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
4638 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
4640         * nss/getXXent_r.c: Correctly handle failing setXXent function.
4642         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
4643         Reported by Andreas Jaeger.
4645 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
4647         * elf/Makefile: Fix typo.
4648         (distribute): Add dl-librecon.h.
4649         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
4650         * elf/ldd.sh.in: Likewise.
4651         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
4652         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
4653         Use strsep correctly.
4654         (process_envvars): Allow platform specific variables.
4655         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
4656         (_dl_load_cache_lookup): Test cache IDs found against
4657         _dl_correct_cache_id.
4658         * sysdeps/generic/dl-librecon.h: New file.
4659         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
4661         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
4663 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
4665         * config.make.in (ldd-rewrite-script): New variable.
4666         * configure.in: Substitute ldd-rewrite-script.
4667         * elf/Makefile: Rewrite rules to generate ldd script.
4668         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
4669         * elf/ldd.sh.in: Likewise.
4670         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
4671         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
4672         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
4673         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
4674         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
4676 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4678         * inet/rcmd.c (iruserok): Remain setuid to the local user
4679         while .rhosts is actually read, to make .rhosts-over-NFS work
4680         (PR libc/524).  Use iruserfopen() for security checks on both
4681         hosts.equiv and .rhosts.  General cleanup.
4682         (iruserfopen): New function, performs careful checking on
4683         hosts.equiv/.rhosts files.  Disallows all the old forbidden
4684         stuff plus hard links to files.
4686 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
4688         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
4690         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
4692 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
4694         * sysdeps/i386/i486/bits/string.h: Fix typos.
4696 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
4698         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
4699         strong alias.
4701         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
4703         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
4704         Added.  Used by libm.so on alpha.
4706 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4708         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
4709         defined.
4711 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
4713         * Makerules (object-suffixes-for-rules): Add .oS only for
4714         building shared library.
4715         Add ranlib rule for nonshared library.
4716         (rmobjs): Fix typo.
4718         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
4719         into for shared library only.
4720         (CPPFLAGS-.oS): Add -DPIC.
4721         (libtypes): Use $(object-suffixes-for-rules) instead of
4722         $(object-suffixes).
4724 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
4726         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
4727         and install lddlibc4.
4729 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4731         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
4732         hash.
4733         * iconvdata/gaptab.pl: Likewise.
4735 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
4737         * Rules: Allow Makefiles to specify test-static for tests which
4738         cannot be linked dynamically.
4739         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
4740         tests-static.
4742         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
4744         * misc/error.c: Pretty print.
4746 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4748         * Makerules (libc_nonshared-name): Remove variable.
4749         (installed-libcs): Use libc-name instead.
4750         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
4751         dynamic linker.
4753         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
4754         libc.a.  Remove explicit reference to dynamic linker.
4756 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
4758         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
4759         to wchar_t.
4760         * iconv/iconv_prog.c: Correctly test for write failure.
4761         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
4762         * iconvdata/gconv-modules: Likewise.
4763         * iconvdata/euckr.c: New file.
4764         * iconvdata/johab.c: New file.
4765         * iconvdata/ksc5601.c: New file.
4766         * iconvdata/ksc5601.h: New file.
4767         * iconvdata/uhc.c: New file.
4768         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
4770         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
4771         * stdio/fopen.c: Correct handling of 'x' flag.
4772         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
4774 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4776         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
4777         * sunrpc/rpcsvc/key_prot.x: Likewise.
4778         * sunrpc/key_prot.c: Likewise.
4780 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
4782         * sysdeps/i386/bits/string.h: Correct things which never worked.
4783         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
4784         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
4786 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
4788         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
4789         defined.  Reported by Thorsten Kukuk.
4791 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
4793         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
4795 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4797         * manual/install.texi (Supported Configurations): Add
4798         arm-linuxaout and arm-none.
4800 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4802         * version.h (VERSION): Bump to 2.0.93.
4804 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
4806         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
4808         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
4810         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
4811         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
4813 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4815         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
4817 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4819         Put the static-only routines in a separate library.
4820         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
4821         variables.
4822         (all-object-suffixes): Add .oS.
4823         * Makerules (libc_static-name): New variable.
4824         (installed-libcs): Add libc_nonshared.a.
4825         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
4826         (object-suffixes-for-rules): New variable.  Use it instead of
4827         object-suffixes for generating compilation rules.
4828         (rmobjs): Also remove *.oS.
4829         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
4830         ($(objpfx)stamp.oS): New target.
4832 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
4834         * Makefile (FAQ): Automatically check in regenerated FAQ.
4836 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4838         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
4840 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
4842         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
4843         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
4845         * sysdeps/generic/stub_warning: Removed.
4847         * Makefile (distribute): Add include/des.h.
4849         * manual/Makefile (distribute): Change dir-add.texi to
4850         dir-add.texinfo.
4852         * glibcbug.in: Create files safely when mktemp is not available.
4854         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
4855         Patch by a sun <asun@saul1.u.washington.edu>.
4857 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4859         * libc.map: Rename getname to getnetname.
4861 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
4863         * manual/maint.texi: Use supported platform in examples.
4865         * manual/install.texi: Document some installation tips.
4867 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
4869         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
4870         Fix a bug so that it returns an error if a numeric parameter is
4871         unset and WRDE_UNDEF is set.
4872         Patch by Andreas Schwab and Tim Waugh.
4873         * posix/wordexp-test.c: Add new new test.
4875 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
4877         * posix/regex.c (regex_compile): Last patch wasn't entirely
4878         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
4880 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4882         * manual/filesys.texi (Scanning Directory Content): Fix typo.
4884 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
4886         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
4887         clobbered registers don't appear as operands.
4889 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4891         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
4892         Solaris' sake.
4894         * posix/regex.c (regex_compile): Don't allow non-alphabet
4895         characters in character set name.
4897 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
4899         * posix/wordexp.c (w_newword): New function.
4900         (do_parse_glob): New function.
4901         (parse_glob): Use do_parse_glob.  Now handles the case where a
4902         variable expansion causes a field-split.
4903         (wordexp): Use w_newword.
4904         (parse_arith): Likewise.
4905         (exec_comm): Likewise.
4906         (parse_comm): Likewise.
4907         (parse_param): Likewise.
4908         (parse_backtick): Likewise.
4910 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
4912         * posix/wordexp-tst.sh: Another test.
4914         * posix/wordexp-test.c: Two new tests.
4916         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
4917         directly (the code using realloc was buggy).
4918         (parse_param): Fix typo in comment.
4920 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4922         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
4924 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4926         * libc.map: Add more rpc auth functions/variables.
4928         * nscd/nscd.c: Add -g option to argp options.
4930 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4932         * configure.in: Be prepared for gcc 2.9.10 and up.
4933         * configure.in: Add missing disabling of quote characters in
4934         compiler version check.  Reported by HJ Lu.
4936 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4938         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
4940 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4942         * intl/locale.alias: Fix spelling of romanian.
4944         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
4945         (distribute): Remove des.h.
4946         * include/des.h: New file.
4947         * sunrpc/des.h: Moved to ...
4948         * sunrpc/rpc/rpc_des.h: ...here.
4950 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
4952         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
4953         Fix paren.
4955 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4957         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
4958         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
4960 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
4962         * elf/ldsodesf.h: New file.
4963         * elf/Makefile (distribute): Add ldsodefs.h.
4964         * elf/link.h: Separate internal information in exter header.
4965         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
4966         * elf/dl-minimal.c: Likewise.
4967         * sysdeps/generic/dl-sysdep.c: Likewise.
4968         * elf/sprof.c: Likewise.
4969         * elf/dlsym.c: Likewise.
4970         * elf/dlvsym.c: Likewise.
4971         * elf/dlerror.c: Likewise.
4972         * elf/dladdr.c: Likewise.
4973         * elf/dlclose.c: Likewise.
4974         * elf/dlopen.c: Likewise.
4975         * elf/dl-addr.c: Likewise.
4976         * elf/dl-close.c: Likewise.
4977         * elf/dl-debug.c: Likewise.
4978         * elf/dl-deps.c: Likewise.
4979         * elf/dl-error.c: Likewise.
4980         * elf/dl-fini.c: Likewise.
4981         * elf/dl-init.c: Likewise.
4982         * elf/dl-load.c: Likewise.
4983         * elf/dl-lookup.c: Likewise.
4984         * elf/dl-object.c: Likewise.
4985         * elf/dl-open.c: Likewise.
4986         * elf/dl-profile.c: Likewise.
4987         * elf/dl-reloc.c: Likewise.
4988         * elf/dl-runtime.c: Likewise.
4989         * elf/dl-support.c: Likewise.
4990         * elf/dl-symbol.c: Likewise.
4991         * elf/dl-version.c: Likewise.
4992         * sysdeps/generic/dl-cache.c: Likewise.
4993         * sysdeps/generic/libc-start.c: Likewise.
4994         * iconv/gconv_dl.c: Likewise.
4995         * nss/nsswitch.c: Likewise.
4997 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
4999         * manual/nss.texi: The database is not called network but networks.
5000         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5002 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5004         * configure.in: Correct test for compiler version.
5005         Check that LD_LIBRARY_PATH doesn't contain current path.
5007 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5009         * elf/dl-close.c (_dl_close): Fix byte count while removing
5010         the shared object from the global scope list and optimize
5011         a little bit.
5013 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5015         * manual/filesys.texi (Scanning Directory Content): Add missing
5016         closing brace.
5017         (Scanning Directory Content): Fix text.
5019 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5021         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5022         explaining difference of -lmcheck and MALLOC_CHECK_.
5024 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5026         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5027         typos in comments.
5029 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5031         * test-skeleton.c (main): Fix test for exit signal.
5033 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5035         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5037 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5039         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5040         appropriate.
5042 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5044         * libc.map: Export __strtok_r.
5046 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5048         * posix/regex.c (re_compile_fastmap): Remove unused variable
5049         num_regs and adjust comment.
5050         Patch by Jim Meyering <meyering@ascend.com>.
5052         * math/math.h (M_*l): Extend long double constants to be usable
5053         for 128 bit floats.  Patch by Richard Henderson.
5055 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5057         * sysdeps/m68k/m68020/wordcopy.S: New file.
5059 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
5061         * posix/wordexp.c: Rewrite parse_param.
5062         Patch by Tim Waugh and Andreas Schwab.
5064 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5066         * Rules: Update timestamps on empty object files.
5068 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
5070         * manual/filesys.texi (Scanning Directory Content): Add description
5071         of 64 bits scandir function and friends.
5073 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5075         * glibcbug.in: Use mktemp to generate unique file name for
5076         temporary files.
5078         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5079         ptsname_r.  Use cast for execve call.
5081 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
5083         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5084         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5085         * io/sys/statvfs.h: New file.
5086         * sysdeps/generic/fstatvfs.h: New file.
5087         * sysdeps/generic/statvfs.h: New file.
5088         * sysdeps/generic/fstatvfs64.h: New file.
5089         * sysdeps/generic/statvfs64.h: New file.
5090         * sysdeps/generic/bits/statvfs.h: New file.
5091         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5092         * sysdeps/unix/sysv/linux/statvfs.c: New file.
5093         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5095         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5096         and f_ffree elements.
5098         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
5099         mount options in enum.
5101 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5103         * configure.in: Check for recent egcs/gcc.
5105 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5107         * libc.map: Add alphasort64, scandir64, versionsort64.
5108         * dirent/Makefile (routines): Add scandir64, alphasort64, and
5109         versionsort64.
5110         * dirent/alphasort64.c: New file.
5111         * dirent/scandir64.c: New file.
5112         * dirent/versionsort64.c: New file.
5113         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5114         versionsort.
5115         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5116         old name weak alias.
5117         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5119         * dirent/alphasort.c: Use strcoll instead of strcmp.
5121         * dirent/scandir.c: Optimize a bit.
5123         * dirent/versionsort.c: Pretty print.
5125 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5127         * string/string.h: Add prototype for __strtok_r.
5129 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5131         * posix/Makefile: Fix typo in last change.
5133 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5135         * dirent/dirent.h (scandir): Make argument of select function const.
5136         * dirent/scandir.c (scandir): Likewise.
5137         Reported by David.Faure@insa-lyon.fr [PR libc/512].
5139 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
5141         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5142         weak alias.
5143         * sysdeps/i386/strtok_r.c: Likewise.
5145         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5146         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5147         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5148         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5149         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5150         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5152 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5154         * intl/localealias.c: Remove unneeded define for strdup.
5156 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5158         * manual/argp.texi: Adjust for better TeX output.
5159         * manual/arith.texi: Likewise.
5160         * manual/conf.texi: Likewise.
5161         * manual/filesys.texi: Likewise.
5162         * manual/header.texi: Likewise.
5163         * manual/lgpl.texinfo: Likewise.
5164         * manual/math.texi: Likewise.
5165         * manual/message.texi: Likewise.
5166         * manual/pattern.texi: Likewise.
5167         * manual/process.texi: Likewise.
5168         * manual/signal.texi: Likewise.
5169         * manual/socket.texi: Likewise.
5170         * manual/startup.texi: Likewise.
5171         * manual/stdio.texi: Likewise.
5172         * manual/terminal.texi: Likewise.
5173         * manual/examples/rprintf.c: Likewise.
5174         * manual/examples/testopt.c: Likewise.
5175         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5177 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5179         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5180         parameter name after seeing a digit if it's enclosed in braces.
5182 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5184         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5186 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5188         * manual/memory.texi (Heap Consistency Checking): Document
5189         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5191 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5193         * manual/Makefile: Add missing rules.
5195 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5197         * timezone/Makefile (generated): Define to remove all stamp files.
5199         * sysdeps/generic/strsep.c: Also undefine __strsep.
5201         * string/strdup.c: Undefine __strdup and strdup first.
5202         * string/strndup.c: Likewise.
5204         * string/bits/string2.h: Correct strtok_r and strsep.
5205         Add strndup optimization.
5207         * sysdeps/generic/strsep.c: Little optimization.
5209 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5211         * string/bits/string2.h: Add optimization for strdup.
5212         Always define __strsep and __strtok_r and make real names available
5213         when feature select macros are defined.
5215 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5217         * manual/install.texi (Installation): Use i486-linux as example
5218         instead of the unsupported sunos4.
5219         (Reporting Bugs): Mention glibcbug script.
5220         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5222 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5224         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5226         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5228 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5230         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5231         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5233         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5234         netpacket/packet.h.
5236         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5238 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5240         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5241         in enumerator for strict standard compliance.
5242         * sysdeps/generic/bits/resource.h: Likewise.
5244 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5246         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5247         (PLTJMP): New macro.
5249         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5250         longjmp() when floating point enabled.
5251         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5252         * sysdeps/arm/__longjmp.S: Remove floating point code.
5253         * sysdeps/arm/setjmp.S: Likewise.
5255         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5256         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5258         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5259         memset().
5261         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5262         prototype.
5264 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5266         Based on patches from Pat Beirne and Scott Bambrough:
5268         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5270         * sysdeps/arm/bits/fenv.h: New file.
5272         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5273         * sysdeps/arm/elf/setjmp.S: Likewise.
5274         * sysdeps/arm/elf/start.S: Likewise.
5275         * sysdeps/arm/init-first.c: Likewise.
5276         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5277         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5278         comment about floating point to reflect current reality.
5280         * sysdeps/unix/arm/brk.S: Support PIC.
5281         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5282         re-entrant code.
5283         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5284         return; call syscall_error through PLT.
5285         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5287 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5289         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5290         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5291         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5293 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5295         * dirent/list.c (test): Return error value.
5296         (main): Exit with error value.
5298         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5300         * Makefile (distribute): Add test-skeleton.c.
5301         * test-skeleton.c: New file.
5302         * dirent/Makefile (tests): Add opendir-tst1.
5303         * dirent/opendir-tst1.c: New file.
5305 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5307         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
5308         Optimize memory handling.
5309         * sysdeps/unix/closedir.c: Optmize memory handling.
5311 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
5313         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5314         handling.  Optimize a bit.
5316 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5318         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5319         (parse_param): Fold in Andreas' fixes to do with when the end of
5320         the parameter name has been reached, and quoting inside ${...}.
5321         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5322         $((echo);(ls)).
5324 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5326         * manual/maint.texi: Split out installation and contribution
5327         sections to their own appendices.  Misc cleanups.
5328         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
5329         * manual/contrib.texi: New file.
5330         * manual/libc.texinfo: Pull in new appendices.
5331         * manual/header.texi: Correct node pointer.
5333 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5335         * manual/process.texi (Process Completion): Clarify return value
5336         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
5338 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5340         * posix/wordexp-test.c: Add more tests.
5341         (testit): Fix logic.
5343         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5344         /dev/null instead of closing it, close pipe.  Always chop off all
5345         trailing newlines.  Kill and reap child before returning error.
5346         (w_addword, parse_glob): Fix memory leak.
5347         (wordexp): Fix dangling pointer problem.
5349 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
5351         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5353         * posix/wordexp-test.c (main): Fix little thinkos and typos.
5355         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5356         directory index by only the language.
5358 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5360         * posix/wordexp-tst.sh: Store test results in the
5361         ${common_objpfx}posix directory.
5363         * posix/wordexp-test.c: Remove temporary directory afterwards.
5365 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5367         * libc.map: Export internal versions of cancelable functions.
5369 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5371         * Makerules (MAKEFLAGS): Append `r'.
5373 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5375         * Makeconfig: Define have-thread-library, shared-thread-library
5376         and static-thread-library if a thread library is available.  Don't
5377         define rt.
5378         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
5379         nscd-routines to nscd-modules.  Use shared-thread-library and
5380         static-thread-library in dependencies.
5381         * rt/Makefile: Only compile librt if have-thread-library is
5382         defined.
5383         * Makefile (subdirs): Always include rt subdir.
5385 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5387         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5389 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
5391         * configure.in: Recognize variations for 32 MIPS processors.
5392         Don't assume ELF systems always have .weak, test for .weakext.
5394 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5396         * configure.in: Irix6 is an ELF platform.
5398 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
5400         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5401         unmapping the last loaded segment.
5403 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
5405         * configure.in: Set base_os for Irix6.
5406         Correct test for .weakext.
5408 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5410         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5411         (new_line) to _dl_debug_message call.
5413 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5415         * posix/wordexp.c (parse_param): Perform field-splitting after
5416         expanding positional parameter.
5418         * posix/wordexp-tst.sh: Test that field-splitting is performed
5419         after expanding positional parameter.
5421         * posix/wordexp.c (parse_param): Fixed memory leak in
5422         field-splitting after parameter expansion.
5424 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5426         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
5427         (get_toplvl_escape): Correctly terminate loop at EOF.
5428         Patch by Cristian Gafton <gafton@redhat.com>.
5430 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
5432         * string/tester.c (test_strpbrk): Add more strpbrk tests.
5433         (test_strsep): Likewise.  Correct horrible bugs.
5435         * string/bits/string2.h (strcspn): Optimize also reject string of
5436         length 2 and 3.
5437         (strspn): Likewise.
5438         (strpbrk): Likewise.
5439         (strsep): Likewise.  Correct bug with successive separators and
5440         separators at the end of the string.
5441         * sysdeps/generic/strsep.c: Correct bug with successive separators
5442         and separators at the end of the string.
5444 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5446         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
5447         etc) now handled, as well as $$ (pid).
5449         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
5450         (distribute): Add wordexp-tst.sh.
5452         * posix/wordexp-tst.sh: New file.
5454         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
5455         number of positional parameters.  Renamed substitute_length to
5456         seen_hash.
5457         Don't free(env) is env is NULL.
5459 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
5461         * libc.map: Add pthread_attr_init to GLIBC_2.1.
5463 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
5465         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
5466         for output file replacing gmon.out.
5467         Patch by Dean Gaudet <dgaudet@arctic.org>.
5469 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5471         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
5472         up namespace.  Optimize finding end of line.
5474 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5476         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
5477         securely.  Optimized.
5478         (process_dl_debug): Add ':' to list of separators.  Optimized.
5480 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5482         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5483         isless, islessequal, islessgreater, isunordered): Return zero or
5484         one.
5486 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5488         * posix/wordexp-test.c: More tests.
5489         (main): Set up arena for pathname expansion tests (in a temporary
5490         directory).
5491         (testit): Don't check word count or word vector if return value is
5492         non-zero.
5494         * posix/wordexp.c (exec_comm): Always chop off terminating
5495         linefeed (just like bash does).
5496         (parse_param): Change lots of occurrences of "if (!*env)" to "if
5497         (!env || !*env)".
5498         (parse_param): For assignment inside parameter expansion, use all
5499         expanded words in assignment rather than just the first.
5500         (parse_param): Corrected return value for parameter expansion of
5501         an unset variable when WRDE_UNDEF is in effect.
5502         (parse_dollars): Don't field-split if quoted.
5503         (wordexp): Opening brace character isn't allowed unquoted.
5505 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5507         * elf/dlerror.c: Fix concurrency problems with error string and
5508         number.
5510         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
5511         filter/auxiliary are being loaded.
5513 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
5515         * elf/dlerror.c (last_object_name): Removed.
5516         (dlerror): Don't use last_object_name.
5517         (_dl_error_run): Omit second argument to _dl_catch_error.
5518         * elf/dl-error.c (struct catch): Remove objname member.
5519         (_dl_signal_error): Construct string including objname when given.
5520         (_dl_catch_error): Remove objname handling.
5521         * elf/link.h (_dl_catch_error): Fix prototype and comment.
5522         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
5523         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
5524         * nss/nsswitch.c (nss_dlerror_run): Likewise.
5525         * iconv/gconv_dl.c (dlerror_run): Likewise.
5526         [Corrects PR libc/501].
5528 1998-03-12  Matthias Urlichs <smurf@noris.de>
5530         * nscd/nscd.c: Ignore SIGPIPE.
5532 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5534         * nscd/nscd_getgr_r.c: Use __ protected names.
5535         * nscd/nscd_getpw_r.c: Likewise.
5537 1998-03-12  Matthias Urlichs <smurf@noris.de>
5539         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
5540         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
5541         null bytes are not transmitted.
5543 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5545         * powerpc/syscalls.list: Correct typo.
5546         * alpha/syscalls.list: Likewise.
5547         * mips/syscalls.list: Likewise.
5549 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5551         * socket/sys/socket.h: Add prototype for __socket.
5553 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5555         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
5557         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
5558         constants.
5560         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
5561         definition here.
5562         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
5563         definition here.
5565         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
5566         AF_* and PF_* constants.
5568         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
5570 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
5572         * elf/rtld.c: Update help message.
5573         Install link maps for preloaded objects using main_map as loader.
5575         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
5576         * elf/dl-profile.c: Likewise.
5578         * elf/dlsym.c: Little optimization.
5579         * elf/dlvsym.c: Likewise.
5581 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
5583         * posix/wordexp-test.c: Move test for parameter list at the very
5584         beginning.
5586 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5588         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
5589         WRDE_REUSE flag is set.
5590         (parse_param): Allow `*', `@', and numbers in parameter names.
5591         (parse_dollars): Differentiate between arithmetic expansion and a
5592         command substitution that starts immediately with a sub-shell
5593         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
5594         (parse_param): Memory allocated with __alloca in a block was
5595         referenced outside that block.  Adjusted to use malloc/free.
5596         (parse_param): Adjusted field-splitting algorithm so that there is
5597         not necessarily a field split at the end of a parameter expansion.
5599 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5601         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
5602         don't free words that have already been allocated.
5603         (parse_param): A dollar sign on its own will never have a pattern
5604         associated with it (like "${HOME%%/}" has), so don't try to free it.
5605         (parse_glob): Attempt to glob when an unquoted `[' is found
5606         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
5607         (parse_glob): Sorted out quoting in a glob-able word.
5608         (parse_param): Added $* and $@ handling.
5610 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5612         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
5613         parsing it.
5615 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5617         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5618         _dl_debug_message.
5620 1998-03-12  Matthias Urlichs  <smurf@noris.de>
5622         * elf/dl-misc.c: Default for debug output should be stderr.
5623         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
5624         * elf/dl-lookup.c: reference_name may be NULL or empty.
5626 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5628         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
5630 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5632         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
5634         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
5636 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5638         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
5639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5641 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5643         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
5644         init stuff.
5646 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5648         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
5649         flag.
5651         * misc/syslog.c (vsyslog): Don't try to send if not connected to
5652         syslog daemon.
5653         (closelog_internal): Don't do anything if not connected.
5655 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
5657         * libc.map: Add _dl_debug_message.
5658         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
5659         before every line.
5660         * elf/fini.c: Correctly use new _dl_debug_message function.
5661         * elf/init.c: Likewise.
5662         * elf/dl-lookup.c: Likewise.
5663         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5664         * elf/dl-load.c: Likewise.  Add more debugging prints.
5665         * elf/dl-reloc.c: Likewise.
5666         * elf/dl-version.c: Likewise.
5667         * elf/dl-support.c: Add variables for debugging.
5668         * elf/rtld.c: Likewise.  Recognize new debug options.
5669         * elf/link.h: Declare new variables.
5671         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
5673 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5675         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
5676         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
5678 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5680         * posix/wordexp-test.c (command_line_test): New function to allow
5681         testing of specific cases from the command-line.
5683 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5685         * elf/dl-init.c (_dl_init_next): Print nicer messages.
5686         * elf/dl-fini.c (_dl_fini): Likewise.
5687         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
5689         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
5690         symbol in debug message.
5691         (_dl_lookup_versioned_symbol_skip): Likewise.
5693 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
5695         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
5696         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5697         * manual/filesys/texi: Document this.
5699 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
5701         * manual/filesys.texi: Document the change below.
5703 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5705         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
5706         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
5708 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
5710         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
5711         instead scope.  If debugging display information about symbol
5712         resolving.
5713         (_dl_lookup_symbol): Call do_lookup with correct parameters.
5714         (_dl_lookup_symbol_skip): Likewise.
5715         (_dl_lookup_versioned_symbol): Likewise.
5716         (_dl_lookup_versioned_symbol_skip): Likewise.
5717         * elf/dl-support.c: Define _dl_debug_symbols.
5718         * elf/link.h: Add declaration for _dl_debug_symbols.
5719         * elf/rtld.c: Define _dl_debug_symbols.
5720         (process_dl_debug): Recognize symbols option.
5722 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
5724         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
5725         in correct format.
5726         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
5727         with correct parameters.
5728         [!PIC]: Initialize __libc_multiple_libcs.
5730 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
5732         * elf/dl-support.c (_dl_debug_bindings): Add definition.
5733         * elf/rtld.c (_dl_debug_bindings): Add definition.
5734         (process_dl_debug): Recognize bindings option.  Update help message.
5735         * elf/link.h (struct link_map): Add l_versyms member.
5736         (_dl_debug_bindings): Add declaration.
5737         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
5738         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
5739         and l_reloc_result.
5740         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
5741         (sym_val): Remove a member, add m as link_map.
5742         (do_lookup): Return result appropriately.
5743         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
5744         Call do_lookup correctly.
5745         (_dl_lookup_symbol_skip): Likewise.
5746         (_dl_lookup_versioned_symbol): Likewise.
5747         (_dl_lookup_versioned_symbol_skip): Likewise.
5749 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
5751         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
5752         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
5754         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
5755         * libc.map: Add chown to GLIBC_2.1.
5756         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
5757         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
5759 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5761         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
5762         weak alias.
5763         * sysdeps/alpha/ffs.c: Likewise.
5764         * sysdeps/am29k/ffs.c: Likewise.
5765         * sysdeps/i386/ffs.c: Likewise.
5766         * sysdeps/i960/ffs.c: Likewise.
5767         * sysdeps/m68k/ffs.c: Likewise.
5768         * sysdeps/m88k/ffs.c: Likewise.
5769         * sysdeps/powerpc/ffs.c: Likewise.
5770         * sysdeps/rs6000/ffs.c: Likewise.
5771         * sysdeps/vax/ffs.s: Likewise.
5772         * string/string.h: Declare __ffs.
5773         * libc.map: Export it.
5774         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
5775         __builtin_ffs, which is not guaranteed to be namespace clean.
5777 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5779         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
5780         table, which is much more likely to exist than debugging symbols.
5781         (printsym): Remove const.
5782         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
5783         header table.
5785         * libc.map: Export __profile_frequency, used by elf/sprof, to
5786         avoid infinite recursion during startup.
5788 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5790         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
5791         Readd lost negate.
5793         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
5795 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
5797         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
5799 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
5801         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
5802         LD_PRELOAD, and LD_VERBOSE.
5803         (dl_main): Use global variables set by process_envvars instead of
5804         calling getenv.
5805         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
5806         LD_LIBRARY_PATH value, this comes with the parameter.
5807         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
5808         ("LD_LIBRARY_PATH") to _dl_init_paths.
5810 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
5812         * elf/rtld.c (dl_main): Delay initialization of path structure if
5813         the dynamically linker is invoked implicitly until we read the
5814         dynamic section.
5816 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
5818         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
5820 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5822         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
5823         Linux 2.0 and 2.1.
5825         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
5827 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
5829         * Makeconfig (nisobjdir): Set to path to nis directory.
5830         (rpath-link): Add nisobjdir.
5831         Patch by Sven Verdoolaege <skimo@kotnet.org>.
5833         * elf/Makefile: Pretty print.
5834         * elf/dl-lookup.c: Include unistd.h.
5835         * elf/dl-runtime.c: Likewise.
5837         * localedata/Makefile (test-srcs): Add tst-rpmatch.
5838         (distribute): Add tst-rpmatch.sh.
5839         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
5841         New tests for rpmatch function by
5842         Jochen Hein <jochen.hein@delphi.central.de>.
5843         * localedata/tst-rpmatch.c: New file.
5844         * localedata/tst-rpmatch.sh: New file.
5846         * localedata/locales/de_DE: Correct yesexpr and noexpr.
5847         * localedata/locales/de_AT: Likewise.
5849         * posix/getopt.c: Update contact address.
5850         * posix/getopt1.c: Pretty print.
5852         * sysdeps/generic/libc-start.c: Do most of the initialization now
5853         here instead of in start.S.
5854         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5855         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
5857         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
5858         profil_counter to be public.
5860 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
5862         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
5863         (parse_param): Coded parameter length expansion (${#var}).
5864         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
5865         (parse_param): Cleaned up (fixed) error handling.
5867         * posix/wordexp-test.c: IFS now includes non-whitespace character
5868         (comma).  Added more tests.
5870 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
5872         * elf/link.h: Fix typos.
5873         Reported by Andreas Jaeger.
5875         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
5876         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
5878 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
5880         * argp/argp-help.c: Remove last bits of using gettext instead of
5881         dgettext.
5883 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
5885         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
5886         __libc_start_main.
5887         * csu/Makefile (routines): Add libc-start.
5888         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
5889         * elf/dl-lookup.c: Likewise.
5890         * elf/dl-version.c: Likewise.
5891         * sysdeps/i386/dl-machine.h: Likewise.
5892         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
5893         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
5894         _dl_sysdep_message macros which use _dl_sysdep_output.
5895         * elf/dl-fini.c: Write out which destructor is called while debugging.
5896         * elf/dl-init.c: Likewise for constructor.
5897         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
5898         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
5899         _dl_sysdep_message.  Add _dl_sysdep_output.
5900         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
5901         this file can be opened.
5902         For LD_DEBUG=libs also set _dl_debug_impcalls.
5903         * sysdeps/generic/dl-cache.c: Include unistd.h.
5904         * sysdeps/generic/libc-start.c: New file.
5905         * sysdeps/unix/sysv/linux/libc-start.c: New file.
5906         * sysdeps/i386/elf/start.S: Don't call main directly, call
5907         __libc_start_main instead.
5909         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
5911 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
5913         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
5915 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
5917         * argp/argp.h (struct argp): Add new field domain.
5918         * argp/argp-help.c: Change all gettext calls to dgettext and use
5919         domain field from appropriate argp in call.
5920         * argp/argp-parse.c: Likewise.
5922 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
5924         * posix/wordexp-test.c: Change testsuite so that it can run even
5925         for ~root != /root.
5927 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5929         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
5931 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5933         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5934         Don't store into global errno if we already store through
5935         __errno_location.
5936         * sysdeps/unix/i386/sysdep.S: Likewise.
5937         * sysdeps/unix/alpha/sysdep.S: Likewise.
5938         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5939         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
5941         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
5942         PIC).
5944 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5946         * sysdeps/generic/sysdep.h (L): Remove definition.
5947         * sysdeps/i386/sysdep.h (L): Define it here instead.
5949 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5951         * nis/nis_call.c (__do_niscall): Safe and reset errno.
5953         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
5955 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5957         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
5958         declaration style to avoid warnings.
5960 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
5962         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
5963         "LD_DEBUG".
5965 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
5967         * posix/Makefile (tests): Add wordexp-test.
5968         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
5969         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
5971 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
5973         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
5974         dependencies.
5976         * elf/link.h (struct r_search_path_elem): Add two new field for
5977         lib path debugging.
5978         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
5979         variable accordingly.
5980         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
5981         is considered next along with information about load paths.
5982         * sysdeps/generic/dl-cache.c: Likewise.
5983         * elf/dl-support.c: Define _dl_debug_libs.
5984         * elf/genrtldtbl.awk: Add initializers for two new field in
5985         struct r_search_path_elem.
5987 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5989         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
5990         * sysdeps/m68k/lshift.S: Likewise.
5991         * sysdeps/m68k/rshift.S: Likewise.
5992         * sysdeps/m68k/sub_n.S: Likewise.
5993         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
5994         * sysdeps/m68k/m68020/mul_1.S: Likewise.
5995         * sysdeps/m68k/m68020/submul_1.S: Likewise.
5997         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
5998         [_LIBC_REENTRANT]: Don't store into global errno.
6000         * sysdeps/m68k/sysdep.h: New file.
6001         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6002         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6003         (DO_CALL): Change to expect syscall name as argument.
6004         (PSEUDO): Pass syscall_name to DO_CALL.
6005         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6006         errno.
6008 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6010         * elf/rtld.c: Speed up processing of environment variables.  Do
6011         only one run on the environment by avoiding to call getenv.
6012         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6013         function.  Used by patch above.
6015 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6017         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6018         running nscd.
6019         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6020         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6021         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6023 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6025         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6026         module cannot be found.  Reported by Andreas Jaeger.
6028 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6030         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6031         on platforms which default to unsigned chars.
6032         * nscd/nscd_getpw_r.c: Likewise.
6033         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6034         defining it.
6036 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6038         * elf/Makefile (install-bin): Change = to += for sprof to install
6039         ldd also.
6041 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6043         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6045 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6047         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6049 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6051         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6052         that a failure to connect to nscd doesn't change errno.
6054 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6056         * manual/maint.texi (Reporting Bugs): Change
6057         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6059         * locale/iso-4217.def: Likewise
6061 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
6063         * manual/texinfo.tex: Updated.
6065 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6067         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6068         value.
6069         * sysdeps/posix/pathconf.c: Likewise.
6070         * posix/getconf.c: Print `undefined' if pathconf returns -1
6071         without setting errno.
6073 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
6075         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6076         problem.
6077         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6078         Patches by Elliot Lee <sopwith@cuc.edu>.
6080 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
6082         * elf/link.h (struct link_map): Add new field l_reloc_result.
6083         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6084         of relocation for the object to be profiled.
6085         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6086         to NULL.
6087         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6088         array here.
6089         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6090         contains a result from a previous run use this instead of computing
6091         the value again.
6092         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6094 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6096         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6097         offsets into the GOT.
6098         (RTLD_START): Likewise.
6100 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
6102         * elf/sprof.c: Cleanup a bit.
6104 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
6106         * sysdeps/generic/sysdep.h (L): New. Define.
6108         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6110         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6112         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6113         to have only one exit point for functions.
6114         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6115         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6116         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6117         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6120 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6122         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6123         reset errno so that errno isn't set to ENOSYS in the first call.
6124         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6125         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6126         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6127         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6129 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
6131         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6132         * sysdeps/i386/addmul_1.S: Likewise.
6133         * sysdeps/i386/lshift.S: Likewise.
6134         * sysdeps/i386/mul_1.S: Likewise.
6135         * sysdeps/i386/rshift.S: Likewise.
6136         * sysdeps/i386/sub_n.S: Likewise.
6137         * sysdeps/i386/submul_1.S: Likewise.
6138         * sysdeps/i386/i586/add_n.S: Likewise.
6139         * sysdeps/i386/i586/addmul_1.S: Likewise.
6140         * sysdeps/i386/i586/lshift.S: Likewise.
6141         * sysdeps/i386/i586/mul_1.S: Likewise.
6142         * sysdeps/i386/i586/rshift.S: Likewise.
6143         * sysdeps/i386/i586/sub_n.S: Likewise.
6144         * sysdeps/i386/i586/submul_1.S: Likewise.
6146         * sysdeps/i386/sysdep.h: Extend last change.
6148         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6149         to have only one exit point for functions.
6151 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6153         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
6154         search.
6156 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6158         * Makerules: Generate libc.so with absolute paths for the used
6159         shared objects.
6161         * config.make.in: Add MAKEINFO definition.
6163 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6165         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6166         (ENTRY): Use STABS_FUN.
6167         (END): Use STABS_FUN_END.
6168         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6170         * elf/Makefile: Add rules to build sprof program.
6171         * elf/sprof.c: New file.
6173 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6175         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6177 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6179         * configure.in: Check for working msgfmt version (from GNU gettext
6180         0.10 or later).
6182 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6184         * configure.in: Avoid //s in sysdirs.
6185         Patch by Roland McGrath.
6187         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6189 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6191         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6192         setting _dl_global_scope for RTLD_GLOBAL.
6194 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6196         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6197         possible lists of object-suffixes are taken care of.
6199 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6201         * timezone/private.h: Update from tzcode1998c.
6202         * timezone/zic.c: Likewise.
6203         * timezone/antarctica: Updated from tzdata1998c.
6204         * timezone/asia: Likewise.
6205         * timezone/australasia: Likewise.
6206         * timezone/europe: Likewise.
6207         * timezone/southamerica: Likewise.
6209 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6211         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6212         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6214 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6216         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6217         Changed type of TWO43, TWO52 from float to double.
6218         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6219         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6220         Changed type of TWO43 from float to double.
6221         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6222         Use __isinff.
6224 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6226         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6227         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6228         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6230 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6232         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6233         kernel_termios.h.
6234         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6235         Clean up random whitespace.
6236         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6239         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6241 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6243         * shlib-versions: Match alpha*.
6244         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6245         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6247         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6248         Implement copysign* with and without __ prefix.
6249         Likewise for fabs; use builtin for gcc 2.8.
6250         (floor*): New.
6251         (fdim*): New.
6253         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6254         (R_SPARC*): Match current v9 ABI.
6256         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6258         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6259         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6260         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6261         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6262         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6263         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6264         * sysdeps/unix/grantpt.c (argv): Fix consts.
6265         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6266         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6268 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6270         * misc/syslog.c: Change to allow user the interpretation of the
6271         outcome even with syslog having no return value.
6273 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6275         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6276         that the number of program headers is >0 (which is wrong for the
6277         loader itself).
6279 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6281         * Makefile (distribute): Add README.libm.
6283 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6285         * time/clocktest.c (main): Correct typo: "--" -> "==".
6287 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6289         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6290         inline function.
6291         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6292         inline functions.
6294         * math/libm.map (__atan2): Added.
6296 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6298         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6299         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6301         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
6302         bug.
6304 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6306         * manual/arith.texi (Old-style number conversion): Correct
6307         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6309 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6311         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
6312         but does not require it.  Handle missing argv[] values gracefully.
6313         * posix/execl.c: Likewise.
6314         * posix/execle.c: Likewise.
6316 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6318         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
6319         bit.
6320         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
6322 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6324         * libc.map: Add __adjtimex.
6326 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6328         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6329         Remove memset.
6331 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
6333         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
6334         to 64.
6336         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
6338         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
6339         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
6341         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
6342         for shared library.
6344         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
6346         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6347         Added adjtimex and old_adjtimex.
6349         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
6350         New.
6351         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
6352         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
6354         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
6355         symbols only for shared library.
6356         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6357         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6358         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6359         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6360         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6361         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6362         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6364         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
6365         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6366         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6367         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6368         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6369         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6370         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6371         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6373         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
6374         rusage pointer.
6376         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
6377         New macros.
6378         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
6379         timex and __adjtimex, respectively.
6381         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
6383         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
6385 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
6387         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
6388         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
6390 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
6392         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
6394 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6396         * Makefile.in: Disable built-in rules.
6398 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6400         * sysdeps/i386/fpu/t_exp.c: Move to ...
6401         * sysdeps/libm-i387/t_exp.c: ... here.
6403 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
6405         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
6406         from __exp2_deltatable.
6408 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
6410         * nis/ypclnt.c (yp_master): Check result of strdup.
6411         Patch by Thorsten Kukuk.
6413 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6415         * nis/ypclnt.c: Give clnt handle after error checking free, change
6416         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
6418 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
6420         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
6421         Patch by Joe Keane <jgk@jgk.org>.
6423         * misc/fstab.h (struct fstab): Change fs_type member to be const.
6424         * misc/fstab.c: Remove casts in fs_type assignments.
6426 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6428         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
6429         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
6430         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6431         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6432         * sysdeps/powerpc/bits/fenv.h: Likewise.
6433         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6434         * sysdeps/generic/bits/fenv.h: Likewise.
6435         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6436         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
6437         * sysdeps/powerpc/test-arith.c (main): Likewise.
6439 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6441         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
6442         the comparison macros.
6444 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
6446         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
6447         (__log2): Fixed return values.
6448         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
6450 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6452         * math/math.h (isunordered): Rename local variables to ensure
6453         correct code.  Reported by HJ Lu.
6455 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
6457         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6458         isless, islessequal, islessgreater, isunordered): Fix syntax for
6459         fucompip instruction.
6460         (isless, islessequal): Fix logic.
6462 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6464         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
6465         (comparisons_test): New tests for comparison macros.
6467 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
6469         * Makeconfig: Filter out frame-pointer effecting options when
6470         compiling profiling or debugging code.
6471         * config.h.in (internal_function): Don't define here if PROF is
6472         defined.
6473         * gmon/gmon.c (__moncontrol): Don't change state if already in error
6474         state.
6475         (__monstartup): If calloc fails set error state and mark array as
6476         not allocated.
6477         (_mcleanup): Don't call write_gmon if in error state.  Don't try
6478         to free array if not  successfully allocated.
6480         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
6481         Include elf.h to get macro definitions.
6482         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
6484 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
6486         * elf/ldd.sh.in: Add compatibility for broken old shells.
6487         * elf/ldd.bash.in: Likewise.
6489 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
6491         * sunrpc/rpc_main.c (open_input): Check pipe return error.
6493         * time/clocktest.c (main): Check signal return error.
6495 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6497         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
6498         "/" and use do-install-program. Reported by Mark M. Kettenis.
6499         (subdir_install):  Likewise.
6501 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6503         * sunrpc/rpc_sample.c: Fix typo.
6505         * nscd/connections.c: Use locale.
6506         * nscd/grpcache.c: Add debug messages, gidtbl should get the
6507           calloc result.
6508         * nscd/nscd.c: Check if init functions fails.
6509         * nscd/nscd_conf.c: Allow disabling of group cache.
6510         * nscd/nscd_getgr_r.c: Fix return code if group not found.
6511         * nscd/pwdcache.c: Fix debug messages.
6513 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6515         * libc.map: Add __monstartup and _mcleanup for profiling support.
6517 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6519         * libc.map: Export __getpagesize, for binary compatibility with
6520         2.0.
6522 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6524         * posix/globtest.sh: Use --library-path instead of
6525         LD_LIBRARY_PATH.
6526         * localedata/sort-test.sh: Likewise.
6527         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
6529 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6531         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
6532         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
6533         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6535         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
6536         kernel_sigaction): Define.
6537         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
6538         kernel_sigaction): Define.
6540 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6542         * math/libm-test.c: Change epsilons for libm-ieee754.
6544 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
6546         * sysdeps/i386/__longjmp.S: Fix race condition.
6547         Reported by Bruno Haible <haible@ilog.fr>.
6549 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
6551         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
6552         * iconvdata/8bit-gap.c: Likewise.
6553         * iconvdata/8bit-generic.c: Likewise.
6554         * iconvdata/iso6937.c: Likewise.
6555         * iconvdata/iso8859-1.c: Likewise.
6556         * iconvdata/sjis.c: Likewise.
6557         * iconvdata/t61.c: Likewise.
6559 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6561         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
6562         feature tests by positive feature tests.
6564 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6566         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
6568 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
6570         * elf/dlvsym.c (dlvsym_doit): More corrections.
6571         Patch by Andreas Jaeger.
6573 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6575         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
6577 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
6579         * libc.map: More reordering for GLIBC_2.1 symbols.
6581 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6583         * libc.map: Move some functions from version GLIBC_2.0 to
6584         GLIBC_2.1, reorder declarations.
6586 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6588         * resolv/gethnamaddr.c (addrsort): Make this function extern.
6589         Patch by zab@thebrain.grumblesmurf.net.
6591 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6593         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
6594         NIS+ functions with version GLIBC_2.1.
6596 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
6598         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
6599         with 2.0 binaries.  Reported by Thorsten Kukuk.
6601 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6603         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
6605         * elf/dlsym.c (dlsym_doit): Likewise.
6607 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6609         * elf/link.h: Correct typos.
6611         * iconv/iconv_prog.c: Correct typo.
6613 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
6615         * iconv/Makefile: Add rules to build and install iconv program.
6616         * iconv/iconv_prog.c: New file.
6618 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
6620         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
6621         _dl_lookup_symbol_skip call.
6622         * elf/dlvsym.c (dlvsym_doit): Likewise.
6624 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
6626         * libio/iovsscanf.c: Do not include errno.h.
6628 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6630         * elf/dl-load.c (add_name_to_object): Don't translate strings.
6631         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
6632         pulling in the whole error list.
6633         (__dcgettext, dcgettext): Removed.
6634         * libc.map: Export _strerror_internal.
6636 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
6638         * sysdeps/i386/fpu/t_exp.c: New file.
6640 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6642         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
6643         everything with version GLIBC_2.1.
6644         * hesiod/libnss_hesiod.map: Likewise.
6646 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6648         * manual/arith.texi (Old-style number conversion): This node is a
6649         section, not a subsection.
6651 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6653         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
6655 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6657         * elf/rtld.c (dl_main): Make sure that the library search paths
6658         have been initialized before the first call to _dl_map_object.
6660 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6662         * Makerules (common-generated): Add libc_pic.os.
6664 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6666         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
6667         of the executable.
6669 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6671         * sysdeps/m68k/fpu/t_exp.c: New file.
6673 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6675         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
6676         to global errno variable anymore.
6678 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
6680         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
6681         If PRELOADED is nonzero check in case of an SUID application
6682         whether the shared object has the SUID bit set.
6683         Fix some other problems with handling shared objects in system
6684         specific directories.
6685         (_dl_map_object): Also take extra parameter and pass it to open_path.
6686         * elf/link.h (_dl_map_object): Correct prototype and comment.
6687         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
6688         * elf/dl-open.c (_dl_open): Likewise.
6689         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
6691         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
6693 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6695         * math/libm-test.c (modf_test): Add test for 1.5.
6697         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
6698         0 to get always an int.
6700 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6702         * math/libm.map: Move all symbols that are new in glibc 2.1 to
6703         version GLIBC_2.1.
6705 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6707         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
6708         trying to read another character.
6710 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6712         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
6713         name to lowercase.
6715         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
6716         name to lowercase, add test for big enough buffer.
6718 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6720         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
6721         Make compatible with older kernels.  Patch by Richard Henderson.
6723 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
6725         * elf/dl-load.c (open_path): Use __xstat instead of stat.
6727         * localedata/tst-locale.sh: Comment out first test for now.
6729 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
6731         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
6732         as 1.
6733         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6734         Likewise.
6736         * libio/iogetline.c (_IO_getline_info): Renamed from
6737         _IO_getline.
6738         (_IO_getline): Just call _IO_getline_info.
6740         * libio/libioP.h (_IO_getline_info): New declaration.
6742         * libc.map (_IO_getline_info, __write): Added.
6744 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6746         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
6747         const char* to shut up gcc.
6749 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
6751         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
6752         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
6754         * math/math.h: Define M_* constants always as `double' and add new
6755         macros M_*l which are of type `long double'.
6756         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
6757         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
6758         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
6759         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
6760         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
6761         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
6762         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
6763         * math/libm-tst.c: Likewise.
6765         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
6766         define as long double unconditionally.
6768 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6770         * manual/arith.texi (Old-style number conversion): Correct some
6771         typos.
6773 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
6775         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
6776         Restore.
6778         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
6780 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
6782         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
6783         on $(rtld-ldscript).
6785         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
6786         starting from 0 not only from `from'.
6787         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
6789 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
6791         * elf/rtld.c (dl_main): Recognize --library-path parameter and
6792         pass value (or NULL) to _dl_init_paths.
6793         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
6794         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
6795         environment variable.
6796         * elf/link.h: Change prototype for _dl_init_paths.
6797         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
6799         * localedata/Makefile (distribute): Add test files.
6801 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6803         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
6804         test1.def, test2.def, test3.def, test4.def}: Simple input files
6805         for localedef. Contributed by Yung-Ching Hsiao
6806         <yhsiao@cae.wisc.edu>.
6808         * localedata/Makefile (tests): Call tst-locale.sh.
6810         * localedata/tst-locale.sh: New file, regression tests for some
6811         localedef problems.
6813 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6815         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
6817         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
6818         terminated.
6819         * nis/nss_nisplus/nisplus-network.c: Likewise.
6820         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6821         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6822         * nis/nss_nisplus/nisplus-service.c: Likewise.
6824         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
6825         and support generating thread safe RPC code.
6826         * sunrpc/rpc_main.c: Add changes.
6827         * sunrpc/rpc_clntout.c: Likewise.
6828         * sunrpc/rpc_cout.c: Likewise.
6829         * sunrpc/rpc_hout.c: Likewise.
6830         * sunrpc/rpc_parse.c: Likewise.
6831         * sunrpc/rpc_sample.c: Likewise.
6832         * sunrpc/rpc_scan.c: Likewise.
6833         * sunrpc/rpc_svcout.c: Likewise.
6834         * sunrpc/rpc_util.c: Likewise.
6835         * sunrpc/rpc_util.h: Add new structs and prototypes.
6836         * sunrpc/proto.h: Remove prototypes for static functions.
6838 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6840         * locale/programs/ld-messages.c (messages_finish): Don't skip
6841         error checking when being quiet.
6842         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
6843         (set_class_defaults): Likewise.
6844         * locale/programs/charmap.c (parse_charmap): Likewise.
6845         * locale/programs/ld-collate.c (collate_finish): Likewise.
6846         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
6847         * locale/programs/ld-time.c (time_finish): Likewise.
6848         * locale/programs/locfile.c (write_locale_data): Likewise.
6850         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
6851         unknown characters and empty ranges.
6852         * locale/programs/ld-collate.c (collate_order_elem): When
6853         processing an ellipsis properly form a linked list in the result
6854         table, fix typo when allocating ordering array.
6855         [PR libc/419]
6857 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6859         * elf/Makefile (ld-map): Define.
6860         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
6861         `$(rtld-ldscript)'.
6862         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
6863         on $(ld-map).
6864         (rtld-link): Combine the two versions of this definition.  Fixed
6865         to make it work when no symbol versioning is used.
6867 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
6869         * Makeconfig (build-program-cmd): Use --library-path parameter to
6870         ld.so instead of environment variable.
6872         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
6873         * sunrpc/rpc_main.c: Remove support for -$$ option again.
6875 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6877         * Make-dist: Respect with-cvs setting.
6878         * MakeTAGS (all-pot): Likewise.
6879         * sysdeps/sparc/sparc32/Makefile: Likewise.
6880         * sysdeps/mach/hurd/Makefile: Likewise.
6881         * stdlib/Makefile: Likewise.
6882         * posix/Makefile: Likewise.
6883         * intl/Makefile: Likewise.
6884         * po/Makefile (linguas): Likewise
6886 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6888         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
6890 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
6892         * libc.map: Add __strcasecmp.
6894         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
6895         module.
6897         * nss/getXXent_r.c: If no more module is found don't try to call
6898         setXXent functions but leave unsuccessfully.
6900         * malloc/obstack.h: Cleanups.
6902         * sysdeps/wordsize-32/stdint.h: New file.
6903         * sysdeps/wordsize-64/stdint.h: New file.
6904         * sysdeps/generic/stdint.h: New file.
6905         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
6906         * sysdeps/wordsize-64/inttypes.h: Likewise.
6907         * stdlib/Makefile (headers): Add stdint.h.
6909 1998-02-03  Paul Eggert  <eggert@twinsun.com>
6911         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
6913 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6915         * timezone: New directory.
6916         * time/README, time/africa, time/antarctica, time/asia,
6917         time/australasia, time/backward, time/checktab.awk,
6918         time/etcetera, time/europe, time/factory, time/ialloc.c,
6919         time/iso3166.tab, time/leapseconds, time/northamerica,
6920         time/pacificnew, time/private.h, time/scheck.c,
6921         time/solar87, time/solar88, time/solar89, time/southamerica,
6922         time/systemv, time/test-tz.c, time/tzfile.h,
6923         time/tzselect.ksh, time/yearistype, time/zdump.c,
6924         time/zic.c, time/zone.tab: Moved to timezone.
6925         * time/tzfile.c: Include tzfile.h from timezone subdir.
6926         * time/tzset.c: Likewise.
6927         * time/Makefile: Cut out all code relating to timezones...
6928         * timezone/Makefile: ...and paste it in here.
6929         * Makefile (subdirs): Add timezone.
6931 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
6933         * libc.map (_sys_nerr): Added.
6935         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
6936         versioned symbol.
6938 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
6940         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
6941         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
6942         Reported by Craig Metz <cmetz@inner.net>.
6944 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6946         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
6947         instead of strcasecmp.
6948         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
6950         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
6952 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
6954         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
6955         Patch by Dean Gaudet <dgaudet@arctic.org>.
6957 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
6959         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
6961 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6963         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
6964         with no poll syscall, just include the BSD version.
6965         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
6966         kernel without the syscall, include the stub version.
6967         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
6968         * sysdeps/generic/getresuid.c: New file.
6969         * sysdeps/generic/getresgid.c: New file.
6971 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
6973         * stdio-common/vfscanf.c: Correct last change a bit.
6975 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
6977         * elf/Makefile: Don't use --version-script parameter to link ld.so
6978         unconditionally.
6980 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
6982         * math/Makefile: Add t_exp.
6983         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
6984         constants.
6985         * math/test-reduce.c: Remove temporarily, it seems to be broken.
6986         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
6987         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
6988         better accuracy.
6989         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
6990         algorithm for very large/very small arguments.
6991         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
6992         correct algorithm for very large/very small arguments; adjust for
6993         new table.
6994         * sysdeps/libm-ieee754/t_exp.c: New file.
6995         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
6997         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
6998         back, with comment that explains what breaks when you remove it :-(.
7000         * localedata/xfrm-test.c: Avoid integer overflow.
7002         * stdlib/strfmon.c: char is unsigned, sometimes.
7004         * sysdeps/powerpc/Makefile: Remove quad float support.
7005         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7006         * sysdeps/powerpc/quad_float.h: Likewise.
7007         * sysdeps/powerpc/test-arith.c: Likewise.
7008         * sysdeps/powerpc/test-arithf.c: Likewise.
7010         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7011         * sysdeps/generic/s_exp2f.c: Likewise.
7013         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7014         don't try anything if _SOFT_FLOAT.
7016 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7018         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7019         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7020         * wctype/wctype.c: Likewise.
7021         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7022         changed.  They are incompatible with the _ISxxx values from
7023         <ctype.h> on little endian machines.
7024         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7025         bit number.  This fixes the real bug and restores the integrity of
7026         the ctype locale file.
7027         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7028         * wctype/wcfuncs_l.c: Likewise.
7029         * wctype/wcextra.c: Likewise.
7030         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7031         byte swapping.
7033 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7036         into .bss segment instead of .common, so that aliases on it work.
7038         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7039         .size directives, put into .bss segment instead of initializing it
7040         to 4.
7042 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7044         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7046         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7047         functions.
7048         Make names without __ weak aliases.
7049         (__libc_release, __libc_version): Make them static.
7051         * include/gnu/libc-version.h: New file.
7052         * Makefile (headers): Add gnu/libc-version.h.
7054 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7056         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7057         and use x for member name.
7058         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7060         * stdlib/drand48.c: Change according to member name change.
7061         * stdlib/drand48_r.c: Likewise.
7062         * stdlib/lcong48_r.c: Likewise.
7063         * stdlib/lrand48.c: Likewise.
7064         * stdlib/lrand48_r.c: Likewise.
7065         * stdlib/mrand48.c: Likewise.
7066         * stdlib/mrand48_r.c: Likewise.
7067         * stdlib/seed48.c: Likewise.
7068         * stdlib/seed48_r.c: Likewise.
7069         * stdlib/srand48_r.c: Likewise.
7071 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7073         * nss/test-netdb.c: Add some more test cases.
7075 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
7077         * libio/iovsscanf.c: Undo last change modifying errno.
7079 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7081         * stdio-common/vfscanf.c: Never try to read another character
7082         after EOF.  Don't decrement read_in after EOF, it wasn't
7083         incremented in the first place.
7084         (NEXT_WIDE_CHAR): Set First, not first.
7086 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
7088         * db/Makefile ($(inst_libdir)/libndbm.a,
7089         $(inst_libdir)/libndbm.so): New targets.
7090         * db2/Makefile: Likewise.
7092 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
7094         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7095         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7097 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7099         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7100         <streambuf.h>.
7101         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7103 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7105         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7106         versioned symbols.
7108 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
7110         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7111         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7112         Added for libdl.so.
7114 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7116         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7117         extra syscall.
7119         * grp/Makefile: Fix logic when checking for thread package.
7120         * pwd/Makefile: Likewise.
7122 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
7124         * elf/Makefile (rtld-map): Replaced by libc-map.
7126         * elf/rtld.map: Removed.
7128         * libc.map (__libc_enable_secure, _dl_catch_error,
7129         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7130         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7131         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7132         _dl_object_relocation_scope, _dl_relocate_object,
7133         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7134         _r_debug): Added for ld.so.
7136 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
7138         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7139         DO_VERSIONING.
7140         * libio/iofdopen.c: Ditto.
7141         * libio/iofopen.c: Ditto.
7142         * libio/oldfileops.c: Ditto.
7144         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7145         version GLIBC_2.1.
7147         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7148         oldsiglist from sysdep_routines and shared-only-routines.
7150         * sysdeps/unix/sysv/linux/errlist.c: New.
7151         * sysdeps/unix/sysv/linux/errlist.h: New.
7152         * sysdeps/unix/sysv/linux/sizes.h: New.
7153         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7154         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7156         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7158         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7159         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7160         directive.
7162         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7164         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7165         (oldsiglist.c): Removed.
7167         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7168         (_sys_siglist): Use SYS_SIGLIST instead.
7169         (_sys_nerr): Use SYS_NERR instead.
7171         * sysdeps/gnu/errlist.c: Rebuilt.
7173 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7175         * elf/Makefile (others-static): New, set to ldconfig.
7176         ($(objpfx)ldconfig): Removed.
7178         * Rules (binaries-all, binaries-static, binaries-shared): New.
7179         Create targets for $(binaries-static) and $(binaries-shared).
7181         * Makeconfig (+link-static, link-libc-static,
7182         link-extra-libs-static): New for static linking.
7184 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7186         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7188         * math/libm-test.c (modf_test): Add one more test for modf.
7190 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7192         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7193         Rename from __libc_have_rt_sigs and leave as COMMON data.
7195 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7197         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7198         of __finite.
7200 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7202         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7204 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7206         * misc/tst-efgcvt.c: Add yet more tests.
7207         * misc/efgcvt_r.c: And correct for these tests again.
7208         Reported by HJ Lu.
7210         * isomac.c: Move to...
7211         * stdlib/isomac.c: ...here.
7212         * Makefile: Move rules for handling isomac...
7213         * stdlib/Makefile: ...to here.
7215 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7217         * misc/tst-efgcvt.c: Add more tests.
7218         * misc/efgcvt_r.c: Correct result for above new tests.
7220 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7222         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7223         NDIGIT <= 0.
7225 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7227         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7228         if the programs weren't built.
7230 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7232         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7233         FE_TONEAREST, soldier on regardless and do the best we can.
7234         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7236 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7238         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7239         _STDIO_H, before including <bits/stdio_lim.h>.
7241         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7243         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7244         exist.
7246         * sysdeps/arm/sys/ucontext.h: New file.
7248 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7250         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7251         that the return value from snprintf() does not count the
7252         terminating NUL as a character.
7254 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7256         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7257         add description for sete[ug]id and general cleanup.
7258         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7260 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7262         * Makefile (parent-clean): Don't remove makefile fragments here.
7263         (postclean): New variable.
7264         (clean): Remove makefile fragments here.
7265         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7266         (generated): Add isomac and isomanc.out.
7267         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7268         avoid-generated is set.
7269         (postclean-generated): Add soversion.mk.
7270         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7271         set.
7272         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7273         avoid-generated is set.
7274         (common-generated): Add libc.so and libc.so$(libc.so-version).
7275         (generated): Add versioned libraries.
7276         (common-mostlyclean): Also remove %.so and %_pic.a.
7277         * csu/Makefile (generated): Add abi-tag.h.
7278         * db2/Makefile (extra-objs): Add getlong.o.
7279         * elf/Makefile (generated): Add ld.so, ldd and
7280         $(rtld-installed-name).
7281         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7282         * malloc/Makefile (generated): Add mtrace.
7283         * po/Makefile: Don't include version.mk, not needed any more.
7284         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7285         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7286         syscall.h -> sys/syscall.h.
7287         (common-generated): Add s-proto.d.
7288         (postclean-generated): Add sysd-syscalls.
7289         * localedata/Makefile (test-output): Add all output files.
7290         (generated): Add test-input and test-output.
7291         (generated-dirs): Add all the dirs.
7293 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7295         * Makefile (test-output, generated, generated-dirs): New
7296         variables.
7298 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7300         * resolv/nss_dns/dns-host.c: Various code cleanups.
7302 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
7304         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
7305         From Philip Blundell <pb@nexus.co.uk>.
7306         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
7308 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7310         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
7311         Suggested by debian/sparc porters.
7313 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7315         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
7316         for ecvt and fcvt.
7318 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
7320         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
7321         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
7323         * signal/signal.h: Always define sigset_t if __need_sigset_t is
7324         defined even if __USE_POSIX is not defined.
7326 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7328         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
7329         to support obsolete tty major numbers correctly.
7331 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
7333         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
7334         directory first and ignore install error.
7336         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
7337         128 from ptyno and fix a typo for the BSD style pty.
7339 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7341         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
7342         syscalls.list's.
7344 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7346         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7347         getresuid and getresgid.
7349         * sysdeps/unix/sysv/linux/getresuid.c: New file.
7350         * sysdeps/unix/sysv/linux/getresgid.c: New file.
7352         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
7353         s_getres[ug]id.
7355         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
7356         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7357         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7358         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
7360 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
7362         * nscd/grpcache.c: Include <stdlib.h>.
7364 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
7366         * stdlib/atoll.c: Fix comments.
7368         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
7369         * sysdeps/posix/ttyname_r.c: Ditto.
7371 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7373         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
7374         __USE_MISC, independent of __USE_UNIX98.
7376 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
7378         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7379         Rename from __libc_have_rt_sigs and leave as COMMON data.
7381 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
7383         * Makeconfig (CFLAGS-.os): Kill -fno-common.
7384         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
7386         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
7387         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
7388         version symbols.
7389         * include/libc-symbols.h (symbol_version, default_symbol_version):
7390         Provide asm versions and correct !DO_VERSIONING versions.
7391         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
7392         the weak symbol list.
7394         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
7395         Rename from __libc_have_rt_sigs and leave as COMMON data.
7396         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7397         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7398         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7400 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7402         * sunrpc/Makefile: Correct dependencies of rpcgen.
7404 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
7406         * nscd/Makefile: Fix test for available linuxthreads add-on.
7407         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7409 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7411         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
7413 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7415         * sysdeps/gnu/Makefile: Respect with-cvs variable.
7417         * manual/errno.texi (Error Messages): Correct description of
7418         strerror_r.  Pointed out by jonas@bagge.se.
7420 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7422         * manual/socket.texi (Host Address Functions): Clarify description
7423         of inet_network.
7425 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7427         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
7428         (grantpt): Delete superfluous cast.
7430 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7432         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
7433         elf/ldso_install instead of elf/subdir_install.
7434         (elf/ldso_install): New target.
7436         * elf/Makefile (ldso_install): New target.
7438 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7440         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
7441         of 1998-01-06.
7443 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7445         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
7446         constant expressions.
7448 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7450         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
7451         for __nss_configure_lookup.
7452         (output_hostent): Remove unused variable.
7454 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7456         * string/tst-inlcall.c: Fix format string.
7458 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7460         * inet/netinet/in.h: Rename second parameter of bindresvport to
7461         avoid buggy gcc warning. [PR libc/412]
7463 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
7465         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
7466         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
7468         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
7469         Follow POSIX and make tv_sec a time_t.
7470         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
7471         new tv64 syscall as well as fall back to tv32.
7472         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7473         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7474         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7475         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7476         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7477         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7478         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7479         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
7481         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
7482         * include/rpcsvc/nis_tags.h: Likewise.
7483         * include/rpcsvc/nislib.h: Likewise.
7485 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
7487         * libc.map: Add _h_errno.
7488         * inet/herrno.c: Make _h_errno weak alias.
7490         * login/Makefile (distribute): Add pty-internal.h.
7492         * nscd/Makefile (distribute): Add all the files missing.
7494         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
7495         are available.
7497         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
7498         and report status at the end.
7500         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
7502         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
7503         variable.
7504         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
7505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
7506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
7508 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
7510         * configure.in: Fix --enable-add-ons code.
7512 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7514         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
7515         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
7516         [PR libc/441]
7518         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
7519         occurence in cache.  Reported by Rudolf Leitgeb
7520         <leitgeb@leland.stanford.edu>.
7521         [PR libc/440]
7523 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
7525         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
7526         that it never is EINTR (which is tested for in _IO_vfscanf).
7528         * Makefile.in: Call sub-make with CVSOPTS.
7530         * elf/Makefile (distribute): Add dl-procinfo.h.
7532         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
7534 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
7536         * version.h (VERSION): Bump to 2.0.92.
7538 1998-01-31  Phil Blundell  <philb@gnu.org>
7540         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
7541         alias for __new_sys_siglist.
7543 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
7545         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
7546         getgrgid_r.c if thread package is available.
7547         * pwd/Makefile: Likewise.
7548         * grp/getgrnam_r.c: Remove USE_NSCD definition.
7549         * grp/getgrgid_r.c: Likewise.
7550         * pwd/getpwnam_r.c: Likewise.
7551         * pwd/getpwuid_r.c: Likewise.
7553 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
7555         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
7556         with error to allow user intervention.
7557         * nss/getXXent_r.c: Likewise.
7559 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
7561         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
7562         AT_PLATFORM string.  Pretty print AT_BASE info.
7564         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
7565         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
7566         * sysdeps/generic/dl-procinfo.h: New file.
7567         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
7569 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
7571         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
7573         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
7574         thread and not pthread_detach.
7576         * nscd/nscd.c: Rewrite to use argp instead of getopt.
7578 1998-01-31  Phil Blundell  <philb@gnu.org>
7580         * configure.in: Add --without-cvs option to suppress automatic
7581         checkin of regenerated files.
7582         * config.make.in: Likewise.
7583         * Makefile: Respect with-cvs setting.
7584         * Makerules: Likewise.
7586         * configure.in: Allow the standalone ARM port to be configured.
7588 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7590         * grp/getgrgid_r.c: Define USE_NSCD.
7591         * grp/getgrnam_r.c: Likewise.
7592         * pwd/getpwuid_r.c: Likewise.
7593         * pwd/getpwnam_r.c: Likewise.
7595         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
7597         * nss/getXXbyYY_r.c: Try at first nscd.
7599         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
7600         * nscd/connections.c: New file.
7601         * nscd/dbg_log.c: New file.
7602         * nscd/dbg_log.h: New file.
7603         * nscd/grpcache.c: New file.
7604         * nscd/nscd.c: New file.
7605         * nscd/nscd.h: New file.
7606         * nscd/nscd_conf.c: New file.
7607         * nscd/nscd_stat.c: New file.
7608         * nscd/pwdcache.c: New file.
7610         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
7611         * nscd/nscd_getpw_r.c: Likewise.
7612         * nscd/nscd_proto.h: New, prototypes for client functions.
7614         * nscd/nscd.conf: New, example for a configuration file.
7615         * nscd/nscd.init: New, example for a startup script.
7617         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
7618         avoid deadlocks.
7619         * nscd/getgrnam_r.c: Likewise.
7620         * nscd/getpwnam_r.c: Likewise.
7621         * nscd/getpwuid_r.c: Likewise.
7623 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
7625         * intl/Makefile: Use CVSOPTS in cvs invocation.
7626         * po/Makefile: Likewise.
7627         * posix/Makefile: Likewise.
7628         * stdlib/Makefile: Likewise.
7630 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
7632         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
7633         [PR libc/410]
7634         * misc/Makefile (tests): Add tst-efgcvt.
7635         * misc/tst-efgcvt.c: New file.
7637 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
7639         * posix/regex.c: Add some more cleanups by Akim Demaille.
7641 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
7643         * signal/signal.h: Revert last change.
7644         * string/strsignal.c: Regard signal number NSGI as illegal.
7645         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
7646         members.
7648 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
7650         * Makefile.in: Add comment about CVSOPTS Makefile variable.
7651         * Makerules: Use CVSOPTS in cvs invocation.
7652         * Makefile: Likewise.
7653         * MakeTAGS: Likewise.
7654         * Make-dist: Likewise.
7656 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
7658         * sysdeps/generic/memmem.c: Correct last change.
7660 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
7662         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
7663         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
7665 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7667         * nis/ypclnt.c: Try at first to use the binding file from ypbind
7668         before using RPC.
7670 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7672         * manual/memory.texi (Heap Consistency Checking): mcheck is
7673         declared in <mcheck.h>.
7674         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
7676 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7678         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
7679         beginning of haystack.
7681 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7683         * nss/nss_files/files-service.c: Correct last patch.
7685 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
7687         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
7688         __libc_have_rt_sigs.
7689         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
7690         including <bits/setjmp.h>.
7691         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7692         Patch from the Debian glibc/SPARC package.
7694 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
7696         * sysdeps/alpha/bzero.S: Fix a typo.
7697         * sysdeps/alpha/htonl.S: Ditto.
7698         * sysdeps/alpha/htons.S: Ditto.
7700 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7702         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
7704 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
7706         * include/cpio.h: Move to ...
7707         * posix/cpio.h: ...here.
7709         * locale/programs/ld-collate.c: Fix typo.
7711         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
7713         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
7715         * login/utmp_file.c (pututline_file): Don't always report success
7716         if similar entry is found.  Patch by Mark M. Kettenis.
7718 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
7720         * manual/Makefile: Don't try to install the info files if makeinfo
7721         is not available.
7723 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
7725         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
7726         kernel's network ioctls, rather than using <linux/sockios.h> to
7727         get them.  This way we are sure of maintaining compatibility if
7728         the kernel interface should change.
7730 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
7732         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
7734 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
7736         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
7737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
7739 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7741         Implement System V pseudoterminal handling.
7743         * login/Makefile
7744         (routines): Add getpt, grantpt, unlockpt, ptsname.
7745         (libutil-routines): Remove pty. Add openpty, forkpty.
7746         (distribute): New internal header pty-internal.h.
7747         (others): Add the helper program, pt_chown.
7748         (install-others): Install it, in $(libexecdir), mode 4755.
7750         * login/pty-internal.h: New file.
7751         * login/openpty.c: New file.
7752         * login/forkpty.c: New file.
7753         * login/programs/pt_chown.c: New file.
7755         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
7756         * stdlib/stdlib.h: Prototype them.
7758         * config.make.in: Define $(libexecdir).
7759         * Makeconfig: Define $(inst_libexecdir).
7761         * sysdeps/generic/pty.c: Removed.
7762         * sysdeps/unix/sysv/linux/pty.c: Removed.
7764         * sysdeps/generic/getpt.c: Stub out.
7765         * sysdeps/generic/grantpt.c: Likewise.
7766         * sysdeps/generic/ptsname.c: Likewise.
7767         * sysdeps/generic/unlockpt.c: Likewise.
7769         * sysdeps/unix/grantpt.c: New file.
7770         * sysdeps/unix/bsd/getpt.c: New file.
7771         * sysdeps/unix/bsd/unlockpt.c: New file.
7772         * sysdeps/unix/sysv/linux/getpt.c: New file.
7773         * sysdeps/unix/sysv/linux/ptsname.c: New file.
7774         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
7776 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
7778         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
7780 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7782         * nss/Makefile (tests): Add rule for test-netdb.c.
7784         * nss/test-netdb.c: New file.
7786 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
7788         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
7789         really kept as a variable.  Patch by Richard Henderson,
7790         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
7792         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
7793         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
7794         entries as not existing.
7796 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7798         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
7799         zero in alternate form with precision of zero, which must produce
7800         "0".  Add braces to avoid ambiguous `else'.
7802 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7804         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
7805         problem with strncpy.
7806         * nis/nss_compat/compat-pwd.c: Likewise.
7807         * nis/nss_compat/comapt-spwd.c: Likewise.
7809 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7811         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
7812         by uch@nop.or.jp. [PR libc/437]
7814 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7816         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
7818 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7820         * stdio-common/test-popen.c: Include <errno.h>.
7822         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
7823         close.
7825         * inet/getnetgrent_r.c: Include <errno.h>.
7827         * db2/db/db_conv.c: Include <string.h> for memcpy.
7829         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
7830         so that memcpy is declared.
7832         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
7834         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
7836 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7838         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
7839         overflow while reading line with fgets.
7840         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
7842 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
7844         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
7845         unsigned short, not short.
7846         Reported by Andreas Jaeger.
7848 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7850         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
7851         (ccept->accept).
7853         * sysdeps/generic/inttypes.h: Fix spelling.
7855 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7857         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
7859         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
7861 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
7863         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
7864         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
7865         field for hh modifier.
7866         * stdio-common/vfprint.c: Use is_char field and do not depend in
7867         is_short having the value 2.
7868         Bug reported by Andreas Jaeger.
7870 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7872         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
7873         PIC && DO_VERSIONING.
7875 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7877         * Rules: Add rules for $(common-objpfx)dummy$o.
7879 1998-01-26  Richard Henderson  <rth@cygnus.com>
7881         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
7882         unimplemented OSF/1 definitions so that they are not accidentally seen.
7884         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
7885         of the trampoline function into the macro.
7886         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
7887         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
7888         kernel 2.1.82 has this fixed.
7890         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
7891         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
7893 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
7895         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
7896         support sigaction on kernels > 2.1.7x.
7898 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
7900         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
7901         if it is empty.
7903         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
7904         Patch by David Engel <david@sw.ods.com>.
7906         * configure.in: Fix another typo in --enable-add-ons code.
7908 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
7910         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
7912 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7914         * nss/nss_files/files-network.c: Correct order of parameters for
7915         getnetbyaddr.
7917 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
7919         * db2/Makefile (routines): Add os_alloc.
7920         * db2/db.h: Update from db-2.3.16.
7921         * db2/db_185.h: Likewise.
7922         * db2/db_int.h: Likewise.
7923         * db2/btree/bt_close.c: Likewise.
7924         * db2/btree/bt_cursor.c: Likewise.
7925         * db2/btree/bt_delete.c: Likewise.
7926         * db2/btree/bt_open.c: Likewise.
7927         * db2/btree/bt_page.c: Likewise.
7928         * db2/btree/bt_put.c: Likewise.
7929         * db2/btree/bt_rec.c: Likewise.
7930         * db2/btree/bt_recno.c: Likewise.
7931         * db2/btree/btree_auto.c: Likewise.
7932         * db2/common/db_appinit.c: Likewise.
7933         * db2/common/db_apprec.c: Likewise.
7934         * db2/common/db_err.c: Likewise.
7935         * db2/common/db_region.c: Likewise.
7936         * db2/common/db_shash.c: Likewise.
7937         * db2/db/db.c: Likewise.
7938         * db2/db/db_auto.c: Likewise.
7939         * db2/db/db_conv.c: Likewise.
7940         * db2/db/db_dispatch.c: Likewise.
7941         * db2/db/db_dup.c: Likewise.
7942         * db2/db/db_pr.c: Likewise.
7943         * db2/db/db_rec.c: Likewise.
7944         * db2/db185/db185.c: Likewise.
7945         * db2/dbm/dbm.c: Likewise.
7946         * db2/hash/hash.c: Likewise.
7947         * db2/hash/hash_auto.c: Likewise.
7948         * db2/hash/hash_dup.c: Likewise.
7949         * db2/hash/hash_page.c: Likewise.
7950         * db2/hash/hash_rec.c: Likewise.
7951         * db2/include/btree_ext.h: Likewise.
7952         * db2/include/clib_ext.h: Likewise.
7953         * db2/include/common_ext.h: Likewise.
7954         * db2/include/db.h.src: Likewise.
7955         * db2/include/db_185.h.src: Likewise.
7956         * db2/include/db_am.h: Likewise.
7957         * db2/include/db_ext.h: Likewise.
7958         * db2/include/db_int.h.src: Likewise.
7959         * db2/include/hash_ext.h: Likewise.
7960         * db2/include/lock_ext.h: Likewise.
7961         * db2/include/log.h: Likewise.
7962         * db2/include/log_auto.h: Likewise.
7963         * db2/include/log_ext.h: Likewise.
7964         * db2/include/mp.h: Likewise.
7965         * db2/include/mp_ext.h: Likewise.
7966         * db2/include/mutex_ext.h: Likewise.
7967         * db2/include/os_ext.h: Likewise.
7968         * db2/include/os_func.h: Likewise.
7969         * db2/include/txn_ext.h: Likewise.
7970         * db2/lock/lock.c: Likewise.
7971         * db2/lock/lock_util.c: Likewise.
7972         * db2/log/log.c: Likewise.
7973         * db2/log/log.src: Likewise.
7974         * db2/log/log_archive.c: Likewise.
7975         * db2/log/log_auto.c: Likewise.
7976         * db2/log/log_get.c: Likewise.
7977         * db2/log/log_put.c: Likewise.
7978         * db2/log/log_rec.c: Likewise.
7979         * db2/log/log_register.c: Likewise.
7980         * db2/mp/mp_bh.c: Likewise.
7981         * db2/mp/mp_fget.c: Likewise.
7982         * db2/mp/mp_fopen.c: Likewise.
7983         * db2/mp/mp_fput.c: Likewise.
7984         * db2/mp/mp_pr.c: Likewise.
7985         * db2/mp/mp_sync.c: Likewise.
7986         * db2/mutex/mutex.c: Likewise.
7987         * db2/os/os_alloc.c: Likewise.
7988         * db2/os/os_config.c: Likewise.
7989         * db2/os/os_stat.c: Likewise.
7990         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
7991         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
7992         * db2/progs/db_load/db_load.c: Likewise.
7993         * db2/progs/db_printlog/db_printlog.c: Likewise.
7994         * db2/progs/db_recover/db_recover.c: Likewise.
7995         * db2/progs/db_stat/db_stat.c: Likewise.
7996         * db2/txn/txn.c: Likewise.
7998         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
7999         Unmap memory blocks in reverse order of allocation.
8000         Call munmap with load address added to offset.
8001         Bug reported by Miguel de Icaza.
8003         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8004         up weight array.
8006         * localedata/locales/cs_CZ: Update by Michael Mraka
8007         <michael@informatics.muni.cz>.
8009         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8010         __USE_BSD.
8012         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8013         reading line with fgets.
8014         * nis/nss_compat/compat-pwd.c: Likewise.
8015         * nis/nss_compat/compat-spwd.c: Likewise.
8016         * nss/nss_files/files-XXX.c: Likewise.
8017         * nss/nss_files/files-alias.c: Likewise.
8018         * shadow/fgetspent_r.c: Likewise.
8020         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8022         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8023         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8024         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8026         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8027         FP register content in ucontext_t.
8029 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8031         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8032         calculation.  Patch by Markus Schoder
8033         <Markus.Schoder@dresdner-bank.de>.
8035         * math/libm-test.c (modf_test): Add more tests for modf.
8037         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8038         munlock according to Unix98.
8040 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8042         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8043         AF_INET.
8045 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8047         * sysdeps/posix/ttyname.c: Handle symbolic links.
8048         * sysdeps/posix/ttyname_r.c: Ditto.
8050 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8052         * db2/makedb.c (process_input): Write terminating \0 for value.
8053         (print_database): Simply print value string, don't use length.
8055 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8057         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8058         exit of loop.
8060 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8062         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8063         close all sockets.
8065 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
8067         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8068         sigset.
8069         * signal/sighold.c: New file.
8070         * signal/sigrelse.c: New file.
8071         * sysdeps/generic/sigignore.c: New file.
8072         * sysdeps/generic/sigset.c: New file.
8073         * sysdeps/posix/sigignore.c: New file.
8074         * sysdeps/posix/sigset.c: New file.
8075         * signal/signal.h: Add prototypes for new functions.
8077         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8078         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8079         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8080         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8082 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
8084         * posix/wordexp.c: Added IFS field-splitting in parameter and
8085         command substitution.  Fixed an IFS-related bug that caused an
8086         infinite loop.
8088 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
8090         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8091         and swapcontext.
8092         * stdlib/ucontext.h: Correct prototypes.
8093         * sysdeps/generic/getcontext.c: New file.
8094         * sysdeps/generic/setcontext.c: New file.
8095         * sysdeps/generic/makecontext.c: New file.
8096         * sysdeps/generic/swapcontext.c: New file.
8097         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8099 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
8101         * resource/sys/resource.h: Remove #include of ulimit.h which is
8102         not allowed by SUSv2 and not available on other systems.
8103         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8105         * streams/Makefile: New file.
8106         * streams/stropts.h: New file.
8107         * sysdeps/generic/bits/stropts.h: New file.
8108         * sysdeps/generic/isastream.c: New file.
8109         * sysdeps/generic/getmsg.c: New file.
8110         * sysdeps/generic/getpmsg.c: New file.
8111         * sysdeps/generic/putmsg.c: New file.
8112         * sysdeps/generic/putpmsg.c: New file.
8113         * sysdeps/generic/fattach.c: New file.
8114         * sysdeps/generic/fdetach.c: New file.
8115         * sysdeps/unix/inet/Subdirs: Add streams.
8116         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8117         __t_uscalar_t.
8118         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8119         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8120         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8123         * sysdeps/mach/_strerror.c: Follow changes of generic version to
8124         handle small buffers correctly.
8126 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
8128         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8129         Remove the 3rd arg and add declaration for _dl_runtime_resolve
8130         and _dl_runtime_profile.
8132 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
8134         * include/cpio.h: New file.  Mainly copied from GNU cpio.
8135         * posix/Makefile (headers): Add cpio.h.
8137 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8139         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8140         to routines.
8141         * nis/nis_cache.c: New file.
8142         * nis/nis_cache2.h: New file.
8143         * nis/nis_cache2_xdr.c: New file.
8144         * nis/nis_call.c: Changes for cache2_info parameter.
8145         * nis/nis_checkpoint.c: Likewise.
8146         * nis/nis_intern.h: Likewise.
8147         * nis/nis_mkdir.c: Likewise.
8148         * nis/nis_ping.c: Likewise.
8149         * nis/nis_rmdir.c: Likewise.
8150         * nis/nis_server.c: Likewise.
8151         * nis/nis_util.c: Likewise.
8153 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8155         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8156         return/errnop codes.
8157         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8158         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8159         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8160         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8161         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8162         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8163         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8164         * nis/nss_nisplus/nisplus-service.c: Likewise.
8165         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8167 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8169         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8170         * nis/nss_nis/nis-ethers.c: Likewise.
8171         * nis/nss_nis/nis-grp.c: Likewise.
8172         * nis/nss_nis/nis-hosts.c: Likewise.
8173         * nis/nss_nis/nis-network.c: Likewise.
8174         * nis/nss_nis/nis-proto.c: Likewise.
8175         * nis/nss_nis/nis-hosts.c: Likewise.
8176         * nis/nss_nis/nis-network.c: Likewise.
8177         * nis/nss_nis/nis-proto.c: Likewise.
8178         * nis/nss_nis/nis-publickey.c: Likewise.
8179         * nis/nss_nis/nis-pwd.c: Likewise.
8180         * nis/nss_nis/nis-rpc.c: Likewise.
8181         * nis/nss_nis/nis-service.c: Likewise.
8182         * nis/nss_nis/nis-spwd.c: Likewise.
8184 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8186         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8187         Added to follow latest kernel development.
8189 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8191         * nss/db-Makefile: Handle empty and comment lines better.
8192         ($(VAR_DB)/services.db): Generate entries with missing protocol
8193         value.
8195 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8197         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8198           NULL.
8199           (getservbyname): Allow proto == NULL.
8200           Pointed out by David N. Welton <davidw@gate.cks.com>.
8201           [PR libc/430].
8203 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8205         * nis/nislib/nislib.h: Finally removed.
8207         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8208         C compiler.  From Kaveh Ghazi.
8209         (TYPE_MINIMUM): Define.
8210         (TYPE_MAXIMUM): Define.
8211         (TIME_T_MIN): Use TYPE_MINIMUM.
8212         (TIME_T_MAX): Use TYPE_MAXIMUM.
8213         Patch by Jim Meyering <meyering@ascend.com>.
8215 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8217         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8218         __pread64, __pwrite64, and __getpid.
8220         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8221         versions.
8223 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8225         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8226         cancelable socket functions as __libc_xxx with __xxx as weak
8227         alias.
8228         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8229         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8231         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8232         redefined.
8233         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8234         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8235         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8236         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8238         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8239         and __xxx a weak alias.
8240         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8241         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8242         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8243         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8244         * sysdeps/unix/sysv/linux/send.S: Likewise.
8245         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8246         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8248 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8250         * locale/langinfo.h: Add defines.
8252         * dirent/dirent.h: Add defines for DT_*, check also for
8253         _DIRENT_HAVE_D_TYPE.
8254         Suggested by Roland McGrath.
8256 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8258         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8259         Update from Linux 2.1.73+79.
8261         * README.template: Update information about possible
8262         configurations.
8264         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8265         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8266         [PR libc/417].
8268         * manual/time.texi (Priority): Correct description of
8269         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8270         [PR libc/416].
8272 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8274         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8275         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8277 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8279         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8280         Andreas Jaeger.
8282 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8284         * locale/programs/ld-collate.c: Little optimizations.
8286         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8288         * string/Makefile (tests): Add tst-inlcall.
8289         * string/tst-inlcall.c: New file.
8291         * string/strsignal.c: Add support for real-time signals.
8293         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
8294         presense of small buffer.
8296         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
8298         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
8299         for i686.
8301         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
8302         _NSIG + 1.
8304 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
8306         * Rules: Add explicit rule for dummy.o; at least one library needs
8307           it and it isn't autogenerated by the default rules.
8309 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8311         * math/libm-test.c: Tweak epsilons.
8313 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8315         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
8316         child.
8317         (feenv_mask_test): Likewise.
8319 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8321         * Makeconfig: Don't export CPPFLAGS.
8323 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8325         * sunrpc/rpc_main.c (parseargs): Use perror to print error
8326         message.
8328 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8330         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
8331         terminating null in key size.
8333 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8335         * nss/nss_files/files-service.c: Fix allocation size to include
8336         length of PROTO.
8338         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
8339         applicable.  Fix return value and error checking.
8340         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
8341         unparsable lines.
8342         (DB_LOOKUP): Allocate space for terminating null byte.
8344         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
8345         uids specially.
8347         * db2/makedb.c (process_input): Continue processing if a duplicate
8348         key is encountered.
8350 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
8352         * time/tzfile.h: Updated from tzcode1998b.
8353         * time/zdump.c: Likewise.
8354         * time/zic.c: Likewise.
8355         * time/africa: Update from tzdata1998b.
8356         * time/antarctica: Likewise.
8357         * time/asia: Likewise.
8358         * time/australasia: Likewise.
8359         * time/etcetera: Likewise.
8360         * time/europe: Likewise.
8361         * time/leapseconds: Likewise.
8362         * time/northamerica: Likewise.
8363         * time/southamerica: Likewise.
8365 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8367         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
8368         lookups ignoring case.
8369         * nss/nss_files/files-network.c: Do network lookups ignoring
8370         case.
8371         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
8372         case.
8373         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
8374         case insensitive comparing.
8375         Patches by Cristian Gafton <gafton@redhat.com>.
8377 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8379         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
8380         by Roland McGrath. [PR libc/395]
8382 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8384         * manual/arith.texi (Parsing of Integers): Correct description of
8385         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
8386         [PR libc/396]
8388 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
8390         * misc/lsearch.c (lsearch): Return a pointer to the new element
8391         if one was "allocated".
8393 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8395         * string/strsignal.c: NSIG is not a valid index into
8396         _sys_siglist.  Don't zap the last character of the "Unknown
8397         signal" message.
8399 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
8401         * locale/programs/charmap.c (parse_charmap): Correct parsing of
8402         ellipsis expressions.
8404         * locale/programs/charset.c (insert_char): Correctly insert value
8405         of eliipsis expression.
8407 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
8409         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
8410         <bits/setjmp.h>.
8411         * sysdeps/powerpc/setjmp.S: Likewise.
8412         Patches by Matt McLean <keys@keys.got.net>.
8414         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
8416         * Makefile: Undo last patch.
8417         (distribute): Add test-installation.pl.
8419         * configure.in: Correct handling of --enable-add-ons without parameter.
8420         Correct address of WWW pages.
8422         * libc.map: Add _nl_domain_bindings.
8424         * db2/mutex/tsl_parisc.s: New file.
8426         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
8427         and extra-module.mk.
8429         * localedata/Makefile (distribute): New.  Add all the files.
8431         * stdlib/Makefile (headers): Add inttypes.h.
8432         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
8433         * sysdeps/generic/inttypes.h: New file.
8434         * sysdeps/generic/strtoimax.c: New file.
8435         * sysdeps/generic/strtoumax.c: New file.
8436         * sysdeps/generic/wcstoimax.c: New file.
8437         * sysdeps/generic/wcstoumax.c: New file.
8438         * sysdeps/wordsize-32/Dist: Removed.
8439         * sysdeps/wordsize-32/Makefile: Removed.
8440         * sysdeps/wordsize-64/Dist: Removed.
8441         * sysdeps/wordsize-64/Makefile: Removed.
8442         * sysdeps/generic/bits/environments.h: New file.
8444         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
8445         header is still not correct.
8447         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
8448         * posix/unistd.h: Likewise.
8449         * sysdeps/generic/sys/mman.h: Likewise.
8450         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
8452         * manual/arith.texi: Change definition of mul macro.
8453         * manual/math.texi: Likewise.
8455         * misc/Makefile (routines): Add mmap64.
8456         * sysdeps/generic/mmap64.c: New file.
8457         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
8458         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
8459         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
8460         aliases to mmap.
8461         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8463         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
8465         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
8467         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
8469         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
8470         FOPEN_MAX also when included by limits.h.
8471         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8473         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
8474         and netrom/netrom.h.
8475         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
8476         oldsiglist to sysdep_routines, not aux.
8477         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
8479         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
8480         and SOL_NETROM definition.
8482         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
8484         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
8485         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
8487 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
8489         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
8491         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
8492         sa_handler with k_sa_handler.
8493         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
8494         strong alias.
8495         Reported by a sun.
8497         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
8498         __libc_have_rt_sigs here.
8499         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
8500         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8501         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
8502         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8504 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
8506         * sysdeps/powerpc/atomicity.h: New file.
8507         * sysdeps/mach/powerpc/machine-lock.h: New file.
8509         * Rules: Use -fpic to build anything that might end up in a users'
8510         shared library.
8512         * sysdeps/powerpc/s_fdim.c: New file.
8513         * sysdeps/powerpc/s_fdimf.c: New file.
8514         * sysdeps/powerpc/s_fmax.S: New file.
8515         * sysdeps/powerpc/s_fmaxf.S: New file.
8516         * sysdeps/powerpc/s_fmin.S: New file.
8517         * sysdeps/powerpc/s_fminf.S: New file.
8518         * sysdeps/powerpc/s_llrint.c: Now is for double.
8519         * sysdeps/powerpc/s_llrintf.c: New file.
8520         * sysdeps/powerpc/s_llround.c: Now is for double.
8521         * sysdeps/powerpc/s_llroundf.c: New file.
8522         * sysdeps/powerpc/s_lrint.c: Now is for double.
8523         * sysdeps/powerpc/s_lrintf.S: New file.
8524         * sysdeps/powerpc/s_lround.c: Now is for double.
8525         * sysdeps/powerpc/s_lroundf.c: New file.
8526         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
8527         lrintf, fdim, fdimf.
8529         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
8530         file directly, use its parent.
8532         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
8533         (for the third time).
8535 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
8537         * posix/sched.h: timespec is in <time.h>.
8539         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
8541 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
8543         * configure.in: Stop with error if --disable-static is used when
8544         the shared lib uses this library.
8546         * gen-FAQ.pl: I've perl installed in /usr/bin.
8548         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
8550         Fix Unix98 conformance problems in the headers.
8551         * catgets/nl_types.h: Define nl_item.
8552         * grp/grp.h: Define gid_t.
8553         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
8554         * include/nl_types.h: New file.
8555         * include/ulimit.h: New file.
8556         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
8557         constants in POSIX mode.
8558         * io/utime.h: Get definition for time_t.
8559         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
8560         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
8561         * libio/stdio.h: Define va_list.  Make snprintf also available is
8562         __USE_UNIX98.  Declare getopt function and variables.
8563         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
8564         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
8565         * math/math.h: Defined M_* constants as double for Unix98 mode.
8566         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
8567         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
8568         * posix/regex.h: Define REG_NOSYS.
8569         * posix/wordexp.h: Define WRDE_NOSYS.
8570         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
8571         500 for Unix98.
8572         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
8573         somewhere else as well.  Define clock_t for Unix98.
8574         * posix/sys/wait.h: Define pid_t.
8575         * pwd/pwd.h: Define gid_t, uid_t.
8576         * resource/Makefile (headers): Add ulimit.h.
8577         * resource/ulimit.h: New file.
8578         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
8579         instead of second argument.
8580         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
8581         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
8582         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
8583         * signal/signal.h: Define pid_t.
8584         * string/string.h: Don't declare BSD string functions in POSIX mode.
8585         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
8586         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
8587         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
8588         and POSIX.
8590         * inet/test_ifindex.c: Change test so that it does not fail for
8591         interface aliases.
8593         * locale/programs/locale.c (show_info): Use correct cast sequence
8594         for 64bit machines.
8596         * malloc/malloc.c: __malloc_initialized now signals three states:
8597         uninitialized, initializing, initialized.  Used in mcheck.
8598         * malloc/mcheck.c (mabort): Add '\n' to messages.
8599         (mcheck): Allow installation when malloc is uninitialized or is
8600         just initializing.
8602         * manual/memory.texi: Explain mtrace output a bit more.
8604         * math/libm-test.c: Add more epsilons.
8606         * misc/regexp.h (compile): Remove __ prefix from parameter names.
8608         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
8609         instead of strcpy for security.
8610         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
8611         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
8612         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
8614         * nss/digits_dots.c: Pretty print.
8616         * posix/getconf.c (vars): Add symbols for programming environment
8617         recognition.  Recognize --version.
8619         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
8620         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
8621         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
8623         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
8624         __need_FOPEN_MAX.
8625         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8626         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
8627         __need_FOPEN_MAX.
8629         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
8630         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
8632         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
8633         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8634         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8635         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
8636         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8637         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
8639         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
8640         SCNu*.
8641         * sysdeps/wordsize-64/inttypes.h: Likewise.
8643         * time/africa: Update from tzdata1997j.
8644         * time/antarctica: Likewise.
8645         * time/asia: Likewise.
8646         * time/australasia: Likewise.
8647         * time/backward: Likewise.
8648         * time/etcetera: Likewise.
8649         * time/europe: Likewise.
8650         * time/factory: Likewise.
8651         * time/northamerica: Likewise.
8652         * time/pacificnew: Likewise.
8653         * time/southamerica: Likewise.
8655         * time/tzfile.h: Update from tzcode1997h.
8656         * time/zic.c: Likewise.
8658         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
8659         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
8660         isw*() functions for Unix98.
8661         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
8662         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
8663         is defined.
8665 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8667         * locale/duplocale.c: Increase usage_count only if less than
8668         MAX_USAGE_COUNT.
8669         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
8670         MAX_USAGE_COUNT.
8671         * locale/setlocale.c: Likewise.
8673 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8675         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
8676         dependency to make it easier to install it selectively.
8678         * Makerules (.SUFFIXES): Don't define any suffixes.
8680 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8682         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
8683         * sysdeps/generic/statfs64.c: Emulate using statfs.
8684         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
8685         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
8686         * sysdpes/generic/ftruncate64.c: New file.
8687         * sysdpes/generic/truncate64.c: New file.
8689         * sysdeps/generic/bits/stat.h: Add LFS support.
8690         * sysdeps/generic/bits/statfs.h: Likewise.
8692         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
8693         [__USE_FILE_OFFSET64]: Make long long constant.
8694         (RLIM64_INFINITY): Likewise.
8696         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
8697         for LFS support.
8698         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
8699         * sysdeps/generic/bits/resource.h: Likewise.
8701         * misc/Makefile (routines): Add truncate64 and ftruncate64.
8703         * include/features.h: Don't prevent LFS support from defining BSD
8704         and SYSV things.
8706         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
8707         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
8708         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
8710         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
8711         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
8712         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8714         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
8715         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
8716         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
8717         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
8718         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
8719         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
8720         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
8721         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
8722         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
8723         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
8724         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
8725         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
8726         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
8728         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
8729         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
8730         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
8731         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
8732         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
8733         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
8735         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
8736         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
8737         * sysdeps/unix/sysv/linux/xstat64.c: New file.
8738         * sysdeps/unix/sysv/linux/readdir64.c: New file.
8739         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
8741         * sysdeps/unix/sysv/linux/getdents64.c: New file.
8742         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
8743         [$(subdir)=dirent]: Add getdents64.
8744         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
8746         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
8748 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
8750         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
8752         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
8753         * sysdeps/generic/getrlimit64.c: Likewise.
8754         * sysdeps/generic/setrlimit.c: Likewise.
8755         * sysdeps/generic/setrlimit64.c: Likewise.
8757 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
8759         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
8760         using versioning.
8762         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
8764         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
8766 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8768         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
8769         after the codeset name.
8771 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8773         * libc.map: Add get_kernel_syms.
8775 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8777         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
8778         static.
8779         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
8780         Likewise.  Fix condition.
8782 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8784         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
8786 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8788         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
8789         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
8791 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8793         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
8794         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
8795         instead.  Oops.
8797 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8799         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
8801 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8803         * math/libm-test.c (catanh_test): Change epsilon.
8804         Reported by H.J. Lu.
8806 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
8808         * libc.map (__getpid): Added for linuxthreads.
8810 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
8812         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
8813         it if gcc uses static variable in DWARF2 unwind information
8814         for exception support.
8816         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
8818         * elf/soinit.c (__libc_global_ctors, _fini): Handle
8819         HAVE_DWARF2_UNWIND_INFO_STATIC.
8821         * libc.map (__register_frame*, __deregister_frame*): Make them
8822         global.
8824 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8826         * math/libm-test.c: Add more tests for "normal" values.
8828 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8830         * stdio-common/printf_fphex.c: Fix printing of long double number
8831         with a biased exponent of zero.  Fix rounding.
8833 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8835         * sunrpc/rpc_main.c: Accept new flag -$.
8836         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
8838 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8840         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
8841         dynamic linker first, in case the interface has changed.
8843 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8845         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
8846         order.
8848 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8850         * math/tgmath.h: Check for double first, for architectures where
8851         sizeof (long double) == sizeof (double).
8853 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8855         * math/libm-test.c: New tests for "normal" values added for most
8856         functions.
8858 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
8860         * version.h (VERSION): Bump to 2.0.91.
8862         * db2/makedb.c (process_input): Fix typo in message.
8863         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
8865         * elf/dynamic-link.h: Pretty print.
8867         * elf/rtld.c: Allow multiple preloading of a shared object.
8869         * include/limits.h: Prevent multiple inclusion.
8871         * malloc/Makefile (headers): Add mcheck.h.
8872         (distribute): Remove it here.
8873         * malloc/mcheck.h: Pretty print.
8874         * malloc/mtrace.c (mallenv): Make `const'.
8875         * malloc/mtrace.pl: Don't print table head for memory leaks if there
8876         are none.
8877         * manual/memory.texi: Update descriptor of malloc hooks.
8879         * posix/Makefile (routines): Add waitid.
8880         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
8881         on __id_t.
8882         * posix/sys/wait.h: Define idtype_t type.
8883         Add prototype for waitid.
8884         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
8885         * sysdeps/generic/waitid.c: Stub for waitid.
8886         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
8887         the __need_siginfo_t defined.
8888         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
8889         * sysdeps/generic/bits/types.h: Define __id_t.
8890         Correct definition of __FDMASK.
8891         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8892         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8893         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8895         * sysdeps/posix/waitid.c: New file.
8896         Provided by Zack Weinberg.
8898         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
8900         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8901         Add missing parameters.
8903         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
8904         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
8905         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
8906         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
8907         initialized.
8909         * sysdeps/i386/dl-machine.h: Little cleanup.
8911         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
8912         (__finite): Mark function as const.
8913         Add inline code for __ieee754_atan2.
8915         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
8916         (but don't use it now).
8917         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
8918         __atan.
8919         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
8920         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8921         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
8922         real part.
8923         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
8924         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8925         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
8926         __ieee754_atan2 to base 10.
8927         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
8928         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8930         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
8931         old_kernel_sigaction.
8933         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
8935         * wctype/Makefile (routines): Add wctype_l.
8936         * wctype/wctype.h: Add declaration of __wctype_l.
8937         * wctype/wctype_l.c: New file.
8939 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
8941         * locale/C-ctype.c: Correct data for isw* functions.
8942         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
8943         byte order.
8944         * wctype/test_wctype.c: Add test for isw* functions.
8945         * wctype/wctype.c: Return value with expected byte order.
8947 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8949         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
8951 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
8953         * iconvdata/Makefile: Fix a typo.
8955         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
8956         oldsiglist for shared library.
8958         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
8959         sys_sigabbrev): Make them as the default version GLIBC_2.1.
8961         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
8962         sys_siglist, sys_sigabbrev): New file. Make them as the old
8963         version GLIBC_2.0.
8965         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
8966         to GLIBC_2.1.
8968 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
8970         * libio/iofgets.c (_IO_fgets): Return an error only if there
8971         is a new error.
8972         * libio/iogets.c (_IO_gets): Ditto.
8974 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
8976         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
8978         * libio/Makefile (routines, shared-only-routines): Add
8979         oldiofdopen.
8981         * libio/fileops.c: Don't use _IO_FILE_complete.
8982         * libio/iofdopen.c: Ditto.
8983         * libio/iofopen.c: Ditto.
8984         * libio/iofopen64.c: Ditto.
8985         * libio/iopopen.c: Ditto.
8986         * libio/iovdprintf.c: Ditto.
8988         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
8990         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
8991         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
8993         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
8994         _IO_old_fdopen, _IO_new_fdopen): New declaration.
8996         * libio/libio.h (_IO_FILE): Add more fields.
8997         (_IO_FILE_complete): Defined and make _IO_FILE be the old
8998         one if _IO_USE_OLD_IO_FILE is defined
8999         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9000         them _IO_FILE_complete.
9002         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9003         to adjust vtable.
9004         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9005         _IO_JUMPS.
9006         (_IO_FILE_complete): Commented out.
9008         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9009         * libio/oldiofclose.c: Ditto.
9010         * libio/oldiofopen.c: Ditto.
9011         * libio/oldstdfiles.c: Ditto.
9013         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9014         for the old _IO_FILE.
9016         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9017         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9018         and stderr.
9020         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9021         and remove INAME.
9023         * libio/stdio.c (stdin, stdout, stdin): Don't use
9024         _IO_FILE_complete.
9026         * libio/oldiofdopen.c: New.
9028         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9029         hp->_vtable_offset to 0.
9031 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9033         * libc.map (_IO_file_open): Added.
9035         * libio/libioP.h (_IO_file_open): Declared.
9037         * libio/fileops.c (_IO_file_open): New.
9038         (_IO_file_fopen): Call _IO_file_open ().
9040         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9041         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9043 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9045         * signal/signal.h: Fix selection of signal semantics to match
9046         comment.
9048 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9050         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9051         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9052         rt_sigreturn.
9053         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9054         [$(subdir)=signal]: Remove rt_sigreturn.
9055         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9056         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9057         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9059 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9061         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
9062         declarations.
9064 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9066         * iconvdata/extra-module.mk: Expand extra-objs now.
9068 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9070         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9071         inline functions by feature tests to avoid warning about missing
9072         prototype declarations.
9074 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9076         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9077         return code for non existent +name entries.
9078         * nis/nss_compat/compat-pwd.c: Likewise.
9079         * nis/nss_compat/compat-spwd.c: Likewise.
9081 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
9083         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9084         (EIO): Likewise.
9085         (ENOSPC): Likewise.
9086         (EEXIST): Likewise.
9087         (__errno_location): Likewise.
9089         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9091         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9093 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9095         * sunrpc/publickey.c: Use new NSS interface.
9097 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
9099         * manual/malloc.texi: Document mtrace/muntrace and the concept.
9101 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9103         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9104         value, to match spirit of the standard.
9105         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9106         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9107         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9109 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9111         * manual/signal.texi (Signal Stack): Remove spurious @item.
9113 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9115         * rt/aio.h: Remove double semicolon.
9117         * rt/librt.map: Add aio_init.
9119 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
9121         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9122         * Makefile (subdirs): Replace rt by $(rt).
9124         * shlib-versions: Use version .2 for NSS modules.
9126         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9127         argument.
9128         * pwd/fgetpwent_r.c: Likewise.
9129         * spwd/fgetspent_r.c: Likewise.
9130         * spwd/sgetspent_r.c: Likewise.
9131         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9132         Store error number in *ERRNOP.  Little optimization.
9133         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9134         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9135         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9136         (__internal_getnetgrent_r): New argument.
9137         Call __internal_setnetgrent_reuse with new argument.
9138         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9139         * inet/netgroup.h: Add argument to prototypes.
9140         * nis/nisplus-parser.h: Likewise.
9141         * nis/nss_compat/compat-grp.c: Change everything to store error
9142         code through provided pointer and not use errno.
9143         * nis/nss_compat/compat-pwd.c: Likewise.
9144         * nis/nss_compat/compat-spwd.c: Likewise.
9145         * nis/nss_nis/nis-alias.c: Likewise.
9146         * nis/nss_nis/nis-ethers.c: Likewise.
9147         * nis/nss_nis/nis-grp.c: Likewise.
9148         * nis/nss_nis/nis-hosts.c: Likewise.
9149         * nis/nss_nis/nis-netgrp.c: Likewise.
9150         * nis/nss_nis/nis-network.c: Likewise.
9151         * nis/nss_nis/nis-proto.c: Likewise.
9152         * nis/nss_nis/nis-publickey.c: Likewise.
9153         * nis/nss_nis/nis-pwd.c: Likewise.
9154         * nis/nss_nis/nis-rpc.c: Likewise.
9155         * nis/nss_nis/nis-service.c: Likewise.
9156         * nis/nss_nis/nis-spwd.c: Likewise.
9157         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9158         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9159         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9160         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9161         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9162         * nis/nss_nisplus/nisplus-network.c: Likewise.
9163         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9164         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9165         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9166         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9167         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9168         * nis/nss_nisplus/nisplus-service.c: Likewise.
9169         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9170         * nss/nss_db/db-XXX.c: Likewise.
9171         * nss/nss_db/db-alias.c: Likewise.
9172         * nss/nss_db/db-netgrp.c: Likewise.
9173         * nss/nss_files/files-XXX.c: Likewise
9174         * nss/nss_files/files-alias.c: Likewise
9175         * nss/nss_files/files-netgrp.c: Likewise
9176         * nss/nss_files/files-parse.c: Likewise
9177         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9178         parameter of get functions.
9179         * nss/getXXent_r.c: Likewise.
9181         * localedata/tst-fmon.c: Print debug info if test fails.
9183         * rt/Makefile (routines): Add aio_notify.
9184         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9185         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9186         * rt/aio_fsync.c: Likewise.
9187         * rt/aio_misc.c: Likewise.
9188         * rt/aio_misc.h: Likewise.
9189         * rt/aio_read.c: Likewise.
9190         * rt/aio_read64.c: Likewise.
9191         * rt/aio_suspend.c: Likewise.
9192         * rt/aio_write.c: Likewise.
9193         * rt/aio_write64.c: Likewise.
9194         * rt/lio_listio.c: Likewise.
9195         * rt/lio_listio64.c: Likewise.
9196         * rt/aio_notify.c: New file.
9198         * sysdeps/generic/bits/sigset.h: Pretty print.
9200         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9201         really defined as __pwrite.
9203         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9204         instead of pread64.
9205         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9207         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9208         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9209         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9210         size in syscall.
9211         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9212         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9213         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9214         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9215         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9216         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9217         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9218         for ACT being NULL.
9219         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9220         RT signals.
9221         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9222         __NR_pread is not defined.
9223         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9224         __NR_pwrite is not defined.
9226 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9228         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9229         handle for /etc/group back in some more cases.
9230         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9231         handle for /etc/passwd back in some more cases.
9232         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9233         handle for /etc/shadow back in some more cases.
9235 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9237         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9238         beyound its size.
9239         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9240         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9242 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9244         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9245         handling.  Don't use macros, we need functions.  Use inline functions
9246         for optimization.
9247         * sysdeps/wordsize-64/inttypes.h: Likewise.
9248         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9249         and wcstoumax.
9250         * sysdeps/wordsize-64/Makefile: Likewise.
9251         * sysdeps/wordsize-32/Dist: Likewise.
9252         * sysdeps/wordsize-64/Dist: Likewise.
9253         * sysdeps/wordsize-32/strtoimax.c: New file.
9254         * sysdeps/wordsize-32/strtoumax.c: New file.
9255         * sysdeps/wordsize-32/wcstoimax.c: New file.
9256         * sysdeps/wordsize-32/wcstoumax.c: New file.
9257         * sysdeps/wordsize-64/strtoimax.c: New file.
9258         * sysdeps/wordsize-64/strtoumax.c: New file.
9259         * sysdeps/wordsize-64/wcstoimax.c: New file.
9260         * sysdeps/wordsize-64/wcstoumax.c: New file.
9262 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9264         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9265         that transparent union works.
9266         * sysdeps/generic/wait4.c (__wait4): Likewise.
9267         * sysdeps/generic/wait.c (__wait): Likewise.
9269         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9270         size_t.
9272         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9273         long, to match prototype.
9275         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9276         have mremap() yet.
9278         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9280         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9282         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9284         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9285         __rlim_t.
9287         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9289         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9291         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9292         __S_IFLNK.
9294         * sysdeps/standalone/close.c (_STDIO_H): Define before including
9295         <bits/stdio_lim.h>.
9296         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
9298 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
9300         * posix/sys/wait.h: Don't use transparent unions in C++.
9302 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9304         * time/time.h: Add strfxtime.
9306         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
9307         sysv_signal, strfxtime, pread64, pwrite64.
9309 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
9311         Alpha changes for EGCS:
9312         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
9313         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
9314         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
9315         (_start): Likewise.
9316         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
9318 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
9320         The kernel expects the arguments in a different order.
9321         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
9322         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
9324         * FAQ.in: New file.
9325         * gen-FAQ.pl: New file.
9326         * Makefile (FAQ): Add rule to generate from FAQ.in.
9328         * iconvdata/Makefile: Treat libJIS like the other modules.
9330         * rt/librt.map: New file.
9332         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
9333         inclusion.
9334         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
9335         comment.
9337 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
9339         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
9340         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
9341         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
9342         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
9344 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9346         * string/bits/string2.h: Fix spellings.
9348         * string/string.h: Fix spellings.
9350 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9352         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
9353         declaration to __syscall_rt_sigaction.
9355         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
9356         non-existant <sigcontext.h>.
9358 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9360         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
9361         typo.
9363 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9365         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
9367         * Makeconfig (shared-thread-library): Correct spelling.
9369         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
9370         <asm/pci.h>.
9372 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9374         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
9375         constants from Linux headers. Pointed out by
9376         csmall@scooter.o.i.net. [PR libc/369]
9378 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9380         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
9382 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9384         * configure.in: If --enable-add-ons is given without an
9385         argument, set the addons list to all subdirs with a configure
9386         script.
9388 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
9390         * Makeconfig: Add shared-thread-library variable.
9392         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
9393         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
9394         here.
9395         * sysdeps/m68k/fpu/e_acos.c: Likewise.
9396         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9397         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9398         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9399         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9400         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9401         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9402         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9403         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9404         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9405         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9406         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9407         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9408         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9409         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9410         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9411         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9412         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9413         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9414         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9415         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
9416         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9417         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
9418         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
9419         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
9421         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
9422         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
9423         * signal/Makefile (headers): Add bits/siginfo.h.
9424         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
9425         (distribute): Add testrtsig.h.
9426         * signal/allocrtsig.c: New file.
9427         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
9428         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
9429         __libc_current_sigrtmax.
9430         * sysdeps/generic/sigqueue.c: New file.
9431         * sysdeps/generic/sigtimedwait.c: New file.
9432         * sysdeps/generic/sigwaitinfo.c: New file.
9433         * sysdeps/generic/testrtsig.h: New file.
9434         * sysdeps/generic/bits/siginfo.h: New file.
9435         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
9436         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
9437         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
9438         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
9439         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
9440         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
9441         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
9442         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
9443         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
9444         * sysdeps/unix/sysv/linux/sigpending.c: New file.
9445         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
9446         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
9447         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
9448         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
9449         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
9450         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
9451         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
9452         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
9453         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
9454         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
9455         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
9456         and _POSIX_REALTIME_SIGNALS.
9457         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
9458         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
9459         update _NSIG.
9460         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
9461         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
9462         definitions.
9464         * Makefile (subdirs): Add rt.
9465         * shlib-versions: Add entry for librt.
9466         * rt/Makefile: New file.
9467         * rt/aio.h: New file.
9468         * rt/aio_cancel.c: New file.
9469         * rt/aio_error.c: New file.
9470         * rt/aio_fsync.c: New file.
9471         * rt/aio_misc.c: New file.
9472         * rt/aio_misc.h: New file.
9473         * rt/aio_read.c: New file.
9474         * rt/aio_read64.c: New file.
9475         * rt/aio_return.c: New file.
9476         * rt/aio_suspend.c: New file.
9477         * rt/aio_write.c: New file.
9478         * rt/aio_write64.c: New file.
9479         * rt/lio_listio.c: New file.
9480         * rt/lio_listio64.c: New file.
9481         * sysdeps/generic/aio_sigqueue.c: New file.
9482         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
9483         * sysdeps/unix/sysv/linux/Dist: Add new files
9484         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9485         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
9486         rt_sigqueueinfo, rt_sigaction.
9488         * posix/Makefile (headers): Add bits/environments.h.
9489         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
9490         and _CS_LFS_CFLAGS on 64bit platforms.
9491         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
9492         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
9493         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
9494         compilation modules.
9495         * sysdeps/wordsize-32/bits/environments.h: New file.
9496         * sysdeps/wordsize-64/bits/environments.h: New file.
9498         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
9499         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
9500         __libc_pid.
9501         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
9502         0xf00baa.
9504         * string/string.h: Add declaration of __strverscmp.
9505         * string/strverscmp.c: Rename function ot __strverscmp and make old
9506         name weak alias.
9508         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
9509         * sysdeps/generic/enbl-secure.c: Likewise.
9510         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9512         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
9514         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
9516 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9518         * posix/sys/wait.h: Use __transparent_union__ instead of
9519         transparent_union.  Reported by Roland McGrath.
9521 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9523         * resolv/inet_neta.c (inet_neta): Change type of first parameter
9524         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
9525         [PR libc/366].
9527         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
9529         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
9531 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9533         * grp/initgroups.c: Increase buffer if it is too small.
9535 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9537         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
9538         fields, this is no ISO C.  Reported by Andreas Jaeger.
9540 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9542         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
9544 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
9546         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
9547         _SYS_UTSNAME_H not _UTSNAME_H.
9549 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9551         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
9552         computing s_scale.
9554 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9556         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
9557         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
9558         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
9560         * math/libm-test.c (csqrt_test): Add testcase.
9562 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
9564         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
9565         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
9566         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
9568 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9570         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
9572 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9574         * math/libm-test.c (acos_test): Add more tests.
9575         (asin_test): Likewise.
9576         (atan_test): Likewise.
9577         (exp_test): Likewise.
9578         (sin_test): Likewise.
9579         (sqrt_test): Likewise.
9580         (cpow_test): Likewise.
9581         (csqrt_test): Likewise.
9582         (cexp_test): Correct typo in gcc version test.
9584 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
9586         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
9587         <bits/setjmp.h>.
9588         * sysdeps/arm/setjmp.S: Likewise.
9590         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
9592 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
9594         * stdio/stdio.h: Add prototype for tmpfile64().
9596 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
9598         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
9599         prototype to keep in step with libio version.
9601         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
9603 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
9605         * sysdeps/generic/Makefile: Don't try to use make_siglist if
9606         cross-compiling.
9608 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
9610         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
9611         load GOT ptr before jumping to _exit.
9612         Reported by Xavier Leroy.
9614 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
9616         * Makefile (subdirs): Add iconvdata and localedata.
9618         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
9620         * iconv/gconv_conf.c (read_conf_file): Little optimization.
9622         * iconvdata/8bit-gap.c: New file.
9623         * iconvdata/8bit-generic.c: Renamed from ...
9624         * iconvdata/iso8859-generic.c: ...this.
9625         * iconvdata/configure: Removed.
9626         * iconvdata/Makefile: Add new modules and better rules.
9627         * iconvdata/iso6937.c: Minor bug fixes.
9628         * iconvdata/iso8859-1.c: Likewise.
9629         * iconvdata/t61.c: Likewise.
9630         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
9631         Minor bug fixes.
9632         * iconvdata/iso8859-3.c: Likewise.
9633         * iconvdata/iso8859-4.c: Likewise.
9634         * iconvdata/iso8859-5.c: Likewise.
9635         * iconvdata/iso8859-6.c: Likewise.
9636         * iconvdata/iso8859-7.c: Likewise.
9637         * iconvdata/iso8859-8.c: Likewise.
9638         * iconvdata/iso8859-9.c: Likewise.
9639         * iconvdata/iso8859-10.c: Likewise.
9640         * iconvdata/ebcdic-at-de-a.c: New file.
9641         * iconvdata/ebcdic-at-de.c: New file.
9642         * iconvdata/ebcdic-ca-fr.c: New file.
9643         * iconvdata/hp-roman8.c: New file.
9644         * iconvdata/koi-8.c: New file.
9645         * iconvdata/koi8-r.c: New file.
9646         * iconvdata/koi8-h.c: New file.
9647         * iconvdata/latin-greek-1.c: New file.
9648         * iconvdata/latin-greek-1.h: New file.
9649         * iconvdata/latin-greek.c: New file.
9650         * iconvdata/latin-greek.h: New file.
9651         * iconvdata/jis0201.c: New file.
9652         * iconvdata/jis0201.h: New file.
9653         * iconvdata/jis0208.c: New file.
9654         * iconvdata/jis0208.h: New file.
9655         * iconvdata/jis0212.c: New file.
9656         * iconvdata/jis0212.h: New file.
9657         * iconvdata/sjis.c: New file.
9658         * iconvdata/gap.pl: New file.  Script to generate table header.
9659         * iconvdata/gaptab.pl: New file.
9660         * iconvdata/gconv-modules: Add info about new modules.
9662         * locale/programs/charmap.c: Also examine alias names given in charmap
9663         files.
9665         * localedata/*: Add to here from add-on.  We need the information
9666         to generate tables for iconv.
9668         Update from db-2.3.14.
9669         * db2/Makefile: Updated.
9670         * db2/config.h: Likewise.
9671         * db2/db.h: Likewise.
9672         * db2/db_int.h: Likewise.
9673         * db2/btree/bt_cursor.c: Likewise.
9674         * db2/btree/bt_delete.c: Likewise.
9675         * db2/btree/bt_put.c: Likewise.
9676         * db2/btree/bt_search.c: Likewise.
9677         * db2/btree/bt_split.c: Likewise.
9678         * db2/btree/btree_auto.c: Likewise.
9679         * db2/common/db_appinit.c: Likewise.
9680         * db2/common/db_apprec.c: Likewise.
9681         * db2/common/db_err.c: Likewise.
9682         * db2/common/db_region.c: Likewise.
9683         * db2/db/db_auto.c: Likewise.
9684         * db2/db/db_dispatch.c: Likewise.
9685         * db2/db/db_ret.c: Likewise.
9686         * db2/dbm/dbm.c: Likewise.
9687         * db2/hash/hash_auto.c: Likewise.
9688         * db2/include/btree_ext.h: Likewise.
9689         * db2/include/common_ext.h: Likewise.
9690         * db2/include/db.h.src: Likewise.
9691         * db2/include/db_cxx.h: Likewise.
9692         * db2/include/db_ext.h: Likewise.
9693         * db2/include/db_int.h.src: Likewise.
9694         * db2/include/lock.h: Likewise.
9695         * db2/include/log.h: Likewise.
9696         * db2/include/mp.h: Likewise.
9697         * db2/include/mp_ext.h: Likewise.
9698         * db2/include/os_ext.h: Likewise.
9699         * db2/include/os_func.h: Likewise.
9700         * db2/lock/lock.c: Likewise.
9701         * db2/lock/lock_deadlock.c: Likewise.
9702         * db2/log/log.c: Likewise.
9703         * db2/log/log_archive.c: Likewise.
9704         * db2/log/log_auto.c: Likewise.
9705         * db2/log/log_get.c: Likewise.
9706         * db2/log/log_put.c: Likewise.
9707         * db2/mp/mp_bh.c: Likewise.
9708         * db2/mp/mp_fget.c: Likewise.
9709         * db2/mp/mp_fopen.c: Likewise.
9710         * db2/mp/mp_fput.c: Likewise.
9711         * db2/mp/mp_fset.c: Likewise.
9712         * db2/mp/mp_open.c: Likewise.
9713         * db2/mp/mp_pr.c: Likewise.
9714         * db2/mp/mp_region.c: Likewise.
9715         * db2/mp/mp_sync.c: Likewise.
9716         * db2/mutex/README: Likewise.
9717         * db2/mutex/mutex.c: Likewise.
9718         * db2/os/os_open.c: Likewise.
9719         * db2/os/os_func.c: Removed.
9720         * db2/os/os_config.c: New file.
9721         * db2/os/os_spin.c: New file.
9722         * db2/txn/txn.c: Likewise.
9723         * db2/txn/txn_auto.c: Likewise.
9725 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
9727         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
9728         __typeof for C++ since this fails for class members.
9729         Reported by Neal Becker <neal@ctd.comsat.com>.
9731 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9733         * configure.in: Check for a working makeinfo (3.11 or better).
9734         * config.make.in: Add MAKEINFO to be substituted.
9735         * manual/Makefile: Don't update info if makeinfo is too old.
9737 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
9739         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
9740         * sysdeps/alpha/__longjmp.S: Likewise.
9741         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
9742         not <bits/termios.h>.
9744         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
9745         __llseek and make llseek and lseek64 weak aliases.
9746         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9747         Patches by a sun <asun@zoology.washington.edu>.
9749 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9751         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
9752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9753         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9754         * misc/sys/syslog.h: Clean up BSD header.
9756 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9758         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
9760         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
9761         for ctan(+-inf,x).
9762         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
9763         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
9765         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
9766         csqrt (-1), ctanh(i*pi/4).
9768 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9770         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
9772 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
9774         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
9776 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9778         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
9780 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
9782         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
9783         and use.  Define GETCWD_RETURN_TYPE instead and use it.
9784         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
9785         of GETCWD_STORYGE_CLASS and put the return type and the
9786         `internal_function' in the right order for gcc 2.7.2.
9788 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9790         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
9791         incompatible with Linux 2.1.x.  Packages using modules
9792         (e.g. modutils) should/do provide their own version.  Suggested by
9793         Richard Henderson.
9795         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
9797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
9798         [$(subdir)=socket]: Remove sys/module.h.
9800 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
9802         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
9803         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
9805         * iconv/gconv_close.c: Correct freeing of descriptor data.
9806         * iconv/gconv_simple.c: Return correct error values for illegal or
9807         incomplete characters.
9809         * Makefile (iconvdata/%): Special goal to simplify iconvdata
9810         development.
9811         * iconvdata/Makefile: New file.
9812         * iconvdata/configure: Likewise.
9813         * iconvdata/extra-module.mk: Likewise.
9814         * iconvdata/gconv-modules: Likewise.
9815         * iconvdata/iso6937.c: Likewise.
9816         * iconvdata/iso8859-1.c: Likewise.
9817         * iconvdata/iso8859-10.c: Likewise.
9818         * iconvdata/iso8859-10.h: Likewise.
9819         * iconvdata/iso8859-2.c: Likewise.
9820         * iconvdata/iso8859-2.h: Likewise.
9821         * iconvdata/iso8859-3.c: Likewise.
9822         * iconvdata/iso8859-3.h: Likewise.
9823         * iconvdata/iso8859-4.c: Likewise.
9824         * iconvdata/iso8859-4.h: Likewise.
9825         * iconvdata/iso8859-5.c: Likewise.
9826         * iconvdata/iso8859-5.h: Likewise.
9827         * iconvdata/iso8859-6.c: Likewise.
9828         * iconvdata/iso8859-6.h: Likewise.
9829         * iconvdata/iso8859-7.c: Likewise.
9830         * iconvdata/iso8859-7.h: Likewise.
9831         * iconvdata/iso8859-8.c: Likewise.
9832         * iconvdata/iso8859-8.h: Likewise.
9833         * iconvdata/iso8859-9.c: Likewise.
9834         * iconvdata/iso8859-9.h: Likewise.
9835         * iconvdata/iso8859-generic.c: Likewise.
9836         * iconvdata/t61.c: Likewise.
9838         * string/Makefile (routines): Add strcasestr.
9839         * string/string.h: Add prototype for strcasestr.
9840         * sysdeps/generic/strcasestr.c: New file.
9841         * wcsmbs/mbrtowc.c: Simplify special case a bit.
9842         * wcsmbs/wcrtomb.c: Likewise.
9843         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
9844         * wcsmbs/wcsnrtombs.c: Likewise.
9845         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
9846         partial character is read.
9847         * wcsmbs/wcsrtombs.c: Likewise.
9848         * wcsmbs/wmemrtombs.c: Likewise.
9849         * wcsmbs/wmemrtowcs.c: Likewise.
9851         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
9852         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
9853         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
9854         * sysdeps/i386/elf/setjmp.S: Likewise.
9855         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
9856         <bits/termios.h>.
9858         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
9859         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
9861         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
9862         * sysvipc/sys/ipc.h: Likewise.
9863         * sysvipc/sys/msg.h: Likewise.
9864         * sysvipc/sys/sem.h: Likewise.
9865         * sysvipc/sys/shm.h: Likewise.
9867         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
9868         used directly.
9869         * sysdeps/alpha/bits/setjmp.h: Likewise.
9870         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
9871         * sysdeps/arm/bits/endian.h: Likewise.
9872         * sysdeps/arm/bits/setjmp.h: Likewise.
9873         * sysdeps/generic/bits/byteswap.h: Likewise.
9874         * sysdeps/generic/bits/confname.h: Likewise.
9875         * sysdeps/generic/bits/dirent.h: Likewise.
9876         * sysdeps/generic/bits/dlfcn.h: Likewise.
9877         * sysdeps/generic/bits/endian.h: Likewise.
9878         * sysdeps/generic/bits/fenv.h: Likewise.
9879         * sysdeps/generic/bits/huge_val.h: Likewise.
9880         * sysdeps/generic/bits/in.h: Likewise.
9881         * sysdeps/generic/bits/ioctl-types.h: Likewise.
9882         * sysdeps/generic/bits/ioctls.h: Likewise.
9883         * sysdeps/generic/bits/ipc.h: Likewise.
9884         * sysdeps/generic/bits/msq.h: Likewise.
9885         * sysdeps/generic/bits/poll.h: Likewise.
9886         * sysdeps/generic/bits/resource.h: Likewise.
9887         * sysdeps/generic/bits/sched.h: Likewise.
9888         * sysdeps/generic/bits/sem.h: Likewise.
9889         * sysdeps/generic/bits/setjmp.h: Likewise.
9890         * sysdeps/generic/bits/shm.h: Likewise.
9891         * sysdeps/generic/bits/sigaction.h: Likewise.
9892         * sysdeps/generic/bits/sigcontext.h: Likewise.
9893         * sysdeps/generic/bits/socket.h: Likewise.
9894         * sysdeps/generic/bits/stat.h: Likewise.
9895         * sysdeps/generic/bits/statfs.h: Likewise.
9896         * sysdeps/generic/bits/stdio_lim.h: Likewise.
9897         * sysdeps/generic/bits/termios.h: Likewise.
9898         * sysdeps/generic/bits/time.h: Likewise.
9899         * sysdeps/generic/bits/uio.h: Likewise.
9900         * sysdeps/generic/bits/utmp.h: Likewise.
9901         * sysdeps/generic/bits/utmpx.h: Likewise.
9902         * sysdeps/generic/bits/utsname.h: Likewise.
9903         * sysdeps/generic/bits/waitflags.h: Likewise.
9904         * sysdeps/generic/bits/waitstatus.h: Likewise.
9905         * sysdeps/gnu/bits/utmp.h: Likewise.
9906         * sysdeps/gnu/bits/utmpx.h: Likewise.
9907         * sysdeps/i386/bits/byteswap.h: Likewise.
9908         * sysdeps/i386/bits/endian.h: Likewise.
9909         * sysdeps/i386/bits/huge_val.h: Likewise.
9910         * sysdeps/i386/bits/setjmp.h: Likewise.
9911         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9912         * sysdeps/ieee754/bits/huge_val.h: Likewise.
9913         * sysdeps/m68k/bits/byteswap.h: Likewise.
9914         * sysdeps/m68k/bits/endian.h: Likewise.
9915         * sysdeps/m68k/bits/setjmp.h: Likewise.
9916         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
9917         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
9918         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
9919         * sysdeps/mach/hurd/bits/stat.h: Likewise.
9920         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
9921         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
9922         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
9923         * sysdeps/mips/bits/dlfcn.h: Likewise.
9924         * sysdeps/mips/bits/endian.h: Likewise.
9925         * sysdeps/mips/bits/setjmp.h: Likewise.
9926         * sysdeps/mips/dec/bits/endian.h: Likewise.
9927         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
9928         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
9929         * sysdeps/mips/p40/bits/endian.h: Likewise.
9930         * sysdeps/powerpc/bits/endian.h: Likewise.
9931         * sysdeps/powerpc/bits/fenv.h: Likewise.
9932         * sysdeps/powerpc/bits/setjmp.h: Likewise.
9933         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
9934         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
9935         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
9936         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
9937         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
9938         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
9939         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9940         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
9941         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
9942         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
9943         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
9944         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
9945         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
9946         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
9947         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
9948         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
9949         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
9950         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
9951         * sysdeps/unix/common/bits/dirent.h: Likewise.
9952         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
9953         * sysdeps/unix/sysv/bits/stat.h: Likewise.
9954         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9955         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9956         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
9957         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
9958         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
9959         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
9960         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
9961         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
9962         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9963         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
9964         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
9965         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
9966         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9967         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
9968         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
9969         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9970         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9971         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
9972         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9973         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9974         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9975         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9976         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
9977         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
9978         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9979         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9980         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
9981         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
9982         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
9983         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9984         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
9985         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
9986         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
9987         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9988         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
9989         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
9990         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
9991         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
9992         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
9993         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
9994         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
9995         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
9996         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
9997         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9998         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
9999         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10000         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10001         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10002         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10003         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10004         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10005         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10006         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10007         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10008         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10009         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10010         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10011         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10012         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10013         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10014         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10015         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10016         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10017         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10018         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10019         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10020         * sysdeps/vax/bits/huge_val.h: Likewise.
10021         * sysdeps/vax/bits/setjmp.h: Likewise.
10022         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10023         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10025 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10027         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10029 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10031         * strftime.c (strftime):
10032         No longer any need to undef or declare if emacs is defined.
10033         (my_strftime): When checking a -1 returned by mktime, don't blow up
10034         if localtime_r returns NULL.
10036 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10038         * README.template: Fix spelling.
10040 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10042         * configure.in: Enhance --enable-add-ons description a wee bit.
10044 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10046         * glibcbug.in: Add more information of build environment and flags.
10048 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10050         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10051         it into ENOENT.
10053 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10055         * elf/dl-support.c: Call __libc_init_secure to make sure
10056         __libc_enable_secure is defined early.
10057         * sysdeps/generic/enbl-secure.c: Change function name to
10058         __libc_init_secure and make it global instead of a constructor.
10060         * iconv/gconv.c: Fix lots of bugs.
10061         * iconv/gconv.h: Likewise.
10062         * iconv/gconv_builtin.h: Likewise.
10063         * iconv/gconv_close.c: Likewise.
10064         * iconv/gconv_conf.c: Likewise.
10065         * iconv/gconv_db.c: Likewise.
10066         * iconv/gconv_dl.c: Likewise.
10067         * iconv/gconv_open.c: Likewise.
10068         * iconv/gconv_simple.c: Likewise.
10069         * iconv/iconv.c: Likewise.
10070         * iconv/iconv_close.c: Likewise.
10071         * iconv/iconv_open.c: Likewise.
10073         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10074         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10075         * wcsmbs/wmemrtombs.c: New file.
10076         * wcsmbs/wmemrtowcs.c: New file.
10078 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
10080         * iconv/gconv_simple.c: Fix lots of bugs.
10081         * iconv/iconv_open.c: Normalize names before passing them to
10082         __gconv_open.
10084         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10086         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10087         * stdio-common/test-popen.c: Add test for above change.
10089         * math/libm-test.c: Print test results also using %a format,
10090         specified in PRINTF_XEXPR macro.
10091         * math/test-double.c: Define PRINTF_XEXPR.
10092         * math/test-float.c: Likewise.
10093         * math/test-ldouble.c: Likewise.
10094         * math/test-idouble.c: Likewise.
10095         * math/test-ifloat.c: Likewise.
10096         * math/test-ildoubl.c: Likewise.
10098         * stdio-common/vfscanf.c: Recognize a in format specifier only as
10099         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
10100         FP number format.
10102         * stdlib/strtod.c: Little code cleanup.
10104         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10105         compiling in math subdir.
10107         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10108         instead of __LIBC_M81_MATH_INLINES.
10109         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10110         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10111         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10112         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10113         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10114         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10115         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10116         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10117         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10118         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10119         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10120         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10121         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10122         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10123         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10124         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10125         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10126         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10127         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10128         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10129         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10130         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10131         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10132         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10133         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10134         __LIBC_INTERNAL_MATH_INLINES is defined.
10136         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10137         of compare macros from ISO C 9X.  Optimize generic versions a bit.
10138         Define __signbit inline functions and __ieee754_sqrt which can be
10139         used if the ompiler is fixed.
10141         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10143 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10145         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10146         sysdeps/generic in the whole dep file, not only in the first line.
10148 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10150         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10152 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10154         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10155         place.
10157 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10159         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10160         is non-empty.
10162 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10164         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10165         return value.
10167 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10169         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10170         readlink succeeds but the return value is too long.
10172         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10174 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10176         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10177         __remqu for Alpha.
10179 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10181         * sysdeps/generic/sys/ucontext.h: Stub context file.
10183         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10185         * manual/Makefile (distribute): Add stdio-fp.c.
10187         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10189         * db2/Makefile (distribute): Add include/os_func.h, README and
10190         mutex/tsl_parisc.s.
10192         * hesiod/Makefile (distribute): Add README.hesiod.
10194 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10196         * iconv/gconv.c: Correctly call transformation function.
10198         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10200 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10202         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10203         wrong results for e.g. remquo (3,2, &x)).
10204         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10205         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10207 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10209         * configure.in (ld --version-script): Test if the same symbol
10210         maybe defined in all versions (needed by recent changes to
10211         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10212         if versioning is not supported/enabled.
10213         (bash test): Correct test case.
10215         * math/libm-test.c: Added counting/reporting of number of test cases.
10217         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10218         use awk instead.
10220         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10222 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10224         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10226 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10228         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10229         Replace revoke call by use of REVOKE.
10230         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10231         empty and #include generic version.
10232         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10234 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10236         * libc.map: Add socket functions with __libc_* names.
10237         Reported by Andreas Jaeger.
10239 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10241         * libc.map: Tidy up (remove duplicates, sort entries).
10243 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10245         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10247 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10249         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10250         again after successful call.
10251         Patch by Marc Lehmann <pcg@goof.com>.
10253 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10255         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10256         as some hosts need this to declare localtime_r properly.
10258 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10260         * libc.map: Add iconv_open, iconv, and iconv_close.
10262 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10264         * iconv/Makefile: New file.
10265         * iconv/gconv.c: New file.
10266         * iconv/gconv.h: New file.
10267         * iconv/gconv_builtin.c: New file.
10268         * iconv/gconv_builtin.h: New file.
10269         * iconv/gconv_close.c: New file.
10270         * iconv/gconv_conf.c: New file.
10271         * iconv/gconv_db.c: New file.
10272         * iconv/gconv_dl.c: New file.
10273         * iconv/gconv_open.c: New file.
10274         * iconv/gconv_simple.c: New file.
10275         * iconv/iconv.c: New file.
10276         * iconv/iconv.h: New file.
10277         * iconv/iconv_close.c: New file.
10278         * iconv/iconv_open.c: New file.
10279         * include/gconv.h: New file.
10281         * Makeconfig: Define gconvdir.
10282         * Makefile (subdirs): Add iconv.
10284         * string/bits/string2.h: Add optimization for strtok_r.
10286         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10287         for NULL.
10288         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10289         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10291         * configure.in: Correct test for bash2.
10292         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10294         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
10295         (CFLAGS-locfile.c): Likewise.
10296         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10298         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
10299         non-existing entry if the table is full.
10301         * posix/regex.h: Pretty print.
10303         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
10305         * sysdeps/posix/ctermid.c: Simplify a bit.
10307         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
10309 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10311         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
10312         <sys/types.h> instead of <asm/types.h>.
10314 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10316         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
10318 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
10320         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
10321         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
10322         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
10323         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
10324         fclose): Added to GLIBC_2.1.
10326         * libio/Makefile (routines, shared-only-routines): Add
10327         oldiofclose.  Remove oldfreopen.
10329         * libio/freopen.c (freopen): When PIC is defined, call
10330         _IO_old_freopen () for old stdio.
10332         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
10333         (_IO_fclose, fclose): Use _IO_new_fclose as default version
10334         for GLIBC_2.1.
10336         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
10337         instead of _IO_file_close_it.
10339         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
10340         to _IO_2_1_stdxxx_.
10341         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
10342         is defined.
10344         * libio/libioP.h (_IO_old_do_flush): New.
10346         * libio/oldfileops.c (_IO_old_file_close_it,
10347         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
10348         Call _IO_old_do_flush () instead of _IO_do_flush ().
10349         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
10350         _IO_do_write ().
10352         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
10353         instead of _IO_file_init ().
10354         Bind old symbols to version GLIBC_2.0.
10356         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
10357         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
10358         _IO_stdxxx_.
10359         (_IO_check_libio): New function in .init.
10361         * libio/oldiofclose.c: New file.
10363         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
10364         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
10365         (DEF_STDFILE): Don't use default_symbol_version.
10367         * libio/stdio.c (stdin, stdout, stderr): Set to
10368         _IO_2_1_stdxxx_._
10369         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
10370         stdxxx.
10372         * csu/Makefile (distribute): Add init.c.
10373         (extra-objs): Add init.o for ELF.
10374         (start-installed-name): Add $(objpfx)init.o.
10376         * csu/init.c: New file.
10378 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10380         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
10381         definition as the default.
10383 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
10385         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
10387 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10389         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
10390         (PR 351).
10392 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
10394         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
10395         to preserve condition codes on function call.
10397 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10399         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
10401 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10403         * math/libm-test.c (asin_test): Add epsilon for float.
10404         (tan_test): Add epsilon for float.
10405         (log1p_test): Add epsilon for float.
10406         (inverse_functions): Add epsilons.
10408         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
10409         net/if_packet.h.
10411         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
10413 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10415         * md5-crypt/Makefile (extra-objs): Make recursively expanded
10416         variable, since $(object-suffixes) is not defined yet.
10418 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10420         * db2/Makefile (distribute): db185/db185_int.src ->
10421         db185/db185_int.h.
10423 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10425         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
10426         exactly one.
10428 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10430         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
10431         name.
10432         * sysdeps/generic/e_acosl.c: Likewise.
10433         * sysdeps/generic/e_asinl.c: Likewise.
10434         * sysdeps/generic/e_atan2l.c: Likewise.
10435         * sysdeps/generic/e_expl.c: Likewise.
10436         * sysdeps/generic/e_fmodl.c: Likewise.
10437         * sysdeps/generic/e_j0l.c: Likewise.
10438         * sysdeps/generic/e_j1l.c: Likewise.
10439         * sysdeps/generic/e_jnl.c: Likewise.
10440         * sysdeps/generic/e_lgammal_r.c: Likewise.
10441         * sysdeps/generic/e_log10l.c: Likewise.
10442         * sysdeps/generic/e_logl.c: Likewise.
10443         * sysdeps/generic/e_powl.c: Likewise.
10444         * sysdeps/generic/e_sqrtl.c: Likewise.
10445         * sysdeps/generic/e_exp2l.c: Likewise.
10447 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10449         * Make-dist (+sysdep-names): Remove extra paren.
10450         * Makefile (distribute): Add stub-tag.h.
10451         * elf/Makefile (distribute): Add atomicity.h.
10452         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
10453         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10454         [$(subdir)=socket]: Add net/if_packet.h.
10455         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
10456         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
10457         net/if_packet.h, scsi/sg.h.
10459 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10461         * Makefile (install): Quote $(CC) expansion.
10463 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10465         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
10466         working /proc cwd and no restrictions on path length.  Following
10467         some ideas from Andi Kleen <ak@muc.de> (PR 350).
10469 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10471         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
10472         * nis/nss_compat/compat-pwd.c: Likewise.
10473         * nis/nss_compat/compat-spwd.c: Likewise.
10475 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
10477         * sysdeps/libm-i387/s_fdim.S: New file.
10478         * sysdeps/libm-i387/s_fdimf.S: New file.
10479         * sysdeps/libm-i387/s_fdiml.S: New file.
10480         * sysdeps/libm-i387/i686/s_fdim.S: New file.
10481         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
10482         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
10484 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10486         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
10487         pointer to unsigned char.
10489 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10491         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
10493         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
10495         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
10497 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10499         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
10500         ilogb(0/NaN).
10501         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
10502         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
10504 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
10506         * sysdeps/libm-i387/s_fmin.S: New file.
10507         * sysdeps/libm-i387/s_fminf.S: New file.
10508         * sysdeps/libm-i387/s_fminl.S: New file.
10509         * sysdeps/libm-i387/s_fmax.S: New file.
10510         * sysdeps/libm-i387/s_fmaxf.S: New file.
10511         * sysdeps/libm-i387/s_fmaxl.S: New file.
10512         * sysdeps/libm-i387/i686/s_fmin.S: New file.
10513         * sysdeps/libm-i387/i686/s_fminf.S: New file.
10514         * sysdeps/libm-i387/i686/s_fminl.S: New file.
10515         * sysdeps/libm-i387/i686/s_fmax.S: New file.
10516         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
10517         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
10519 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
10521         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
10522         * sysdeps/unix/sysv/linux/send.S: Likewise.
10523         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10524         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10525         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10526         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10527         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10528         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10529         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
10531 See ChangeLog.7 for earlier changes.