Update.
[glibc.git] / ChangeLog
blob21297f29580294f287f5981e6f53046dfd61bb57
1 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3         * csu/Makefile: Build crt files in lib pass.
4         * db2/Makefile (distribute): Add mutex/sco.cc.
5         * mach/Machrules: Don't generate .udeps files if no_deps is set.
6         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
7         s-proto.d if avoid-generated is set.
9         * sysdeps/alpha/Dist: List only one file per line.
10         * sysdeps/generic/Dist: Likewise.
11         * sysdeps/m68k/fpu/switch/Dist: Likewise.
12         * sysdeps/sparc/sparc32/Dist: Likewise.
13         * sysdeps/unix/Dist: Likewise.
14         * sysdeps/unix/sysv/irix4/Dist: Likewise.
16         * sysdeps/mach/hurd/i386/Dist: New file.
17         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
18         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
19         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
20         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
22 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
24         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
25         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
27         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
29         * time/tzfile.c (decode): Optimize by using bswap_32.
30         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
31         __tzname array values.
32         (__tzfile_compute): Correct setting of __tzname array values.
33         * time/tzset.c (__tzstring): Clean up a bit.
35 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
37         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
39 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
41         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
42         that fd can be bigger than FD_SETSIZE.
44 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
46         * nscd/grpcache.c: Include <unistd.h>.
47         * nscd/pwdcache.c: Likewise.
49         * nis/nis_modify.c: Include <string.h>.
50         * nis/nis_add.c: Likewise.
51         * nis/nis_checkpoint.c: Likewise.
52         * posix/runptests.c: Likewise.
53         * sysdeps/generic/statvfs64.c: Likewise.
54         * sysdeps/generic/fstatvfs64.c: Likewise.
56 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
58         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
59         to match data from Unicode.
60         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
62 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
64         * stdio-common/printf.h: Define printf_function and
65         printf_arginfo_function types using __PMT not __P.
66         Reported by Marc Lehmann.
68 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
70         * assert/test-assert.c: New test.
71         * assert/test-assert-perr.c: New test.
72         * assert/Makefile (tests): Add test-assert and test-assert-perr.
74 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
76         BSD-style SCM_CREDS support.
78         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
79         SCM_CREDS.
80         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
81         visible SCM_CREDS packet to what the kernel wants.
82         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
83         SCM_CREDS packet output by kernel to what users want.
85         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
86         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
87         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
88         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
90         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
91         __sendmsg and __recvmsg to sysdep_routines.
92         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
94 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
96         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
97         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
98         * nscd/nscd.c: Check, if pthread_create fails.
100 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
102         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
103         format strings.
104         * stdio-common/bug1.c (main): Likewise.
105         * stdio-common/bug5.c (main): Likewise.
106         * stdio-common/tstgetln.c (main): Likewise.
107         * elf/sprof.c (generate_call_graph): Likewise.
108         (load_shobj): Likewise.
109         * posix/runptests.c (main): Likewise.
110         * string/tst-strlen.c (main): Likewise.
112         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
113         variable q3.
114         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
116 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
118         * wctype/Versions: Add __towctrans.
119         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
121 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
123         * grp/initgroups.c (compat_call): Only call dynamically loaded
124         functions if they are really present.
126 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
128         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
129         #ifdef that contains __BEGIN_DECLS.
131 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
133         * libio/iofwrite.c: Fix return value when size == 0.
135 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
137         * posix/Makefile (distribute): Add annexc.c.
138         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
140 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
143         bits/pthreadtypes.h here, and do not clobber headers.
145         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
147 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
149         * timezone/tst-timezone.c: Add tests for tzname variable.
151 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
153         * Makefile [versioning=yes]: Build the mapfiles with a pattern
154         rule that lists all of them as targets.
155         (sysd-versions): Depend only on Versions.def.  Write a Makefile
156         fragment that defines $(vers-libs) based on contents of that file;
157         then include it.
158         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
159         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
160         Predicate all this on avoid-generated unset as well as versioning.
162 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
164         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
166 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
168         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
169         a copy.
170         * Makefile: Add rules to generate map files.
171         (distribute): Remove libc.map, add Versions.def and versions.awk.
172         * Makerules: Change rules to find map files on common-objpfx.
173         * elf/Makefile: Likewise.
174         * md5-crypt/Makefile: Likewise.
175         * nis/Makefile (libnsl-map): Remove.
176         * Versions.def: New file.
177         * versions.awk: New file.
178         * argp/Versions: New file.
179         * assert/Versions: New file.
180         * catgets/Versions: New file.
181         * csu/Versions: New file.
182         * ctype/Versions: New file.
183         * db/Versions: New file.
184         * debug/Versions: New file.
185         * dirent/Versions: New file.
186         * elf/Versions: New file.
187         * gmon/Versions: New file.
188         * grp/Versions: New file.
189         * hesiod/Versions: New file.
190         * hurd/Versions: New file.
191         * iconv/Versions: New file.
192         * inet/Versions: New file.
193         * intl/Versions: New file.
194         * io/Versions: New file.
195         * libio/Versions: New file.
196         * linuxthreads/Versions: New file.
197         * locale/Versions: New file.
198         * login/Versions: New file.
199         * malloc/Versions: New file.
200         * math/Versions: New file.
201         * md5-crypt/Versions: New file.
202         * misc/Versions: New file.
203         * nis/Versions: New file.
204         * nss/Versions: New file.
205         * posix/Versions: New file.
206         * pwd/Versions: New file.
207         * resolv/Versions: New file.
208         * resource/Versions: New file.
209         * rt/Versions: New file.
210         * setjmp/Versions: New file.
211         * shadow/Versions: New file.
212         * signal/Versions: New file.
213         * socket/Versions: New file.
214         * stdio/Versions: New file.
215         * stdio-common/Versions: New file.
216         * stdlib/Versions: New file.
217         * streams/Versions: New file.
218         * string/Versions: New file.
219         * sunrpc/Versions: New file.
220         * sysdeps/alpha/Versions: New file.
221         * sysdeps/alpha/fpu/Versions: New file.
222         * sysdeps/i386/Versions: New file.
223         * sysdeps/sparc/Versions: New file.
224         * sysdeps/unix/sysv/Versions: New file.
225         * sysdeps/unix/sysv/linux/Versions: New file.
226         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
227         * sysdeps/unix/sysv/linux/i386/Versions: New file.
228         * sysdeps/unix/sysv/linux/mips/Versions: New file.
229         * sysvipc/Versions: New file.
230         * termios/Versions: New file.
231         * time/Versions: New file.
232         * wcsmbs/Versions: New file.
233         * wctype/Versions: New file.
234         * libc.map: Removed.
235         * db/libdb.map: Removed.
236         * elf/libdl.map: Removed.
237         * hesiod/libnss_hesiod.map: Removed.
238         * hurd/libhurduser.map: Removed.
239         * hurd/libmachuser.map: Removed.
240         * linuxthreads/libpthread.map: Removed.
241         * locale/libBrokenLocale.map: Removed.
242         * login/libutil.map: Removed.
243         * math/libm.map: Removed.
244         * md5-crypt/libcrypt.map: Removed.
245         * nis/libnsl.map: Removed.
246         * nis/libnsl_compat.map: Removed.
247         * nis/libnss_nis.map: Removed.
248         * nis/libnss_nisplus.map: Removed.
249         * nss/libnss_db.map: Removed.
250         * nss/libnss_files.map: Removed.
251         * resolv/libnss_dns.map: Removed.
252         * resolv/libresolv.map: Removed.
253         * rt/librt.map: Removed.
255         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
256         Fix typos.
258         * elf/rtld.c (process_dl_debug): Recognize 'all'.
259         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
261         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
262         correct size.
264 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
266         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
267         in comment.
269         * nscd/nscd.c: Include unistd.h.
271 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
273         * math/libm-test.c: Adjust delta for indentities1_test because gcc
274         became cleverer.
276 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
278         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
280 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
282         * scripts/test-installation.pl: Include <stdio.h> in test program
283         to make it strictly conforming.
285 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
287         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
288         not a strong alias.
289         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
292         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
294 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
296         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
297         not a strong alias.
299 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
301         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
302         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
303         bits/pthreadtypes.h.
305 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
307         * include/aio.h: New file.
308         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
309         (tests): Build and run annexc program.
310         * posix/annexc.c: New file.
311         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
312         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
313         * rt/aio_misc.c: Include limits.h.
314         * rt/aio_notify.c: Include errno.h.
315         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
316         Define size_t.
317         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
318         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
319         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
320         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
321         kernel doesn't do this.
322         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
323         __USE_LARGEFILE64 is defined.
324         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
325         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
326         if requested.
327         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
329         * stdlib/isomac.c: Avoid include_next warning.
331 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
333         * argp/argp.h: Use __PMT instead of __P for function pointer.
334         * iconv/gconv.h: Likewise.
335         * io/fts.h: Likewise.
336         * io/ftw.h: Likewise.
337         * libio/libio.h: Likewise.
338         * malloc/mcheck.h: Likewise.
339         * misc/search.h: Likewise.
340         * posix/glob.h: Likewise.
341         * resolv/resolv.h: Likewise.
342         * signal/signal.h: Likewise.
343         * stdlib/stdlib.h: Likewise.
344         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
345         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
347 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
349         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
351 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
353         * posix/wordexp.c (parse_param): Fix memory leak.
355 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
357         * libc.map: Export _IO_ftrylockfile.
359 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
361         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
362         __get[pu]id.
364 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
366         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
368         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
369         same search list twice.
371 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
373         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
374         used to optimize loop/select.
376 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
378         * sysdeps/generic/init-first.c: Don't define __libc_pid.
379         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
380         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
381         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
382         * sysdeps/arm/init-first.c: Likewise.
383         * posix/getopt_init.c: Don't use __libc_pid.
384         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
385         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
386         * libc.map: Remove __libc_uid and __libc_pid.
388 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
390         * sunrpc/rtime.c (rtime): Use poll instead of select.
392 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
394         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
395         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
396         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
397         Patches from FreeBSD current.
399 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
401         * nscd/connections.c (handle_new_request): Handle POLLHUP
402         correctly.
403         (close_sockets): Correct parameter to dbg_log.
405 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
408         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
409         (elf_machine_fixup_plt): Likewise.
410         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
411         _dl_pagesize not set, use system call to always get correct answer.
412         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
413         (__syscall_getpagesize): Add
415 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
417         * resolv/res_send.c (res_send): Fix typo.
419 1998-06-25  Andi Kleen <ak@muc.de>
421         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
422         * resolv/res_send.c (res_send): Likewise.
424 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
426         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
427         * sysdeps/unix/sysv/linux/poll.c: Likewise.
429 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
431         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
432         * math/atest-exp2.c (exp_mpn, main): Likewise.
433         * math/atest-sincos.c (main): Likewise.
435         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
436         base handling away from strtoul.  Always reset errno.
438         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
440         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
441         _dl_profile_map if _dl_name_match_p.
442         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
443         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
445         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
446         as early-clobber.
448         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
449         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
450         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
452 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
454         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
456 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
458         * nis/nis_call.c: Don't copy server structure.
459         * nis/nis_intern.h: Remove unused entries.
460         * nis/nis_table.c: Rewrite __create_ib_request.
462 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
464         * configure.in: Check for -fexceptions.
465         * config.make.in: Define exceptions, not no-exceptions.
466         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
467         __P to use throw().
468         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
469         $(exceptions).
470         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
471         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
472         lfind, and lsearch prototpypes.
473         * stdlib/stdlib.h: Likewise for bsearch and qsort.
475 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
477         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
479 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
481         * Makefile (remove-old-headers): Make phony.
483         * configure.in: Substitute @old_glibc_headers@.
485 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
487         * libc.map: Remove __libc_uid.
489 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
491         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
492         typos.
494 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
496         * libc.map: Add Alpha-specific io function from protected namespace.
498 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
500         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
501         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
502         CPPFLAGS.
504         * libc.map: Export __sigaction.
506 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
508         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
509         (from Linux 2.1.107).
511 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
513         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
514         position when file was opened here.
515         Reported by Howard Chu <hyc@platinum.com>.
517         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
518         undefined in a second inclusion.
520 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
522         * sysdeps/mach/hurd/i386/Makefile: New file.
523         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
524         __libc_init_secure.
525         (_hurd_stack_setup): Renamed
526         from __libc_init_first.
527         (__libc_init_first): New function.
528         * sysdeps/mach/hurd/i386/static-start.S: New file.
530 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
532         * sysdeps/mach/hurd/i386/init-first.c
534 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
536         * grp/initgroups.c: Use _CALL_DL_FCT.
538 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
540         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
542 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
544         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
546 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
548         * config.make.in: Remove LDAP support.
549         * nss/Makefile: Likewise.
551 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
553         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
554         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
555         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
556         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
558 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
560         * mach/Makefile: Change `mv' invocations to `mv -f'.
561         * mach/Machrules: Likewise.
563 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
565         * config.make.in (old-glibc-headers): Add it.
567         * configure.in: Add test for glibc 2.0.x headers.
569         * Makefile (headers2_0): New variable - contains so far only
570         Linux/Intel glibc 2.0.x headers.
571         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
572         (install): Depend on remove-old-headers.
574 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
576         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
577         make ftruncate a weak alias.
578         * sysdeps/mach/hurd/ftruncate.c: Really define function as
579         __ftruncate.
580         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
581         (truncate): Fix function defenition to match prototype.
583 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
585         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
586         unlockpt, ptsname, ptsname_r, openpty and forkpty.
588 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
590         * sysdeps/generic/glob.c: Make it possible to include glob.h
591         before loading glob.c.
592         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
594 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
596         * nscd/connections.c: Use poll() instead of select().
598 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
600         * sysdeps/generic/Dist: Fix typo.
602 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
604         * nis/nis_add.c: Avoid unnecessary strlen () calls.
605         * nis/nis_addmember.c: Likewise.
606         * nis/nis_call.c: Likewise.
607         * nis/nis_creategroup.c: Likewise.
608         * nis/nis_destroygroup.c: Likewise.
609         * nis/nis_findserv.c: Likewise.
610         * nis/nis_ismember.c: Likewise.
611         * nis/nis_print.c: Likewise.
612         * nis/nis_print_group_entry.c: Likewise.
613         * nis/nis_removemember.c: Likewise.
614         * nis/nis_verifygroup.c: Likewise.
615         * nis/ypclnt.c: Likewise.
617         * nis/nis_file.c: Close file handles.
619         * nis/nis_callback.c: Fix typo.
621 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
623         * nis/Makefile: Add nis-initgroups and compat-initgroups.
624         * nis/libnss_compat.map: Add _nss_compat_initgroups.
625         * nis/libnss_nis.map: Add _nss_nis_initgroups.
626         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
627         * nis/nss_nis/nis-initgroups.c: Likewise.
628         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
629         __nss_lookup_function and make it public.
630         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
631         module if exists, else use old method.
633 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
635         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
636         definition.
637         * nss/getXXent_r.c (set_function, end_function, get_function):
638         Likewise.  Reported by Thorsten Kukuk.
640         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
642 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
644         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
645         1998-06-16 and distribute kernel_termios.h.
647         * nis/Makefile (distribute): Add nis_xdr.h.
649 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
651         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
652         kernels that don't have sigaltstack.
654 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
656         * sysdeps/generic/bits/sem.h: Don't define union semun.
658         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
660         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
661         here.
662         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
663         definition here.
665 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
667         * signal/signal.h: Add prototype for __sigaltstack.
668         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
669         Remove sigstack entry.
670         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
671         * sysdeps/unix/sysv/linux/sigstack.c: New file.
673         * sysdeps/i386/backtrace.c: Add casts.
675 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
677         * intl/dcgettext.c: use complete type name.
678         * intl/hash-string.h: Likewise.
680         * intl/localealias.c: Undo patch from 1998-04-29.
681         * intl/l10nflist.c: Likewise.
682         * intl/loadinfo.h: Likewise.
684 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
686         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
688 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
690         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
691         _dl_mcount, _dl_mcount_wrapper.
692         * elf/Makefile (routines): Add dl-profstub.
693         * elf/dl-profstub.c: New file.
694         * elf/dl-support.c: Don't define _dl_profile_map.
695         * elf/rtld.c: Likewise.
696         * elf/dlfcn.h: Define DL_CALL_FCT macro.
697         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
698         Define _CALL_DL_FCT.
699         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
700         loaded object.
701         * iconv/gconv_db.c: Likewise.
702         * iconv/skeleton.c: Likewise.
703         * nss/getXXbyYY_r.c: Likewise.
704         * nss/getXXent_r.c: Likewise.
705         * nss/nsswitch.c: Likewise.
707 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
709         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
710         * sysdeps/libm-i387/e_scalbf.S: Likewise.
711         * sysdeps/libm-i387/e_scalbl.S: Likewise.
713 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
715         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
716         longestdbl.
718 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
720         * iconvdata/Makefile (modules): Add MACINTOSH.
721         (MACINTOSH-routines): New variable.
722         (distribute): Add macintosh.c.
723         (awk-generated-headers): Add macintosh.h.
724         Add rule for macintosh.h generation.
725         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
726         * iconvdata/macintosh.c: New file.
728 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
730         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
732         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
733         only should happen for cy != 0.
735         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
736         glob.h.
738 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
740         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
741         to compare stack addresses.
743 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
745         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
746         defining prototypes.
748 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
750         * sysdeps/sparc/sparc32/dl-machine.h
751         (elf_machine_fixup_plt): During rtld bootstrap, always perform
752         flushes as the kernel will emulate it when the underlying cpu does
753         not implement flush.
755         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
756         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
758         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
759         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
760         trampoline code.
762         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
763         (__clone): Branch to label .Lerror not __clone_syscall_error.
764         (.Lerror): Fixup EINVAL setting.
765         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
766         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
767         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
768         (__syscall_getgroups, __syscall_setgroups): Add.
770         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
771         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
772         around sa_mask data.
774 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
776         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
778         * string/Makefile: Make sure test-ffs does not use builtins.
780 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
782         * sunrpc/svc.c: Check for NULL pointer.
784         * nis/libnsl.map: Add public NIS+ xdr functions.
786         * nis/rpcsvc/nis_callback.h: New file.
787         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
788         * nis/nis_xdr.h: ... here.
790         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
791         pointers, use NIS+ defines where possible.
792         * nis/nis_cache.c: Likewise.
793         * nis/nis_cache2_xdr.c: Likewise.
794         * nis/nis_call.c: Likewise.
795         * nis/nis_checkpoint.c: Likewise.
796         * nis/nis_clone_dir.c: Likewise.
797         * nis/nis_clone_obj.c: Likewise.
798         * nis/nis_clone_res.c: Likewise.
799         * nis/nis_creategroup.c: Likewise.
800         * nis/nis_file.c: Likewise.
801         * nis/nis_free.c: Likewise.
802         * nis/nis_getservlist.c: Likewise.
803         * nis/nis_local_names.c: likewise.
804         * nis/nis_lookup.c: Likewise.
805         * nis/nis_mkdir.c: Likewise.
806         * nis/nis_modify.c: Likewise.
807         * nis/nis_ping.c: Likewise.
808         * nis/nis_print.c: Likewise.
809         * nis/nis_remove.c: Likewise.
810         * nis/nis_removemember.c: Likewise.
811         * nis/nis_rmdir.c: Likewise.
812         * nis/nis_server.c: Likewise.
813         * nis/nis_table.c: Likewise.
814         * nis/nis_util.c: Likewise.
815         * nis/nis_verifygroup.c: Likewise.
816         * nis/nis_xdr.c: Likewise.
817         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
818         * nis/nis_xdr.c: ... to here.
820 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
822         * iconvdata/ksc5601.h: Clean up a bit.
824 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
826         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
827         and process incoming data.
828         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
829         fragments as invalid.
830         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
832 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
834         Removal of duplicates like "the the".
835         * manual/time.texi (TZ Variable): Likewise.
836         * manual/users.texi (Manipulating the Database): Likewise.
837         * manual/sysinfo.texi (Filesystem handling): Likewise.
838         * manual/signal.texi (Signaling Yourself): Likewise.
839         * manual/message.texi (Message Translation): Likewise.
840         (Common Usage): Likewise.
841         * manual/llio.texi: Likewise.
842         * manual/arith.texi (Old-style number conversion): Likewise.
843         * manual/argp.texi (Argp): Likewise.
844         (Argp Parsers): Likewise.
845         (Argp Help Filtering): Likewise.
847         * hesiod/README.hesiod: Correct typo.
849         * manual/llio.texi: Correct typos.
850         * manual/sysinfo.texi: Likewise.
852 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
854         * rt/aio.h: Rename __op to __operation for g++.
856 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
858         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
859         script.
860         * iconvdata/gen-8bit-gap-1.sh: Likewise.
861         * iconvdata/gen-8bit.sh: Clean up sed script.
863         * iconvdata/Makefile: Remove all PERL conditionals; build all
864         the modules all the time.  Export AWK.
865         (gen-8bit-gap): Delete setting of PERL.
866         (gen-8bit-gap-1): Likewise.
867         (perl-generated-headers): Renamed awk-generated-headers.
869         * iconvdata/gap.pl: Removed.
870         * iconvdata/gaptab.pl: Removed.
871         * iconvdata/gap.awk: New file.
872         * iconvdata/gaptab.awk: New file.
874 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
876         * sysdeps/generic/Dist: Add errno-loc.c.
878         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
879         __new_* functions.
881 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
883         * stdio-common/bug12.c: New test for fread()/fseek().
884         * stdio-common/Makefile (tests): Add bug12.
886 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
888         * sysdeps/generic/elf/backtracesyms.c: Make array elements
889         constant.
890         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
891         * debug/execinfo.h: Update declaration.
893 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
895         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
896         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
897         * debug/execinfo.h: Update declaration.
899 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
901         * manual/llio.texi: Fix spelling.
902         * manual/sysinfo.texi: Fix spelling.
904 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
906         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
907         alias for old name.  Put this on __libc_subfreeres.
908         * misc/search.h: Declare it.
910 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
912         * string/bits/string2.h (strcmp): Add missing parens around macro
913         parameters.
915 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
917         * manual/arith.texi: Fix problem with @math and texinfo.tex.
919         * manual/filesys.texi: Document LFS functions.
920         * manual/llio.texi: Likewise.
921         * manual/stdio.texi: Likewise.
922         * manual/time.texi: Likewise.
924         * manual/llio.texi: Document AIO functions.
926         * resource/sys/resource.h: Mark second argument of setrlimit as const.
927         * sysdeps/generic/setrlimit.c: Likewise.
928         * sysdeps/generic/setrlimit64.c: Likewise.
929         * sysdeps/mach/hurd/setrlimit.c: Likewise.
930         * sysdeps/unix/sysv/setrlimit.c: Likewise.
932 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
934         * sysdeps/generic/getenv.c: Fix last change.
936 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
938         * sysdeps/generic/backtrace.c: Provide generic implementation.
940 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
942         * configure.in: Give visual feedback of the default directories we
943         added.
945 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
947         * io/fts.c (fts_build): Define oflag only if needed.
949 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
951         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
953 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
955         * libc.map: Don't export argp's fmtstream handling functions.
957         * manual/sysinfo.texi: Document fstab and mtab handling functions.
958         * manual/llio.texi: Document more LFS functions and start documenting
959         the AIO functions.
961 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
963         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
964         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
965         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
966         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
968 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
970         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
971         makes it easier to undump emacs.
972         * sysdeps/powerpc/bits/endian.h: Use more informative error message
973         for when the endianness can't be determined.
975 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
977         * nss/Makefile: Add files publickey database support.
978         * nss/libnss_files.map: Export the required functions.
979         * nss/nss_files/files-key.c: Implement it.
980         * sunrpc/rpc/auth_des.h: Correct typos in comments.
982 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
984         * iconv/gconv_builtin.h: Add aliases for CORBA.
985         * iconvdata/gconv-modules: Likewise.
987 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
989         * math/libm-test.c (main): Call exp10_test.
990         (exp10_test): New function which tests exp10.
992 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
994         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
995         sigstack.
997         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
998         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
999         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1001 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1003         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1004         in the variable, not its GOT slot.
1006 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1008         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1009         inline.
1010         * sysdeps/m68k/fpu/e_exp10.c: New file.
1011         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1012         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1014         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1015         _dl_profile_map only if the name matches.
1016         (_dl_start_user): Remember stack address.
1017         * sysdeps/m68k/elf/start.S: Pass new argument to
1018         __libc_start_user.
1020         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1021         definition.
1022         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1023         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1024         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1026         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1028 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1030         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1031         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1032         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1033         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1034         prototypes.
1035         * sysdeps/libm-i387/e_exp10.S: New file.
1036         * sysdeps/libm-i387/e_exp10f.S: New file.
1037         * sysdeps/libm-i387/e_exp10l.S: New file.
1038         * sysdeps/libm-ieee754/e_exp10.c: New file.
1039         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1040         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1041         * sysdeps/libm-ieee754/w_exp10.c: New file.
1042         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1043         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1044         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1046 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1048         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1049         sys/elf.h and sys/reg.h.
1050         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1051         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1052         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1053         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1055         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1056         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1058 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1060         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1061         __data member only for gcc.  Reported by ak@muc.de.
1063         * misc/mntent.h: Undo last patch.
1064         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1065         * misc/tst/mntent.c: Adjust code for this change.
1067         * io/fts.c: Updated from a slightly more recent BSD version.
1068         * io/fts.h: Likewise.
1070         * libc.map: Add __libc_stack_end.
1072         * db2/Makefile (routines): Add lock_region.
1073         * db2/config.h: Update from db-2.4.14.
1074         * db2/db.h: Likewise.
1075         * db2/db_185.h: Likewise.
1076         * db2/db_int.h: Likewise.
1077         * db2/btree/bt_close.c: Likewise.
1078         * db2/btree/bt_compare.c: Likewise.
1079         * db2/btree/bt_conv.c: Likewise.
1080         * db2/btree/bt_cursor.c: Likewise.
1081         * db2/btree/bt_delete.c: Likewise.
1082         * db2/btree/bt_open.c: Likewise.
1083         * db2/btree/bt_page.c: Likewise.
1084         * db2/btree/bt_put.c: Likewise.
1085         * db2/btree/bt_rec.c: Likewise.
1086         * db2/btree/bt_recno.c: Likewise.
1087         * db2/btree/bt_rsearch.c: Likewise.
1088         * db2/btree/bt_search.c: Likewise.
1089         * db2/btree/bt_split.c: Likewise.
1090         * db2/btree/bt_stat.c: Likewise.
1091         * db2/btree/btree.src: Likewise.
1092         * db2/btree/btree_auto.c: Likewise.
1093         * db2/clib/getlong.c: Likewise.
1094         * db2/common/db_appinit.c: Likewise.
1095         * db2/common/db_apprec.c: Likewise.
1096         * db2/common/db_byteorder.c: Likewise.
1097         * db2/common/db_err.c: Likewise.
1098         * db2/common/db_log2.c: Likewise.
1099         * db2/common/db_region.c: Likewise.
1100         * db2/common/db_salloc.c: Likewise.
1101         * db2/common/db_shash.c: Likewise.
1102         * db2/db/db.c: Likewise.
1103         * db2/db/db.src: Likewise.
1104         * db2/db/db_auto.c: Likewise.
1105         * db2/db/db_conv.c: Likewise.
1106         * db2/db/db_dispatch.c: Likewise.
1107         * db2/db/db_dup.c: Likewise.
1108         * db2/db/db_overflow.c: Likewise.
1109         * db2/db/db_pr.c: Likewise.
1110         * db2/db/db_rec.c: Likewise.
1111         * db2/db/db_ret.c: Likewise.
1112         * db2/db/db_thread.c: Likewise.
1113         * db2/db185/db185.c: Likewise.
1114         * db2/db185/db185_int.h: Likewise.
1115         * db2/dbm/dbm.c: Likewise.
1116         * db2/hash/hash.c: Likewise.
1117         * db2/hash/hash.src: Likewise.
1118         * db2/hash/hash_auto.c: Likewise.
1119         * db2/hash/hash_conv.c: Likewise.
1120         * db2/hash/hash_debug.c: Likewise.
1121         * db2/hash/hash_dup.c: Likewise.
1122         * db2/hash/hash_func.c: Likewise.
1123         * db2/hash/hash_page.c: Likewise.
1124         * db2/hash/hash_rec.c: Likewise.
1125         * db2/hash/hash_stat.c: Likewise.
1126         * db2/include/btree.h: Likewise.
1127         * db2/include/btree_ext.h: Likewise.
1128         * db2/include/clib_ext.h: Likewise.
1129         * db2/include/common_ext.h: Likewise.
1130         * db2/include/cxx_int.h: Likewise.
1131         * db2/include/db.h.src: Likewise.
1132         * db2/include/db_185.h.src: Likewise.
1133         * db2/include/db_am.h: Likewise.
1134         * db2/include/db_auto.h: Likewise.
1135         * db2/include/db_cxx.h: Likewise.
1136         * db2/include/db_dispatch.h: Likewise.
1137         * db2/include/db_ext.h: Likewise.
1138         * db2/include/db_int.h.src: Likewise.
1139         * db2/include/db_page.h: Likewise.
1140         * db2/include/db_shash.h: Likewise.
1141         * db2/include/db_swap.h: Likewise.
1142         * db2/include/hash.h: Likewise.
1143         * db2/include/hash_ext.h: Likewise.
1144         * db2/include/lock.h: Likewise.
1145         * db2/include/lock_ext.h: Likewise.
1146         * db2/include/log.h: Likewise.
1147         * db2/include/log_ext.h: Likewise.
1148         * db2/include/mp.h: Likewise.
1149         * db2/include/mp_ext.h: Likewise.
1150         * db2/include/mutex_ext.h: Likewise.
1151         * db2/include/os_ext.h: Likewise.
1152         * db2/include/os_func.h: Likewise.
1153         * db2/include/queue.h: Likewise.
1154         * db2/include/shqueue.h: Likewise.
1155         * db2/include/txn.h: Likewise.
1156         * db2/lock/lock.c: Likewise.
1157         * db2/lock/lock_conflict.c: Likewise.
1158         * db2/lock/lock_deadlock.c: Likewise.
1159         * db2/lock/lock_region.c: Likewise.
1160         * db2/lock/lock_util.c: Likewise.
1161         * db2/log/log.c: Likewise.
1162         * db2/log/log.src: Likewise.
1163         * db2/log/log_archive.c: Likewise.
1164         * db2/log/log_auto.c: Likewise.
1165         * db2/log/log_compare.c: Likewise.
1166         * db2/log/log_findckp.c: Likewise.
1167         * db2/log/log_get.c: Likewise.
1168         * db2/log/log_put.c: Likewise.
1169         * db2/log/log_rec.c: Likewise.
1170         * db2/log/log_register.c: Likewise.
1171         * db2/mp/mp_bh.c: Likewise.
1172         * db2/mp/mp_fget.c: Likewise.
1173         * db2/mp/mp_fopen.c: Likewise.
1174         * db2/mp/mp_fput.c: Likewise.
1175         * db2/mp/mp_fset.c: Likewise.
1176         * db2/mp/mp_open.c: Likewise.
1177         * db2/mp/mp_pr.c: Likewise.
1178         * db2/mp/mp_region.c: Likewise.
1179         * db2/mp/mp_sync.c: Likewise.
1180         * db2/mutex/68020.gcc: Likewise.
1181         * db2/mutex/mutex.c: Likewise.
1182         * db2/mutex/parisc.gcc: Likewise.
1183         * db2/mutex/parisc.hp: Likewise.
1184         * db2/mutex/sco.cc: Likewise.
1185         * db2/os/os_abs.c: Likewise.
1186         * db2/os/os_alloc.c: Likewise.
1187         * db2/os/os_config.c: Likewise.
1188         * db2/os/os_dir.c: Likewise.
1189         * db2/os/os_fid.c: Likewise.
1190         * db2/os/os_fsync.c: Likewise.
1191         * db2/os/os_map.c: Likewise.
1192         * db2/os/os_oflags.c: Likewise.
1193         * db2/os/os_open.c: Likewise.
1194         * db2/os/os_rpath.c: Likewise.
1195         * db2/os/os_rw.c: Likewise.
1196         * db2/os/os_seek.c: Likewise.
1197         * db2/os/os_sleep.c: Likewise.
1198         * db2/os/os_spin.c: Likewise.
1199         * db2/os/os_stat.c: Likewise.
1200         * db2/os/os_unlink.c: Likewise.
1201         * db2/progs/db_archive/db_archive.c: Likewise.
1202         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
1203         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
1204         * db2/progs/db_dump/db_dump.c: Likewise.
1205         * db2/progs/db_dump185/db_dump185.c: Likewise.
1206         * db2/progs/db_load/db_load.c: Likewise.
1207         * db2/progs/db_printlog/db_printlog.c: Likewise.
1208         * db2/progs/db_recover/db_recover.c: Likewise.
1209         * db2/progs/db_stat/db_stat.c: Likewise.
1210         * db2/txn/txn.c: Likewise.
1211         * db2/txn/txn.src: Likewise.
1212         * db2/txn/txn_auto.c: Likewise.
1213         * db2/txn/txn_rec.c: Likewise.
1215         * elf/rtld.c: Move definition of __libc_stack_end to ...
1216         * sysdeps/generic/dl-sysdep.h: ...here.
1218         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
1219         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
1220         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
1222         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
1223         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
1224         before following it.
1226 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
1228         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
1229         from mntent correctly.
1231 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1233         * sunrpc/Makefile (generated): Correct typo.
1235 1998-06-04  Philip Blundell  <philb@gnu.org>
1237         * elf/elf.h (EM_ARM, et al.): New definitions.
1238         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
1240 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
1242         * localedata/SUPPORTED: Add sk_SK.
1243         * localedata/locales/sk_SK: New file.
1245 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
1247         * Makeconfig (subdirs): Add debug.
1248         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
1249         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
1250         backtrace_symbols.
1251         * sysdeps/generic/backtrace.c: New file.
1252         * sysdeps/generic/backtracesyms.c: New file.
1253         * sysdeps/generic/elf/backtracesyms.c: New file.
1254         * sysdeps/i386/backtrace.c: New file.
1255         * debug/Makefile: New file.
1256         * debug/backtrace-tst.c: New file.
1257         * debug/execinfo.h: New file.
1259 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
1261         * elf/sprof.c: Implement call graph profiling.
1263         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1265 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1267         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
1268         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
1269         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
1270         Noticed by Jake Garver <garver@valkyrie.net>.
1272 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1274         * libio/genops.c (__underflow): Read character from read pointer
1275         as unsigned.
1276         (__uflow): Likewise.
1278 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
1280         * libc.map: Add _dl_profile.
1281         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
1282         this to ELF_DYNAMIC_RELOCATE.
1283         Always allocate array for relocation result if LD_PROFILE is defined.
1284         * elf/ldsodefs.h: Adjust prototypes.
1285         * elf/dl-open.c (_dl_open): Call relocation function with extra
1286         argument.
1287         * elf/rtld.c: Likewise.
1288         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
1289         Correct loop condition.
1290         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
1291         consider_profile to runtime setup function.
1292         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
1293         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
1295         * elf/dl-support.c: Define __libc_stack_end.
1296         * elf/rtld.c: Likewise.
1297         * sysdeps/generic/libc-start.c: Store last stack address in
1298         __libc_stack_end.
1299         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
1300         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
1302         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
1303         Include <stdint.h>, not <inttypes.h>.
1305         * elf/sprof.c: Implement flat profiling.
1307         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
1308         _IO_funlockfile explicitly.
1309         * libio/fileops.c: Likewise.
1310         * libio/fputc.c: Likewise.
1311         * libio/freopen.c: Likewise.
1312         * libio/freopen64.c: Likewise.
1313         * libio/fseek.c: Likewise.
1314         * libio/fseeko.c: Likewise.
1315         * libio/fseeko64.c: Likewise.
1316         * libio/ftello.c: Likewise.
1317         * libio/ftello64.c: Likewise.
1318         * libio/getc.c: Likewise.
1319         * libio/getchar.c: Likewise.
1320         * libio/iofclose.c: Likewise.
1321         * libio/iofflush.c: Likewise.
1322         * libio/iofgetpos.c: Likewise.
1323         * libio/iofgetpos64.c: Likewise.
1324         * libio/iofgets.c: Likewise.
1325         * libio/iofputs.c: Likewise.
1326         * libio/iofread.c: Likewise.
1327         * libio/iofsetpos.c: Likewise.
1328         * libio/iofsetpos64.c: Likewise.
1329         * libio/ioftell.c: Likewise.
1330         * libio/iofwrite.c: Likewise.
1331         * libio/iogetdelim.c: Likewise.
1332         * libio/iogets.c: Likewise.
1333         * libio/ioputs.c: Likewise.
1334         * libio/ioseekoff.c: Likewise.
1335         * libio/ioseekpos.c: Likewise.
1336         * libio/iosetbuffer.c: Likewise.
1337         * libio/iosetvbuf.c: Likewise.
1338         * libio/ioungetc.c: Likewise.
1339         * libio/iovsprintf.c: Likewise.
1340         * libio/iovsscanf.c: Likewise.
1341         * libio/oldfileops.c: Likewise.
1342         * libio/oldiofclose.c: Likewise.
1343         * libio/peekc.c: Likewise.
1344         * libio/putc.c: Likewise.
1345         * libio/putchar.c: Likewise.
1346         * libio/rewind.c: Likewise.
1348         * malloc/mtrace.c: Pretty print.
1350         * misc/mntent.h (struct mentent): Make string elements const char *.
1352         * nis/nis_printf.c: Optimize I/O a little bit.
1354         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
1355         * sysdeps/generic/sigset-cvt-mask.h: New file.
1356         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
1357         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
1358         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
1359         sigset-cvt-mask.h to do the dirty work.
1360         Patches by Joe Keane.
1362         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
1364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
1365         syscall_error label in case of PIC anonymous.
1366         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
1367         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
1368         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
1369         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
1370         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
1371         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
1372         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
1374 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
1376         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
1377         we cannot declare the struct element as const.
1378         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
1379         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
1381 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1383         * manual/Makefile: Include ../Makeconfig earlier.
1384         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
1385         exist.
1386         (dir-add.texinfo): Remove useless $(SHELL).
1388 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1390         * Makefile (others): Build programs from install-bin.
1391         * configure.in: Modify config.make only if is was just created and
1392         move that command to second argument of AC_OUTPUT.  Add command to
1393         set config_vars in config.status.
1395 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1397         * malloc/Makefile (address-width): Fix conditional.
1399 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1401         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
1402         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
1403         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
1404         version GLIBC_2.1.
1406 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1408         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
1409         (Floating Point Parameters): Likewise.
1411 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1413         * hurd/Makefile (routines): Add cthreads.
1415 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1417         * login/login.c (login): Let pututline take care of finding the
1418         positin to insert the UTMP entry.  This corrects a bug where ssh
1419         was not reusing UTMP entries marked as DEAD_PROCESS.
1420         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
1422 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1424         * login/Makefile (tests): New variable, add tst-utmp and
1425         tst-utmpx.
1426         * login/tst-utmp.c: New file.
1427         * login/tst-utmpx.c: New file.
1429 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1431         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
1432         aliases for _hurd_nerr, for programs that don't use sys_errlist,
1433         but need sys_err.
1435 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1437         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
1438         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
1440 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1442         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
1443         make __read a weak alias.  Use ANSI-style function definition.
1444         * sysdeps/mach/hurd/write.c: Likewise.
1446 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
1448         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
1449         _sys_errlist.
1451 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1453         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
1454         Renamed from librtld.so.
1456 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1458         * libc.map: Remove _IO_getline_info which was erroneously
1459         introduced in section GLIBC_2.0.
1460         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1462 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1464         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
1465         created a weak alias.
1466         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1468 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
1470         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
1471         ftruncate function, and create a weak alias to ftruncate.
1473 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1475         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
1476         * inet/getnetgrent_r.c: Likewise.
1477         * nss/getXXbyYY_r.c: Likewise.
1478         * nss/getXXent_r.c: Likewise.
1479         * pwd/fgetpwent_r.c: Likewise.
1480         * shadow/sgetspent_r.c: Likewise.
1481         * shadow/fgetspent_r.c: Likewise.
1482         * sunrpc/publickey.c: Likewise.
1484 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
1486         * hurd/libhurduser.map: New file.
1487         * mach/libmachuser.map: Likewise.
1489         * libc.map: Add Hurd-specific functions to version 2.1.
1490         Add __flshfp and __fillbf.
1492 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1494         * manual/signal.texi (Basic Signal Handling): Fix typo.
1495         * manual/errno.texi (Error Codes): Likewise.
1497 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
1499         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
1500         instead of <sys/socket.h>.
1501         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
1503         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
1504         Finally make it working.
1505         Patch by Mark Hatle <fray@kernel.crashing.org>.
1507 1998-03-22  Paul Eggert  <eggert@twinsun.com>
1509         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
1510         a Solaris 2.6 bug.
1512 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
1514         * stdlib/gmp-impl.h: Support strange mixed-endian double format
1515         used by ARM systems.
1516         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
1517         FE_EXCEPT_SHIFT.
1518         * sysdeps/arm/bits/fenv.h: Deleted.
1519         * sysdeps/arm/fpu/ieee754.h: New file.
1520         * sysdeps/arm/gmp-mparam.h: New file.
1521         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
1522         implementation.
1524 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
1526         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
1528         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
1529         of ((unused)).  Reported by Bruno Haible.
1531 1998-05-31  Philip Blundell  <philb@gnu.org>
1533         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
1534         referring to errno and _errno.
1536         * sysdeps/arm/fpu/feholdexcpt.c: New file.
1538         * sysdeps/i386/fpu_control.h: Fix typo.
1540         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
1541         (_JMPBUF_UNWINDS): Added.
1542         * sysdeps/arm/fpu/bits/setjmp.h: New file.
1544 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
1546         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
1547         order to build header files, not `generated'.
1549         * Rules (before-compile): New target which depends on all
1550         $(before-compile) files.
1552 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1554         * nis/nis_call.c: Make directory search faster.
1556         * nis/nis_callback.c: Insert public key of user in callback data.
1558         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
1560         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
1562         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
1564         * nis/nis_intern.h: Remove duplicated prototype.
1566 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1568         * sunrpc/auth_des.c: Move prototypes from here ...
1569         * sunrpc/rpc/auth.h: ... to here.
1571         * sunrpc/clnt_tcp.c: Add more control flags.
1572         * sunrpc/clnt_udp.c: Likewise.
1574         * sunrpc/netname.c (host2netname): Remove prefixing dot from
1575         domainname.
1577         * sunrpc/rpc/clnt.h: Document, which control flags are not
1578         implementable.
1580         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
1582 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
1584         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
1585         files crash the program.
1587         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
1588         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
1589         Reported by Deborah Wallach <kerr@pa.dec.com>.
1591 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1593         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
1594         on whether this is a stable release or not (keeps snapshot bug
1595         reports out of the database).
1597         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
1598         * sysdeps/arm/sysdep.h: Likewise.
1599         * sysdeps/i386/sysdep.h: Likewise.
1600         * sysdeps/m68k/sysdep.h: Likewise.
1601         * sysdeps/mach/mips/sysdep.h: Likewise.
1602         * sysdeps/mach/sys/reboot.h: Likewise.
1603         * sysdeps/mach/sysdep.h: Likewise.
1604         * sysdeps/unix/alpha/sysdep.h: Likewise.
1605         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
1606         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
1607         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
1608         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
1609         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
1610         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
1611         * sysdeps/unix/i386/sysdep.h: Likewise.
1612         * sysdeps/unix/mips/sysdep.h: Likewise.
1613         * sysdeps/unix/sparc/sysdep.h: Likewise.
1614         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
1615         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1616         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1617         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1618         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
1619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1620         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1621         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
1623 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1625         * mach/Machrules: Use $(move-if-change).
1627 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
1629         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
1630         * Makerules (lib%.so): Depend on $(+interp).
1631         (libc.so): Add interp.os to list of dependencies.
1632         (interp-obj): Remove variable.
1633         * mach/Machrules (+interp): Define to empty since libhurduser and
1634         libmachuser don't need to have the interpreter set.
1636 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1638         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
1640         * resolv/gethnamaddr.c: Likewise.
1642         * resolv/res_comp.c: Likewise.
1644 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
1646         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
1647         so that transparent union works.
1649 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
1651         * manual/texinfo.tex: Update to last available version.
1653         * timezone/africa: Update from tzdata1998e.
1654         * timezone/antarctica: Likewise.
1655         * timezone/asia: Likewise.
1656         * timezone/australasia: Likewise.
1657         * timezone/europe: Likewise.
1658         * timezone/iso3166.tab: Likewise.
1659         * timezone/northamerica: Likewise.
1660         * timezone/tzselect.ksh: Likewise.
1661         * timezone/zone.tab: Likewise.
1663 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
1665         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
1666         Reported by Matt McLean <keys@brio.yikes.com>.
1668 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1670         * catgets/Makefile ($(objpfx)de.cat): Renamed from
1671         do-gencat-test.  Use automatic variables.
1672         ($(objpfx)de.msg): Fix reference to po file.
1674 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1676         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
1677         $(move-if-change).
1679 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1681         * intl/dcgettext.c: Fix typo.
1683 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1685         * configure.in: Allow more make versions e.g 3.76.90.
1687 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
1689         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
1691         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
1692         for Hurd.  Patch by Mark Kettenis.
1694 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
1696          * mach/Machrules (+preinit, +postinit): Define these variables to
1697          empty because libhurduser and libmachuser don't need startup
1698          files.
1700 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
1702          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
1703          instead of a raw bitmask.
1705 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1707         * Makeconfig (rpath-dirs): New variable.
1708         (rpath-link): Use it.
1709         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
1710         (db-objpfx): Removed.
1711         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
1712         * md5-crypt/Makefile: Likewise.
1713         * sysdeps/mach/hurd/Makefile: Likewise.
1715         * Makeconfig (move-if-change): New variable.
1716         * iconvdata/Makefile (move-if-change): Removed.
1717         * manual/Makefile (move-if-change): Set only if undefined, use
1718         local script by default.
1719         * sunrpc/Makefile (move-if-change): Removed.
1720         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1721         $(move-if-change).
1723          * elf/Makefile: Remove all references to obsolete file
1724          $(objpfx)rtldtbl.h.
1725          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
1727 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1729         * elf/dl-close.c (_dl_close): Add debugging message.
1731 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1733         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
1734         to get Linux version and not gcc version.
1735         Reported by Alan Curry <pacman@cqc.com>.
1737 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1739         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
1740         pointers - return unknown error message instead.
1741         Reported by Alan Curry <pacman@cqc.com>.
1743 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1745         * iconvdata/Makefile (modules, sed-generated-headers,
1746         perl-generated-headers): ibm424.h is perl generated.  Make
1747         necessary modifications to compile without perl.
1749 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
1751         * hesiod/hesiod.c (read_config_file): Fix typo.
1753 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
1755         * version.h: Bump VERSION.
1757         * csu/Makefile (distribute): Add munch-tmpl.c.
1759 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1761         * nis/nis_defaults.c: Fix buffer problems and typos.
1763 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
1765         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
1766         Patch by Fred Fish.
1768 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1770         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
1771         overwriting bugs.
1773         * libio/strops.c (_IO_str_underflow): Read newly available
1774         character from buffer as unsigned.
1776 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
1778         * catgets/Makefile (distribute): Add xopen-msg.h.
1779         (generated): Add de.msg and de.cat.
1780         (tests): Add do-gencat-test.
1781         (do-gencat-test): New goal.  Run gencat on a generated msg file.
1782         * catgets/xopen-msg.h: New file.
1784 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
1786         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
1787         functions.  Optimize filename creation a bit.
1789 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
1791         * stdlib/random_r.c: Help gcc to optimize the code.
1792         Patch by Joe Keane <jgk@jgk.org>.
1794 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1796         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
1797         tsearch calls.
1799 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1801         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
1802         it.
1804 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
1806         * wcsmbs/wcsnrtombs.c: Correct computation of result.
1807         * wcsmbs/wcsrtombs.c: Likewise.
1809         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
1810         * wcsmbs/wcsmbs-tst1.c: New file.
1812         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
1814         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
1815         as 1.
1817         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
1818         weak.
1820 1998-05-21  Philip Blundell  <philb@gnu.org>
1822         * sysdeps/arm/fpu_control.h: Replace stub file with real
1823         implementation.
1824         * sysdeps/arm/fpu/bits/fenv.h: New file.
1825         * sysdeps/arm/fpu/fesetround.c: Likewise.
1826         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
1827         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
1828         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
1829         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
1830         * sysdeps/arm/fpu/fegetenv.c: Likewise.
1831         * sysdeps/arm/fpu/fesetenv.c: Likewise.
1833 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
1835         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
1836         read instead of mmap.
1838 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
1840         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
1841         directly instead of include_next.  Add missing semicolons.
1842         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
1843         Add missing semicolons.
1845 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
1847         * iconvdata/gconv-modules: Add more aliases to please java
1848         environments.
1850 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1852         * stdio-common/vfprintf.c (process_arg): Fix typo.
1854         * iconvdata/TESTS: New tests for EUC-KR.
1856         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
1857         * iconvdata/testdata/EUC-KR: New file.
1859 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
1861         * math/libm-test.c (hypot_test): Fix a typo.
1863 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
1865         * stdio-common/vfprintf.c: When precision is specified for %ls or
1866         %S handle it correctly.
1868 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1870         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
1871         the" in one line - fixed it.
1872         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
1873         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
1874         * posix/unistd.h: Likewise
1876 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1878         * Makeconfig (rpath-link): Add resolvobjdir.
1879         (resolvobjdir): New variable.
1880         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
1882 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
1884         * elf/dl-close.c: Call shared object terminators at the right time.
1885         Patch by Philippe Troin <phil@fifi.org>.
1887 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1889         * Make-dist (+tsrcs): Also add *.map for every member of
1890         $(extra-libs).
1892         * Makefile (distribute): Don't distribute scripts/printsources and
1893         scripts/=__ify.  Distribute FAQ.in.
1894         (rpm/%): Don't pass subdirs to sub-make.
1896         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
1897         instead of $(no_deps).
1899 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1901         * sysdeps/generic/setenv.c: Protect against GNU C extension.
1902         (KNOWN_VALUE, STORE_VALUE): Do it right.
1903         (setenv): Remove unused variable.
1905 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1907         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
1908         (CFLAGS-zdump.c): Add $(tz-cflags).
1910         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
1911         return type.
1913 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1915         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
1916         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
1917         if use_localtime.
1918         * time/tzset.c: Update prototype of __tzfile_compute.
1919         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
1920         tm_zone and tm_offset here if __use_tzfile.
1922 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1924         * Makerules: Install libc.a even if there are no object file.
1926 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1928         * Makerules (do-makelib): Don't force creating library from
1929         scratch, which is faster and gets correct behaviour if $(subdirs)
1930         is incomplete.
1932 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1934         * Makerules (do-stamp): Make it work when building in source
1935         directory.
1937 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
1939         * elf/dl-load.c: Rename option and variable from ignore-rpath to
1940         inhibit-rpath.
1941         * elf/dl-support.c: Likewise.
1942         * elf/ldsodefs.h: Likewise.
1943         * elf/rtld.c: Likewise.
1944         * iconvdata/run-iconv-test.sh: Likewise.
1946 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
1948         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
1949         variable using the value.
1950         * elf/ldsodefs.h: Declare _dl_ignore_path.
1951         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
1952         object against list in _dl_ignore_path and ignore RPATH if on the list.
1953         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
1954         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
1955         to make sure we get the correct helper libraries loaded.
1957         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
1958         "RPATH" string in call to fillin_rpath instead.
1959         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
1961 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
1963         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
1964         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
1966 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1968         * manual/terminal.texi (I/O Queues): Fix typo.
1970         * manual/stdio.texi (Closing Streams): Fix grammar.
1972         * manual/arith.texi (Absolute Value): Correct typo.
1973         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
1975 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
1977         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
1978         LD_PROFILE_OUTPUT in SUID binaries.
1979         * intl/dcgettext.c: In SUID binaries don't let language part of
1980         locale value contain path elements.
1981         * intl/explodename.h: Define new function _nl_find_language.
1982         * intl/loadinfo.h: Declare _nl_find_language.
1983         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
1984         language part it drop the value is path element is contained.
1986         * locale/setlocale.c: Fix typo.
1988 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
1990         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
1992         * sysdeps/arm/strlen.S: Support both big and little endian processors.
1994         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
1995         log, not a byte-count.
1997         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
1998         a.out compatibility.
2000 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2002         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2003         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2004         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2005         * posix/unistd.h: Likewise.
2006         * math/math.h: Likewise.
2007         * manual/users.texi (Manipulating the Database): Likewise.
2008         * manual/signal.texi (Job Control Signals): Likewise.
2009         * manual/message.texi (The gencat program): Likewise.
2010         * manual/filesys.texi (Hard Links): Likewise.
2011         * manual/math.texi (SVID Random): Likewise.
2012         * manual/llio.texi (Waiting for I/O): Likewise.
2013         * manual/io.texi (File Name Errors): Likewise.
2014         * manual/conf.texi (String Parameters): Likewise.
2015         * manual/arith.texi (Infinity): Likewise.
2016         * malloc/malloc.c: Likewise.
2017         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2018         * csu/Makefile: Likewise.
2020 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2022         * manual/memory.texi: Add back accidently removed line.
2024 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2026         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2027         (timeout_handler): New function.
2028         (LOCK_FILE, UNLOCK_FILE): New macros.
2029         Implement file locking with timeout.
2030         (getutent_r_file, internal_getut_r, getutline_r_file,
2031         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2032         locking.
2034 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2036         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2037         directory.
2039 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2041         * rpm/Makefile: Delete inclusion of version.mk.
2043 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2045         * libc.map: Add all libio functions needed libstdc++ with version
2046         2.0, sort entries.
2048 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2050         * iconvdata/Makefile (generated): Add *.stmp files.
2052 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2054         * timezone/Makefile (testdata, build-testdata): New variables, use
2055         them in rules for test data.
2056         ($(objpfx)tst-timezone.out): Depend on test data.
2057         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2058         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2059         New rules to build test data.
2060         (tst-timezone-ENV): Pass TZDIR to point to test data.
2062 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2064         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2065         (the designation sequence is disturbing).
2067 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2069         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2070         * sunrpc/xdr_rec.c: Likewise.
2072 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2074         * posix/Makefile (tests): Add runptests.
2075         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2076         (before-compile): Add ptestcases.h.
2077         (ptestscases.h): Add rule to generate from PTESTS.
2078         * posix/runptests.c: New file.
2079         * posix/PTESTS: New file.
2080         * posix/PTESTS2C.sed: New file.
2082 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2084         * iconv/loop.c: Let user add code to use and set paramaters.
2086         * iconvdata/iso-2022-kr.c: Correct to-loop.
2088         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2089         point to output buffer.
2091         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2092         hanja.
2094         * iconvdata/TESTS: Add ISO-2022-KR test.
2095         * iconvdata/testdata/ISO-2022-KR: New file.
2097 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2099         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2100         and internal_use.
2101         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2102         and internal_use.
2103         * wcsmbs/btowc.c: Likewise.
2104         * wcsmbs/mbrtowcs.c: Likewise.
2105         * wcsmbs/mbsnrtowcs.c: Likewise.
2106         * wcsmbs/mbsrtowcs.c: Likewise.
2107         * wcsmbs/wcrtomb.c: Likewise.
2108         * wcsmbs/wcsnrtombs.c: Likewise.
2109         * wcsmbs/wcsrtombs.c: Likewise.
2110         * wcsmbs/wctob.c: Likewise.
2111         * iconv/skeleton.c: Increment invocation_counter.
2112         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2113         sequence first.
2115         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2116         * iconvdata/iso-2022-jp.c: Likewise.
2117         * iconvdata/iso646.c: Likewise.
2119         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2121 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2123         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2125         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2126         overwriting existing values if it fits.
2128 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2130         * posix/wordexp-test.c: Avoid duplicate messages.
2132         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2133         tsearch.  Correctly interpret values returned by those functions.
2134         (unsetenv): Store pointer to string, not pointer to string pointer.
2136         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2137         DST information and offset in them.
2138         * time/tzset.c (__tz_convert): Pass extra parameters to
2139         __tzfile_compute.  Compute equivalent values for use of tz_rules.
2141 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2143         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
2144         stamp files to avoid unnecessary recompilation.
2145         (gen-8bit-gap-table): Likewise.
2146         (move-if-change): New variable.
2147         (all generated .h rules): Change to be .stmp rules.
2148         (%.h): New rule; depend on %.stmp; no commands.
2149         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
2150         gen-8bit-gap-1.sh.
2152 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2154         * Makerules (libc-map): Deleted.
2155         (load-map-file): Set to the appropriate compiler switch, not
2156         just the file name.  If libfoo-map is not set, look for a
2157         libfoo.map in the current directory and $(..).
2158         (map-file): New variable, contains just the mapfile name.
2159         (build-shlib): Adjust for new value of load-map-file.
2160         (libc.so): Correct dependencies.
2162         * extra-lib.mk: Correct shlib dependencies since libfoo-map
2163         may not be set anymore.
2165         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
2166         Delete libdl-map.  Tweak ld.so link rule to work with changed
2167         variable settings in Makerules.
2168         * iconvdata/Makefile: Tweak build-module to work with changed
2169         variable settings in Makerules.
2171         * db/Makefile: Delete libdb-map.
2172         * hesiod/Makefile: Delete libnss_hesiod-map.
2173         * linuxthreads/Makefile: Delete libpthread-map.
2174         * locale/Makefile: Delete libBrokenLocale-map.
2175         * login/Makefile: Delete libutil-map.
2176         * math/Makefile: Delete libm-map.
2177         * md5-crypt/Makefile: Delete libcrypt-map.
2178         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
2179         libnss_nisplus-map, and libnss_compat-map.
2180         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
2181         libnss_ldap-map.
2182         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
2183         * rt/Makefile: Delete librt-map.
2185 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2187         * configure.in: Instead of substituting `yes' or `no' for whether
2188         --no-whole-archive is available, set @no_whole_archive@ to the
2189         appropriate gcc switch or the empty string.  Likewise for
2190         -fno-exceptions.
2191         * config.make.in: Replace have-no-whole-archive with
2192         no-whole-archive and have-no-exceptions with no-exceptions.
2193         * Makerules: Delete stanzas setting no-whole-archive and
2194         no-exceptions.
2196         * sunrpc/Makefile: Use move-if-change to update generated .h
2197         and .c files.
2199 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2201         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
2202         of strchr loop.
2204 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2206         * time/tzfile.c (__tzfile_read): Remove unused variable info.
2207         (__tzfile_compute): Likewise.
2209 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2211         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
2212         defines from Linux 2.1.102.
2214 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
2216         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
2218 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
2220         * inet/netinet/in.h: Add defines for multicast.
2221         Reported by Jeremy Hall <jhall@UU.NET>.
2223         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
2224         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
2225         and unsetenv.  Optimize _LIBC case.
2226         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
2227         Define functions with leading __.
2229         * time/tzfile.c: Correct handling of global variables daylight,
2230         timezone, and tzname.
2231         * time/tzset.c: Likewise.
2232         * timezone/Makefile (tests): Add tst-timezone.
2233         * timezone/tst-timezone.c: New file.
2235 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
2237         * timezone/asia: Update from tzdata1998d.
2238         * timezone/australasia: Likewise.
2239         * timezone/europe: Likewise.
2241 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
2243         * string/string.h: Don't use the optimized versions for the string
2244         functions if optimizing for space.
2246         * stdlib/tst-strtod.c: Add test for -0.0.
2248         * io/ftwtest-sh: Prevent tests from being run by root.
2250         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
2251         last addition.  Patch by wkpark@chem.skku.ac.kr.
2253 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2255         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
2256         table.
2258 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2260         * iconvdata/gen-8bit.sh: New file.
2261         * iconvdata/gen-8bit-gap.sh: New file.
2262         * iconvdata/gen-8bit-gap-1.sh: New file.
2263         * iconvdata/Makefile (generate-8bit-table): Use shell script
2264         instead of writing the commands directly.
2265         (generate-8bit-gap-table): Likewise.
2266         ($(objpfx)iso8859-7jp.h): Likewise.
2267         (generated headers): Depend on shell script instead of Makefile.
2268         (before-compile): Add $(perl-generated-headers) only if perl is
2269         available.
2270         (headers): Depend on $(perl-generated-headers) only if perl is
2271         available.
2272         (sed-generated-headers): Remove iso8859-7jp.h.
2274 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2276         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
2277         (/): Removed.
2279 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2281         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
2282         formed charset names to getfct.  Let user override charset
2283         selection by mention charset in locale name.
2285 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
2287         * posix/glob.c: Move to ...
2288         * sysdeps/generic/glob.c: ...here.
2289         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
2290         elements.
2291         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
2292         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
2293         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
2294         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
2295         subdir.
2296         * libc.map [GLIBC_2.1]: Add glob and globfree.
2298 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2300         * sunrpc/Makefile (generated): Restore old list.
2302 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2304         * rt/Makefile (tests): Define only if we have a thread library.
2306         * nis/ypclnt.c: Add: #include <errno.h>.
2308 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2310         * configure.in: Define and substitute RELEASE as well as
2311         VERSION.
2312         * config.make.in: Add RELEASE and VERSION to be substituted.
2313         * Makeconfig: Delete all references to version.mk.
2314         * Make-dist: Likewise.
2315         * MakeTAGS: Likewise.
2316         * elf/Makefile: Likewise.
2318 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2320         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
2321         yp_get_default_domain.
2323 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
2325         * sysdeps/posix/profil.c (__profil): Don't define act and timer
2326         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
2328 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2330         * malloc/malloc.c: Fix for NO_THREADS case.
2332 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
2334         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
2335         Remove statfs and fstatfs.
2336         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
2337         and pwrite as EXTRA.
2338         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2340 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
2342         * libc.map: Add capget and capset.
2344 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2346         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2347         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
2348         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
2349         and Matt McLean <keys@brio.yikes.com>.
2351 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
2353         * misc/Makefile (tests): Add tst-mntent.
2354         * misc/tst-mntent.c: New file.
2356 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2358         * autolock.sh: Removed.
2359         * manual/move-if-change: Removed.
2361         * scripts: New directory.
2362         * =__ify: Moved to scripts.
2363         * config.guess: Likewise.
2364         * config.sub: Likewise.
2365         * gen-FAQ.pl: Likewise.
2366         * install-sh: Likewise.
2367         * mkinstalldirs: Likewise.
2368         * move-if-change: Likewise.
2369         * printsources: Likewise.
2370         * rellns.sh: Likewise.
2371         * test-installation.pl: Likewise.
2373         * configure.in: Look in scripts for config.guess, config.sub,
2374         install-sh.
2375         * Makefile: Distribute all above files in their
2376         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
2377         * manual/Makefile: Find mkinstalldirs and move-if-change in
2378         $(..)scripts.  Drop them from distribute.  Minor cleanups.
2379         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
2380         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
2381         * timezone/Makefile: Find rellns-sh in scripts.
2383 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2385         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
2386         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
2388 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2390         * Makefile (+subdir-inits): Delete variable.
2391         (+init_subdirs): Likewise.
2392         (aux): Likewise.
2393         (before-compile): Likewise.
2394         (libc-init): Delete stanza.
2395         (version-info.h): Delete rule and associated variable.
2396         (distribute): Don't distribute moved files.
2397         * Makerules (interp-obj): It lives in elf now.  Only use it
2398         if $(elf) is set.  Delete rule to build it.
2399         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
2400         version.o and version-info.h.  Minor cleanups.
2401         (routines): Add libc-init, sysdep, version.
2402         (generated): Add version-info.h.
2403         * elf/Makefile: Build interp.os.
2405         * interp.c: Moved to elf.
2406         * set-init.c: Moved to csu.
2407         * munch-init.c: Likewise.
2408         * munch.awk: Likewise.
2409         * version.c: Likewise.
2411         * Rules: Unconfuse syntax highlighting with a fake comment.
2413 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
2415         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
2416         syscalls.
2418 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2420         * iconvdata/Makefile (generated): Set to *-generated-headers
2421         plus gconv-modules.
2422         (tests): Set to iconv-test.
2423         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
2424         * posix/Makefile (generated): Set to wordexp-test-result*.
2425         * sunrpc/Makefile (generated): Remove rpcsvc/*.
2426         (generated-dirs): Add rpcsvc.
2427         * libio/Makefile: Clean up.
2429 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
2431         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
2432         * Makerules: Likewise.
2433         (+depfiles): Also add sysdep-others.
2434         * Rules: Likewise.
2435         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
2436         * iconvdata/Makefile (distribute): Add TESTS.
2437         * localedata/Makefile (repertoires): Rename to repertoiremaps.
2438         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
2439         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
2440         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
2441         sysdep-others, not others.
2442         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2443         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
2445 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
2447         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
2448         cost_hi and cost_lo.
2449         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
2450         Cost parameter and set cost_lo to INT_MAX.
2451         (add_module): Take new parameter and use it to initialize cost_lo.
2452         (read_conf_file): Count modules being loaded and use counter for
2453         new parameter to add_module.
2454         * iconv/gconv_db.c (find_derivation): When look for cost examine
2455         cost_hi and cost_lo.
2457 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
2459         * string/bits/string2.h: Don't use unsigned char * unless really
2460         necessary since this disturbs C++.
2461         * sysdeps/i386/i486/bits/string.h: Likewise.
2462         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
2464 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2466         * malloc/malloc.c (top_check): Fix last change.
2468 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2470         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
2471         Patch by Matt McLean <keys@brio.yikes.com>.
2473 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2475         * Makerules (lib): Put back dependency on lib-noranlib.
2476         ($(subdirs-stamps)): Remove dependency on stamp.* again.
2478 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
2480         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
2481         test in __pow2 implementation.
2483 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2485         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
2486         Still need *FLAGS-.o because we still sometimes build .o files.
2487         * db2/Makefile: Don't build libndbm.a if !build-static.
2489 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2491         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
2493 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
2495         * configure.in: New test for broken gcc on PowerPC.
2496         * sysdeps/powerpc/atomicity.h: Use result of test.
2497         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
2499         * math/libm-test.c: Update many of the epsilon to match actual
2500         performance.
2502         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
2503         * sysdeps/libm-ieee754/e_expf.c: Likewise.
2504         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
2505         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
2507         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
2509         * sysdeps/powerpc/elf/libc-start.c: New file.
2510         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
2511         * sysdeps/powerpc/elf/start.c: Delete.
2513         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
2514         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
2516         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
2517         few patches.
2519 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
2521         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
2522         test for integer.
2524         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
2525         * sysdeps/libm-i387/e_powl.S: Likewise.
2527 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
2529         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
2530         (malloc_check, free_check, realloc_check, memalign_check): Use
2531         them to improve overrun checking.  Overruns of a single byte and
2532         corruption of the top chunk are now detected much more reliably.
2534 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2536         * math/libm-test.c (pow_test): Add test for special value from PR
2537         libc/590.
2539 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
2541         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
2542         including linux/errno.h.
2544 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
2546         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
2547         Use correct types.
2548         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
2549         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
2551 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2553         * Makerules (elide-routines.*): Fix assignments.
2554         (do-makelib): Fix typo.
2555         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
2556         makefile.
2558 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2560         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
2561         $(objpfx)sysd-dirs): Move them...
2562         * Makeconfig: ... here.
2563         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
2564         (stubs): Fix circular depedency.
2565         (do-makelib): Clean up.
2566         (lib): Don't depend on lib-noranlib.
2567         ($(objpfx)stamp.oS): Remove special case for empty
2568         static-only-routines.
2569         (elide-routines.o): Add $(static-only-routines).
2570         (elide-routines$o): Define this instead of elide-routines.$o.
2571         * manual/Makefile (stubs): Fix circular dependency.
2573 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2575         * libio/Makefile (routines): Remove duplicate oldiofclose.
2577 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2579         * string/strcoll.c: Use uint32_t instead of u_int32_t.
2581 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
2583         * libio/stdio.h: Fix typo in __REDIRECT.
2584         * io/sys/stat.h: Likewise.
2585         Reported by Myles Uyema <myles@uyema.nws.net>.
2587 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2589         * locale/programs/localedef.c (options): Fix help message.
2591 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2593         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
2594         relocations.  Patch by Joe Keane <jgk@jgk.org>.
2596 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
2598         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
2599         ptmalloc_unlock_all, but re-initializes the mutexes instead.
2600         (ptmalloc_init): Use new function in thread_at_fork call.
2601         (thread_atfork_static): Likewise.
2602         Suggested by Wolfram Gloger and Xavier Leroy.
2604 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
2606         * signal/signal.h: Move definitions of struct sigstack and
2607         struct sigaltstack into separate file and include it.
2608         * sysdeps/generic/bits/sigstack.h: New file.
2609         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
2610         * signal/Makefile (headers): Add bits/sigstack.h.
2612 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2614         * elf/rtld.c (dl_main): Fix check for number of references to
2615         interpreter object.
2617 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2619         * elf/rtld.c (dl_main): Check has_interp after executing platform
2620         specific code.
2622 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2624         * iconvdata/run-iconv-test.sh: Fix typo.
2626 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2628         * Makerules (+depfiles): Add depfiles for $(tests-static).
2629         Simplified.
2631 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2633         * manual/terminal.texi (Special Characters): Fix description of
2634         c_cc indexes.
2636 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2638         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
2639         array.
2640         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
2641         of c_cc array.
2643 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2645         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
2647 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2649         * intl/locale.alias: Update russian entry.
2651 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2653         * Makerules (static-only-routines): Reimplement in terms of
2654         elide-routines.os.
2655         (shared-only-routines): Reimplement in terms of
2656         elide-routines.X [where X is all object-suffixes except .os].
2658         (stubs): Create stubs file inside the subdir.
2659         (common-mostlyclean): Remove stubs file from inside the subdir.
2660         * Makefile (subdir-stubs): Look for stubs files inside the
2661         subdirs.
2662         * manual/Makefile (stubs): Create dummy stubs file inside the
2663         subdir.
2665 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2667         Build speed improvement: make ar less of a bottleneck.
2669         * Makerules (stamp$o): Just record the object list for later
2670         use.
2671         (libc_foo.a): New rule, depends on subdir stamp files; builds
2672         and ranlibs the library from the lists saved in those files.
2674         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
2675         (subdirs-stamp-o): Likewise.
2677         (ar-symtab-name): Delete variable.
2678         (lib%.a): Delete target.
2679         (libc_foo.a(bar.%)): Delete target.
2680         (libc_foo.a($(ar-symtab-name))): Delete target.
2682         (objects objs): Just depend on libobjs and extra-objs.
2683         (libobjs): Depend on the stamp files, not the objects.
2684         (extra-objs): New target, just depends on the extra-objs list.
2686         (CREATE_ARFLAGS): Kill the `ar S' hack.
2688         * config.make.in (have-ar-S): Deleted.
2689         * configure.in: Delete test for `ar S'.  Add test to determine
2690         whether ranlib does anything useful.
2692 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
2694         * inet/tst-ether_aton.c: Include <stdio.h>.
2696 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
2698         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
2700         * locale/Makefile (distribute): Add programs/repertoire.h.
2701         (localedef-modules): Add repertoire.
2702         (CPPFLAGS): Define REPERTOIREMAP_PATH.
2703         * locale/programs/repertoire.c: New file.
2704         * locale/programs/repertoire.h: New file.
2705         * locale/programs/charmap.c: Starting fixing character set handling
2706         to handle multi-byte encodings.
2707         * locale/programs/charset.c: Likewise.
2708         * locale/programs/charset.h: Likewise.
2709         * locale/programs/ld-collate.c: Likewise.
2710         * locale/programs/ld-ctype.c: Likewise.
2711         * locale/programs/linereader.c: Likewise.
2712         * locale/programs/localedef.c: Likewise.
2713         * locale/programs/locfile-kw.gperf: Likewise.
2714         * locale/programs/locfile-kw.h: Likewise.
2715         * locale/programs/locfile-token.h: Likewise.
2716         * locale/programs/locfile.h: Likewise.
2717         * locale/programs/stringtrans.c: Likewise.
2719         * locale/programs/locfile.c: Interpret I18NPATH value as base of
2720         path, extended with "/locales/".
2722 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
2724         * sysdeps/arm/memset.S: Fix off by one error.
2726         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
2727         __syscall_error rather than syscall_error directly.
2729 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
2731         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
2732         mmap() syscall for ARM.
2734         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
2735         binaries.
2737 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
2739         * locale/programs/localedef.c: Recognize repertoire-map option.
2741 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2743         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
2744         converting non-hex numbers.
2745         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
2747 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
2749         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
2750         check overflow.
2751         * resolv/Makefile (tests): New, add tst-aton.
2752         * resolv/tst-aton.c: New file.
2754 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2756         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
2757         semicolon.
2759 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
2761         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
2762         by letting the later modify the variable computing the total directly.
2763         * wcsmbs/mbsrtowcs.c: Likewise.
2764         * wcsmbs/wcsnrtombs.c: Likewise.
2765         * wcsmbs/wcsrtombs.c: Likewise.
2767         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
2768         it is not used.
2769         * wcsmbs/wctoc.c: Likewise.
2771         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
2772         * wcsmbs/wcsrtombs.c: Likewise.
2774         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
2776 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
2778         * iconv/skeleton.c: Correct counting of actually converted
2779         characters.
2781         * intl/localealias.c (read_alias_file): Use unsigned char for
2782         local variables.  Remove unused variable tp.
2783         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
2784         for type of codeset.  For loosing Solaris systems.
2785         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
2786         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
2787         len if not needed.
2788         Patches by Jim Meyering.
2790         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
2791         wcsrtombs must put it into initial state.
2793 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2795         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
2796         argument of bswap_XX macro.
2798 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2800         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
2801         variable name.
2803 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
2805         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
2806         semun and use stdarg macros to get the value.
2807         * sysdeps/generic/semctl.c: Don't use union semun.
2809         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
2811         * string/basename.c [!_LIBC]: Define function as gnu_basename.
2813         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
2814         strings.h.
2816         * stdlib/grouping.h: Accept ungrouped numbers even if locale
2817         defines grouping.
2819         * intl/hash-string.h: Don't include values.h.
2821         * inet/Makefile (tests): Add tst-ether_aton.
2822         * inet/tst-ether_aton.c: New file.
2824         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
2825         in hex conversion.
2826         * inet/ether_aton.c (ether_aton): Declare result variable static.
2827         Reported by ahyung@unixg.ubc.ca.
2829         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
2830         Define macro _SEM_SEMUN_UNDEFINED instead.
2831         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
2833         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
2834         * stdio-common/Makefile (tests): Add tst-wc-printf.
2836 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
2838         * manual/stdio.texi (Variable Arguments Output): Correct variable
2839         name.  Patch from Ewan Mellor <em@nexus.co.uk>
2841 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2843         * intl/dcgettext.c: Remove unneeded definition of
2844         internal_function.
2846 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2848         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
2849         instead of do-iconv-test.
2850         ($(objpfx)gconv-modules): Define rule only if objpfx is not
2851         empty.
2853 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2855         * string/string.h: Fix feature test.
2857 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2859         * iconvdata/iso646.c (BODY): Don't use character constants that
2860         depend on signedness of char.
2862 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
2864         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
2865         (sysdep_routines): Add s_pread64 and s_pwrite64.
2867 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
2869         * iconvdata/Makefile (distribute): Remove generated .h files.
2870         * iconvdata/koi8-r.h: Removed.
2871         * iconvdata/latin-greek-1.h: Removed.
2872         * iconvdata/latin-greek.h: Removed.
2874         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
2875         * iconvdata/KOI-8: Likewise.
2876         * iconvdata/KOI-8..UTF8: Likewise.
2877         * iconvdata/KOI8-R: Likewise.
2878         * iconvdata/KOI8-R..UTF8: Likewise.
2880 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2882         * streams/Makefile (headers): Add sys/stropts.h.
2883         * streams/sys/stropts.h: New file.
2885 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2887         * sysdeps/unix/sysv/linux/ttyname.c,
2888         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
2889         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
2891 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2893         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
2894         argument of _itoa_word.
2896 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2898         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
2899         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
2900         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
2901         sigprocmask, resp., instead of EXTRA.
2903         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2904         s_pread64 and s_pwrite64.
2906 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
2908         * iconvdata/Makefile: Correct rules to generate gap table.
2909         * iconvdata/gap.pl: Simplify.
2911         * iconvdata/TESTS: Name new tests.
2912         * iconvdata/testdata/CP1250: New file.
2913         * iconvdata/testdata/CP1250..UTF8: New file.
2914         * iconvdata/testdata/CP1251: New file.
2915         * iconvdata/testdata/CP1251..UTF8: New file.
2916         * iconvdata/testdata/CP1252: New file.
2917         * iconvdata/testdata/CP1252..UTF8: New file.
2918         * iconvdata/testdata/CP1253: New file.
2919         * iconvdata/testdata/CP1253..UTF8: New file.
2920         * iconvdata/testdata/CP1254: New file.
2921         * iconvdata/testdata/CP1254..UTF8: New file.
2922         * iconvdata/testdata/CP1255: New file.
2923         * iconvdata/testdata/CP1255..UTF8: New file.
2924         * iconvdata/testdata/CP1256: New file.
2925         * iconvdata/testdata/CP1256..UTF8: New file.
2926         * iconvdata/testdata/CP1257: New file.
2927         * iconvdata/testdata/CP1257..UTF8: New file.
2929 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
2931         * iconvdata/Makefile: Add rules for ISO-2022-KR.
2932         * iconvdata/iso-2022-kr.c: New file.
2934         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
2935         and ISO-2022-KR.
2937 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
2939         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
2940         iso8859-8 and iso8859-10.
2941         * iconvdata/iso8859-5.c: Change to use gap method.
2942         * iconvdata/iso8859-7.c: Likewise.
2943         * iconvdata/iso8859-8.c: Likewise.
2944         * iconvdata/iso8859-10.c: Likewise.
2946         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
2947         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
2948         end of the loop.
2949         * iconvdata/iso-2022-jp.c: New file.
2951         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
2952         * iconvdata/ksc5601.h: Unify function interfaces.
2953         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
2954         * iconvdata/uhc.c: Likewise.
2956         * iconvdata/gb2312.h: Use correct types.
2958         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
2959         size elements of data.
2961 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2963         * string/tst-svc.expect: Adapt for change in .input.
2964         * string/tst-svc.input: More tests.
2966 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
2968         * iconvdata/Makefile: Add rules for new modules.
2969         * iconvdata/gconv-modules: Likewise.
2970         * iconvdata/cp737.c: New file.
2971         * iconvdata/cp737.h: New file.
2972         * iconvdata/cp775.c: New file.
2973         * iconvdata/cp775.h: New file.
2974         * iconvdata/cp874.c: New file.
2975         * iconvdata/cp874.h: New file.
2977 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
2979         * iconvdata/Makefile: Create target directory before generating
2980         headers.
2982 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2984         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
2985         __USER_LABEL_PREFIX__.
2986         (__ASMNAME, __ASMNAME2): New macros.
2988 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
2990         * elf/dl-load.c: Include sys/param.h for MAX.
2992 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
2994         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
2995         __ftruncate the strong symbol, and add weak alias.
2996         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2998 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3000         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3001         Patch by Joe Keane <jgk@jgk.org>.
3003         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3004         free()ing.
3006 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3008         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3009         Patch by Thomas Bushnell, n/BSG.
3011 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3013         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3015 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3017         * iconvdata/Makefile: Put generated headers in build directory.
3019 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3021         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3022         strsep as current directory.
3024         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3025         Java.  Add definitions for unicodelittle implementation.
3026         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3027         * iconv/gconv_simple.c: Define unicodelittle functions.
3029         * iconv/iconv_prog.c: Make program print information about position
3030         of illegal character in input.
3032         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3033         comparison of charset name.
3034         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3035         * iconvdata/ebcdic-at-de-a.c: Likewise.
3036         * iconvdata/ebcdic-at-de.c: Likewise.
3037         * iconvdata/ebcdic-ca-fr.c: Likewise.
3038         * iconvdata/euccn.c: Likewise.
3039         * iconvdata/eucjp.c: Likewise.
3040         * iconvdata/euckr.c: Likewise.
3041         * iconvdata/euctw.c: Likewise.
3042         * iconvdata/hp-roman8.c: Likewise.
3043         * iconvdata/iso6937.c: Likewise.
3044         * iconvdata/iso8859-1.c: Likewise.
3045         * iconvdata/iso8859-10.c: Likewise.
3046         * iconvdata/iso8859-2.c: Likewise.
3047         * iconvdata/iso8859-3.c: Likewise.
3048         * iconvdata/iso8859-4.c: Likewise.
3049         * iconvdata/iso8859-5.c: Likewise.
3050         * iconvdata/iso8859-6.c: Likewise.
3051         * iconvdata/iso8859-7.c: Likewise.
3052         * iconvdata/iso8859-8.c: Likewise.
3053         * iconvdata/iso8859-9.c: Likewise.
3054         * iconvdata/johab.c: Likewise.
3055         * iconvdata/koi-8.c: Likewise.
3056         * iconvdata/koi8-r.c: Likewise.
3057         * iconvdata/latin-greek-1.c: Likewise.
3058         * iconvdata/latin-greek.c: Likewise.
3059         * iconvdata/sjis.c: Likewise.
3060         * iconvdata/t61.c: Likewise.
3061         * iconvdata/uhc.c: Likewise.
3063         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3064         * iconvdata/TESTS: Add tests for ISO646 module.
3065         * iconvdata/gconv-modules: Add new modules.
3066         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3067         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3068         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3069         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3070         * iconvdata/testdate/DIN_66003: Likewise.
3071         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3072         * iconvdata/testdate/DS_2089: Likewise.
3073         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3074         * iconvdata/testdate/ES: Likewise.
3075         * iconvdata/testdate/ES..UTF8: Likewise.
3076         * iconvdata/testdate/ES2: Likewise.
3077         * iconvdata/testdate/ES2..UTF8: Likewise.
3078         * iconvdata/testdate/GB_1988-80: Likewise.
3079         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3080         * iconvdata/testdate/IT: Likewise.
3081         * iconvdata/testdate/IT..UTF8: Likewise.
3082         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3083         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3084         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3085         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3086         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3087         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3088         * iconvdata/testdate/KSC5636: Likewise.
3089         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3090         * iconvdata/testdate/MSZ_7795.3: Likewise.
3091         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3092         * iconvdata/testdate/NC_NC00-10: Likewise.
3093         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3094         * iconvdata/testdate/NF_Z_62-010: Likewise.
3095         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3096         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3097         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3098         * iconvdata/testdate/NS_4551-1: Likewise.
3099         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3100         * iconvdata/testdate/NS_4551-2: Likewise.
3101         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3102         * iconvdata/testdate/PT: Likewise.
3103         * iconvdata/testdate/PT..UTF8: Likewise.
3104         * iconvdata/testdate/PT2: Likewise.
3105         * iconvdata/testdate/PT2..UTF8: Likewise.
3106         * iconvdata/testdate/SEN_850200_B: Likewise.
3107         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3108         * iconvdata/testdate/SEN_850200_C: Likewise.
3109         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3111         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3112         * iconvdata/cns11643l1.h: Likewise.
3113         * iconvdata/latin-greek-1.h: Likewise.
3114         * iconvdata/latin-greek.h: Likewise.
3115         * iconvdata/koi8-r.h: Likewise.
3116         * iconvdata/jis0212.h: Likewise.
3117         * iconvdata/gb2312.h: Likewise.
3118         * iconvdata/ksc5601.h: Likewise.
3120         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3122         * iconvdata/Makefile: Add rules for lots of more modules.
3123         * iconvdata/cp1250.c: New file.
3124         * iconvdata/cp1251.c: New file.
3125         * iconvdata/cp1252.c: New file.
3126         * iconvdata/cp1253.c: New file.
3127         * iconvdata/cp1254.c: New file.
3128         * iconvdata/cp1255.c: New file.
3129         * iconvdata/cp1256.c: New file.
3130         * iconvdata/cp1257.c: New file.
3131         * iconvdata/ebcdic-dk-no-a.c: New file.
3132         * iconvdata/ebcdic-dk-no.c: New file.
3133         * iconvdata/ebcdic-es-a.c: New file.
3134         * iconvdata/ebcdic-es-s.c: New file.
3135         * iconvdata/ebcdic-es.c: New file.
3136         * iconvdata/ebcdic-fi-se-a.c: New file.
3137         * iconvdata/ebcdic-fi-se.c: New file.
3138         * iconvdata/ebcdic-fr.c: New file.
3139         * iconvdata/ebcdic-is-friss.c: New file.
3140         * iconvdata/ebcdic-it.c: New file.
3141         * iconvdata/ebcdic-pt.c: New file.
3142         * iconvdata/ebcdic-uk.c: New file.
3143         * iconvdata/ebcdic-us.c: New file.
3144         * iconvdata/ibm037.c: New file.
3145         * iconvdata/ibm038.c: New file.
3146         * iconvdata/ibm1004.c: New file.
3147         * iconvdata/ibm1026.c: New file.
3148         * iconvdata/ibm1047.c: New file.
3149         * iconvdata/ibm256.c: New file.
3150         * iconvdata/ibm273.c: New file.
3151         * iconvdata/ibm274.c: New file.
3152         * iconvdata/ibm275.c: New file.
3153         * iconvdata/ibm277.c: New file.
3154         * iconvdata/ibm278.c: New file.
3155         * iconvdata/ibm280.c: New file.
3156         * iconvdata/ibm281.c: New file.
3157         * iconvdata/ibm284.c: New file.
3158         * iconvdata/ibm285.c: New file.
3159         * iconvdata/ibm290.c: New file.
3160         * iconvdata/ibm297.c: New file.
3161         * iconvdata/ibm420.c: New file.
3162         * iconvdata/ibm423.c: New file.
3163         * iconvdata/ibm424.c: New file.
3164         * iconvdata/ibm437.c: New file.
3165         * iconvdata/ibm500.c: New file.
3166         * iconvdata/ibm850.c: New file.
3167         * iconvdata/ibm851.c: New file.
3168         * iconvdata/ibm852.c: New file.
3169         * iconvdata/ibm855.c: New file.
3170         * iconvdata/ibm857.c: New file.
3171         * iconvdata/ibm860.c: New file.
3172         * iconvdata/ibm861.c: New file.
3173         * iconvdata/ibm862.c: New file.
3174         * iconvdata/ibm863.c: New file.
3175         * iconvdata/ibm864.c: New file.
3176         * iconvdata/ibm865.c: New file.
3177         * iconvdata/ibm868.c: New file.
3178         * iconvdata/ibm869.c: New file.
3179         * iconvdata/ibm870.c: New file.
3180         * iconvdata/ibm871.c: New file.
3181         * iconvdata/ibm875.c: New file.
3182         * iconvdata/ibm880.c: New file.
3183         * iconvdata/ibm891.c: New file.
3184         * iconvdata/ibm903.c: New file.
3185         * iconvdata/ibm904.c: New file.
3186         * iconvdata/ibm905.c: New file.
3187         * iconvdata/ibm918.c: New file.
3189         * locale/iso-4217.def: Update.
3190         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
3192         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
3193         formats.
3195 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3197         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
3198         LD_LIBRARY_PATH.
3200 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3202         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
3203         * Makefile: Likewise.
3204         * posix/Makefile: Likewise.
3205         * sysdeps/mach/hurd/Makefile: Likewise.
3207 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3209         * sysdeps/mach/hurd/bits/dirent.h: New file.
3210         * sysdeps/mach/hurd/readdir64.c: New file.
3211         * sysdeps/mach/hurd/readdir64_r.c: New file.
3213 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3215         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
3216         dprintf): Synchronize declarations with libio/stdio.h.
3218 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3220         * elf/dlerror.c (dlerror): Don't assume that
3221         __libc_internal_tsd_get is defined.  __libc_getspecific is already
3222         well-protected, so just use it directly.
3224 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
3226         * io/ftw.h (ftw): Fix typo.
3228 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
3230         * sysdeps/gnu/utmp_file.c: Fix typo.
3232 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3234         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
3235         one part of a test fails move on to the next test.
3237 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
3239         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3241 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3243         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
3244         as pointers, not signed integers.
3246 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3248         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
3250 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3252         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
3253         asm symbol name of functions.
3254         * include/features.h: Kill redundant test.
3256         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
3257         * io/ftw.h: Likewise.
3258         * io/sys/stat.h: Likewise.
3259         * io/sys/statfs.h: Likewise.
3260         * io/sys/statvfs.h: Likewise.
3261         * libio/stdio.h: Likewise.
3262         * resource/sys/resource.h: Likewise.
3263         * rt/aio.h: Likewise.
3265         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
3266          __FAVOR_BSD.
3267         * signal/signal.h: Use new macros for BSD vs. SysV signal().
3269         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
3270         a dummy library.
3271         * misc/bsd-compat.c: Removed.
3273 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
3275         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
3276         function declaration.
3277         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
3278         and use them in conversion function.
3279         * iconvdata/Makefile (modules): Re-add ISO6446.
3280         * iconvdata/TEST: Add tests for ASCII variants.
3281         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
3282         * iconvdata/testdata/ANSI_X3.4-1968: New file.
3283         * iconvdata/testdata/BS_4730: New file.
3284         * iconvdata/testdata/BS_4730..UTF8: New file.
3286 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
3288         * iconv/gconv.h (struct gconv_step): Add element stateful.
3289         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
3290         to zero for all internal conversions.
3291         * iconv/skeleton.c: Initialize stateful depending on whether or not
3292         RESET_STATE is defined to one or zero respectively.
3293         * stdlib/mblen.c: Use stateful element of currently selected
3294         converter for result if S is NULL.
3295         * stdlib/mbtowc.c: Likewise.
3296         * stdlib/wctomb.c: Likewise.
3298 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
3300         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
3302         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
3304         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
3305         character in comparison with uint32_t.
3306         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
3307         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
3308         Optimize BODY a bit.
3310         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
3311         be defined.
3313         * iconv/skeleton.c: Also reset converted counter in case of an error.
3314         Call reset function using correct value for output buffer start.
3316         * iconvdata/Makefile: Re-enable tests.
3318         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
3319         value for to-conversion.
3321         * iconvdata/TESTS: Add new third column.
3322         * iconvdata/run-iconv-test.sh: Add support for charsets which are
3323         not ASCII based.
3324         * iconvdata/testdata/suntzus: New file.
3326         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
3327         while reading.  Correctly used base.  Little optimization.
3328         (__strtoul_internal): Likewise.
3330         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
3331         was wrong.  Use explicit variable.
3333 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3335         * configure.in: Check for awk.
3336         * config.make.in: Add AWK to be substituted.
3338         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
3339         * manual/users.texi: Fix typo exposed by above rewrite.
3341         * Makefile: Invoke awk using AWK variable.
3342         * csu/Makefile: Likewise.
3343         * elf/Makefile: Likewise.
3344         * mach/Makefile: Likewise.
3345         * manual/Makefile: Likewise.
3346         * sysdeps/gnu/Makefile: Likewise.
3347         * sysdeps/mach/hurd/Makefile: Likewise.
3348         * sysdeps/unix/Makefile: Likewise.
3349         * timezone/Makefile: Likewise.
3351 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3353         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
3354         array index translation.
3355         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
3356         these are defined.
3358         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
3360         * sysdeps/mach/hurd/errlist.c: New file.
3361         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
3362         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
3363         semantics, so rename it.
3365 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3367         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
3368         conversions.
3370 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
3372         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
3373         * wcsmbs/wcsnrtombs.c: Likewise.
3375 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
3377         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
3379         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
3381         * time/strftime.c (my_strftime): Initialize pad variable in
3382         declaration.
3384         * iconvdata/big5.c: Don't use character constants in comparisons
3385         with unsigned value.
3387 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
3389         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
3390         __libc_siglongjmp to GLIBC_2.1.
3392         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
3393         __strerror_r.
3395         * iconv/Makefile: Don't run tests now.
3397         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
3398         with correct output buffer.
3400         Major rewrite of the low-level gconv functionality.
3401         * iconv/gconv.c: Rewritten.
3402         * iconv/gconv.h: Likewise.
3403         * iconv/gconv_builtin.c: Likewise.
3404         * iconv/gconv_builtin.h: Likewise.
3405         * iconv/gconv_conf.c: Likewise.
3406         * iconv/gconv_int.h: Likewise.
3407         * iconv/gconv_open.c: Likewise.
3408         * iconv/gconv_simple.c: Likewise.
3409         * iconv/iconv.c: Likewise.
3410         * iconvdata/8bit-gap.c: Likewise.
3411         * iconvdata/8bit-generic.c: Likewise.
3412         * iconvdata/Makefile: Likewise.
3413         * iconvdata/big5.c: Likewise.
3414         * iconvdata/cns11643.c: Likewise.
3415         * iconvdata/cns11643.h: Likewise.
3416         * iconvdata/cns11643l1.c: Likewise.
3417         * iconvdata/cns11643l1.h: Likewise.
3418         * iconvdata/ebcdic-at-de-a.c: Likewise.
3419         * iconvdata/ebcdic-at-de.c: Likewise.
3420         * iconvdata/ebcdic-ca-fr.c: Likewise.
3421         * iconvdata/euccn.c: Likewise.
3422         * iconvdata/eucjp.c: Likewise.
3423         * iconvdata/euckr.c: Likewise.
3424         * iconvdata/euctw.c: Likewise.
3425         * iconvdata/gb2312.c: Likewise.
3426         * iconvdata/gb2312.h: Likewise.
3427         * iconvdata/hp-roman8.c: Likewise.
3428         * iconvdata/iso646.c: Likewise.
3429         * iconvdata/iso6937.c: Likewise.
3430         * iconvdata/iso8859-1.c: Likewise.
3431         * iconvdata/iso8859-10.c: Likewise.
3432         * iconvdata/iso8859-2.c: Likewise.
3433         * iconvdata/iso8859-3.c: Likewise.
3434         * iconvdata/iso8859-4.c: Likewise.
3435         * iconvdata/iso8859-5.c: Likewise.
3436         * iconvdata/iso8859-6.c: Likewise.
3437         * iconvdata/iso8859-7.c: Likewise.
3438         * iconvdata/iso8859-8.c: Likewise.
3439         * iconvdata/iso8859-9.c: Likewise.
3440         * iconvdata/jis0201.c: Likewise.
3441         * iconvdata/jis0201.h: Likewise.
3442         * iconvdata/jis0208.c: Likewise.
3443         * iconvdata/jis0208.h: Likewise.
3444         * iconvdata/jis0212.c: Likewise.
3445         * iconvdata/jis0212.h: Likewise.
3446         * iconvdata/johab.c: Likewise.
3447         * iconvdata/koi-8.c: Likewise.
3448         * iconvdata/koi8-r.c: Likewise.
3449         * iconvdata/ksc5601.c: Likewise.
3450         * iconvdata/ksc5601.h: Likewise.
3451         * iconvdata/latin-greek-1.c: Likewise.
3452         * iconvdata/latin-greek.c: Likewise.
3453         * iconvdata/run-iconv-test.sh: Likewise.
3454         * iconvdata/sjis.c: Likewise.
3455         * iconvdata/t61.c: Likewise.
3456         * iconvdata/uhc.c: Likewise.
3457         * wcsmbs/btowc.c: Likewise.
3458         * wcsmbs/mbrtowc.c: Likewise.
3459         * wcsmbs/mbsnrtowcs.c: Likewise.
3460         * wcsmbs/mbsrtowcs.c: Likewise.
3461         * wcsmbs/wcrtomb.c: Likewise.
3462         * wcsmbs/wcsmbsload.c: Likewise.
3463         * wcsmbs/wcsnrtombs.c: Likewise.
3464         * wcsmbs/wcsrtombs.c: Likewise.
3465         * wcsmbs/wctob.c: Likewise.
3466         * iconv/loop.c: New file.
3467         * iconv/skeleton.c: New file.
3469         * stdlib/mblen.c: Handle empty input string correctly.
3470         * stdlib/mbtowc.c: Likewise.
3472         * posix/getopt.c: Various cleanups.
3474         * sysdeps/arm/bits/setjmp.h: Add copyright text.
3475         * sysdeps/i386/bits/setjmp.h: Likewise.
3476         * sysdeps/m68k/bits/setjmp.h: Likewise.
3477         * sysdeps/powerpc/bits/setjmp.h: Likewise.
3478         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
3480         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
3481         and make longjmp weak alias.
3483 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
3485         * iconv/Makefile (routines): Only include gconv_dl if building for
3486         an ELF system - dynamic linking is not available on a.out.
3487         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
3488         due to above check.
3489         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
3490         routines from gconv_dl.
3492 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
3494         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
3495         we can compile without libio.
3497 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
3499         * sysdeps/mach/hurd/Subdirs: Remove login.
3501 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
3503         * db2/compat.h: Include <errno.h>, to make sure we get the
3504         definition of EFTYPE before we define it ourselves.
3506 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
3508         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
3509         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
3510         Fix typo to allow inclusion from sys/ioctl.h again.
3512 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3514         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
3516 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3518         * libc.map: Export __strerror_r.  Remove _strerror_internal.
3520 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3522         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
3523         Also undefine __strcasestr.
3525 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3527         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
3528         aliases do not work with global variables due to copy relocations.
3530 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
3532         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
3534 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
3536         * signal/sighold.c: Include stddef.h for NULL definition.
3537         * signal/sigrelse.c: Likewise.
3538         * sysdeps/posix/sigignore.c: Likewise.
3539         * sysdeps/posix/sigset.c: Likewise.
3540         * sysdeps/posix/waitid.c: Likewise.
3541         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
3542         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
3543         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3544         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
3545         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
3547 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
3549         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
3550         * login/getutent.c (getutxent): Remove alias.
3551         * login/getutent_r.c (setutxent, pututxline, endutxent):
3552         Remove aliases.
3553         * login/getutid.c (getutxid): Remove alias.
3554         * login/getutline.c (getutxline): Remove alias.
3555         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
3556         __getutid, __getutline and __pututline.
3557         * login/utmpx.h: Moved to ...
3558         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
3559         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
3560         and updwtmpx.
3561         * login/updwtmp.c: Moved to ...
3562         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
3563         allowing file name transformation.
3564         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
3565         additional file name transformation.
3566         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3567         * login/utmp_file.c: Moved to ...
3568         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
3569         Generalized by allowing file name transformation.  Do not
3570         print error message.  Library functions should not print them.
3571         Reported by Jim Meyering.
3572         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
3573         with additional file name transformation.
3574         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3575         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
3576         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
3577         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
3578         and bits/utmpx.h.
3579         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
3580         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
3581         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
3582         Define if __USE_GNU.
3583         * sysdeps/generic/setutxent.c: New file.
3584         * sysdeps/generic/getutxent.c: New file.
3585         * sysdeps/generic/endutxent.c: New file.
3586         * sysdeps/generic/getutxid.c: New file.
3587         * sysdeps/generic/getutxline.c: New file.
3588         * sysdeps/generic/pututxline.c: New file.
3589         * sysdeps/generic/utmpxname.c: New file.
3590         * sysdeps/generic/updwtmpx.c: New file.
3591         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
3592         * sysdeps/generic/bits/utmpx.h: Remove.
3594 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
3596         * posix/wordexp-test.c (main): Initialize ifs element of ts for
3597         ~root test.
3599 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
3601         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
3603 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
3605         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
3606         variable using _G_stat64.
3607         * libio/fileops.c: Remove macro definition of fstat, it is in the
3608         global header.
3609         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
3611 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
3613         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
3614         <willy@odie.barnet.ac.uk>.
3616 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
3618         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
3619         required by IPv6 Basic API.
3620         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
3621         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
3622         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
3623         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
3625 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
3627         Don't name internal representation since it might be different from
3628         the external form (namely on little endian machines).
3629         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
3630         UCS4 into references to INTERNAL.
3631         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
3632         Add endianess support to UCS functions.  Change references to
3633         UCS4 into references to INTERNAL.
3634         * iconv/gconv_int.h: Change references to UCS4 into references to
3635         INTERNAL.
3636         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
3637         * iconvdata/gconv-modules: Change accordingly.
3638         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
3640         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
3641         overflow.
3642         * iconvdata/8bit-gap.c: Likewise.
3643         * iconvdata/8bit-generic.c: Likewise.
3644         * iconvdata/big5.c: Likewise.
3645         * iconvdata/euccn.c: Likewise.
3646         * iconvdata/eucjp.c: Likewise.
3647         * iconvdata/euckr.c: Likewise.
3648         * iconvdata/euctw.c: Likewise.
3649         * iconvdata/iso646.c: Likewise.
3650         * iconvdata/iso6937.c: Likewise.
3651         * iconvdata/iso8859-1.c: Likewise.
3652         * iconvdata/johab.c: Likewise.
3653         * iconvdata/sjis.c: Likewise.
3654         * iconvdata/t61.c: Likewise.
3655         * iconvdata/uhc.c: Likewise.
3657         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
3658         * iconvdata/8bit-generic.c: Likewise.
3660         * iconvdata/TESTS: Add more tests.
3662         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
3664 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
3666         * iconvdata/Makefile: Better rules to run tests.
3668         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
3669         * iconvdata/testdata/ISO-8859-10: Likewise.
3670         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
3671         * iconvdata/testdata/ISO-8859-2: Likewise.
3672         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
3673         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
3674         * iconvdata/testdata/ISO-8859-3: Likewise.
3675         * iconvdata/testdata/ISO-8859-4: Likewise.
3676         * iconvdata/testdata/ISO-8859-5: Likewise.
3677         * iconvdata/testdata/ISO-8859-6: Likewise.
3678         * iconvdata/testdata/ISO-8859-7: Likewise.
3679         * iconvdata/testdata/ISO-8859-8: Likewise.
3680         * iconvdata/testdata/ISO-8859-9: Likewise.
3682 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
3684         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
3685         intermediate result (if available).
3687         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
3688         last change.
3690         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
3691         (distribute): Add run-iconv-test.sh and testdata/*.
3693         * stdlib/testmb.c (main): Simplify mbc array handling.
3695 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3697         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
3698         return value on overflow.
3700 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3702         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
3703         bits.
3705 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3707         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
3708         of non-standard function setbuffer.
3710 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3712         * stdio-common/perror.c: Include <string.h> for __strerror_r.
3714 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
3716         * iconvdata/Makefile: Add rules to run tests.
3717         * iconvdata/TESTS: New file.
3718         * iconvdata/run-iconv-test.sh: New file.
3719         * iconvdata/testdata/ISO-8859-1: New file.
3721         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
3722         not stdout.
3724 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
3726         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
3727         counter element of step.
3729         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
3731         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
3732         termination test.
3733         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
3734         ACTUALLY.
3735         (__gconv_transform_utf8_ucs4): Correct test for empty input.
3737 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3739         * Makefile: Include makeconfig before defining rule to regenerate
3740         configure files.
3742         * configure.in: Remove restriction on compiling without static
3743         libs.
3745 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
3747         * test-skeleton.c: Provide hook for initializing code before the fork.
3748         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
3749         removed.
3751         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
3752         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
3753         * libio/libioP.h: Adopt _IO_cleanup prototype.
3755         * stdlib/Makefile (tests): Add test-canon2.
3756         * stdlib/test-canon2.c: New file.
3757         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
3758         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
3759         symlink sequences.
3760         (__realpath): Make real function which checks RESOLVED parameter for
3761         not being NULL.
3763 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
3765         * catgets/open_catalog.c (__open_catalog): Fix problems with
3766         reading non-files.  Always close file.
3767         Reported by Cristian Gafton <gafton@redhat.com>.
3769         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
3771 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
3773         * libc.map: Add various low-level I/O functions.
3775 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3777         * string/Makefile (routines): Remove strerror_r.
3778         * string/strerror_r.c: Removed.
3779         * string/strerror.c: Call __strerror_r for doing the real work.
3780         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
3781         add weak alias strerror_r.
3782         * sysdeps/mach/_strerror.c: Likewise.
3783         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
3784         * elf/dl-error.c (_dl_signal_error): Likewise.
3785         * elf/dl-profile.c (_dl_start_profile): Likewise.
3786         * gmon/gmon.c (write_gmon): Likewise.
3787         * stdio-common/perror.c: Likewise.
3788         * stdio-common/vfprintf.c: Likewise.
3790 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
3792         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
3793         (sysdep_headers): Add netatalk/at.h.
3795 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3797         * manual/socket.texi, manual/creature.texi, manual/time.texi:
3798         Formatting fixes.
3800 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3802         * posix/regex.c: Rename __re_syntax_options back to
3803         re_syntax_options, aliases do not work with global variables due
3804         to copy relocations.
3805         (regex_compile): Use syntax parameter instead of
3806         re_syntax_options.
3808 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3810         * configure.in: Document that enable-force-install is default.
3812 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
3814         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
3815         all needed 36 bits.
3816         * sysdeps/posix/mkstemp.c: Likewise.
3818 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
3820         * iconvdata/8bit-gap.c: Simplify step data handling.
3821         * iconvdata/8bit-generic.c: Likewise.
3822         * iconvdata/big5.c: Likewise.
3823         * iconvdata/euccn.c: Likewise.
3824         * iconvdata/eucjp.c: Likewise.
3825         * iconvdata/euckr.c: Likewise.
3826         * iconvdata/euctw.c: Likewise.
3827         * iconvdata/iso6937.c: Likewise.
3828         * iconvdata/iso8859-1.c: Likewise.
3829         * iconvdata/jis0208.h: Likewise.
3830         * iconvdata/jis0212.c: Likewise.
3831         * iconvdata/jis0212.h: Likewise.
3832         * iconvdata/johab.c: Likewise.
3833         * iconvdata/ksc5601.h: Likewise.
3834         * iconvdata/sjis.c: Likewise.
3835         * iconvdata/t61.c: Likewise.
3836         * iconvdata/uhc.c: Likewise.
3838 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
3840         * manual/texinfo.texi: Updated from last version.
3842 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
3844         * iconvdata/cns11643.c: New file.
3845         * iconvdata/cns11643.h: New file.
3846         * iconvdata/cns11643l1.c: New file.
3847         * iconvdata/cns11643l1.h: New file.
3848         * iconvdata/euctw.c: New file.
3849         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
3850         * iconvdata/gconv-modules: Likewise.
3852         * iconvdata/eucjp.c: Several bug fixes and improvements.
3853         * iconvdata/gb2312.h: Likewise.
3854         * iconvdata/jis0201.h: Likewise.
3855         * iconvdata/jis0208.h: Likewise.
3856         * iconvdata/jis0212.h: Likewise.
3858 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
3860         * iconvdata/eucjp.c: New file.
3861         * iconvdata/euccn.c: New file.
3862         * iconvdata/gb2312.h: New file.
3863         * iconvdata/gb2312.c: New file.
3864         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
3865         * iconvdata/gconv-modules: Likewise.
3867         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
3869 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3871         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3872         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
3873         Patch by Mark Hatle <fray@kernel.crashing.org>.
3875 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
3877         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
3878         comment.
3879         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
3880         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
3882 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
3884         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
3886         * iconvdata/Makefile: Add rules for big5 conversion.
3887         * iconvdata/gconv-modules: Likewise.
3888         * iconvdata/big5.c: New file.
3890         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
3891         Patch by Jim Meyering.
3893 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
3895         * rt/tst-aio.c: Add test for aio_read and lio_listio.
3897         * rt/lio_listio.c: Correct total counter handling.
3899         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
3900         from request queue.
3902         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
3903         of signal on exit even more.
3905         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
3906         instead of call to pthread_cond_init.
3907         * rt/lio_listio.c (lio_listio): Likewise.
3908         * rt/lio_listio64.c (lio_listio64): Likewise.
3910         * nis/nis_findserv.c: Include sys/socket.h.
3912 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
3914         * Makeconfig (rtobjdir): New variable.
3915         (rpath-link): Add rtobjdir and thread directory, if available.
3917         * test-skeleton.c: Add support to remove temporary files.
3918         Always define test_dir.  Improve message about expected signal.
3920         * rt/Makefile (tests): Add tst-aio.
3921         Add rules for tst-aio to be linked with librt and thread library.
3922         * rt/aio_misc.c: Correct fundamental bugs.
3923         * rt/aio_suspend.c: Correct bug in test for available request.
3924         Initialize conditional variable.
3925         * rt/lio_listio.c: Initialize conditional variable.
3926         * rt/lio_listio64.c: Likewise.
3927         * rt/tst-aio.c: New file.
3929         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
3930         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
3931         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
3932         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
3933         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
3934         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
3935         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
3937 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
3939         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
3941 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
3943         * elf/dl-load.c (open_path): Use correct name for test whether
3944         directory in load path exists.
3946         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
3947         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
3948         Patches by Tom Rini <trini@kernel.crashing.org>.
3950         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
3951         * wcsmbs/wcstod_l.c: Likewise.
3952         * wcsmbs/wcstold_l.c: Likewise.
3954         * include/byteswap.h: New file.
3956         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
3957         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
3959         * inet/getnameinfo.c (getnameinfo): Change parameter to match
3960         declaration.  Patch by Richard Henderson.
3962 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3964         * manual/process.texi (SIGCHLD example): Save errno.
3966 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
3968         * posix/regex.c: Define regerror really as __regerror.
3969         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
3970         regerror and regfree.
3972         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
3973         * stdlib/strtod_l.c: Likewise.
3974         * stdlib/strtold_l.c: Likewise.
3976         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
3978         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
3980         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
3981         Patch by Christian Gafton.
3983 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
3985         * manual/socket.texi (Interface Naming): Correct @deftypefun line
3986         for if_indextoname.
3988 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3990         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
3992         * manual/socket.texi (Interface Naming): Fix typo.
3994 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3996         * manual/examples/filesrv.c (main): Remove filename first.
3998         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
3999         ?F_UNIX.
4001         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4002         instead of PF_UNIX.
4004         * manual/examples/filecli.c (main): Use AF_LOCAL
4005         instead of AF_UNIX.
4007 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4009         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4010         signgam weak alias.
4011         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4012         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4013         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4014         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4015         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4016         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4018         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4020 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4022         * configure.in: Add new option --enable-force-install.  Substitute
4023         force_install.
4024         * config.make.in (force-install): Set from configure.
4025         * Makerules (force-install): New phony target.
4026         * Makeconfig (+force): New variable.
4027         * Makefile: Use it in dependency list of installation targets.
4028         * db/Makefile: Likewise.
4029         * db2/Makefile: Likewise.
4030         * elf/Makefile: Likewise.
4031         * hurd/Makefile: Likewise.
4032         * iconv/Makefile: Likewise.
4033         * iconvdata/Makefile: Likewise.
4034         * intl/Makefile: Likewise.
4035         * localedata/Makefile: Likewise.
4036         * login/Makefile: Likewise.
4037         * po/Makefile: Likewise.
4038         * sunrpc/Makefile: Likewise.
4039         * sysdeps/mach/hurd/Makefile: Likewise.
4040         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4041         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4042         * timezone/Makefile: Likewise.
4044 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4046         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4047         alloc_size.  Pass return value of getcwd syscall to realloc.
4049 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4051         * manual/socket.texi: Spelling fixes.
4053 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4055         * elf/dl-load.c (print_search_path): Remove unused variable.
4057 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4059         * login/utmp_file.c: use __ftruncate not ftruncate.
4060         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4061         for system call and make ftruncate weak alias.
4062         * posix/unistd.h: Add prototype for __ftruncate.
4063         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4064         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4065         instead of snprintf and readv.
4066         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4067         snprintf.
4068         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4069         directly.
4071 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4073         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4074         * iconv/gconv_db.c: Use __ protected regex functions.
4075         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4076         * posix/getopt_init.c: Use __getpid not getpid.
4077         * posix/regex.c: Rename all global functions to start with __ and
4078         make old names weak aliases.
4079         * posix/regex.h: Adopt prototypes for this.
4080         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4081         a weak alias and use __getcwd instead of getcwd.
4082         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4083         * stdlib/strtod.c: Use __btowc instead of btowc.
4084         * stdlib/strtol.c: Likewise.
4085         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4086         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4087         and sys_errlist are weak.
4088         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4089         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4090         * wcsmbs/mbsnrtowcs.c: Likewise.
4091         * wcsmbs/mbsrtowcs.c: Likewise.
4092         * wcsmbs/wcsnrtombs.c: Likewise.
4093         * wcsmbs/wcsrtombs.c: Likewise.
4094         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4095         weak alias.
4096         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4097         * wctype/wctype.c: Define function as __wctype and make wctype
4098         weak alias.
4099         * wctype/wctype.h: Declare __wctype.
4101 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4103         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4105 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4107         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4108         stat64.
4109         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4110         functions.
4111         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4112         for __llseek.
4113         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4114         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4115         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4116         make it a weak alias.
4117         * posix/unistd.h: Declare __lseek64.
4119         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4120         (_IO_file_stat): Fix typo.
4121         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4122         block size from the file.  Use __mempcpy if _LIBC.
4124 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4126         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4127         * wcsmbs/mbrtowc.c: Likewise.
4128         * wcsmbs/mbsnrtowcs.c: Likewise.
4129         * wcsmbs/mbsrtowcs.c: Likewise.
4130         * wcsmbs/wcrtomb.c: Likewise.
4131         * wcsmbs/wcsnrtombs.c: Likewise.
4132         * wcsmbs/wcsrtombs.c: Likewise.
4133         * wcsmbs/wctob.c: Likewise.
4135         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4136         position of next output character correctly.
4137         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
4139         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
4141         * stdlib/strtod.c: Don't use mbtowc.
4143 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
4145         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
4146         what we want is smaller than a buffer.
4148 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
4150         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
4151         this function.
4153 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4155         * configure.in: Recognize --with-headers flag and determine
4156         commandline options to be used in compilation.
4157         * Makeconfig (+includes): Use $(sysincludes).
4158         * config.make.in (sysincludes): Define from SYSINCLUDES.
4159         * glibcbug.in: Use SYSINCLUDES information.
4160         Patches by Zack Weinberg.
4162 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4164         * glibcbug.in: On linux, report version of kernel headers seen
4165         by compiler.
4167 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
4169         * libc.map: Add __asprintf to GLIBC_2.1.
4170         * elf/dlerror.c: Use __asprintf, not asprintf.
4171         * libio/stdio.h: Declare __asprintf.
4172         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
4173         a weak alias.
4175         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
4176         to avoid inclusion from libc_pic.a.
4178         * elf/dl-runtime.c: Undo last patch.
4180         * stdlib/strtod.c: Don't use mbtowc, use btowc.
4182         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
4183         as default, use NULL.
4185 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4187         * resolv/Makefile: Include ../Makeconfig - needed for building
4188         static NSS module.
4190 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4192         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
4193         static-nss since we don't want hesiod in the static NSS.
4195         * nss/Makefile: Build only nss_files as static.
4197         * nss/function.def: Remove support for service db.
4199 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
4201         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
4203 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
4205         * posix/wordexp-test.c: Make IFS per test-case.
4207 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4209         * glibcbug.in: Report version of gcc in use.  Remove unused variable
4210         ENVIRONMENT.
4212 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
4214         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
4215         `-print-file-name' to find as and ld.
4217 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
4219         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
4220         template is wrong.  Remove unused varaible `ignored'.
4222 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4224         * libc.map: Export __libc_sa_len.
4226         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
4228 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
4230         * iconv/gconv.c: Take care for NULL arguments.
4231         * iconv/gconv_dl.c: Make find_func function global.
4232         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
4233         Add prototypes for ASCII conversion functions.
4234         * iconv/gconv_simple.c: Add ASCII conversion functions.
4235         * locale/C-ctype.c: Correct charset name.
4237         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
4238         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
4239         wcsmbsload.
4240         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
4241         * wcsmbs/mbrtowc.c: Likewise.
4242         * wcsmbs/mbsnrtowcs.c: Likewise.
4243         * wcsmbs/mbsrtowcs.c: Likewise.
4244         * wcsmbs/wcrtomb.c: Likewise.
4245         * wcsmbs/wcsnrtombs.c: Likewise.
4246         * wcsmbs/wcsrtombs.c: Likewise.
4247         * wcsmbs/wctob.c: Likewise.
4248         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
4249         prototypes for wmemr*.
4250         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
4251         * wcsmbs/wcsnlen.c: New file.
4252         * wcsmbs/wcsmbsload.c: New file.
4253         * wcsmbs/wcsmbsload.h: New file.
4255         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
4257         * manual/install.texi: Describe some more critical points.
4259         * string/string.h: Add prototype for __strnlen.
4260         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
4262         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
4263         much less predictable names.
4264         * sysdeps/posix/mkstemp.c: Likewise.
4266 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4268         * manual/libc.texinfo (Top): Change "file namespace" to "local
4269         namespace".
4271         * manual/socket.texi: Change file namespace to local namespace.
4272         (Out-of-Band Data): Remove unneeded variable link.
4273         (Host Address Functions): Use uint32_t consequently and add a
4274         number of clarifications for IPv4/IPv6, classless addresses.
4275         (Internet Namespace): Added some paragraphs about IPv6.
4276         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4278 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4280         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
4282         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
4283         (NI_NUMERICHOST, et al.): Tidy up and add comments.
4284         (AI_NUMERICHOST): Define.
4285         (getnodebyname): New prototype.
4286         (AI_V4MAPPED, et al.): New constants.
4288         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
4289         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
4290         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
4291         for socket.
4292         * sysdeps/unix/sysv/linux/sa_len.c: New file.
4293         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
4295         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
4297         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
4298         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
4299         * socket/Makefile (headers): Add bits/sockunion.h.
4300         * socket/sys/socket.h: Include <bits/sockunion.h>
4301         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
4302         <sys/socket.h>, to avoid getting sockaddr_union defined.
4303         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
4304         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4305         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
4307         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
4308         (2.2.x kernels won't have it).
4310 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
4312         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
4313         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
4314         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
4315         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
4317 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
4319         * manual/socket.texi (Socket Addresses): Fix a typo.
4320         (Interface Naming): New section.
4322 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4324         * configure.in: Check for CC using $ac_tool_prefix, to handle
4325         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
4326         * config.make.in: Add MIG to be substituted.
4327         * mach/Machrules: Don't define MIG variable.
4329         Patch by Gordon Matzigkeit <gord@profitpress.com>.
4331 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
4333         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
4334         strdupa to copy rpath.
4336 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4338         * configure.in: Fix gcc version check.
4340         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
4341         confusing.
4343 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
4345         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
4346         of ptsname_r.
4348         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
4349         like ttyname_r.
4350         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
4351         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
4352         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
4353         of __ptsname_r accordingly.
4354         * login/openpty.c (openpty): Likewise.
4356 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
4358         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
4360 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4362         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
4364         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
4366 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4368         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
4369         return value for better error checking.
4371 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
4373         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
4374         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
4376         * elf/elf.h (EM_SPARC64): Remove.
4377         (EM_SPARC32PLUS, EM_SPARCV9): Add.
4378         (HWCAP_SPARC_V9): Add.
4380         * elf/ldsodefs.h (_dl_hwcap): Declare.
4381         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
4382         Weaken so dlopen from static progies works.
4383         (WEAKADDR): New macro.
4384         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
4385         (LD_SO_PRELOAD): New macro.
4386         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
4387         (elf_machine_rela): Weaken _dl_rtld_map.
4389         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
4390         to __clone, and remove the later's alias.
4391         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4393         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
4394         the kernel's structure.
4396         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
4397         Sparc needs a custom value of __KERNEL_NCCS.
4399 1998-04-06  Richard Henderson  <rth@cygnus.com>
4401         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
4403         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
4404         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4406 1998-04-06  Richard Henderson  <rth@cygnus.com>
4408         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
4409         as the buffer is not properly aligned.
4410         Reported by Juan Cespedes <cespedes@debian.org>.
4412 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4414         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
4415         instead of AF_FILE.
4417 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
4419         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
4420         and wc*tomb* functions.
4422 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
4424         * sysdeps/unix/start.c: Fix typo.
4426 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
4428         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
4430 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
4432         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
4433         expressions and using array variables.
4434         * sysdeps/libm-ieee754/e_asin.c: Likewise.
4435         * sysdeps/libm-ieee754/e_j0.c: Likewise.
4436         * sysdeps/libm-ieee754/e_j1.c: Likewise.
4437         * sysdeps/libm-ieee754/e_log.c: Likewise.
4438         * sysdeps/libm-ieee754/e_pow.c: Likewise.
4439         * sysdeps/libm-ieee754/k_cos.c: Likewise.
4440         * sysdeps/libm-ieee754/k_sin.c: Likewise.
4441         * sysdeps/libm-ieee754/k_tan.c: Likewise.
4442         * sysdeps/libm-ieee754/s_atan.c: Likewise.
4443         * sysdeps/libm-ieee754/s_erf.c: Likewise.
4444         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
4445         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
4446         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
4448 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
4450         * iconv/gconv.c: Rewrite of the low-level of gconv.
4451         * iconv/gconv.h: Likewise.
4452         * iconv/gconv_builtin.h: Likewise.
4453         * iconv/gconv_close.c: Likewise.
4454         * iconv/gconv_db.: Likewise.
4455         * iconv/gconv_dl.c: Likewise.
4456         * iconv/gconv_int.h: Likewise.
4457         * iconv/gconv_open.c: Likewise.
4458         * iconv/gconv_simple.c: Likewise.
4459         * iconvdata/8bit-gap.c: Adapt for rewrite.
4460         * iconvdata/8bit-generic.c: Likewise.
4461         * iconvdata/euckr.c: Likewise.
4462         * iconvdata/iso646.c: Likewise.
4463         * iconvdata/iso6937.c: Likewise.
4464         * iconvdata/iso8859-1.c: Likewise.
4465         * iconvdata/johab.c: Likewise.
4466         * iconvdata/sjis.c: Likewise.
4467         * iconvdata/t61.c: Likewise.
4468         * iconvdata/uhc.c: Likewise.
4470 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
4472         * iconv/gconv_int.h: New file.  Internal header.
4473         * iconv/Makefile (distribute): Add gconv_int.h.
4474         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
4475         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
4476         * iconv/gconv_close.c: Likewise.
4477         * iconv/gconv_conf.c: Likewise.
4478         * iconv/gconv_db.c: Likewise.
4479         * iconv/gconv_dl.c: Likewise.
4480         * iconv/gconv_int.h: Likewise.
4481         * iconv/gconv_open.c: Likewise.
4482         * iconv/iconv.c: Likewise.
4483         * iconv/iconv_close.c: Likewise.
4484         * iconv/iconv_open.c: Likewise.
4485         * iconv/iconv_prog.c: Likewise.
4487 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4489         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
4490         missing braces.
4492 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4494         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
4496 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4498         Based on patch from Pat Beirne:
4499         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
4500         PIC and non-PIC now.  Correctly negate error number.
4501         (errno): Use `%' not `@' in .type directives.
4503 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
4505         * sysdeps/i386/strtok.S: Change to use single exit point.
4506         * sysdeps/i386/i686/strtok.S: Likewise.
4508 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4510         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
4511         default.
4513 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4515         * Makerules (installed-libcs): Fix typo.
4517 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4519         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
4520         (UHC-routines): Remove ksc5601.
4522 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
4524         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
4525         introduced in last change.
4527 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
4529         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
4530         before 2.1.92.
4532 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4534         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
4536         * stdlib/isomac.c: Use -isystem instead of -I for system include
4537         dir.
4539 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
4541         * resolv/res_comp.c (underscorechar): New.
4542         (middlechar): Allow '_'.
4544 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4546         * intl/explodename.c (stdlib.h): Include that file only if
4547         STDC_HEADERS or _LIBC.
4548         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
4549         Patch by Philippe De Muyter <phdm@macqel.be>.
4551 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4553         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
4554         (AC_PROG_CHECK_VER): New macro.
4555         * configure.in: Use AC_PROG_CHECK_VER to check versions of
4556         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
4558 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
4560         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
4561         * sysdeps/i386/i686/strtok.S: New file
4562         * sysdeps/i386/i686/strtok_r.S: New file
4564 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
4566         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
4567         type to __off64_t.
4568         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
4569         parameter as __off64_t instead of __off_t.
4570         (ftello): Make alias for ftello64 instead of ftello.  Change
4571         return type to __off64_t.
4573 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4575         * sysdeps/i386/bits/string.h: Fix various typos.
4576         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
4578         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
4580 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
4582         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
4583         lchown syscall correctly.  [PR libc/541].
4585 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
4587         * localedata/Makefile: Correct testsuite rules.
4589         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
4590         * iconvdata/iso646.c: Fix conversion from UCS4.
4592         * elf/ldsodefs.h: Mark internal function with internal_function.
4593         * elf/dl-addr.c: Likewise.
4594         * elf/dl-close.c: Likewise.
4595         * elf/dl-debug.c: Likewise.
4596         * elf/dl-deps.c: Likewise.
4597         * elf/dl-error.c: Likewise.
4598         * elf/dl-fini.c: Likewise.
4599         * elf/dl-init.c: Likewise.
4600         * elf/dl-load.c: Likewise.
4601         * elf/dl-lookup.c: Likewise.
4602         * elf/dl-object.c: Likewise.
4603         * elf/dl-open.c: Likewise.
4604         * elf/dl-profile.c: Likewise.
4605         * elf/dl-reloc.c: Likewise.
4606         * elf/dl-runtime.c: Likewise.
4607         * elf/dl-symbol.c: Likewise.
4608         * elf/dl-version.c: Likewise.
4609         * elf/dlerror.c: Likewise.
4610         * sysdeps/generic/dl-sysdep.c: Likewise.
4611         * sysdeps/i386/dl-machine.h: Likewise.
4612         * intl/finddomain.c: Likewise.
4613         * intl/gettextP.h: Likewise.
4614         * intl/loadmsgcat.c: Likewise.
4616 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
4618         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
4619         * iconv/gconv_builtin.h: Add definitions for new builtins.
4620         * iconv/gconv.h: Add prototypes for new builtins.
4622         * iconvdata/Makefile (modules): Add ISO646.
4623         Add rules for ISO646 module.
4624         (distribute): Add iso646.c.
4625         * iconvdata/gconv-modules: Add module and alias definition for
4626         ISO646 charsets.
4627         * iconvdata/iso646.c: New file.
4629 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
4631         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
4632         * iconv/iconv_prog.c: Implement --list option to print available
4633         coded character sets.
4635 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4637         Make fread() read large blocks straight to the user buffer.
4639         * libio/fileops.c (_IO_file_xsgetn): New function.
4640         (_IO_file_jumps): Use it.
4641         * libio/libioP.h: Prototype it.
4643 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4645         * iconv/gconv_conf.c (builtin_aliases): New variable.
4646         (__gconv_read_conf): Add builtin aliases.
4647         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
4648         noop macro before including gconv_builtin.h.
4649         * iconv/gconv_builtin.h: Add alias names.
4651         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
4652         number of converted bytes correctly.
4654 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4656         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
4657         we only wait for a replay.
4659 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4661         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
4662         EUC-KR modules.
4664 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
4666         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
4667         use PLTJMP() rather than explicit (PLT).
4669         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
4670         __libc_start_main().
4672         Based on patch from Pat Beirne:
4673         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
4674         Always define, not only #ifndef PIC.
4675         (DO_CALL): Pass fifth argument correctly in R4.
4676         (PSEUDO): Correct test for error, call syscall_error through PLT
4677         if PIC.
4679 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
4681         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
4682         definitions.
4684 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
4686         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
4687         JOHAB.so.
4689 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
4691         * io/Makefile (static-only-routines): Add stat64, fstat64 and
4692         lstat64.
4694 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4696         * manual/Makefile: Use object-suffixes-for-libc instead of
4697         object-suffixes.
4698         * rpm/Makefile (install-lib): Likewise.
4700 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4702         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
4704         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
4705         `m68*', not only `m68k'.
4707 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4709         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
4711         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
4712         install lddlibc4.
4714 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4716         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
4717         EUC-KR.
4719         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
4720         comment.
4722 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
4724         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
4725         the init stuff.
4727 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4729         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
4730         adjtimex syscall.
4731         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4732         adjtimex.
4733         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
4735 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4737         * Makerules (install): Change comment for libc.so following the
4738         libc_nonshared changes.
4740 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4742         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
4744         * iconvdata/gap.pl: Avoid using %#06x.
4746 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4748         * Makerules: Use $? instead of S^ when invoking ar.
4750 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4752         * db2/compat.h: Allow EFTYPE being defined.
4753         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
4754         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
4755         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
4756         * sysdeps/mach/bits/libc-lock.h: Fix typo.
4757         (__libc_once): Correctly unlock semaphore.
4758         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
4759         * sysdeps/unix/bsd/getpt.c: Fix typo.
4760         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
4762 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
4764         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
4765         macros.
4767 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
4769         * include/mntent.h: New file.
4771         * elf/Makefile (trusted-dirs.h): Append slash to filename.
4772         * elf/dl-load.c: Rewrite search path handling.
4773         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
4774         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
4775         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
4776         * elf/ldsodefs.h: Add prototype.
4778 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4780         * nss/nsswitch.c (__nss_lookup): Adjust comment.
4782         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
4783         function.
4785         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
4787         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
4788         New function.
4789         (HWCAP_IMPORTANT): New definition.
4791 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
4793         * elf/dl-open.c (_dl_open): Fix a typo.
4794         (_dl_global_scope_alloc): Make it static.
4796 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
4798         * Makerules: Remove duplicate rules to handle stamp.oS.
4800 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4802         * manual/examples/inetsrv.c (main): Change prototype of
4803         make_socket following change in mkisock.c.
4805         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
4806         example host.
4807         (main): Change prototype of init_sockaddr following change in
4808         isockadd.c.
4810         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
4811         * manual/examples/isockad.c (init_sockaddr): Likewise.
4813         * manual/examples/mkfsock.c (make_named_socket): Removed blank
4814         lines for clarification.
4815         (make_named_socket): Use strncpy instead of strcpy.
4816         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
4818 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
4820         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
4821         determining libs to remove.
4822         (postclean): Add soversions.mk.
4823         * Makerules (common-mostlyclean): Add tests-static and generated
4824         files.
4826 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
4828         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
4829         scanning for \0.
4830         (__strncat_g): Add i686 specific code.
4832 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4834         * manual/install.texi (Reporting Bugs): Ask to include section
4835         names in reports.
4837 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4839         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
4840         guard against direct inclusion.
4842 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4844         Rework support for libc_nonshared.a:
4845         * Makeconfig (object-suffixes-for-libc): New variable.
4846         * Rules: Remove handling of static-only and shared-only routines.
4847         * Makerules: Handle them here instead.  Use
4848         object-suffixes-for-libc instead of object-suffixes when dealing
4849         with libc objects.
4850         (object-suffixes-for-rules): Remove variable.
4851         (elide-routines.oS): Elide all routines except static-only
4852         routines.
4853         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
4854         empty.
4855         (installed-libcs): Remove special case for .oS.
4856         (rmobjs): Likewise.
4858 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4860         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
4861         do-tst-rpmatch): New targets.
4862         (test): Use them.
4863         (install-locales): Ignore comment lines.
4865 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4867         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
4868         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
4869         ($(objpfx)rtldtbl.h): Likewise.
4870         (CPPFLAGS-dl-load.c): Fix reference to object directory.
4872 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
4874         * manual/string.texi (Finding Tokens in a String): Extend strsep
4875         description and correct example.
4877 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4879         * manual/socket.texi: Remove misguided explicit line breaks and
4880         fix the formatting problem instead by reformulating the
4881         paragraphs.
4882         * manual/filesys.texi: Likewise.
4883         * manual/conf.texi: Likewise.  Don't typeset table with index
4884         fonts, that looks worse than a minimally overfull line.
4886 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4888         * nscd/Makefile (nscd-modules): Move definition outside of
4889         conditional.
4891         * pwd/Makefile: Use have-thread-library to test for thread
4892         library.
4894 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4896         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
4898         * iconvdata/uhc.c (gconv): Remove unused variable idx.
4900 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
4902         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
4904 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
4906         * nss/getXXent_r.c: Correctly handle failing setXXent function.
4908         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
4909         Reported by Andreas Jaeger.
4911 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
4913         * elf/Makefile: Fix typo.
4914         (distribute): Add dl-librecon.h.
4915         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
4916         * elf/ldd.sh.in: Likewise.
4917         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
4918         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
4919         Use strsep correctly.
4920         (process_envvars): Allow platform specific variables.
4921         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
4922         (_dl_load_cache_lookup): Test cache IDs found against
4923         _dl_correct_cache_id.
4924         * sysdeps/generic/dl-librecon.h: New file.
4925         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
4927         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
4929 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
4931         * config.make.in (ldd-rewrite-script): New variable.
4932         * configure.in: Substitute ldd-rewrite-script.
4933         * elf/Makefile: Rewrite rules to generate ldd script.
4934         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
4935         * elf/ldd.sh.in: Likewise.
4936         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
4937         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
4938         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
4939         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
4940         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
4942 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4944         * inet/rcmd.c (iruserok): Remain setuid to the local user
4945         while .rhosts is actually read, to make .rhosts-over-NFS work
4946         (PR libc/524).  Use iruserfopen() for security checks on both
4947         hosts.equiv and .rhosts.  General cleanup.
4948         (iruserfopen): New function, performs careful checking on
4949         hosts.equiv/.rhosts files.  Disallows all the old forbidden
4950         stuff plus hard links to files.
4952 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
4954         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
4956         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
4958 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
4960         * sysdeps/i386/i486/bits/string.h: Fix typos.
4962 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
4964         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
4965         strong alias.
4967         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
4969         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
4970         Added.  Used by libm.so on alpha.
4972 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
4974         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
4975         defined.
4977 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
4979         * Makerules (object-suffixes-for-rules): Add .oS only for
4980         building shared library.
4981         Add ranlib rule for nonshared library.
4982         (rmobjs): Fix typo.
4984         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
4985         into for shared library only.
4986         (CPPFLAGS-.oS): Add -DPIC.
4987         (libtypes): Use $(object-suffixes-for-rules) instead of
4988         $(object-suffixes).
4990 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
4992         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
4993         and install lddlibc4.
4995 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4997         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
4998         hash.
4999         * iconvdata/gaptab.pl: Likewise.
5001 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5003         * Rules: Allow Makefiles to specify test-static for tests which
5004         cannot be linked dynamically.
5005         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5006         tests-static.
5008         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5010         * misc/error.c: Pretty print.
5012 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5014         * Makerules (libc_nonshared-name): Remove variable.
5015         (installed-libcs): Use libc-name instead.
5016         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5017         dynamic linker.
5019         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5020         libc.a.  Remove explicit reference to dynamic linker.
5022 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5024         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5025         to wchar_t.
5026         * iconv/iconv_prog.c: Correctly test for write failure.
5027         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5028         * iconvdata/gconv-modules: Likewise.
5029         * iconvdata/euckr.c: New file.
5030         * iconvdata/johab.c: New file.
5031         * iconvdata/ksc5601.c: New file.
5032         * iconvdata/ksc5601.h: New file.
5033         * iconvdata/uhc.c: New file.
5034         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5036         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5037         * stdio/fopen.c: Correct handling of 'x' flag.
5038         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5040 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5042         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5043         * sunrpc/rpcsvc/key_prot.x: Likewise.
5044         * sunrpc/key_prot.c: Likewise.
5046 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5048         * sysdeps/i386/bits/string.h: Correct things which never worked.
5049         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5050         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5052 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5054         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5055         defined.  Reported by Thorsten Kukuk.
5057 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5059         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5061 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5063         * manual/install.texi (Supported Configurations): Add
5064         arm-linuxaout and arm-none.
5066 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5068         * version.h (VERSION): Bump to 2.0.93.
5070 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5072         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5074         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5076         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5077         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5079 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5081         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5083 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5085         Put the static-only routines in a separate library.
5086         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5087         variables.
5088         (all-object-suffixes): Add .oS.
5089         * Makerules (libc_static-name): New variable.
5090         (installed-libcs): Add libc_nonshared.a.
5091         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5092         (object-suffixes-for-rules): New variable.  Use it instead of
5093         object-suffixes for generating compilation rules.
5094         (rmobjs): Also remove *.oS.
5095         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5096         ($(objpfx)stamp.oS): New target.
5098 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5100         * Makefile (FAQ): Automatically check in regenerated FAQ.
5102 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5104         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5106 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5108         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5109         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5111         * sysdeps/generic/stub_warning: Removed.
5113         * Makefile (distribute): Add include/des.h.
5115         * manual/Makefile (distribute): Change dir-add.texi to
5116         dir-add.texinfo.
5118         * glibcbug.in: Create files safely when mktemp is not available.
5120         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5121         Patch by a sun <asun@saul1.u.washington.edu>.
5123 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5125         * libc.map: Rename getname to getnetname.
5127 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5129         * manual/maint.texi: Use supported platform in examples.
5131         * manual/install.texi: Document some installation tips.
5133 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5135         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5136         Fix a bug so that it returns an error if a numeric parameter is
5137         unset and WRDE_UNDEF is set.
5138         Patch by Andreas Schwab and Tim Waugh.
5139         * posix/wordexp-test.c: Add new new test.
5141 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5143         * posix/regex.c (regex_compile): Last patch wasn't entirely
5144         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
5146 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5148         * manual/filesys.texi (Scanning Directory Content): Fix typo.
5150 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
5152         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
5153         clobbered registers don't appear as operands.
5155 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5157         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
5158         Solaris' sake.
5160         * posix/regex.c (regex_compile): Don't allow non-alphabet
5161         characters in character set name.
5163 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
5165         * posix/wordexp.c (w_newword): New function.
5166         (do_parse_glob): New function.
5167         (parse_glob): Use do_parse_glob.  Now handles the case where a
5168         variable expansion causes a field-split.
5169         (wordexp): Use w_newword.
5170         (parse_arith): Likewise.
5171         (exec_comm): Likewise.
5172         (parse_comm): Likewise.
5173         (parse_param): Likewise.
5174         (parse_backtick): Likewise.
5176 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
5178         * posix/wordexp-tst.sh: Another test.
5180         * posix/wordexp-test.c: Two new tests.
5182         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
5183         directly (the code using realloc was buggy).
5184         (parse_param): Fix typo in comment.
5186 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5188         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
5190 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5192         * libc.map: Add more rpc auth functions/variables.
5194         * nscd/nscd.c: Add -g option to argp options.
5196 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5198         * configure.in: Be prepared for gcc 2.9.10 and up.
5199         * configure.in: Add missing disabling of quote characters in
5200         compiler version check.  Reported by HJ Lu.
5202 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5204         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
5206 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5208         * intl/locale.alias: Fix spelling of romanian.
5210         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
5211         (distribute): Remove des.h.
5212         * include/des.h: New file.
5213         * sunrpc/des.h: Moved to ...
5214         * sunrpc/rpc/rpc_des.h: ...here.
5216 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
5218         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
5219         Fix paren.
5221 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5223         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
5224         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
5226 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
5228         * elf/ldsodesf.h: New file.
5229         * elf/Makefile (distribute): Add ldsodefs.h.
5230         * elf/link.h: Separate internal information in exter header.
5231         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
5232         * elf/dl-minimal.c: Likewise.
5233         * sysdeps/generic/dl-sysdep.c: Likewise.
5234         * elf/sprof.c: Likewise.
5235         * elf/dlsym.c: Likewise.
5236         * elf/dlvsym.c: Likewise.
5237         * elf/dlerror.c: Likewise.
5238         * elf/dladdr.c: Likewise.
5239         * elf/dlclose.c: Likewise.
5240         * elf/dlopen.c: Likewise.
5241         * elf/dl-addr.c: Likewise.
5242         * elf/dl-close.c: Likewise.
5243         * elf/dl-debug.c: Likewise.
5244         * elf/dl-deps.c: Likewise.
5245         * elf/dl-error.c: Likewise.
5246         * elf/dl-fini.c: Likewise.
5247         * elf/dl-init.c: Likewise.
5248         * elf/dl-load.c: Likewise.
5249         * elf/dl-lookup.c: Likewise.
5250         * elf/dl-object.c: Likewise.
5251         * elf/dl-open.c: Likewise.
5252         * elf/dl-profile.c: Likewise.
5253         * elf/dl-reloc.c: Likewise.
5254         * elf/dl-runtime.c: Likewise.
5255         * elf/dl-support.c: Likewise.
5256         * elf/dl-symbol.c: Likewise.
5257         * elf/dl-version.c: Likewise.
5258         * sysdeps/generic/dl-cache.c: Likewise.
5259         * sysdeps/generic/libc-start.c: Likewise.
5260         * iconv/gconv_dl.c: Likewise.
5261         * nss/nsswitch.c: Likewise.
5263 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
5265         * manual/nss.texi: The database is not called network but networks.
5266         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
5268 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5270         * configure.in: Correct test for compiler version.
5271         Check that LD_LIBRARY_PATH doesn't contain current path.
5273 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
5275         * elf/dl-close.c (_dl_close): Fix byte count while removing
5276         the shared object from the global scope list and optimize
5277         a little bit.
5279 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5281         * manual/filesys.texi (Scanning Directory Content): Add missing
5282         closing brace.
5283         (Scanning Directory Content): Fix text.
5285 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5287         * manual/memory.texi (Heap Consistency Checking): Add paragraph
5288         explaining difference of -lmcheck and MALLOC_CHECK_.
5290 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5292         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
5293         typos in comments.
5295 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5297         * test-skeleton.c (main): Fix test for exit signal.
5299 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5301         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
5303 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5305         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
5306         appropriate.
5308 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5310         * libc.map: Export __strtok_r.
5312 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
5314         * posix/regex.c (re_compile_fastmap): Remove unused variable
5315         num_regs and adjust comment.
5316         Patch by Jim Meyering <meyering@ascend.com>.
5318         * math/math.h (M_*l): Extend long double constants to be usable
5319         for 128 bit floats.  Patch by Richard Henderson.
5321 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5323         * sysdeps/m68k/m68020/wordcopy.S: New file.
5325 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
5327         * posix/wordexp.c: Rewrite parse_param.
5328         Patch by Tim Waugh and Andreas Schwab.
5330 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5332         * Rules: Update timestamps on empty object files.
5334 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
5336         * manual/filesys.texi (Scanning Directory Content): Add description
5337         of 64 bits scandir function and friends.
5339 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5341         * glibcbug.in: Use mktemp to generate unique file name for
5342         temporary files.
5344         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
5345         ptsname_r.  Use cast for execve call.
5347 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
5349         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
5350         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
5351         * io/sys/statvfs.h: New file.
5352         * sysdeps/generic/fstatvfs.h: New file.
5353         * sysdeps/generic/statvfs.h: New file.
5354         * sysdeps/generic/fstatvfs64.h: New file.
5355         * sysdeps/generic/statvfs64.h: New file.
5356         * sysdeps/generic/bits/statvfs.h: New file.
5357         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
5358         * sysdeps/unix/sysv/linux/statvfs.c: New file.
5359         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
5361         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
5362         and f_ffree elements.
5364         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
5365         mount options in enum.
5367 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5369         * configure.in: Check for recent egcs/gcc.
5371 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5373         * libc.map: Add alphasort64, scandir64, versionsort64.
5374         * dirent/Makefile (routines): Add scandir64, alphasort64, and
5375         versionsort64.
5376         * dirent/alphasort64.c: New file.
5377         * dirent/scandir64.c: New file.
5378         * dirent/versionsort64.c: New file.
5379         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
5380         versionsort.
5381         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
5382         old name weak alias.
5383         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5385         * dirent/alphasort.c: Use strcoll instead of strcmp.
5387         * dirent/scandir.c: Optimize a bit.
5389         * dirent/versionsort.c: Pretty print.
5391 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5393         * string/string.h: Add prototype for __strtok_r.
5395 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5397         * posix/Makefile: Fix typo in last change.
5399 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
5401         * dirent/dirent.h (scandir): Make argument of select function const.
5402         * dirent/scandir.c (scandir): Likewise.
5403         Reported by David.Faure@insa-lyon.fr [PR libc/512].
5405 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
5407         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
5408         weak alias.
5409         * sysdeps/i386/strtok_r.c: Likewise.
5411         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
5412         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
5413         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
5414         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
5415         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
5416         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
5418 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5420         * intl/localealias.c: Remove unneeded define for strdup.
5422 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
5424         * manual/argp.texi: Adjust for better TeX output.
5425         * manual/arith.texi: Likewise.
5426         * manual/conf.texi: Likewise.
5427         * manual/filesys.texi: Likewise.
5428         * manual/header.texi: Likewise.
5429         * manual/lgpl.texinfo: Likewise.
5430         * manual/math.texi: Likewise.
5431         * manual/message.texi: Likewise.
5432         * manual/pattern.texi: Likewise.
5433         * manual/process.texi: Likewise.
5434         * manual/signal.texi: Likewise.
5435         * manual/socket.texi: Likewise.
5436         * manual/startup.texi: Likewise.
5437         * manual/stdio.texi: Likewise.
5438         * manual/terminal.texi: Likewise.
5439         * manual/examples/rprintf.c: Likewise.
5440         * manual/examples/testopt.c: Likewise.
5441         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5443 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
5445         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
5446         parameter name after seeing a digit if it's enclosed in braces.
5448 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5450         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
5452 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5454         * manual/memory.texi (Heap Consistency Checking): Document
5455         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
5457 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5459         * manual/Makefile: Add missing rules.
5461 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5463         * timezone/Makefile (generated): Define to remove all stamp files.
5465         * sysdeps/generic/strsep.c: Also undefine __strsep.
5467         * string/strdup.c: Undefine __strdup and strdup first.
5468         * string/strndup.c: Likewise.
5470         * string/bits/string2.h: Correct strtok_r and strsep.
5471         Add strndup optimization.
5473         * sysdeps/generic/strsep.c: Little optimization.
5475 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
5477         * string/bits/string2.h: Add optimization for strdup.
5478         Always define __strsep and __strtok_r and make real names available
5479         when feature select macros are defined.
5481 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5483         * manual/install.texi (Installation): Use i486-linux as example
5484         instead of the unsupported sunos4.
5485         (Reporting Bugs): Mention glibcbug script.
5486         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
5488 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5490         * posix/wordexp-tst.sh: Make portable.  Add more tests.
5492         * posix/Makefile (do-globtest do-wordexp-test): New targets.
5494 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
5496         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
5497         * sysdeps/generic/libc-start.c: ...here, replacing former content.
5499         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
5500         netpacket/packet.h.
5502         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
5504 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5506         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
5507         in enumerator for strict standard compliance.
5508         * sysdeps/generic/bits/resource.h: Likewise.
5510 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
5512         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
5513         (PLTJMP): New macro.
5515         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
5516         longjmp() when floating point enabled.
5517         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
5518         * sysdeps/arm/__longjmp.S: Remove floating point code.
5519         * sysdeps/arm/setjmp.S: Likewise.
5521         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
5522         * sysdeps/arm/bsd-_setjmp.S: Likewise.
5524         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
5525         memset().
5527         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
5528         prototype.
5530 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
5532         Based on patches from Pat Beirne and Scott Bambrough:
5534         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
5536         * sysdeps/arm/bits/fenv.h: New file.
5538         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
5539         * sysdeps/arm/elf/setjmp.S: Likewise.
5540         * sysdeps/arm/elf/start.S: Likewise.
5541         * sysdeps/arm/init-first.c: Likewise.
5542         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
5543         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
5544         comment about floating point to reflect current reality.
5546         * sysdeps/unix/arm/brk.S: Support PIC.
5547         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
5548         re-entrant code.
5549         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
5550         return; call syscall_error through PLT.
5551         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
5553 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
5555         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
5556         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
5557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
5559 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5561         * dirent/list.c (test): Return error value.
5562         (main): Exit with error value.
5564         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
5566         * Makefile (distribute): Add test-skeleton.c.
5567         * test-skeleton.c: New file.
5568         * dirent/Makefile (tests): Add opendir-tst1.
5569         * dirent/opendir-tst1.c: New file.
5571 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
5573         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
5574         Optimize memory handling.
5575         * sysdeps/unix/closedir.c: Optmize memory handling.
5577 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
5579         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
5580         handling.  Optimize a bit.
5582 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
5584         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
5585         (parse_param): Fold in Andreas' fixes to do with when the end of
5586         the parameter name has been reached, and quoting inside ${...}.
5587         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
5588         $((echo);(ls)).
5590 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5592         * manual/maint.texi: Split out installation and contribution
5593         sections to their own appendices.  Misc cleanups.
5594         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
5595         * manual/contrib.texi: New file.
5596         * manual/libc.texinfo: Pull in new appendices.
5597         * manual/header.texi: Correct node pointer.
5599 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5601         * manual/process.texi (Process Completion): Clarify return value
5602         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
5604 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5606         * posix/wordexp-test.c: Add more tests.
5607         (testit): Fix logic.
5609         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
5610         /dev/null instead of closing it, close pipe.  Always chop off all
5611         trailing newlines.  Kill and reap child before returning error.
5612         (w_addword, parse_glob): Fix memory leak.
5613         (wordexp): Fix dangling pointer problem.
5615 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
5617         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
5619         * posix/wordexp-test.c (main): Fix little thinkos and typos.
5621         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
5622         directory index by only the language.
5624 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
5626         * posix/wordexp-tst.sh: Store test results in the
5627         ${common_objpfx}posix directory.
5629         * posix/wordexp-test.c: Remove temporary directory afterwards.
5631 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5633         * libc.map: Export internal versions of cancelable functions.
5635 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5637         * Makerules (MAKEFLAGS): Append `r'.
5639 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5641         * Makeconfig: Define have-thread-library, shared-thread-library
5642         and static-thread-library if a thread library is available.  Don't
5643         define rt.
5644         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
5645         nscd-routines to nscd-modules.  Use shared-thread-library and
5646         static-thread-library in dependencies.
5647         * rt/Makefile: Only compile librt if have-thread-library is
5648         defined.
5649         * Makefile (subdirs): Always include rt subdir.
5651 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5653         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
5655 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
5657         * configure.in: Recognize variations for 32 MIPS processors.
5658         Don't assume ELF systems always have .weak, test for .weakext.
5660 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5662         * configure.in: Irix6 is an ELF platform.
5664 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
5666         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
5667         unmapping the last loaded segment.
5669 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
5671         * configure.in: Set base_os for Irix6.
5672         Correct test for .weakext.
5674 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5676         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
5677         (new_line) to _dl_debug_message call.
5679 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5681         * posix/wordexp.c (parse_param): Perform field-splitting after
5682         expanding positional parameter.
5684         * posix/wordexp-tst.sh: Test that field-splitting is performed
5685         after expanding positional parameter.
5687         * posix/wordexp.c (parse_param): Fixed memory leak in
5688         field-splitting after parameter expansion.
5690 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
5692         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
5693         (get_toplvl_escape): Correctly terminate loop at EOF.
5694         Patch by Cristian Gafton <gafton@redhat.com>.
5696 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
5698         * string/tester.c (test_strpbrk): Add more strpbrk tests.
5699         (test_strsep): Likewise.  Correct horrible bugs.
5701         * string/bits/string2.h (strcspn): Optimize also reject string of
5702         length 2 and 3.
5703         (strspn): Likewise.
5704         (strpbrk): Likewise.
5705         (strsep): Likewise.  Correct bug with successive separators and
5706         separators at the end of the string.
5707         * sysdeps/generic/strsep.c: Correct bug with successive separators
5708         and separators at the end of the string.
5710 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5712         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
5713         etc) now handled, as well as $$ (pid).
5715         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
5716         (distribute): Add wordexp-tst.sh.
5718         * posix/wordexp-tst.sh: New file.
5720         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
5721         number of positional parameters.  Renamed substitute_length to
5722         seen_hash.
5723         Don't free(env) is env is NULL.
5725 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
5727         * libc.map: Add pthread_attr_init to GLIBC_2.1.
5729 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
5731         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
5732         for output file replacing gmon.out.
5733         Patch by Dean Gaudet <dgaudet@arctic.org>.
5735 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5737         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
5738         up namespace.  Optimize finding end of line.
5740 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5742         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
5743         securely.  Optimized.
5744         (process_dl_debug): Add ':' to list of separators.  Optimized.
5746 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5748         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5749         isless, islessequal, islessgreater, isunordered): Return zero or
5750         one.
5752 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
5754         * posix/wordexp-test.c: More tests.
5755         (main): Set up arena for pathname expansion tests (in a temporary
5756         directory).
5757         (testit): Don't check word count or word vector if return value is
5758         non-zero.
5760         * posix/wordexp.c (exec_comm): Always chop off terminating
5761         linefeed (just like bash does).
5762         (parse_param): Change lots of occurrences of "if (!*env)" to "if
5763         (!env || !*env)".
5764         (parse_param): For assignment inside parameter expansion, use all
5765         expanded words in assignment rather than just the first.
5766         (parse_param): Corrected return value for parameter expansion of
5767         an unset variable when WRDE_UNDEF is in effect.
5768         (parse_dollars): Don't field-split if quoted.
5769         (wordexp): Opening brace character isn't allowed unquoted.
5771 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5773         * elf/dlerror.c: Fix concurrency problems with error string and
5774         number.
5776         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
5777         filter/auxiliary are being loaded.
5779 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
5781         * elf/dlerror.c (last_object_name): Removed.
5782         (dlerror): Don't use last_object_name.
5783         (_dl_error_run): Omit second argument to _dl_catch_error.
5784         * elf/dl-error.c (struct catch): Remove objname member.
5785         (_dl_signal_error): Construct string including objname when given.
5786         (_dl_catch_error): Remove objname handling.
5787         * elf/link.h (_dl_catch_error): Fix prototype and comment.
5788         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
5789         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
5790         * nss/nsswitch.c (nss_dlerror_run): Likewise.
5791         * iconv/gconv_dl.c (dlerror_run): Likewise.
5792         [Corrects PR libc/501].
5794 1998-03-12  Matthias Urlichs <smurf@noris.de>
5796         * nscd/nscd.c: Ignore SIGPIPE.
5798 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5800         * nscd/nscd_getgr_r.c: Use __ protected names.
5801         * nscd/nscd_getpw_r.c: Likewise.
5803 1998-03-12  Matthias Urlichs <smurf@noris.de>
5805         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
5806         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
5807         null bytes are not transmitted.
5809 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5811         * powerpc/syscalls.list: Correct typo.
5812         * alpha/syscalls.list: Likewise.
5813         * mips/syscalls.list: Likewise.
5815 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
5817         * socket/sys/socket.h: Add prototype for __socket.
5819 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5821         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
5823         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
5824         constants.
5826         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
5827         definition here.
5828         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
5829         definition here.
5831         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
5832         AF_* and PF_* constants.
5834         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
5836 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
5838         * elf/rtld.c: Update help message.
5839         Install link maps for preloaded objects using main_map as loader.
5841         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
5842         * elf/dl-profile.c: Likewise.
5844         * elf/dlsym.c: Little optimization.
5845         * elf/dlvsym.c: Likewise.
5847 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
5849         * posix/wordexp-test.c: Move test for parameter list at the very
5850         beginning.
5852 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5854         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
5855         WRDE_REUSE flag is set.
5856         (parse_param): Allow `*', `@', and numbers in parameter names.
5857         (parse_dollars): Differentiate between arithmetic expansion and a
5858         command substitution that starts immediately with a sub-shell
5859         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
5860         (parse_param): Memory allocated with __alloca in a block was
5861         referenced outside that block.  Adjusted to use malloc/free.
5862         (parse_param): Adjusted field-splitting algorithm so that there is
5863         not necessarily a field split at the end of a parameter expansion.
5865 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
5867         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
5868         don't free words that have already been allocated.
5869         (parse_param): A dollar sign on its own will never have a pattern
5870         associated with it (like "${HOME%%/}" has), so don't try to free it.
5871         (parse_glob): Attempt to glob when an unquoted `[' is found
5872         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
5873         (parse_glob): Sorted out quoting in a glob-able word.
5874         (parse_param): Added $* and $@ handling.
5876 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5878         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
5879         parsing it.
5881 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5883         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
5884         _dl_debug_message.
5886 1998-03-12  Matthias Urlichs  <smurf@noris.de>
5888         * elf/dl-misc.c: Default for debug output should be stderr.
5889         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
5890         * elf/dl-lookup.c: reference_name may be NULL or empty.
5892 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5894         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
5896 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
5898         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
5900         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
5902 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5904         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
5905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
5907 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5909         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
5910         init stuff.
5912 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5914         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
5915         flag.
5917         * misc/syslog.c (vsyslog): Don't try to send if not connected to
5918         syslog daemon.
5919         (closelog_internal): Don't do anything if not connected.
5921 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
5923         * libc.map: Add _dl_debug_message.
5924         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
5925         before every line.
5926         * elf/fini.c: Correctly use new _dl_debug_message function.
5927         * elf/init.c: Likewise.
5928         * elf/dl-lookup.c: Likewise.
5929         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
5930         * elf/dl-load.c: Likewise.  Add more debugging prints.
5931         * elf/dl-reloc.c: Likewise.
5932         * elf/dl-version.c: Likewise.
5933         * elf/dl-support.c: Add variables for debugging.
5934         * elf/rtld.c: Likewise.  Recognize new debug options.
5935         * elf/link.h: Declare new variables.
5937         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
5939 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5941         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
5942         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
5944 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
5946         * posix/wordexp-test.c (command_line_test): New function to allow
5947         testing of specific cases from the command-line.
5949 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
5951         * elf/dl-init.c (_dl_init_next): Print nicer messages.
5952         * elf/dl-fini.c (_dl_fini): Likewise.
5953         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
5955         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
5956         symbol in debug message.
5957         (_dl_lookup_versioned_symbol_skip): Likewise.
5959 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
5961         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
5962         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
5963         * manual/filesys/texi: Document this.
5965 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
5967         * manual/filesys.texi: Document the change below.
5969 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5971         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
5972         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
5974 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
5976         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
5977         instead scope.  If debugging display information about symbol
5978         resolving.
5979         (_dl_lookup_symbol): Call do_lookup with correct parameters.
5980         (_dl_lookup_symbol_skip): Likewise.
5981         (_dl_lookup_versioned_symbol): Likewise.
5982         (_dl_lookup_versioned_symbol_skip): Likewise.
5983         * elf/dl-support.c: Define _dl_debug_symbols.
5984         * elf/link.h: Add declaration for _dl_debug_symbols.
5985         * elf/rtld.c: Define _dl_debug_symbols.
5986         (process_dl_debug): Recognize symbols option.
5988 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
5990         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
5991         in correct format.
5992         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
5993         with correct parameters.
5994         [!PIC]: Initialize __libc_multiple_libcs.
5996 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
5998         * elf/dl-support.c (_dl_debug_bindings): Add definition.
5999         * elf/rtld.c (_dl_debug_bindings): Add definition.
6000         (process_dl_debug): Recognize bindings option.  Update help message.
6001         * elf/link.h (struct link_map): Add l_versyms member.
6002         (_dl_debug_bindings): Add declaration.
6003         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6004         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6005         and l_reloc_result.
6006         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6007         (sym_val): Remove a member, add m as link_map.
6008         (do_lookup): Return result appropriately.
6009         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6010         Call do_lookup correctly.
6011         (_dl_lookup_symbol_skip): Likewise.
6012         (_dl_lookup_versioned_symbol): Likewise.
6013         (_dl_lookup_versioned_symbol_skip): Likewise.
6015 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6017         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6018         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6020         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6021         * libc.map: Add chown to GLIBC_2.1.
6022         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6023         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6025 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6027         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6028         weak alias.
6029         * sysdeps/alpha/ffs.c: Likewise.
6030         * sysdeps/am29k/ffs.c: Likewise.
6031         * sysdeps/i386/ffs.c: Likewise.
6032         * sysdeps/i960/ffs.c: Likewise.
6033         * sysdeps/m68k/ffs.c: Likewise.
6034         * sysdeps/m88k/ffs.c: Likewise.
6035         * sysdeps/powerpc/ffs.c: Likewise.
6036         * sysdeps/rs6000/ffs.c: Likewise.
6037         * sysdeps/vax/ffs.s: Likewise.
6038         * string/string.h: Declare __ffs.
6039         * libc.map: Export it.
6040         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6041         __builtin_ffs, which is not guaranteed to be namespace clean.
6043 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6045         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6046         table, which is much more likely to exist than debugging symbols.
6047         (printsym): Remove const.
6048         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6049         header table.
6051         * libc.map: Export __profile_frequency, used by elf/sprof, to
6052         avoid infinite recursion during startup.
6054 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6056         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6057         Readd lost negate.
6059         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6061 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6063         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6065 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6067         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6068         LD_PRELOAD, and LD_VERBOSE.
6069         (dl_main): Use global variables set by process_envvars instead of
6070         calling getenv.
6071         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6072         LD_LIBRARY_PATH value, this comes with the parameter.
6073         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6074         ("LD_LIBRARY_PATH") to _dl_init_paths.
6076 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6078         * elf/rtld.c (dl_main): Delay initialization of path structure if
6079         the dynamically linker is invoked implicitly until we read the
6080         dynamic section.
6082 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6084         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6086 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6088         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6089         Linux 2.0 and 2.1.
6091         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6093 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6095         * Makeconfig (nisobjdir): Set to path to nis directory.
6096         (rpath-link): Add nisobjdir.
6097         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6099         * elf/Makefile: Pretty print.
6100         * elf/dl-lookup.c: Include unistd.h.
6101         * elf/dl-runtime.c: Likewise.
6103         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6104         (distribute): Add tst-rpmatch.sh.
6105         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6107         New tests for rpmatch function by
6108         Jochen Hein <jochen.hein@delphi.central.de>.
6109         * localedata/tst-rpmatch.c: New file.
6110         * localedata/tst-rpmatch.sh: New file.
6112         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6113         * localedata/locales/de_AT: Likewise.
6115         * posix/getopt.c: Update contact address.
6116         * posix/getopt1.c: Pretty print.
6118         * sysdeps/generic/libc-start.c: Do most of the initialization now
6119         here instead of in start.S.
6120         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6121         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6123         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6124         profil_counter to be public.
6126 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6128         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6129         (parse_param): Coded parameter length expansion (${#var}).
6130         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6131         (parse_param): Cleaned up (fixed) error handling.
6133         * posix/wordexp-test.c: IFS now includes non-whitespace character
6134         (comma).  Added more tests.
6136 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6138         * elf/link.h: Fix typos.
6139         Reported by Andreas Jaeger.
6141         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
6142         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
6144 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6146         * argp/argp-help.c: Remove last bits of using gettext instead of
6147         dgettext.
6149 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
6151         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
6152         __libc_start_main.
6153         * csu/Makefile (routines): Add libc-start.
6154         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
6155         * elf/dl-lookup.c: Likewise.
6156         * elf/dl-version.c: Likewise.
6157         * sysdeps/i386/dl-machine.h: Likewise.
6158         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
6159         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
6160         _dl_sysdep_message macros which use _dl_sysdep_output.
6161         * elf/dl-fini.c: Write out which destructor is called while debugging.
6162         * elf/dl-init.c: Likewise for constructor.
6163         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
6164         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
6165         _dl_sysdep_message.  Add _dl_sysdep_output.
6166         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
6167         this file can be opened.
6168         For LD_DEBUG=libs also set _dl_debug_impcalls.
6169         * sysdeps/generic/dl-cache.c: Include unistd.h.
6170         * sysdeps/generic/libc-start.c: New file.
6171         * sysdeps/unix/sysv/linux/libc-start.c: New file.
6172         * sysdeps/i386/elf/start.S: Don't call main directly, call
6173         __libc_start_main instead.
6175         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
6177 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
6179         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
6181 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
6183         * argp/argp.h (struct argp): Add new field domain.
6184         * argp/argp-help.c: Change all gettext calls to dgettext and use
6185         domain field from appropriate argp in call.
6186         * argp/argp-parse.c: Likewise.
6188 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
6190         * posix/wordexp-test.c: Change testsuite so that it can run even
6191         for ~root != /root.
6193 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6195         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
6197 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6199         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6200         Don't store into global errno if we already store through
6201         __errno_location.
6202         * sysdeps/unix/i386/sysdep.S: Likewise.
6203         * sysdeps/unix/alpha/sysdep.S: Likewise.
6204         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6205         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6206         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
6207         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
6208         PIC).
6210 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6212         * sysdeps/generic/sysdep.h (L): Remove definition.
6213         * sysdeps/i386/sysdep.h (L): Define it here instead.
6215 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6217         * nis/nis_call.c (__do_niscall): Safe and reset errno.
6219         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
6221 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6223         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
6224         declaration style to avoid warnings.
6226 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
6228         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
6229         "LD_DEBUG".
6231 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6233         * posix/Makefile (tests): Add wordexp-test.
6234         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
6235         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
6237 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
6239         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
6240         dependencies.
6242         * elf/link.h (struct r_search_path_elem): Add two new field for
6243         lib path debugging.
6244         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
6245         variable accordingly.
6246         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
6247         is considered next along with information about load paths.
6248         * sysdeps/generic/dl-cache.c: Likewise.
6249         * elf/dl-support.c: Define _dl_debug_libs.
6250         * elf/genrtldtbl.awk: Add initializers for two new field in
6251         struct r_search_path_elem.
6253 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6255         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
6256         * sysdeps/m68k/lshift.S: Likewise.
6257         * sysdeps/m68k/rshift.S: Likewise.
6258         * sysdeps/m68k/sub_n.S: Likewise.
6259         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
6260         * sysdeps/m68k/m68020/mul_1.S: Likewise.
6261         * sysdeps/m68k/m68020/submul_1.S: Likewise.
6263         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
6264         [_LIBC_REENTRANT]: Don't store into global errno.
6266         * sysdeps/m68k/sysdep.h: New file.
6267         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
6268         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
6269         (DO_CALL): Change to expect syscall name as argument.
6270         (PSEUDO): Pass syscall_name to DO_CALL.
6271         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
6272         errno.
6274 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6276         * elf/rtld.c: Speed up processing of environment variables.  Do
6277         only one run on the environment by avoiding to call getenv.
6278         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
6279         function.  Used by patch above.
6281 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6283         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
6284         running nscd.
6285         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
6286         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
6287         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
6289 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
6291         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
6292         module cannot be found.  Reported by Andreas Jaeger.
6294 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6296         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
6297         on platforms which default to unsigned chars.
6298         * nscd/nscd_getpw_r.c: Likewise.
6299         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
6300         defining it.
6302 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6304         * elf/Makefile (install-bin): Change = to += for sprof to install
6305         ldd also.
6307 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
6309         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
6311 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
6313         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
6315 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6317         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
6318         that a failure to connect to nscd doesn't change errno.
6320 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6322         * manual/maint.texi (Reporting Bugs): Change
6323         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
6325         * locale/iso-4217.def: Likewise
6327 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
6329         * manual/texinfo.tex: Updated.
6331 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6333         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
6334         value.
6335         * sysdeps/posix/pathconf.c: Likewise.
6336         * posix/getconf.c: Print `undefined' if pathconf returns -1
6337         without setting errno.
6339 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
6341         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
6342         problem.
6343         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
6344         Patches by Elliot Lee <sopwith@cuc.edu>.
6346 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
6348         * elf/link.h (struct link_map): Add new field l_reloc_result.
6349         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
6350         of relocation for the object to be profiled.
6351         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
6352         to NULL.
6353         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
6354         array here.
6355         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
6356         contains a result from a previous run use this instead of computing
6357         the value again.
6358         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
6360 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6362         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
6363         offsets into the GOT.
6364         (RTLD_START): Likewise.
6366 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
6368         * elf/sprof.c: Cleanup a bit.
6370 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
6372         * sysdeps/generic/sysdep.h (L): New. Define.
6374         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
6376         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
6378         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
6379         to have only one exit point for functions.
6380         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6381         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
6382         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
6383         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6384         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6386 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6388         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
6389         reset errno so that errno isn't set to ENOSYS in the first call.
6390         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
6391         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6392         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6393         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6395 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
6397         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
6398         * sysdeps/i386/addmul_1.S: Likewise.
6399         * sysdeps/i386/lshift.S: Likewise.
6400         * sysdeps/i386/mul_1.S: Likewise.
6401         * sysdeps/i386/rshift.S: Likewise.
6402         * sysdeps/i386/sub_n.S: Likewise.
6403         * sysdeps/i386/submul_1.S: Likewise.
6404         * sysdeps/i386/i586/add_n.S: Likewise.
6405         * sysdeps/i386/i586/addmul_1.S: Likewise.
6406         * sysdeps/i386/i586/lshift.S: Likewise.
6407         * sysdeps/i386/i586/mul_1.S: Likewise.
6408         * sysdeps/i386/i586/rshift.S: Likewise.
6409         * sysdeps/i386/i586/sub_n.S: Likewise.
6410         * sysdeps/i386/i586/submul_1.S: Likewise.
6412         * sysdeps/i386/sysdep.h: Extend last change.
6414         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
6415         to have only one exit point for functions.
6417 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6419         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
6420         search.
6422 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
6424         * Makerules: Generate libc.so with absolute paths for the used
6425         shared objects.
6427         * config.make.in: Add MAKEINFO definition.
6429 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6431         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
6432         (ENTRY): Use STABS_FUN.
6433         (END): Use STABS_FUN_END.
6434         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
6436         * elf/Makefile: Add rules to build sprof program.
6437         * elf/sprof.c: New file.
6439 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6441         * misc/syslog.c (openlog_internal): Insert missing closing brace.
6443 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6445         * configure.in: Check for working msgfmt version (from GNU gettext
6446         0.10 or later).
6448 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6450         * configure.in: Avoid //s in sysdirs.
6451         Patch by Roland McGrath.
6453         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
6455 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
6457         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
6458         setting _dl_global_scope for RTLD_GLOBAL.
6460 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6462         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
6463         possible lists of object-suffixes are taken care of.
6465 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
6467         * timezone/private.h: Update from tzcode1998c.
6468         * timezone/zic.c: Likewise.
6469         * timezone/antarctica: Updated from tzdata1998c.
6470         * timezone/asia: Likewise.
6471         * timezone/australasia: Likewise.
6472         * timezone/europe: Likewise.
6473         * timezone/southamerica: Likewise.
6475 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
6477         * posix/glob.c (glob_in_dir): Add support for cases insensitive
6478         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
6480 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
6482         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
6483         Changed type of TWO43, TWO52 from float to double.
6484         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
6485         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
6486         Changed type of TWO43 from float to double.
6487         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
6488         Use __isinff.
6490 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
6492         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
6493         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
6494         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
6496 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
6498         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
6499         kernel_termios.h.
6500         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
6501         Clean up random whitespace.
6502         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
6503         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
6504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
6505         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
6507 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
6509         * shlib-versions: Match alpha*.
6510         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
6511         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
6513         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
6514         Implement copysign* with and without __ prefix.
6515         Likewise for fabs; use builtin for gcc 2.8.
6516         (floor*): New.
6517         (fdim*): New.
6519         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
6520         (R_SPARC*): Match current v9 ABI.
6522         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
6524         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
6525         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6526         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
6527         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
6528         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
6529         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
6530         * sysdeps/unix/grantpt.c (argv): Fix consts.
6531         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
6532         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6534 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6536         * misc/syslog.c: Change to allow user the interpretation of the
6537         outcome even with syslog having no return value.
6539 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
6541         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
6542         that the number of program headers is >0 (which is wrong for the
6543         loader itself).
6545 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6547         * Makefile (distribute): Add README.libm.
6549 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6551         * time/clocktest.c (main): Correct typo: "--" -> "==".
6553 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
6555         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
6556         inline function.
6557         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
6558         inline functions.
6560         * math/libm.map (__atan2): Added.
6562 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6564         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
6565         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6567         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
6568         bug.
6570 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6572         * manual/arith.texi (Old-style number conversion): Correct
6573         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
6575 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6577         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
6578         but does not require it.  Handle missing argv[] values gracefully.
6579         * posix/execl.c: Likewise.
6580         * posix/execle.c: Likewise.
6582 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6584         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
6585         bit.
6586         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
6588 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
6590         * libc.map: Add __adjtimex.
6592 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6594         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6595         Remove memset.
6597 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
6599         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
6600         to 64.
6602         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
6604         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
6605         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
6607         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
6608         for shared library.
6610         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
6612         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6613         Added adjtimex and old_adjtimex.
6615         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
6616         New.
6617         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
6618         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
6620         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
6621         symbols only for shared library.
6622         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6623         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6624         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6625         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6626         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6627         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6628         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6630         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
6631         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6632         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6633         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6634         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6635         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6636         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6637         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6639         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
6640         rusage pointer.
6642         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
6643         New macros.
6644         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
6645         timex and __adjtimex, respectively.
6647         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
6649         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
6651 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
6653         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
6654         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
6656 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
6658         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
6660 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6662         * Makefile.in: Disable built-in rules.
6664 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6666         * sysdeps/i386/fpu/t_exp.c: Move to ...
6667         * sysdeps/libm-i387/t_exp.c: ... here.
6669 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
6671         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
6672         from __exp2_deltatable.
6674 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
6676         * nis/ypclnt.c (yp_master): Check result of strdup.
6677         Patch by Thorsten Kukuk.
6679 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6681         * nis/ypclnt.c: Give clnt handle after error checking free, change
6682         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
6684 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
6686         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
6687         Patch by Joe Keane <jgk@jgk.org>.
6689         * misc/fstab.h (struct fstab): Change fs_type member to be const.
6690         * misc/fstab.c: Remove casts in fs_type assignments.
6692 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6694         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
6695         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
6696         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
6697         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
6698         * sysdeps/powerpc/bits/fenv.h: Likewise.
6699         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
6700         * sysdeps/generic/bits/fenv.h: Likewise.
6701         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
6702         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
6703         * sysdeps/powerpc/test-arith.c (main): Likewise.
6705 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6707         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
6708         the comparison macros.
6710 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
6712         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
6713         (__log2): Fixed return values.
6714         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
6716 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
6718         * math/math.h (isunordered): Rename local variables to ensure
6719         correct code.  Reported by HJ Lu.
6721 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
6723         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6724         isless, islessequal, islessgreater, isunordered): Fix syntax for
6725         fucompip instruction.
6726         (isless, islessequal): Fix logic.
6728 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6730         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
6731         (comparisons_test): New tests for comparison macros.
6733 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
6735         * Makeconfig: Filter out frame-pointer effecting options when
6736         compiling profiling or debugging code.
6737         * config.h.in (internal_function): Don't define here if PROF is
6738         defined.
6739         * gmon/gmon.c (__moncontrol): Don't change state if already in error
6740         state.
6741         (__monstartup): If calloc fails set error state and mark array as
6742         not allocated.
6743         (_mcleanup): Don't call write_gmon if in error state.  Don't try
6744         to free array if not  successfully allocated.
6746         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
6747         Include elf.h to get macro definitions.
6748         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
6750 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
6752         * elf/ldd.sh.in: Add compatibility for broken old shells.
6753         * elf/ldd.bash.in: Likewise.
6755 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
6757         * sunrpc/rpc_main.c (open_input): Check pipe return error.
6759         * time/clocktest.c (main): Check signal return error.
6761 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6763         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
6764         "/" and use do-install-program. Reported by Mark M. Kettenis.
6765         (subdir_install):  Likewise.
6767 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6769         * sunrpc/rpc_sample.c: Fix typo.
6771         * nscd/connections.c: Use locale.
6772         * nscd/grpcache.c: Add debug messages, gidtbl should get the
6773           calloc result.
6774         * nscd/nscd.c: Check if init functions fails.
6775         * nscd/nscd_conf.c: Allow disabling of group cache.
6776         * nscd/nscd_getgr_r.c: Fix return code if group not found.
6777         * nscd/pwdcache.c: Fix debug messages.
6779 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6781         * libc.map: Add __monstartup and _mcleanup for profiling support.
6783 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6785         * libc.map: Export __getpagesize, for binary compatibility with
6786         2.0.
6788 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6790         * posix/globtest.sh: Use --library-path instead of
6791         LD_LIBRARY_PATH.
6792         * localedata/sort-test.sh: Likewise.
6793         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
6795 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6797         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
6798         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
6799         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6801         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
6802         kernel_sigaction): Define.
6803         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
6804         kernel_sigaction): Define.
6806 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6808         * math/libm-test.c: Change epsilons for libm-ieee754.
6810 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
6812         * sysdeps/i386/__longjmp.S: Fix race condition.
6813         Reported by Bruno Haible <haible@ilog.fr>.
6815 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
6817         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
6818         * iconvdata/8bit-gap.c: Likewise.
6819         * iconvdata/8bit-generic.c: Likewise.
6820         * iconvdata/iso6937.c: Likewise.
6821         * iconvdata/iso8859-1.c: Likewise.
6822         * iconvdata/sjis.c: Likewise.
6823         * iconvdata/t61.c: Likewise.
6825 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6827         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
6828         feature tests by positive feature tests.
6830 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6832         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
6834 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
6836         * elf/dlvsym.c (dlvsym_doit): More corrections.
6837         Patch by Andreas Jaeger.
6839 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6841         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
6843 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
6845         * libc.map: More reordering for GLIBC_2.1 symbols.
6847 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6849         * libc.map: Move some functions from version GLIBC_2.0 to
6850         GLIBC_2.1, reorder declarations.
6852 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
6854         * resolv/gethnamaddr.c (addrsort): Make this function extern.
6855         Patch by zab@thebrain.grumblesmurf.net.
6857 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6859         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
6860         NIS+ functions with version GLIBC_2.1.
6862 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
6864         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
6865         with 2.0 binaries.  Reported by Thorsten Kukuk.
6867 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6869         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
6871         * elf/dlsym.c (dlsym_doit): Likewise.
6873 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6875         * elf/link.h: Correct typos.
6877         * iconv/iconv_prog.c: Correct typo.
6879 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
6881         * iconv/Makefile: Add rules to build and install iconv program.
6882         * iconv/iconv_prog.c: New file.
6884 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
6886         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
6887         _dl_lookup_symbol_skip call.
6888         * elf/dlvsym.c (dlvsym_doit): Likewise.
6890 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
6892         * libio/iovsscanf.c: Do not include errno.h.
6894 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6896         * elf/dl-load.c (add_name_to_object): Don't translate strings.
6897         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
6898         pulling in the whole error list.
6899         (__dcgettext, dcgettext): Removed.
6900         * libc.map: Export _strerror_internal.
6902 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
6904         * sysdeps/i386/fpu/t_exp.c: New file.
6906 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6908         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
6909         everything with version GLIBC_2.1.
6910         * hesiod/libnss_hesiod.map: Likewise.
6912 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6914         * manual/arith.texi (Old-style number conversion): This node is a
6915         section, not a subsection.
6917 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6919         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
6921 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6923         * elf/rtld.c (dl_main): Make sure that the library search paths
6924         have been initialized before the first call to _dl_map_object.
6926 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6928         * Makerules (common-generated): Add libc_pic.os.
6930 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6932         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
6933         of the executable.
6935 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6937         * sysdeps/m68k/fpu/t_exp.c: New file.
6939 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6941         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
6942         to global errno variable anymore.
6944 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
6946         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
6947         If PRELOADED is nonzero check in case of an SUID application
6948         whether the shared object has the SUID bit set.
6949         Fix some other problems with handling shared objects in system
6950         specific directories.
6951         (_dl_map_object): Also take extra parameter and pass it to open_path.
6952         * elf/link.h (_dl_map_object): Correct prototype and comment.
6953         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
6954         * elf/dl-open.c (_dl_open): Likewise.
6955         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
6957         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
6959 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6961         * math/libm-test.c (modf_test): Add test for 1.5.
6963         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
6964         0 to get always an int.
6966 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6968         * math/libm.map: Move all symbols that are new in glibc 2.1 to
6969         version GLIBC_2.1.
6971 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
6973         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
6974         trying to read another character.
6976 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6978         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
6979         name to lowercase.
6981         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
6982         name to lowercase, add test for big enough buffer.
6984 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6986         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
6987         Make compatible with older kernels.  Patch by Richard Henderson.
6989 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
6991         * elf/dl-load.c (open_path): Use __xstat instead of stat.
6993         * localedata/tst-locale.sh: Comment out first test for now.
6995 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
6997         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
6998         as 1.
6999         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7000         Likewise.
7002         * libio/iogetline.c (_IO_getline_info): Renamed from
7003         _IO_getline.
7004         (_IO_getline): Just call _IO_getline_info.
7006         * libio/libioP.h (_IO_getline_info): New declaration.
7008         * libc.map (_IO_getline_info, __write): Added.
7010 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7012         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7013         const char* to shut up gcc.
7015 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7017         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7018         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7020         * math/math.h: Define M_* constants always as `double' and add new
7021         macros M_*l which are of type `long double'.
7022         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7023         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7024         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7025         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7026         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7027         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7028         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7029         * math/libm-tst.c: Likewise.
7031         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7032         define as long double unconditionally.
7034 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7036         * manual/arith.texi (Old-style number conversion): Correct some
7037         typos.
7039 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7041         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7042         Restore.
7044         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7046 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7048         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7049         on $(rtld-ldscript).
7051         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7052         starting from 0 not only from `from'.
7053         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7055 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7057         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7058         pass value (or NULL) to _dl_init_paths.
7059         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7060         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7061         environment variable.
7062         * elf/link.h: Change prototype for _dl_init_paths.
7063         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7065         * localedata/Makefile (distribute): Add test files.
7067 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7069         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7070         test1.def, test2.def, test3.def, test4.def}: Simple input files
7071         for localedef. Contributed by Yung-Ching Hsiao
7072         <yhsiao@cae.wisc.edu>.
7074         * localedata/Makefile (tests): Call tst-locale.sh.
7076         * localedata/tst-locale.sh: New file, regression tests for some
7077         localedef problems.
7079 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7081         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7083         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7084         terminated.
7085         * nis/nss_nisplus/nisplus-network.c: Likewise.
7086         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7087         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7088         * nis/nss_nisplus/nisplus-service.c: Likewise.
7090         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7091         and support generating thread safe RPC code.
7092         * sunrpc/rpc_main.c: Add changes.
7093         * sunrpc/rpc_clntout.c: Likewise.
7094         * sunrpc/rpc_cout.c: Likewise.
7095         * sunrpc/rpc_hout.c: Likewise.
7096         * sunrpc/rpc_parse.c: Likewise.
7097         * sunrpc/rpc_sample.c: Likewise.
7098         * sunrpc/rpc_scan.c: Likewise.
7099         * sunrpc/rpc_svcout.c: Likewise.
7100         * sunrpc/rpc_util.c: Likewise.
7101         * sunrpc/rpc_util.h: Add new structs and prototypes.
7102         * sunrpc/proto.h: Remove prototypes for static functions.
7104 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7106         * locale/programs/ld-messages.c (messages_finish): Don't skip
7107         error checking when being quiet.
7108         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7109         (set_class_defaults): Likewise.
7110         * locale/programs/charmap.c (parse_charmap): Likewise.
7111         * locale/programs/ld-collate.c (collate_finish): Likewise.
7112         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7113         * locale/programs/ld-time.c (time_finish): Likewise.
7114         * locale/programs/locfile.c (write_locale_data): Likewise.
7116         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7117         unknown characters and empty ranges.
7118         * locale/programs/ld-collate.c (collate_order_elem): When
7119         processing an ellipsis properly form a linked list in the result
7120         table, fix typo when allocating ordering array.
7121         [PR libc/419]
7123 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7125         * elf/Makefile (ld-map): Define.
7126         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7127         `$(rtld-ldscript)'.
7128         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7129         on $(ld-map).
7130         (rtld-link): Combine the two versions of this definition.  Fixed
7131         to make it work when no symbol versioning is used.
7133 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7135         * Makeconfig (build-program-cmd): Use --library-path parameter to
7136         ld.so instead of environment variable.
7138         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
7139         * sunrpc/rpc_main.c: Remove support for -$$ option again.
7141 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7143         * Make-dist: Respect with-cvs setting.
7144         * MakeTAGS (all-pot): Likewise.
7145         * sysdeps/sparc/sparc32/Makefile: Likewise.
7146         * sysdeps/mach/hurd/Makefile: Likewise.
7147         * stdlib/Makefile: Likewise.
7148         * posix/Makefile: Likewise.
7149         * intl/Makefile: Likewise.
7150         * po/Makefile (linguas): Likewise
7152 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7154         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
7156 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7158         * libc.map: Add __strcasecmp.
7160         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
7161         module.
7163         * nss/getXXent_r.c: If no more module is found don't try to call
7164         setXXent functions but leave unsuccessfully.
7166         * malloc/obstack.h: Cleanups.
7168         * sysdeps/wordsize-32/stdint.h: New file.
7169         * sysdeps/wordsize-64/stdint.h: New file.
7170         * sysdeps/generic/stdint.h: New file.
7171         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
7172         * sysdeps/wordsize-64/inttypes.h: Likewise.
7173         * stdlib/Makefile (headers): Add stdint.h.
7175 1998-02-03  Paul Eggert  <eggert@twinsun.com>
7177         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
7179 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7181         * timezone: New directory.
7182         * time/README, time/africa, time/antarctica, time/asia,
7183         time/australasia, time/backward, time/checktab.awk,
7184         time/etcetera, time/europe, time/factory, time/ialloc.c,
7185         time/iso3166.tab, time/leapseconds, time/northamerica,
7186         time/pacificnew, time/private.h, time/scheck.c,
7187         time/solar87, time/solar88, time/solar89, time/southamerica,
7188         time/systemv, time/test-tz.c, time/tzfile.h,
7189         time/tzselect.ksh, time/yearistype, time/zdump.c,
7190         time/zic.c, time/zone.tab: Moved to timezone.
7191         * time/tzfile.c: Include tzfile.h from timezone subdir.
7192         * time/tzset.c: Likewise.
7193         * time/Makefile: Cut out all code relating to timezones...
7194         * timezone/Makefile: ...and paste it in here.
7195         * Makefile (subdirs): Add timezone.
7197 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
7199         * libc.map (_sys_nerr): Added.
7201         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
7202         versioned symbol.
7204 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
7206         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
7207         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
7208         Reported by Craig Metz <cmetz@inner.net>.
7210 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7212         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
7213         instead of strcasecmp.
7214         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
7216         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
7218 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
7220         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
7221         Patch by Dean Gaudet <dgaudet@arctic.org>.
7223 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
7225         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
7227 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7229         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
7230         with no poll syscall, just include the BSD version.
7231         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
7232         kernel without the syscall, include the stub version.
7233         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
7234         * sysdeps/generic/getresuid.c: New file.
7235         * sysdeps/generic/getresgid.c: New file.
7237 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
7239         * stdio-common/vfscanf.c: Correct last change a bit.
7241 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
7243         * elf/Makefile: Don't use --version-script parameter to link ld.so
7244         unconditionally.
7246 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
7248         * math/Makefile: Add t_exp.
7249         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
7250         constants.
7251         * math/test-reduce.c: Remove temporarily, it seems to be broken.
7252         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
7253         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
7254         better accuracy.
7255         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
7256         algorithm for very large/very small arguments.
7257         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
7258         correct algorithm for very large/very small arguments; adjust for
7259         new table.
7260         * sysdeps/libm-ieee754/t_exp.c: New file.
7261         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
7263         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
7264         back, with comment that explains what breaks when you remove it :-(.
7266         * localedata/xfrm-test.c: Avoid integer overflow.
7268         * stdlib/strfmon.c: char is unsigned, sometimes.
7270         * sysdeps/powerpc/Makefile: Remove quad float support.
7271         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
7272         * sysdeps/powerpc/quad_float.h: Likewise.
7273         * sysdeps/powerpc/test-arith.c: Likewise.
7274         * sysdeps/powerpc/test-arithf.c: Likewise.
7276         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
7277         * sysdeps/generic/s_exp2f.c: Likewise.
7279         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
7280         don't try anything if _SOFT_FLOAT.
7282 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7284         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
7285         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
7286         * wctype/wctype.c: Likewise.
7287         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
7288         changed.  They are incompatible with the _ISxxx values from
7289         <ctype.h> on little endian machines.
7290         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
7291         bit number.  This fixes the real bug and restores the integrity of
7292         the ctype locale file.
7293         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
7294         * wctype/wcfuncs_l.c: Likewise.
7295         * wctype/wcextra.c: Likewise.
7296         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
7297         byte swapping.
7299 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7301         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
7302         into .bss segment instead of .common, so that aliases on it work.
7304         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
7305         .size directives, put into .bss segment instead of initializing it
7306         to 4.
7308 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
7310         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
7312         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
7313         functions.
7314         Make names without __ weak aliases.
7315         (__libc_release, __libc_version): Make them static.
7317         * include/gnu/libc-version.h: New file.
7318         * Makefile (headers): Add gnu/libc-version.h.
7320 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
7322         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
7323         and use x for member name.
7324         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
7326         * stdlib/drand48.c: Change according to member name change.
7327         * stdlib/drand48_r.c: Likewise.
7328         * stdlib/lcong48_r.c: Likewise.
7329         * stdlib/lrand48.c: Likewise.
7330         * stdlib/lrand48_r.c: Likewise.
7331         * stdlib/mrand48.c: Likewise.
7332         * stdlib/mrand48_r.c: Likewise.
7333         * stdlib/seed48.c: Likewise.
7334         * stdlib/seed48_r.c: Likewise.
7335         * stdlib/srand48_r.c: Likewise.
7337 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7339         * nss/test-netdb.c: Add some more test cases.
7341 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
7343         * libio/iovsscanf.c: Undo last change modifying errno.
7345 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7347         * stdio-common/vfscanf.c: Never try to read another character
7348         after EOF.  Don't decrement read_in after EOF, it wasn't
7349         incremented in the first place.
7350         (NEXT_WIDE_CHAR): Set First, not first.
7352 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
7354         * db/Makefile ($(inst_libdir)/libndbm.a,
7355         $(inst_libdir)/libndbm.so): New targets.
7356         * db2/Makefile: Likewise.
7358 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
7360         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
7361         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
7363 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7365         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
7366         <streambuf.h>.
7367         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7369 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7371         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
7372         versioned symbols.
7374 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
7376         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
7377         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
7378         Added for libdl.so.
7380 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7382         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
7383         extra syscall.
7385         * grp/Makefile: Fix logic when checking for thread package.
7386         * pwd/Makefile: Likewise.
7388 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
7390         * elf/Makefile (rtld-map): Replaced by libc-map.
7392         * elf/rtld.map: Removed.
7394         * libc.map (__libc_enable_secure, _dl_catch_error,
7395         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
7396         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
7397         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
7398         _dl_object_relocation_scope, _dl_relocate_object,
7399         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
7400         _r_debug): Added for ld.so.
7402 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
7404         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
7405         DO_VERSIONING.
7406         * libio/iofdopen.c: Ditto.
7407         * libio/iofopen.c: Ditto.
7408         * libio/oldfileops.c: Ditto.
7410         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
7411         version GLIBC_2.1.
7413         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
7414         oldsiglist from sysdep_routines and shared-only-routines.
7416         * sysdeps/unix/sysv/linux/errlist.c: New.
7417         * sysdeps/unix/sysv/linux/errlist.h: New.
7418         * sysdeps/unix/sysv/linux/sizes.h: New.
7419         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
7420         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
7422         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
7424         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
7425         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
7426         directive.
7428         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
7430         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
7431         (oldsiglist.c): Removed.
7433         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
7434         (_sys_siglist): Use SYS_SIGLIST instead.
7435         (_sys_nerr): Use SYS_NERR instead.
7437         * sysdeps/gnu/errlist.c: Rebuilt.
7439 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
7441         * elf/Makefile (others-static): New, set to ldconfig.
7442         ($(objpfx)ldconfig): Removed.
7444         * Rules (binaries-all, binaries-static, binaries-shared): New.
7445         Create targets for $(binaries-static) and $(binaries-shared).
7447         * Makeconfig (+link-static, link-libc-static,
7448         link-extra-libs-static): New for static linking.
7450 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7452         * manual/memory.texi (Using the Memory Debugger): Fix typo.
7454         * math/libm-test.c (modf_test): Add one more test for modf.
7456 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
7458         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7459         Rename from __libc_have_rt_sigs and leave as COMMON data.
7461 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
7463         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
7464         of __finite.
7466 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
7468         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
7470 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
7472         * misc/tst-efgcvt.c: Add yet more tests.
7473         * misc/efgcvt_r.c: And correct for these tests again.
7474         Reported by HJ Lu.
7476         * isomac.c: Move to...
7477         * stdlib/isomac.c: ...here.
7478         * Makefile: Move rules for handling isomac...
7479         * stdlib/Makefile: ...to here.
7481 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7483         * misc/tst-efgcvt.c: Add more tests.
7484         * misc/efgcvt_r.c: Correct result for above new tests.
7486 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
7488         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
7489         NDIGIT <= 0.
7491 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
7493         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
7494         if the programs weren't built.
7496 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
7498         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
7499         FE_TONEAREST, soldier on regardless and do the best we can.
7500         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
7502 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
7504         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
7505         _STDIO_H, before including <bits/stdio_lim.h>.
7507         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
7509         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
7510         exist.
7512         * sysdeps/arm/sys/ucontext.h: New file.
7514 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
7516         * manual/stdio.texi (Formatted Output Functions): Explicitly say
7517         that the return value from snprintf() does not count the
7518         terminating NUL as a character.
7520 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7522         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
7523         add description for sete[ug]id and general cleanup.
7524         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7526 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7528         * Makefile (parent-clean): Don't remove makefile fragments here.
7529         (postclean): New variable.
7530         (clean): Remove makefile fragments here.
7531         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
7532         (generated): Add isomac and isomanc.out.
7533         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
7534         avoid-generated is set.
7535         (postclean-generated): Add soversion.mk.
7536         ($(common-objpfx)version.mk): Don't include if avoid-generated is
7537         set.
7538         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
7539         avoid-generated is set.
7540         (common-generated): Add libc.so and libc.so$(libc.so-version).
7541         (generated): Add versioned libraries.
7542         (common-mostlyclean): Also remove %.so and %_pic.a.
7543         * csu/Makefile (generated): Add abi-tag.h.
7544         * db2/Makefile (extra-objs): Add getlong.o.
7545         * elf/Makefile (generated): Add ld.so, ldd and
7546         $(rtld-installed-name).
7547         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
7548         * malloc/Makefile (generated): Add mtrace.
7549         * po/Makefile: Don't include version.mk, not needed any more.
7550         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
7551         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
7552         syscall.h -> sys/syscall.h.
7553         (common-generated): Add s-proto.d.
7554         (postclean-generated): Add sysd-syscalls.
7555         * localedata/Makefile (test-output): Add all output files.
7556         (generated): Add test-input and test-output.
7557         (generated-dirs): Add all the dirs.
7559 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7561         * Makefile (test-output, generated, generated-dirs): New
7562         variables.
7564 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
7566         * resolv/nss_dns/dns-host.c: Various code cleanups.
7568 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
7570         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
7571         From Philip Blundell <pb@nexus.co.uk>.
7572         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
7574 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7576         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
7577         Suggested by debian/sparc porters.
7579 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7581         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
7582         for ecvt and fcvt.
7584 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
7586         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
7587         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
7589         * signal/signal.h: Always define sigset_t if __need_sigset_t is
7590         defined even if __USE_POSIX is not defined.
7592 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7594         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
7595         to support obsolete tty major numbers correctly.
7597 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
7599         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
7600         directory first and ignore install error.
7602         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
7603         128 from ptyno and fix a typo for the BSD style pty.
7605 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7607         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
7608         syscalls.list's.
7610 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7612         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7613         getresuid and getresgid.
7615         * sysdeps/unix/sysv/linux/getresuid.c: New file.
7616         * sysdeps/unix/sysv/linux/getresgid.c: New file.
7618         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
7619         s_getres[ug]id.
7621         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
7622         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7623         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7624         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
7626 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
7628         * nscd/grpcache.c: Include <stdlib.h>.
7630 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
7632         * stdlib/atoll.c: Fix comments.
7634         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
7635         * sysdeps/posix/ttyname_r.c: Ditto.
7637 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7639         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
7640         __USE_MISC, independent of __USE_UNIX98.
7642 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
7644         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
7645         Rename from __libc_have_rt_sigs and leave as COMMON data.
7647 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
7649         * Makeconfig (CFLAGS-.os): Kill -fno-common.
7650         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
7652         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
7653         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
7654         version symbols.
7655         * include/libc-symbols.h (symbol_version, default_symbol_version):
7656         Provide asm versions and correct !DO_VERSIONING versions.
7657         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
7658         the weak symbol list.
7660         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
7661         Rename from __libc_have_rt_sigs and leave as COMMON data.
7662         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7663         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7664         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7666 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7668         * sunrpc/Makefile: Correct dependencies of rpcgen.
7670 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
7672         * nscd/Makefile: Fix test for available linuxthreads add-on.
7673         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
7675 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7677         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
7679 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7681         * sysdeps/gnu/Makefile: Respect with-cvs variable.
7683         * manual/errno.texi (Error Messages): Correct description of
7684         strerror_r.  Pointed out by jonas@bagge.se.
7686 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7688         * manual/socket.texi (Host Address Functions): Clarify description
7689         of inet_network.
7691 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7693         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
7694         (grantpt): Delete superfluous cast.
7696 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7698         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
7699         elf/ldso_install instead of elf/subdir_install.
7700         (elf/ldso_install): New target.
7702         * elf/Makefile (ldso_install): New target.
7704 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7706         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
7707         of 1998-01-06.
7709 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7711         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
7712         constant expressions.
7714 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7716         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
7717         for __nss_configure_lookup.
7718         (output_hostent): Remove unused variable.
7720 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7722         * string/tst-inlcall.c: Fix format string.
7724 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7726         * inet/netinet/in.h: Rename second parameter of bindresvport to
7727         avoid buggy gcc warning. [PR libc/412]
7729 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
7731         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
7732         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
7734         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
7735         Follow POSIX and make tv_sec a time_t.
7736         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
7737         new tv64 syscall as well as fall back to tv32.
7738         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7739         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7740         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7741         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7742         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7743         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7744         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7745         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
7747         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
7748         * include/rpcsvc/nis_tags.h: Likewise.
7749         * include/rpcsvc/nislib.h: Likewise.
7751 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
7753         * libc.map: Add _h_errno.
7754         * inet/herrno.c: Make _h_errno weak alias.
7756         * login/Makefile (distribute): Add pty-internal.h.
7758         * nscd/Makefile (distribute): Add all the files missing.
7760         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
7761         are available.
7763         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
7764         and report status at the end.
7766         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
7768         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
7769         variable.
7770         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
7771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
7772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
7774 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
7776         * configure.in: Fix --enable-add-ons code.
7778 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7780         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
7781         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
7782         [PR libc/441]
7784         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
7785         occurence in cache.  Reported by Rudolf Leitgeb
7786         <leitgeb@leland.stanford.edu>.
7787         [PR libc/440]
7789 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
7791         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
7792         that it never is EINTR (which is tested for in _IO_vfscanf).
7794         * Makefile.in: Call sub-make with CVSOPTS.
7796         * elf/Makefile (distribute): Add dl-procinfo.h.
7798         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
7800 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
7802         * version.h (VERSION): Bump to 2.0.92.
7804 1998-01-31  Phil Blundell  <philb@gnu.org>
7806         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
7807         alias for __new_sys_siglist.
7809 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
7811         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
7812         getgrgid_r.c if thread package is available.
7813         * pwd/Makefile: Likewise.
7814         * grp/getgrnam_r.c: Remove USE_NSCD definition.
7815         * grp/getgrgid_r.c: Likewise.
7816         * pwd/getpwnam_r.c: Likewise.
7817         * pwd/getpwuid_r.c: Likewise.
7819 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
7821         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
7822         with error to allow user intervention.
7823         * nss/getXXent_r.c: Likewise.
7825 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
7827         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
7828         AT_PLATFORM string.  Pretty print AT_BASE info.
7830         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
7831         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
7832         * sysdeps/generic/dl-procinfo.h: New file.
7833         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
7835 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
7837         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
7839         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
7840         thread and not pthread_detach.
7842         * nscd/nscd.c: Rewrite to use argp instead of getopt.
7844 1998-01-31  Phil Blundell  <philb@gnu.org>
7846         * configure.in: Add --without-cvs option to suppress automatic
7847         checkin of regenerated files.
7848         * config.make.in: Likewise.
7849         * Makefile: Respect with-cvs setting.
7850         * Makerules: Likewise.
7852         * configure.in: Allow the standalone ARM port to be configured.
7854 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7856         * grp/getgrgid_r.c: Define USE_NSCD.
7857         * grp/getgrnam_r.c: Likewise.
7858         * pwd/getpwuid_r.c: Likewise.
7859         * pwd/getpwnam_r.c: Likewise.
7861         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
7863         * nss/getXXbyYY_r.c: Try at first nscd.
7865         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
7866         * nscd/connections.c: New file.
7867         * nscd/dbg_log.c: New file.
7868         * nscd/dbg_log.h: New file.
7869         * nscd/grpcache.c: New file.
7870         * nscd/nscd.c: New file.
7871         * nscd/nscd.h: New file.
7872         * nscd/nscd_conf.c: New file.
7873         * nscd/nscd_stat.c: New file.
7874         * nscd/pwdcache.c: New file.
7876         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
7877         * nscd/nscd_getpw_r.c: Likewise.
7878         * nscd/nscd_proto.h: New, prototypes for client functions.
7880         * nscd/nscd.conf: New, example for a configuration file.
7881         * nscd/nscd.init: New, example for a startup script.
7883         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
7884         avoid deadlocks.
7885         * nscd/getgrnam_r.c: Likewise.
7886         * nscd/getpwnam_r.c: Likewise.
7887         * nscd/getpwuid_r.c: Likewise.
7889 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
7891         * intl/Makefile: Use CVSOPTS in cvs invocation.
7892         * po/Makefile: Likewise.
7893         * posix/Makefile: Likewise.
7894         * stdlib/Makefile: Likewise.
7896 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
7898         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
7899         [PR libc/410]
7900         * misc/Makefile (tests): Add tst-efgcvt.
7901         * misc/tst-efgcvt.c: New file.
7903 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
7905         * posix/regex.c: Add some more cleanups by Akim Demaille.
7907 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
7909         * signal/signal.h: Revert last change.
7910         * string/strsignal.c: Regard signal number NSGI as illegal.
7911         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
7912         members.
7914 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
7916         * Makefile.in: Add comment about CVSOPTS Makefile variable.
7917         * Makerules: Use CVSOPTS in cvs invocation.
7918         * Makefile: Likewise.
7919         * MakeTAGS: Likewise.
7920         * Make-dist: Likewise.
7922 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
7924         * sysdeps/generic/memmem.c: Correct last change.
7926 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
7928         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
7929         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
7931 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7933         * nis/ypclnt.c: Try at first to use the binding file from ypbind
7934         before using RPC.
7936 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7938         * manual/memory.texi (Heap Consistency Checking): mcheck is
7939         declared in <mcheck.h>.
7940         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
7942 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7944         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
7945         beginning of haystack.
7947 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7949         * nss/nss_files/files-service.c: Correct last patch.
7951 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
7953         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
7954         __libc_have_rt_sigs.
7955         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
7956         including <bits/setjmp.h>.
7957         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
7958         Patch from the Debian glibc/SPARC package.
7960 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
7962         * sysdeps/alpha/bzero.S: Fix a typo.
7963         * sysdeps/alpha/htonl.S: Ditto.
7964         * sysdeps/alpha/htons.S: Ditto.
7966 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7968         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
7970 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
7972         * include/cpio.h: Move to ...
7973         * posix/cpio.h: ...here.
7975         * locale/programs/ld-collate.c: Fix typo.
7977         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
7979         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
7981         * login/utmp_file.c (pututline_file): Don't always report success
7982         if similar entry is found.  Patch by Mark M. Kettenis.
7984 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
7986         * manual/Makefile: Don't try to install the info files if makeinfo
7987         is not available.
7989 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
7991         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
7992         kernel's network ioctls, rather than using <linux/sockios.h> to
7993         get them.  This way we are sure of maintaining compatibility if
7994         the kernel interface should change.
7996 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
7998         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8000 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8002         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8005 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8007         Implement System V pseudoterminal handling.
8009         * login/Makefile
8010         (routines): Add getpt, grantpt, unlockpt, ptsname.
8011         (libutil-routines): Remove pty. Add openpty, forkpty.
8012         (distribute): New internal header pty-internal.h.
8013         (others): Add the helper program, pt_chown.
8014         (install-others): Install it, in $(libexecdir), mode 4755.
8016         * login/pty-internal.h: New file.
8017         * login/openpty.c: New file.
8018         * login/forkpty.c: New file.
8019         * login/programs/pt_chown.c: New file.
8021         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8022         * stdlib/stdlib.h: Prototype them.
8024         * config.make.in: Define $(libexecdir).
8025         * Makeconfig: Define $(inst_libexecdir).
8027         * sysdeps/generic/pty.c: Removed.
8028         * sysdeps/unix/sysv/linux/pty.c: Removed.
8030         * sysdeps/generic/getpt.c: Stub out.
8031         * sysdeps/generic/grantpt.c: Likewise.
8032         * sysdeps/generic/ptsname.c: Likewise.
8033         * sysdeps/generic/unlockpt.c: Likewise.
8035         * sysdeps/unix/grantpt.c: New file.
8036         * sysdeps/unix/bsd/getpt.c: New file.
8037         * sysdeps/unix/bsd/unlockpt.c: New file.
8038         * sysdeps/unix/sysv/linux/getpt.c: New file.
8039         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8040         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8042 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8044         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8046 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8048         * nss/Makefile (tests): Add rule for test-netdb.c.
8050         * nss/test-netdb.c: New file.
8052 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8054         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8055         really kept as a variable.  Patch by Richard Henderson,
8056         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8058         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8059         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8060         entries as not existing.
8062 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8064         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8065         zero in alternate form with precision of zero, which must produce
8066         "0".  Add braces to avoid ambiguous `else'.
8068 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8070         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8071         problem with strncpy.
8072         * nis/nss_compat/compat-pwd.c: Likewise.
8073         * nis/nss_compat/comapt-spwd.c: Likewise.
8075 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8077         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8078         by uch@nop.or.jp. [PR libc/437]
8080 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8082         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8084 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8086         * stdio-common/test-popen.c: Include <errno.h>.
8088         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8089         close.
8091         * inet/getnetgrent_r.c: Include <errno.h>.
8093         * db2/db/db_conv.c: Include <string.h> for memcpy.
8095         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8096         so that memcpy is declared.
8098         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8100         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8102 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8104         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8105         overflow while reading line with fgets.
8106         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8108 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8110         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8111         unsigned short, not short.
8112         Reported by Andreas Jaeger.
8114 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8116         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8117         (ccept->accept).
8119         * sysdeps/generic/inttypes.h: Fix spelling.
8121 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8123         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8125         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8127 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8129         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8130         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8131         field for hh modifier.
8132         * stdio-common/vfprint.c: Use is_char field and do not depend in
8133         is_short having the value 2.
8134         Bug reported by Andreas Jaeger.
8136 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8138         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
8139         PIC && DO_VERSIONING.
8141 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8143         * Rules: Add rules for $(common-objpfx)dummy$o.
8145 1998-01-26  Richard Henderson  <rth@cygnus.com>
8147         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
8148         unimplemented OSF/1 definitions so that they are not accidentally seen.
8150         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
8151         of the trampoline function into the macro.
8152         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
8153         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
8154         kernel 2.1.82 has this fixed.
8156         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
8157         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
8159 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
8161         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
8162         support sigaction on kernels > 2.1.7x.
8164 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
8166         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
8167         if it is empty.
8169         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
8170         Patch by David Engel <david@sw.ods.com>.
8172         * configure.in: Fix another typo in --enable-add-ons code.
8174 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
8176         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
8178 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8180         * nss/nss_files/files-network.c: Correct order of parameters for
8181         getnetbyaddr.
8183 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
8185         * db2/Makefile (routines): Add os_alloc.
8186         * db2/db.h: Update from db-2.3.16.
8187         * db2/db_185.h: Likewise.
8188         * db2/db_int.h: Likewise.
8189         * db2/btree/bt_close.c: Likewise.
8190         * db2/btree/bt_cursor.c: Likewise.
8191         * db2/btree/bt_delete.c: Likewise.
8192         * db2/btree/bt_open.c: Likewise.
8193         * db2/btree/bt_page.c: Likewise.
8194         * db2/btree/bt_put.c: Likewise.
8195         * db2/btree/bt_rec.c: Likewise.
8196         * db2/btree/bt_recno.c: Likewise.
8197         * db2/btree/btree_auto.c: Likewise.
8198         * db2/common/db_appinit.c: Likewise.
8199         * db2/common/db_apprec.c: Likewise.
8200         * db2/common/db_err.c: Likewise.
8201         * db2/common/db_region.c: Likewise.
8202         * db2/common/db_shash.c: Likewise.
8203         * db2/db/db.c: Likewise.
8204         * db2/db/db_auto.c: Likewise.
8205         * db2/db/db_conv.c: Likewise.
8206         * db2/db/db_dispatch.c: Likewise.
8207         * db2/db/db_dup.c: Likewise.
8208         * db2/db/db_pr.c: Likewise.
8209         * db2/db/db_rec.c: Likewise.
8210         * db2/db185/db185.c: Likewise.
8211         * db2/dbm/dbm.c: Likewise.
8212         * db2/hash/hash.c: Likewise.
8213         * db2/hash/hash_auto.c: Likewise.
8214         * db2/hash/hash_dup.c: Likewise.
8215         * db2/hash/hash_page.c: Likewise.
8216         * db2/hash/hash_rec.c: Likewise.
8217         * db2/include/btree_ext.h: Likewise.
8218         * db2/include/clib_ext.h: Likewise.
8219         * db2/include/common_ext.h: Likewise.
8220         * db2/include/db.h.src: Likewise.
8221         * db2/include/db_185.h.src: Likewise.
8222         * db2/include/db_am.h: Likewise.
8223         * db2/include/db_ext.h: Likewise.
8224         * db2/include/db_int.h.src: Likewise.
8225         * db2/include/hash_ext.h: Likewise.
8226         * db2/include/lock_ext.h: Likewise.
8227         * db2/include/log.h: Likewise.
8228         * db2/include/log_auto.h: Likewise.
8229         * db2/include/log_ext.h: Likewise.
8230         * db2/include/mp.h: Likewise.
8231         * db2/include/mp_ext.h: Likewise.
8232         * db2/include/mutex_ext.h: Likewise.
8233         * db2/include/os_ext.h: Likewise.
8234         * db2/include/os_func.h: Likewise.
8235         * db2/include/txn_ext.h: Likewise.
8236         * db2/lock/lock.c: Likewise.
8237         * db2/lock/lock_util.c: Likewise.
8238         * db2/log/log.c: Likewise.
8239         * db2/log/log.src: Likewise.
8240         * db2/log/log_archive.c: Likewise.
8241         * db2/log/log_auto.c: Likewise.
8242         * db2/log/log_get.c: Likewise.
8243         * db2/log/log_put.c: Likewise.
8244         * db2/log/log_rec.c: Likewise.
8245         * db2/log/log_register.c: Likewise.
8246         * db2/mp/mp_bh.c: Likewise.
8247         * db2/mp/mp_fget.c: Likewise.
8248         * db2/mp/mp_fopen.c: Likewise.
8249         * db2/mp/mp_fput.c: Likewise.
8250         * db2/mp/mp_pr.c: Likewise.
8251         * db2/mp/mp_sync.c: Likewise.
8252         * db2/mutex/mutex.c: Likewise.
8253         * db2/os/os_alloc.c: Likewise.
8254         * db2/os/os_config.c: Likewise.
8255         * db2/os/os_stat.c: Likewise.
8256         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
8257         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
8258         * db2/progs/db_load/db_load.c: Likewise.
8259         * db2/progs/db_printlog/db_printlog.c: Likewise.
8260         * db2/progs/db_recover/db_recover.c: Likewise.
8261         * db2/progs/db_stat/db_stat.c: Likewise.
8262         * db2/txn/txn.c: Likewise.
8264         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
8265         Unmap memory blocks in reverse order of allocation.
8266         Call munmap with load address added to offset.
8267         Bug reported by Miguel de Icaza.
8269         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
8270         up weight array.
8272         * localedata/locales/cs_CZ: Update by Michael Mraka
8273         <michael@informatics.muni.cz>.
8275         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
8276         __USE_BSD.
8278         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
8279         reading line with fgets.
8280         * nis/nss_compat/compat-pwd.c: Likewise.
8281         * nis/nss_compat/compat-spwd.c: Likewise.
8282         * nss/nss_files/files-XXX.c: Likewise.
8283         * nss/nss_files/files-alias.c: Likewise.
8284         * shadow/fgetspent_r.c: Likewise.
8286         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
8288         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
8289         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8290         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8292         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
8293         FP register content in ucontext_t.
8295 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8297         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
8298         calculation.  Patch by Markus Schoder
8299         <Markus.Schoder@dresdner-bank.de>.
8301         * math/libm-test.c (modf_test): Add more tests for modf.
8303         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
8304         munlock according to Unix98.
8306 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8308         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
8309         AF_INET.
8311 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
8313         * sysdeps/posix/ttyname.c: Handle symbolic links.
8314         * sysdeps/posix/ttyname_r.c: Ditto.
8316 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
8318         * db2/makedb.c (process_input): Write terminating \0 for value.
8319         (print_database): Simply print value string, don't use length.
8321 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8323         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
8324         exit of loop.
8326 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8328         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
8329         close all sockets.
8331 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
8333         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
8334         sigset.
8335         * signal/sighold.c: New file.
8336         * signal/sigrelse.c: New file.
8337         * sysdeps/generic/sigignore.c: New file.
8338         * sysdeps/generic/sigset.c: New file.
8339         * sysdeps/posix/sigignore.c: New file.
8340         * sysdeps/posix/sigset.c: New file.
8341         * signal/signal.h: Add prototypes for new functions.
8343         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
8344         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
8345         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
8346         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
8348 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
8350         * posix/wordexp.c: Added IFS field-splitting in parameter and
8351         command substitution.  Fixed an IFS-related bug that caused an
8352         infinite loop.
8354 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
8356         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
8357         and swapcontext.
8358         * stdlib/ucontext.h: Correct prototypes.
8359         * sysdeps/generic/getcontext.c: New file.
8360         * sysdeps/generic/setcontext.c: New file.
8361         * sysdeps/generic/makecontext.c: New file.
8362         * sysdeps/generic/swapcontext.c: New file.
8363         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
8365 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
8367         * resource/sys/resource.h: Remove #include of ulimit.h which is
8368         not allowed by SUSv2 and not available on other systems.
8369         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
8371         * streams/Makefile: New file.
8372         * streams/stropts.h: New file.
8373         * sysdeps/generic/bits/stropts.h: New file.
8374         * sysdeps/generic/isastream.c: New file.
8375         * sysdeps/generic/getmsg.c: New file.
8376         * sysdeps/generic/getpmsg.c: New file.
8377         * sysdeps/generic/putmsg.c: New file.
8378         * sysdeps/generic/putpmsg.c: New file.
8379         * sysdeps/generic/fattach.c: New file.
8380         * sysdeps/generic/fdetach.c: New file.
8381         * sysdeps/unix/inet/Subdirs: Add streams.
8382         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
8383         __t_uscalar_t.
8384         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8385         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
8386         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
8387         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8389         * sysdeps/mach/_strerror.c: Follow changes of generic version to
8390         handle small buffers correctly.
8392 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
8394         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
8395         Remove the 3rd arg and add declaration for _dl_runtime_resolve
8396         and _dl_runtime_profile.
8398 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
8400         * include/cpio.h: New file.  Mainly copied from GNU cpio.
8401         * posix/Makefile (headers): Add cpio.h.
8403 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8405         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
8406         to routines.
8407         * nis/nis_cache.c: New file.
8408         * nis/nis_cache2.h: New file.
8409         * nis/nis_cache2_xdr.c: New file.
8410         * nis/nis_call.c: Changes for cache2_info parameter.
8411         * nis/nis_checkpoint.c: Likewise.
8412         * nis/nis_intern.h: Likewise.
8413         * nis/nis_mkdir.c: Likewise.
8414         * nis/nis_ping.c: Likewise.
8415         * nis/nis_rmdir.c: Likewise.
8416         * nis/nis_server.c: Likewise.
8417         * nis/nis_util.c: Likewise.
8419 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8421         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
8422         return/errnop codes.
8423         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8424         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8425         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8426         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8427         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
8428         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8429         * nis/nss_nisplus/nisplus-rpc.c: Likewise
8430         * nis/nss_nisplus/nisplus-service.c: Likewise.
8431         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8433 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8435         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
8436         * nis/nss_nis/nis-ethers.c: Likewise.
8437         * nis/nss_nis/nis-grp.c: Likewise.
8438         * nis/nss_nis/nis-hosts.c: Likewise.
8439         * nis/nss_nis/nis-network.c: Likewise.
8440         * nis/nss_nis/nis-proto.c: Likewise.
8441         * nis/nss_nis/nis-hosts.c: Likewise.
8442         * nis/nss_nis/nis-network.c: Likewise.
8443         * nis/nss_nis/nis-proto.c: Likewise.
8444         * nis/nss_nis/nis-publickey.c: Likewise.
8445         * nis/nss_nis/nis-pwd.c: Likewise.
8446         * nis/nss_nis/nis-rpc.c: Likewise.
8447         * nis/nss_nis/nis-service.c: Likewise.
8448         * nis/nss_nis/nis-spwd.c: Likewise.
8450 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
8452         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
8453         Added to follow latest kernel development.
8455 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
8457         * nss/db-Makefile: Handle empty and comment lines better.
8458         ($(VAR_DB)/services.db): Generate entries with missing protocol
8459         value.
8461 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8463         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
8464           NULL.
8465           (getservbyname): Allow proto == NULL.
8466           Pointed out by David N. Welton <davidw@gate.cks.com>.
8467           [PR libc/430].
8469 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
8471         * nis/nislib/nislib.h: Finally removed.
8473         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
8474         C compiler.  From Kaveh Ghazi.
8475         (TYPE_MINIMUM): Define.
8476         (TYPE_MAXIMUM): Define.
8477         (TIME_T_MIN): Use TYPE_MINIMUM.
8478         (TIME_T_MAX): Use TYPE_MAXIMUM.
8479         Patch by Jim Meyering <meyering@ascend.com>.
8481 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
8483         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
8484         __pread64, __pwrite64, and __getpid.
8486         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
8487         versions.
8489 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8491         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
8492         cancelable socket functions as __libc_xxx with __xxx as weak
8493         alias.
8494         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8495         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8497         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
8498         redefined.
8499         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8500         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
8501         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
8502         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
8504         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
8505         and __xxx a weak alias.
8506         * sysdeps/unix/sysv/linux/connect.S: Likewise.
8507         * sysdeps/unix/sysv/linux/recv.S: Likewise.
8508         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
8509         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
8510         * sysdeps/unix/sysv/linux/send.S: Likewise.
8511         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
8512         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
8514 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8516         * locale/langinfo.h: Add defines.
8518         * dirent/dirent.h: Add defines for DT_*, check also for
8519         _DIRENT_HAVE_D_TYPE.
8520         Suggested by Roland McGrath.
8522 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8524         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
8525         Update from Linux 2.1.73+79.
8527         * README.template: Update information about possible
8528         configurations.
8530         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
8531         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8532         [PR libc/417].
8534         * manual/time.texi (Priority): Correct description of
8535         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
8536         [PR libc/416].
8538 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
8540         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
8541         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
8543 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
8545         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
8546         Andreas Jaeger.
8548 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
8550         * locale/programs/ld-collate.c: Little optimizations.
8552         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
8554         * string/Makefile (tests): Add tst-inlcall.
8555         * string/tst-inlcall.c: New file.
8557         * string/strsignal.c: Add support for real-time signals.
8559         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
8560         presense of small buffer.
8562         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
8564         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
8565         for i686.
8567         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
8568         _NSIG + 1.
8570 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
8572         * Rules: Add explicit rule for dummy.o; at least one library needs
8573           it and it isn't autogenerated by the default rules.
8575 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8577         * math/libm-test.c: Tweak epsilons.
8579 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8581         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
8582         child.
8583         (feenv_mask_test): Likewise.
8585 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8587         * Makeconfig: Don't export CPPFLAGS.
8589 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8591         * sunrpc/rpc_main.c (parseargs): Use perror to print error
8592         message.
8594 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8596         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
8597         terminating null in key size.
8599 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8601         * nss/nss_files/files-service.c: Fix allocation size to include
8602         length of PROTO.
8604         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
8605         applicable.  Fix return value and error checking.
8606         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
8607         unparsable lines.
8608         (DB_LOOKUP): Allocate space for terminating null byte.
8610         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
8611         uids specially.
8613         * db2/makedb.c (process_input): Continue processing if a duplicate
8614         key is encountered.
8616 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
8618         * time/tzfile.h: Updated from tzcode1998b.
8619         * time/zdump.c: Likewise.
8620         * time/zic.c: Likewise.
8621         * time/africa: Update from tzdata1998b.
8622         * time/antarctica: Likewise.
8623         * time/asia: Likewise.
8624         * time/australasia: Likewise.
8625         * time/etcetera: Likewise.
8626         * time/europe: Likewise.
8627         * time/leapseconds: Likewise.
8628         * time/northamerica: Likewise.
8629         * time/southamerica: Likewise.
8631 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8633         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
8634         lookups ignoring case.
8635         * nss/nss_files/files-network.c: Do network lookups ignoring
8636         case.
8637         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
8638         case.
8639         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
8640         case insensitive comparing.
8641         Patches by Cristian Gafton <gafton@redhat.com>.
8643 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8645         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
8646         by Roland McGrath. [PR libc/395]
8648 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8650         * manual/arith.texi (Parsing of Integers): Correct description of
8651         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
8652         [PR libc/396]
8654 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
8656         * misc/lsearch.c (lsearch): Return a pointer to the new element
8657         if one was "allocated".
8659 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8661         * string/strsignal.c: NSIG is not a valid index into
8662         _sys_siglist.  Don't zap the last character of the "Unknown
8663         signal" message.
8665 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
8667         * locale/programs/charmap.c (parse_charmap): Correct parsing of
8668         ellipsis expressions.
8670         * locale/programs/charset.c (insert_char): Correctly insert value
8671         of eliipsis expression.
8673 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
8675         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
8676         <bits/setjmp.h>.
8677         * sysdeps/powerpc/setjmp.S: Likewise.
8678         Patches by Matt McLean <keys@keys.got.net>.
8680         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
8682         * Makefile: Undo last patch.
8683         (distribute): Add test-installation.pl.
8685         * configure.in: Correct handling of --enable-add-ons without parameter.
8686         Correct address of WWW pages.
8688         * libc.map: Add _nl_domain_bindings.
8690         * db2/mutex/tsl_parisc.s: New file.
8692         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
8693         and extra-module.mk.
8695         * localedata/Makefile (distribute): New.  Add all the files.
8697         * stdlib/Makefile (headers): Add inttypes.h.
8698         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
8699         * sysdeps/generic/inttypes.h: New file.
8700         * sysdeps/generic/strtoimax.c: New file.
8701         * sysdeps/generic/strtoumax.c: New file.
8702         * sysdeps/generic/wcstoimax.c: New file.
8703         * sysdeps/generic/wcstoumax.c: New file.
8704         * sysdeps/wordsize-32/Dist: Removed.
8705         * sysdeps/wordsize-32/Makefile: Removed.
8706         * sysdeps/wordsize-64/Dist: Removed.
8707         * sysdeps/wordsize-64/Makefile: Removed.
8708         * sysdeps/generic/bits/environments.h: New file.
8710         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
8711         header is still not correct.
8713         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
8714         * posix/unistd.h: Likewise.
8715         * sysdeps/generic/sys/mman.h: Likewise.
8716         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
8718         * manual/arith.texi: Change definition of mul macro.
8719         * manual/math.texi: Likewise.
8721         * misc/Makefile (routines): Add mmap64.
8722         * sysdeps/generic/mmap64.c: New file.
8723         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
8724         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
8725         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
8726         aliases to mmap.
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8729         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
8731         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
8733         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
8735         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
8736         FOPEN_MAX also when included by limits.h.
8737         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8739         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
8740         and netrom/netrom.h.
8741         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
8742         oldsiglist to sysdep_routines, not aux.
8743         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
8745         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
8746         and SOL_NETROM definition.
8748         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
8750         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
8751         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
8753 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
8755         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
8757         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
8758         sa_handler with k_sa_handler.
8759         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
8760         strong alias.
8761         Reported by a sun.
8763         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
8764         __libc_have_rt_sigs here.
8765         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
8766         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8767         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
8768         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8770 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
8772         * sysdeps/powerpc/atomicity.h: New file.
8773         * sysdeps/mach/powerpc/machine-lock.h: New file.
8775         * Rules: Use -fpic to build anything that might end up in a users'
8776         shared library.
8778         * sysdeps/powerpc/s_fdim.c: New file.
8779         * sysdeps/powerpc/s_fdimf.c: New file.
8780         * sysdeps/powerpc/s_fmax.S: New file.
8781         * sysdeps/powerpc/s_fmaxf.S: New file.
8782         * sysdeps/powerpc/s_fmin.S: New file.
8783         * sysdeps/powerpc/s_fminf.S: New file.
8784         * sysdeps/powerpc/s_llrint.c: Now is for double.
8785         * sysdeps/powerpc/s_llrintf.c: New file.
8786         * sysdeps/powerpc/s_llround.c: Now is for double.
8787         * sysdeps/powerpc/s_llroundf.c: New file.
8788         * sysdeps/powerpc/s_lrint.c: Now is for double.
8789         * sysdeps/powerpc/s_lrintf.S: New file.
8790         * sysdeps/powerpc/s_lround.c: Now is for double.
8791         * sysdeps/powerpc/s_lroundf.c: New file.
8792         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
8793         lrintf, fdim, fdimf.
8795         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
8796         file directly, use its parent.
8798         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
8799         (for the third time).
8801 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
8803         * posix/sched.h: timespec is in <time.h>.
8805         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
8807 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
8809         * configure.in: Stop with error if --disable-static is used when
8810         the shared lib uses this library.
8812         * gen-FAQ.pl: I've perl installed in /usr/bin.
8814         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
8816         Fix Unix98 conformance problems in the headers.
8817         * catgets/nl_types.h: Define nl_item.
8818         * grp/grp.h: Define gid_t.
8819         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
8820         * include/nl_types.h: New file.
8821         * include/ulimit.h: New file.
8822         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
8823         constants in POSIX mode.
8824         * io/utime.h: Get definition for time_t.
8825         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
8826         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
8827         * libio/stdio.h: Define va_list.  Make snprintf also available is
8828         __USE_UNIX98.  Declare getopt function and variables.
8829         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
8830         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
8831         * math/math.h: Defined M_* constants as double for Unix98 mode.
8832         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
8833         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
8834         * posix/regex.h: Define REG_NOSYS.
8835         * posix/wordexp.h: Define WRDE_NOSYS.
8836         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
8837         500 for Unix98.
8838         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
8839         somewhere else as well.  Define clock_t for Unix98.
8840         * posix/sys/wait.h: Define pid_t.
8841         * pwd/pwd.h: Define gid_t, uid_t.
8842         * resource/Makefile (headers): Add ulimit.h.
8843         * resource/ulimit.h: New file.
8844         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
8845         instead of second argument.
8846         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
8847         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
8848         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
8849         * signal/signal.h: Define pid_t.
8850         * string/string.h: Don't declare BSD string functions in POSIX mode.
8851         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
8852         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
8853         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
8854         and POSIX.
8856         * inet/test_ifindex.c: Change test so that it does not fail for
8857         interface aliases.
8859         * locale/programs/locale.c (show_info): Use correct cast sequence
8860         for 64bit machines.
8862         * malloc/malloc.c: __malloc_initialized now signals three states:
8863         uninitialized, initializing, initialized.  Used in mcheck.
8864         * malloc/mcheck.c (mabort): Add '\n' to messages.
8865         (mcheck): Allow installation when malloc is uninitialized or is
8866         just initializing.
8868         * manual/memory.texi: Explain mtrace output a bit more.
8870         * math/libm-test.c: Add more epsilons.
8872         * misc/regexp.h (compile): Remove __ prefix from parameter names.
8874         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
8875         instead of strcpy for security.
8876         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
8877         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
8878         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
8880         * nss/digits_dots.c: Pretty print.
8882         * posix/getconf.c (vars): Add symbols for programming environment
8883         recognition.  Recognize --version.
8885         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
8886         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
8887         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
8889         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
8890         __need_FOPEN_MAX.
8891         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
8892         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
8893         __need_FOPEN_MAX.
8895         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
8896         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
8898         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
8899         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
8900         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
8901         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
8902         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8903         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
8905         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
8906         SCNu*.
8907         * sysdeps/wordsize-64/inttypes.h: Likewise.
8909         * time/africa: Update from tzdata1997j.
8910         * time/antarctica: Likewise.
8911         * time/asia: Likewise.
8912         * time/australasia: Likewise.
8913         * time/backward: Likewise.
8914         * time/etcetera: Likewise.
8915         * time/europe: Likewise.
8916         * time/factory: Likewise.
8917         * time/northamerica: Likewise.
8918         * time/pacificnew: Likewise.
8919         * time/southamerica: Likewise.
8921         * time/tzfile.h: Update from tzcode1997h.
8922         * time/zic.c: Likewise.
8924         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
8925         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
8926         isw*() functions for Unix98.
8927         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
8928         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
8929         is defined.
8931 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8933         * locale/duplocale.c: Increase usage_count only if less than
8934         MAX_USAGE_COUNT.
8935         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
8936         MAX_USAGE_COUNT.
8937         * locale/setlocale.c: Likewise.
8939 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8941         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
8942         dependency to make it easier to install it selectively.
8944         * Makerules (.SUFFIXES): Don't define any suffixes.
8946 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8948         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
8949         * sysdeps/generic/statfs64.c: Emulate using statfs.
8950         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
8951         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
8952         * sysdpes/generic/ftruncate64.c: New file.
8953         * sysdpes/generic/truncate64.c: New file.
8955         * sysdeps/generic/bits/stat.h: Add LFS support.
8956         * sysdeps/generic/bits/statfs.h: Likewise.
8958         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
8959         [__USE_FILE_OFFSET64]: Make long long constant.
8960         (RLIM64_INFINITY): Likewise.
8962         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
8963         for LFS support.
8964         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
8965         * sysdeps/generic/bits/resource.h: Likewise.
8967         * misc/Makefile (routines): Add truncate64 and ftruncate64.
8969         * include/features.h: Don't prevent LFS support from defining BSD
8970         and SYSV things.
8972         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
8973         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
8974         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
8976         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
8977         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
8978         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8980         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
8981         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
8982         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
8983         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
8984         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
8985         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
8986         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
8987         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
8988         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
8989         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
8990         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
8991         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
8992         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
8993         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
8994         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
8995         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
8996         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
8997         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
8998         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
8999         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9001         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9002         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9003         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9004         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9005         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9007         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9008         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9009         [$(subdir)=dirent]: Add getdents64.
9010         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9012         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9014 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9016         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9018         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9019         * sysdeps/generic/getrlimit64.c: Likewise.
9020         * sysdeps/generic/setrlimit.c: Likewise.
9021         * sysdeps/generic/setrlimit64.c: Likewise.
9023 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9025         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9026         using versioning.
9028         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9030         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9032 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9034         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9035         after the codeset name.
9037 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9039         * libc.map: Add get_kernel_syms.
9041 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9043         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9044         static.
9045         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9046         Likewise.  Fix condition.
9048 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9050         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9052 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9054         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9055         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9057 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9059         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9060         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9061         instead.  Oops.
9063 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9065         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9067 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9069         * math/libm-test.c (catanh_test): Change epsilon.
9070         Reported by H.J. Lu.
9072 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9074         * libc.map (__getpid): Added for linuxthreads.
9076 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9078         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9079         it if gcc uses static variable in DWARF2 unwind information
9080         for exception support.
9082         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9084         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9085         HAVE_DWARF2_UNWIND_INFO_STATIC.
9087         * libc.map (__register_frame*, __deregister_frame*): Make them
9088         global.
9090 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9092         * math/libm-test.c: Add more tests for "normal" values.
9094 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9096         * stdio-common/printf_fphex.c: Fix printing of long double number
9097         with a biased exponent of zero.  Fix rounding.
9099 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9101         * sunrpc/rpc_main.c: Accept new flag -$.
9102         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9104 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9106         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9107         dynamic linker first, in case the interface has changed.
9109 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9111         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9112         order.
9114 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9116         * math/tgmath.h: Check for double first, for architectures where
9117         sizeof (long double) == sizeof (double).
9119 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9121         * math/libm-test.c: New tests for "normal" values added for most
9122         functions.
9124 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9126         * version.h (VERSION): Bump to 2.0.91.
9128         * db2/makedb.c (process_input): Fix typo in message.
9129         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9131         * elf/dynamic-link.h: Pretty print.
9133         * elf/rtld.c: Allow multiple preloading of a shared object.
9135         * include/limits.h: Prevent multiple inclusion.
9137         * malloc/Makefile (headers): Add mcheck.h.
9138         (distribute): Remove it here.
9139         * malloc/mcheck.h: Pretty print.
9140         * malloc/mtrace.c (mallenv): Make `const'.
9141         * malloc/mtrace.pl: Don't print table head for memory leaks if there
9142         are none.
9143         * manual/memory.texi: Update descriptor of malloc hooks.
9145         * posix/Makefile (routines): Add waitid.
9146         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
9147         on __id_t.
9148         * posix/sys/wait.h: Define idtype_t type.
9149         Add prototype for waitid.
9150         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
9151         * sysdeps/generic/waitid.c: Stub for waitid.
9152         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
9153         the __need_siginfo_t defined.
9154         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
9155         * sysdeps/generic/bits/types.h: Define __id_t.
9156         Correct definition of __FDMASK.
9157         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9158         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9159         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9161         * sysdeps/posix/waitid.c: New file.
9162         Provided by Zack Weinberg.
9164         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
9166         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9167         Add missing parameters.
9169         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
9170         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
9171         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
9172         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
9173         initialized.
9175         * sysdeps/i386/dl-machine.h: Little cleanup.
9177         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
9178         (__finite): Mark function as const.
9179         Add inline code for __ieee754_atan2.
9181         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
9182         (but don't use it now).
9183         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
9184         __atan.
9185         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
9186         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
9187         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
9188         real part.
9189         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
9190         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
9191         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
9192         __ieee754_atan2 to base 10.
9193         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
9194         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
9196         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
9197         old_kernel_sigaction.
9199         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
9201         * wctype/Makefile (routines): Add wctype_l.
9202         * wctype/wctype.h: Add declaration of __wctype_l.
9203         * wctype/wctype_l.c: New file.
9205 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
9207         * locale/C-ctype.c: Correct data for isw* functions.
9208         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
9209         byte order.
9210         * wctype/test_wctype.c: Add test for isw* functions.
9211         * wctype/wctype.c: Return value with expected byte order.
9213 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9215         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
9217 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
9219         * iconvdata/Makefile: Fix a typo.
9221         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
9222         oldsiglist for shared library.
9224         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
9225         sys_sigabbrev): Make them as the default version GLIBC_2.1.
9227         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
9228         sys_siglist, sys_sigabbrev): New file. Make them as the old
9229         version GLIBC_2.0.
9231         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
9232         to GLIBC_2.1.
9234 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
9236         * libio/iofgets.c (_IO_fgets): Return an error only if there
9237         is a new error.
9238         * libio/iogets.c (_IO_gets): Ditto.
9240 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
9242         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
9244         * libio/Makefile (routines, shared-only-routines): Add
9245         oldiofdopen.
9247         * libio/fileops.c: Don't use _IO_FILE_complete.
9248         * libio/iofdopen.c: Ditto.
9249         * libio/iofopen.c: Ditto.
9250         * libio/iofopen64.c: Ditto.
9251         * libio/iopopen.c: Ditto.
9252         * libio/iovdprintf.c: Ditto.
9254         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
9256         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
9257         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
9259         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
9260         _IO_old_fdopen, _IO_new_fdopen): New declaration.
9262         * libio/libio.h (_IO_FILE): Add more fields.
9263         (_IO_FILE_complete): Defined and make _IO_FILE be the old
9264         one if _IO_USE_OLD_IO_FILE is defined
9265         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
9266         them _IO_FILE_complete.
9268         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
9269         to adjust vtable.
9270         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
9271         _IO_JUMPS.
9272         (_IO_FILE_complete): Commented out.
9274         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
9275         * libio/oldiofclose.c: Ditto.
9276         * libio/oldiofopen.c: Ditto.
9277         * libio/oldstdfiles.c: Ditto.
9279         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
9280         for the old _IO_FILE.
9282         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
9283         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
9284         and stderr.
9286         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
9287         and remove INAME.
9289         * libio/stdio.c (stdin, stdout, stdin): Don't use
9290         _IO_FILE_complete.
9292         * libio/oldiofdopen.c: New.
9294         * stdio-common/vfprintf.c (buffered_vfprintf): Set
9295         hp->_vtable_offset to 0.
9297 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
9299         * libc.map (_IO_file_open): Added.
9301         * libio/libioP.h (_IO_file_open): Declared.
9303         * libio/fileops.c (_IO_file_open): New.
9304         (_IO_file_fopen): Call _IO_file_open ().
9306         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
9307         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9309 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9311         * signal/signal.h: Fix selection of signal semantics to match
9312         comment.
9314 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9316         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
9317         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
9318         rt_sigreturn.
9319         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9320         [$(subdir)=signal]: Remove rt_sigreturn.
9321         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
9322         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
9323         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
9325 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9327         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
9328         declarations.
9330 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9332         * iconvdata/extra-module.mk: Expand extra-objs now.
9334 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9336         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
9337         inline functions by feature tests to avoid warning about missing
9338         prototype declarations.
9340 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9342         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
9343         return code for non existent +name entries.
9344         * nis/nss_compat/compat-pwd.c: Likewise.
9345         * nis/nss_compat/compat-spwd.c: Likewise.
9347 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
9349         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
9350         (EIO): Likewise.
9351         (ENOSPC): Likewise.
9352         (EEXIST): Likewise.
9353         (__errno_location): Likewise.
9355         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
9357         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
9359 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9361         * sunrpc/publickey.c: Use new NSS interface.
9363 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
9365         * manual/malloc.texi: Document mtrace/muntrace and the concept.
9367 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9369         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
9370         value, to match spirit of the standard.
9371         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
9372         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
9373         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
9375 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9377         * manual/signal.texi (Signal Stack): Remove spurious @item.
9379 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9381         * rt/aio.h: Remove double semicolon.
9383         * rt/librt.map: Add aio_init.
9385 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
9387         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
9388         * Makefile (subdirs): Replace rt by $(rt).
9390         * shlib-versions: Use version .2 for NSS modules.
9392         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
9393         argument.
9394         * pwd/fgetpwent_r.c: Likewise.
9395         * spwd/fgetspent_r.c: Likewise.
9396         * spwd/sgetspent_r.c: Likewise.
9397         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
9398         Store error number in *ERRNOP.  Little optimization.
9399         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
9400         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
9401         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
9402         (__internal_getnetgrent_r): New argument.
9403         Call __internal_setnetgrent_reuse with new argument.
9404         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
9405         * inet/netgroup.h: Add argument to prototypes.
9406         * nis/nisplus-parser.h: Likewise.
9407         * nis/nss_compat/compat-grp.c: Change everything to store error
9408         code through provided pointer and not use errno.
9409         * nis/nss_compat/compat-pwd.c: Likewise.
9410         * nis/nss_compat/compat-spwd.c: Likewise.
9411         * nis/nss_nis/nis-alias.c: Likewise.
9412         * nis/nss_nis/nis-ethers.c: Likewise.
9413         * nis/nss_nis/nis-grp.c: Likewise.
9414         * nis/nss_nis/nis-hosts.c: Likewise.
9415         * nis/nss_nis/nis-netgrp.c: Likewise.
9416         * nis/nss_nis/nis-network.c: Likewise.
9417         * nis/nss_nis/nis-proto.c: Likewise.
9418         * nis/nss_nis/nis-publickey.c: Likewise.
9419         * nis/nss_nis/nis-pwd.c: Likewise.
9420         * nis/nss_nis/nis-rpc.c: Likewise.
9421         * nis/nss_nis/nis-service.c: Likewise.
9422         * nis/nss_nis/nis-spwd.c: Likewise.
9423         * nis/nss_nisplus/nisplus-alias.c: Likewise.
9424         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9425         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9426         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9427         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
9428         * nis/nss_nisplus/nisplus-network.c: Likewise.
9429         * nis/nss_nisplus/nisplus-parser.c: Likewise.
9430         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9431         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9432         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9433         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
9434         * nis/nss_nisplus/nisplus-service.c: Likewise.
9435         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9436         * nss/nss_db/db-XXX.c: Likewise.
9437         * nss/nss_db/db-alias.c: Likewise.
9438         * nss/nss_db/db-netgrp.c: Likewise.
9439         * nss/nss_files/files-XXX.c: Likewise
9440         * nss/nss_files/files-alias.c: Likewise
9441         * nss/nss_files/files-netgrp.c: Likewise
9442         * nss/nss_files/files-parse.c: Likewise
9443         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
9444         parameter of get functions.
9445         * nss/getXXent_r.c: Likewise.
9447         * localedata/tst-fmon.c: Print debug info if test fails.
9449         * rt/Makefile (routines): Add aio_notify.
9450         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
9451         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
9452         * rt/aio_fsync.c: Likewise.
9453         * rt/aio_misc.c: Likewise.
9454         * rt/aio_misc.h: Likewise.
9455         * rt/aio_read.c: Likewise.
9456         * rt/aio_read64.c: Likewise.
9457         * rt/aio_suspend.c: Likewise.
9458         * rt/aio_write.c: Likewise.
9459         * rt/aio_write64.c: Likewise.
9460         * rt/lio_listio.c: Likewise.
9461         * rt/lio_listio64.c: Likewise.
9462         * rt/aio_notify.c: New file.
9464         * sysdeps/generic/bits/sigset.h: Pretty print.
9466         * sysdeps/posix/pwrite.c: Define weak alias only if function is
9467         really defined as __pwrite.
9469         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
9470         instead of pread64.
9471         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9473         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9474         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
9475         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
9476         size in syscall.
9477         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9478         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9479         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
9480         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9481         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
9482         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9483         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
9484         for ACT being NULL.
9485         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
9486         RT signals.
9487         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
9488         __NR_pread is not defined.
9489         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
9490         __NR_pwrite is not defined.
9492 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9494         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
9495         handle for /etc/group back in some more cases.
9496         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
9497         handle for /etc/passwd back in some more cases.
9498         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
9499         handle for /etc/shadow back in some more cases.
9501 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
9503         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
9504         beyound its size.
9505         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
9506         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
9508 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
9510         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
9511         handling.  Don't use macros, we need functions.  Use inline functions
9512         for optimization.
9513         * sysdeps/wordsize-64/inttypes.h: Likewise.
9514         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
9515         and wcstoumax.
9516         * sysdeps/wordsize-64/Makefile: Likewise.
9517         * sysdeps/wordsize-32/Dist: Likewise.
9518         * sysdeps/wordsize-64/Dist: Likewise.
9519         * sysdeps/wordsize-32/strtoimax.c: New file.
9520         * sysdeps/wordsize-32/strtoumax.c: New file.
9521         * sysdeps/wordsize-32/wcstoimax.c: New file.
9522         * sysdeps/wordsize-32/wcstoumax.c: New file.
9523         * sysdeps/wordsize-64/strtoimax.c: New file.
9524         * sysdeps/wordsize-64/strtoumax.c: New file.
9525         * sysdeps/wordsize-64/wcstoimax.c: New file.
9526         * sysdeps/wordsize-64/wcstoumax.c: New file.
9528 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
9530         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
9531         that transparent union works.
9532         * sysdeps/generic/wait4.c (__wait4): Likewise.
9533         * sysdeps/generic/wait.c (__wait): Likewise.
9535         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
9536         size_t.
9538         * sysdeps/generic/syscall.c (syscall): Return value and arg are
9539         long, to match prototype.
9541         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
9542         have mremap() yet.
9544         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
9546         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
9548         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
9550         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
9551         __rlim_t.
9553         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
9555         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
9557         * io/sys/stat.h (S_ISLNK): Always false if we don't have
9558         __S_IFLNK.
9560         * sysdeps/standalone/close.c (_STDIO_H): Define before including
9561         <bits/stdio_lim.h>.
9562         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
9564 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
9566         * posix/sys/wait.h: Don't use transparent unions in C++.
9568 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9570         * time/time.h: Add strfxtime.
9572         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
9573         sysv_signal, strfxtime, pread64, pwrite64.
9575 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
9577         Alpha changes for EGCS:
9578         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
9579         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
9580         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
9581         (_start): Likewise.
9582         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
9584 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
9586         The kernel expects the arguments in a different order.
9587         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
9588         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
9590         * FAQ.in: New file.
9591         * gen-FAQ.pl: New file.
9592         * Makefile (FAQ): Add rule to generate from FAQ.in.
9594         * iconvdata/Makefile: Treat libJIS like the other modules.
9596         * rt/librt.map: New file.
9598         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
9599         inclusion.
9600         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
9601         comment.
9603 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
9605         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
9606         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
9607         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
9608         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
9610 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9612         * string/bits/string2.h: Fix spellings.
9614         * string/string.h: Fix spellings.
9616 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9618         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
9619         declaration to __syscall_rt_sigaction.
9621         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
9622         non-existant <sigcontext.h>.
9624 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9626         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
9627         typo.
9629 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9631         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
9633         * Makeconfig (shared-thread-library): Correct spelling.
9635         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
9636         <asm/pci.h>.
9638 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9640         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
9641         constants from Linux headers. Pointed out by
9642         csmall@scooter.o.i.net. [PR libc/369]
9644 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9646         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
9648 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9650         * configure.in: If --enable-add-ons is given without an
9651         argument, set the addons list to all subdirs with a configure
9652         script.
9654 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
9656         * Makeconfig: Add shared-thread-library variable.
9658         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
9659         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
9660         here.
9661         * sysdeps/m68k/fpu/e_acos.c: Likewise.
9662         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
9663         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
9664         * sysdeps/m68k/fpu/e_pow.c: Likewise.
9665         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
9666         * sysdeps/m68k/fpu/k_cos.c: Likewise.
9667         * sysdeps/m68k/fpu/k_sin.c: Likewise.
9668         * sysdeps/m68k/fpu/k_tan.c: Likewise.
9669         * sysdeps/m68k/fpu/s_atan.c: Likewise.
9670         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
9671         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
9672         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
9673         * sysdeps/m68k/fpu/s_csin.c: Likewise.
9674         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
9675         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
9676         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
9677         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
9678         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
9679         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
9680         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
9681         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
9682         * sysdeps/m68k/fpu/s_modf.c: Likewise.
9683         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
9684         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
9685         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
9687         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
9688         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
9689         * signal/Makefile (headers): Add bits/siginfo.h.
9690         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
9691         (distribute): Add testrtsig.h.
9692         * signal/allocrtsig.c: New file.
9693         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
9694         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
9695         __libc_current_sigrtmax.
9696         * sysdeps/generic/sigqueue.c: New file.
9697         * sysdeps/generic/sigtimedwait.c: New file.
9698         * sysdeps/generic/sigwaitinfo.c: New file.
9699         * sysdeps/generic/testrtsig.h: New file.
9700         * sysdeps/generic/bits/siginfo.h: New file.
9701         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
9702         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
9703         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
9704         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
9705         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
9706         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
9707         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
9708         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
9709         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
9710         * sysdeps/unix/sysv/linux/sigpending.c: New file.
9711         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
9712         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
9713         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
9714         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
9715         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
9716         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
9717         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
9718         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
9719         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
9720         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
9721         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
9722         and _POSIX_REALTIME_SIGNALS.
9723         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
9724         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
9725         update _NSIG.
9726         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
9727         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
9728         definitions.
9730         * Makefile (subdirs): Add rt.
9731         * shlib-versions: Add entry for librt.
9732         * rt/Makefile: New file.
9733         * rt/aio.h: New file.
9734         * rt/aio_cancel.c: New file.
9735         * rt/aio_error.c: New file.
9736         * rt/aio_fsync.c: New file.
9737         * rt/aio_misc.c: New file.
9738         * rt/aio_misc.h: New file.
9739         * rt/aio_read.c: New file.
9740         * rt/aio_read64.c: New file.
9741         * rt/aio_return.c: New file.
9742         * rt/aio_suspend.c: New file.
9743         * rt/aio_write.c: New file.
9744         * rt/aio_write64.c: New file.
9745         * rt/lio_listio.c: New file.
9746         * rt/lio_listio64.c: New file.
9747         * sysdeps/generic/aio_sigqueue.c: New file.
9748         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
9749         * sysdeps/unix/sysv/linux/Dist: Add new files
9750         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
9751         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
9752         rt_sigqueueinfo, rt_sigaction.
9754         * posix/Makefile (headers): Add bits/environments.h.
9755         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
9756         and _CS_LFS_CFLAGS on 64bit platforms.
9757         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
9758         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
9759         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
9760         compilation modules.
9761         * sysdeps/wordsize-32/bits/environments.h: New file.
9762         * sysdeps/wordsize-64/bits/environments.h: New file.
9764         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
9765         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
9766         __libc_pid.
9767         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
9768         0xf00baa.
9770         * string/string.h: Add declaration of __strverscmp.
9771         * string/strverscmp.c: Rename function ot __strverscmp and make old
9772         name weak alias.
9774         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
9775         * sysdeps/generic/enbl-secure.c: Likewise.
9776         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9778         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
9780         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
9782 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9784         * posix/sys/wait.h: Use __transparent_union__ instead of
9785         transparent_union.  Reported by Roland McGrath.
9787 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9789         * resolv/inet_neta.c (inet_neta): Change type of first parameter
9790         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
9791         [PR libc/366].
9793         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
9795         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
9797 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9799         * grp/initgroups.c: Increase buffer if it is too small.
9801 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
9803         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
9804         fields, this is no ISO C.  Reported by Andreas Jaeger.
9806 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9808         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
9810 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
9812         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
9813         _SYS_UTSNAME_H not _UTSNAME_H.
9815 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9817         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
9818         computing s_scale.
9820 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9822         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
9823         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
9824         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
9826         * math/libm-test.c (csqrt_test): Add testcase.
9828 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
9830         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
9831         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
9832         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
9834 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9836         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
9838 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9840         * math/libm-test.c (acos_test): Add more tests.
9841         (asin_test): Likewise.
9842         (atan_test): Likewise.
9843         (exp_test): Likewise.
9844         (sin_test): Likewise.
9845         (sqrt_test): Likewise.
9846         (cpow_test): Likewise.
9847         (csqrt_test): Likewise.
9848         (cexp_test): Correct typo in gcc version test.
9850 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
9852         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
9853         <bits/setjmp.h>.
9854         * sysdeps/arm/setjmp.S: Likewise.
9856         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
9858 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
9860         * stdio/stdio.h: Add prototype for tmpfile64().
9862 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
9864         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
9865         prototype to keep in step with libio version.
9867         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
9869 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
9871         * sysdeps/generic/Makefile: Don't try to use make_siglist if
9872         cross-compiling.
9874 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
9876         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
9877         load GOT ptr before jumping to _exit.
9878         Reported by Xavier Leroy.
9880 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
9882         * Makefile (subdirs): Add iconvdata and localedata.
9884         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
9886         * iconv/gconv_conf.c (read_conf_file): Little optimization.
9888         * iconvdata/8bit-gap.c: New file.
9889         * iconvdata/8bit-generic.c: Renamed from ...
9890         * iconvdata/iso8859-generic.c: ...this.
9891         * iconvdata/configure: Removed.
9892         * iconvdata/Makefile: Add new modules and better rules.
9893         * iconvdata/iso6937.c: Minor bug fixes.
9894         * iconvdata/iso8859-1.c: Likewise.
9895         * iconvdata/t61.c: Likewise.
9896         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
9897         Minor bug fixes.
9898         * iconvdata/iso8859-3.c: Likewise.
9899         * iconvdata/iso8859-4.c: Likewise.
9900         * iconvdata/iso8859-5.c: Likewise.
9901         * iconvdata/iso8859-6.c: Likewise.
9902         * iconvdata/iso8859-7.c: Likewise.
9903         * iconvdata/iso8859-8.c: Likewise.
9904         * iconvdata/iso8859-9.c: Likewise.
9905         * iconvdata/iso8859-10.c: Likewise.
9906         * iconvdata/ebcdic-at-de-a.c: New file.
9907         * iconvdata/ebcdic-at-de.c: New file.
9908         * iconvdata/ebcdic-ca-fr.c: New file.
9909         * iconvdata/hp-roman8.c: New file.
9910         * iconvdata/koi-8.c: New file.
9911         * iconvdata/koi8-r.c: New file.
9912         * iconvdata/koi8-h.c: New file.
9913         * iconvdata/latin-greek-1.c: New file.
9914         * iconvdata/latin-greek-1.h: New file.
9915         * iconvdata/latin-greek.c: New file.
9916         * iconvdata/latin-greek.h: New file.
9917         * iconvdata/jis0201.c: New file.
9918         * iconvdata/jis0201.h: New file.
9919         * iconvdata/jis0208.c: New file.
9920         * iconvdata/jis0208.h: New file.
9921         * iconvdata/jis0212.c: New file.
9922         * iconvdata/jis0212.h: New file.
9923         * iconvdata/sjis.c: New file.
9924         * iconvdata/gap.pl: New file.  Script to generate table header.
9925         * iconvdata/gaptab.pl: New file.
9926         * iconvdata/gconv-modules: Add info about new modules.
9928         * locale/programs/charmap.c: Also examine alias names given in charmap
9929         files.
9931         * localedata/*: Add to here from add-on.  We need the information
9932         to generate tables for iconv.
9934         Update from db-2.3.14.
9935         * db2/Makefile: Updated.
9936         * db2/config.h: Likewise.
9937         * db2/db.h: Likewise.
9938         * db2/db_int.h: Likewise.
9939         * db2/btree/bt_cursor.c: Likewise.
9940         * db2/btree/bt_delete.c: Likewise.
9941         * db2/btree/bt_put.c: Likewise.
9942         * db2/btree/bt_search.c: Likewise.
9943         * db2/btree/bt_split.c: Likewise.
9944         * db2/btree/btree_auto.c: Likewise.
9945         * db2/common/db_appinit.c: Likewise.
9946         * db2/common/db_apprec.c: Likewise.
9947         * db2/common/db_err.c: Likewise.
9948         * db2/common/db_region.c: Likewise.
9949         * db2/db/db_auto.c: Likewise.
9950         * db2/db/db_dispatch.c: Likewise.
9951         * db2/db/db_ret.c: Likewise.
9952         * db2/dbm/dbm.c: Likewise.
9953         * db2/hash/hash_auto.c: Likewise.
9954         * db2/include/btree_ext.h: Likewise.
9955         * db2/include/common_ext.h: Likewise.
9956         * db2/include/db.h.src: Likewise.
9957         * db2/include/db_cxx.h: Likewise.
9958         * db2/include/db_ext.h: Likewise.
9959         * db2/include/db_int.h.src: Likewise.
9960         * db2/include/lock.h: Likewise.
9961         * db2/include/log.h: Likewise.
9962         * db2/include/mp.h: Likewise.
9963         * db2/include/mp_ext.h: Likewise.
9964         * db2/include/os_ext.h: Likewise.
9965         * db2/include/os_func.h: Likewise.
9966         * db2/lock/lock.c: Likewise.
9967         * db2/lock/lock_deadlock.c: Likewise.
9968         * db2/log/log.c: Likewise.
9969         * db2/log/log_archive.c: Likewise.
9970         * db2/log/log_auto.c: Likewise.
9971         * db2/log/log_get.c: Likewise.
9972         * db2/log/log_put.c: Likewise.
9973         * db2/mp/mp_bh.c: Likewise.
9974         * db2/mp/mp_fget.c: Likewise.
9975         * db2/mp/mp_fopen.c: Likewise.
9976         * db2/mp/mp_fput.c: Likewise.
9977         * db2/mp/mp_fset.c: Likewise.
9978         * db2/mp/mp_open.c: Likewise.
9979         * db2/mp/mp_pr.c: Likewise.
9980         * db2/mp/mp_region.c: Likewise.
9981         * db2/mp/mp_sync.c: Likewise.
9982         * db2/mutex/README: Likewise.
9983         * db2/mutex/mutex.c: Likewise.
9984         * db2/os/os_open.c: Likewise.
9985         * db2/os/os_func.c: Removed.
9986         * db2/os/os_config.c: New file.
9987         * db2/os/os_spin.c: New file.
9988         * db2/txn/txn.c: Likewise.
9989         * db2/txn/txn_auto.c: Likewise.
9991 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
9993         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
9994         __typeof for C++ since this fails for class members.
9995         Reported by Neal Becker <neal@ctd.comsat.com>.
9997 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9999         * configure.in: Check for a working makeinfo (3.11 or better).
10000         * config.make.in: Add MAKEINFO to be substituted.
10001         * manual/Makefile: Don't update info if makeinfo is too old.
10003 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10005         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10006         * sysdeps/alpha/__longjmp.S: Likewise.
10007         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10008         not <bits/termios.h>.
10010         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10011         __llseek and make llseek and lseek64 weak aliases.
10012         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10013         Patches by a sun <asun@zoology.washington.edu>.
10015 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10017         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10018         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10019         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10020         * misc/sys/syslog.h: Clean up BSD header.
10022 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10024         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10026         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10027         for ctan(+-inf,x).
10028         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10029         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10031         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10032         csqrt (-1), ctanh(i*pi/4).
10034 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10036         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10038 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10040         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10042 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10044         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10046 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10048         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10049         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10050         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10051         of GETCWD_STORYGE_CLASS and put the return type and the
10052         `internal_function' in the right order for gcc 2.7.2.
10054 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10056         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10057         incompatible with Linux 2.1.x.  Packages using modules
10058         (e.g. modutils) should/do provide their own version.  Suggested by
10059         Richard Henderson.
10061         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10064         [$(subdir)=socket]: Remove sys/module.h.
10066 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10068         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10069         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10071         * iconv/gconv_close.c: Correct freeing of descriptor data.
10072         * iconv/gconv_simple.c: Return correct error values for illegal or
10073         incomplete characters.
10075         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10076         development.
10077         * iconvdata/Makefile: New file.
10078         * iconvdata/configure: Likewise.
10079         * iconvdata/extra-module.mk: Likewise.
10080         * iconvdata/gconv-modules: Likewise.
10081         * iconvdata/iso6937.c: Likewise.
10082         * iconvdata/iso8859-1.c: Likewise.
10083         * iconvdata/iso8859-10.c: Likewise.
10084         * iconvdata/iso8859-10.h: Likewise.
10085         * iconvdata/iso8859-2.c: Likewise.
10086         * iconvdata/iso8859-2.h: Likewise.
10087         * iconvdata/iso8859-3.c: Likewise.
10088         * iconvdata/iso8859-3.h: Likewise.
10089         * iconvdata/iso8859-4.c: Likewise.
10090         * iconvdata/iso8859-4.h: Likewise.
10091         * iconvdata/iso8859-5.c: Likewise.
10092         * iconvdata/iso8859-5.h: Likewise.
10093         * iconvdata/iso8859-6.c: Likewise.
10094         * iconvdata/iso8859-6.h: Likewise.
10095         * iconvdata/iso8859-7.c: Likewise.
10096         * iconvdata/iso8859-7.h: Likewise.
10097         * iconvdata/iso8859-8.c: Likewise.
10098         * iconvdata/iso8859-8.h: Likewise.
10099         * iconvdata/iso8859-9.c: Likewise.
10100         * iconvdata/iso8859-9.h: Likewise.
10101         * iconvdata/iso8859-generic.c: Likewise.
10102         * iconvdata/t61.c: Likewise.
10104         * string/Makefile (routines): Add strcasestr.
10105         * string/string.h: Add prototype for strcasestr.
10106         * sysdeps/generic/strcasestr.c: New file.
10107         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10108         * wcsmbs/wcrtomb.c: Likewise.
10109         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10110         * wcsmbs/wcsnrtombs.c: Likewise.
10111         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10112         partial character is read.
10113         * wcsmbs/wcsrtombs.c: Likewise.
10114         * wcsmbs/wmemrtombs.c: Likewise.
10115         * wcsmbs/wmemrtowcs.c: Likewise.
10117         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10118         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10119         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10120         * sysdeps/i386/elf/setjmp.S: Likewise.
10121         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10122         <bits/termios.h>.
10124         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10125         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10127         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10128         * sysvipc/sys/ipc.h: Likewise.
10129         * sysvipc/sys/msg.h: Likewise.
10130         * sysvipc/sys/sem.h: Likewise.
10131         * sysvipc/sys/shm.h: Likewise.
10133         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10134         used directly.
10135         * sysdeps/alpha/bits/setjmp.h: Likewise.
10136         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10137         * sysdeps/arm/bits/endian.h: Likewise.
10138         * sysdeps/arm/bits/setjmp.h: Likewise.
10139         * sysdeps/generic/bits/byteswap.h: Likewise.
10140         * sysdeps/generic/bits/confname.h: Likewise.
10141         * sysdeps/generic/bits/dirent.h: Likewise.
10142         * sysdeps/generic/bits/dlfcn.h: Likewise.
10143         * sysdeps/generic/bits/endian.h: Likewise.
10144         * sysdeps/generic/bits/fenv.h: Likewise.
10145         * sysdeps/generic/bits/huge_val.h: Likewise.
10146         * sysdeps/generic/bits/in.h: Likewise.
10147         * sysdeps/generic/bits/ioctl-types.h: Likewise.
10148         * sysdeps/generic/bits/ioctls.h: Likewise.
10149         * sysdeps/generic/bits/ipc.h: Likewise.
10150         * sysdeps/generic/bits/msq.h: Likewise.
10151         * sysdeps/generic/bits/poll.h: Likewise.
10152         * sysdeps/generic/bits/resource.h: Likewise.
10153         * sysdeps/generic/bits/sched.h: Likewise.
10154         * sysdeps/generic/bits/sem.h: Likewise.
10155         * sysdeps/generic/bits/setjmp.h: Likewise.
10156         * sysdeps/generic/bits/shm.h: Likewise.
10157         * sysdeps/generic/bits/sigaction.h: Likewise.
10158         * sysdeps/generic/bits/sigcontext.h: Likewise.
10159         * sysdeps/generic/bits/socket.h: Likewise.
10160         * sysdeps/generic/bits/stat.h: Likewise.
10161         * sysdeps/generic/bits/statfs.h: Likewise.
10162         * sysdeps/generic/bits/stdio_lim.h: Likewise.
10163         * sysdeps/generic/bits/termios.h: Likewise.
10164         * sysdeps/generic/bits/time.h: Likewise.
10165         * sysdeps/generic/bits/uio.h: Likewise.
10166         * sysdeps/generic/bits/utmp.h: Likewise.
10167         * sysdeps/generic/bits/utmpx.h: Likewise.
10168         * sysdeps/generic/bits/utsname.h: Likewise.
10169         * sysdeps/generic/bits/waitflags.h: Likewise.
10170         * sysdeps/generic/bits/waitstatus.h: Likewise.
10171         * sysdeps/gnu/bits/utmp.h: Likewise.
10172         * sysdeps/gnu/bits/utmpx.h: Likewise.
10173         * sysdeps/i386/bits/byteswap.h: Likewise.
10174         * sysdeps/i386/bits/endian.h: Likewise.
10175         * sysdeps/i386/bits/huge_val.h: Likewise.
10176         * sysdeps/i386/bits/setjmp.h: Likewise.
10177         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10178         * sysdeps/ieee754/bits/huge_val.h: Likewise.
10179         * sysdeps/m68k/bits/byteswap.h: Likewise.
10180         * sysdeps/m68k/bits/endian.h: Likewise.
10181         * sysdeps/m68k/bits/setjmp.h: Likewise.
10182         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
10183         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
10184         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
10185         * sysdeps/mach/hurd/bits/stat.h: Likewise.
10186         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
10187         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
10188         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
10189         * sysdeps/mips/bits/dlfcn.h: Likewise.
10190         * sysdeps/mips/bits/endian.h: Likewise.
10191         * sysdeps/mips/bits/setjmp.h: Likewise.
10192         * sysdeps/mips/dec/bits/endian.h: Likewise.
10193         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
10194         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
10195         * sysdeps/mips/p40/bits/endian.h: Likewise.
10196         * sysdeps/powerpc/bits/endian.h: Likewise.
10197         * sysdeps/powerpc/bits/fenv.h: Likewise.
10198         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10199         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
10200         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
10201         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
10202         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
10203         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
10204         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
10205         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10206         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
10207         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
10208         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
10209         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
10210         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
10211         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
10212         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
10213         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
10214         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
10215         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
10216         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
10217         * sysdeps/unix/common/bits/dirent.h: Likewise.
10218         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
10219         * sysdeps/unix/sysv/bits/stat.h: Likewise.
10220         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10221         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10222         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
10223         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
10224         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
10225         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
10226         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
10227         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
10228         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
10229         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10230         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
10231         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
10232         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10233         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
10234         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
10235         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10236         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10237         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
10238         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10239         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10240         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10241         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10242         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
10243         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
10244         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10245         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10246         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
10247         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
10248         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
10249         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10250         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
10251         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
10252         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
10253         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
10254         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
10255         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
10256         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
10257         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
10258         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
10259         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
10260         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
10261         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
10262         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
10263         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
10264         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
10265         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
10266         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
10267         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
10268         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10269         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10270         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
10271         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
10272         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
10273         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10274         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
10275         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
10276         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
10277         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
10278         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
10279         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
10280         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
10281         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
10282         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
10283         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
10284         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
10285         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
10286         * sysdeps/vax/bits/huge_val.h: Likewise.
10287         * sysdeps/vax/bits/setjmp.h: Likewise.
10288         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
10289         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
10291 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10293         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
10295 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
10297         * strftime.c (strftime):
10298         No longer any need to undef or declare if emacs is defined.
10299         (my_strftime): When checking a -1 returned by mktime, don't blow up
10300         if localtime_r returns NULL.
10302 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10304         * README.template: Fix spelling.
10306 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10308         * configure.in: Enhance --enable-add-ons description a wee bit.
10310 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10312         * glibcbug.in: Add more information of build environment and flags.
10314 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10316         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
10317         it into ENOENT.
10319 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
10321         * elf/dl-support.c: Call __libc_init_secure to make sure
10322         __libc_enable_secure is defined early.
10323         * sysdeps/generic/enbl-secure.c: Change function name to
10324         __libc_init_secure and make it global instead of a constructor.
10326         * iconv/gconv.c: Fix lots of bugs.
10327         * iconv/gconv.h: Likewise.
10328         * iconv/gconv_builtin.h: Likewise.
10329         * iconv/gconv_close.c: Likewise.
10330         * iconv/gconv_conf.c: Likewise.
10331         * iconv/gconv_db.c: Likewise.
10332         * iconv/gconv_dl.c: Likewise.
10333         * iconv/gconv_open.c: Likewise.
10334         * iconv/gconv_simple.c: Likewise.
10335         * iconv/iconv.c: Likewise.
10336         * iconv/iconv_close.c: Likewise.
10337         * iconv/iconv_open.c: Likewise.
10339         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
10340         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
10341         * wcsmbs/wmemrtombs.c: New file.
10342         * wcsmbs/wmemrtowcs.c: New file.
10344 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
10346         * iconv/gconv_simple.c: Fix lots of bugs.
10347         * iconv/iconv_open.c: Normalize names before passing them to
10348         __gconv_open.
10350         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
10352         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
10353         * stdio-common/test-popen.c: Add test for above change.
10355         * math/libm-test.c: Print test results also using %a format,
10356         specified in PRINTF_XEXPR macro.
10357         * math/test-double.c: Define PRINTF_XEXPR.
10358         * math/test-float.c: Likewise.
10359         * math/test-ldouble.c: Likewise.
10360         * math/test-idouble.c: Likewise.
10361         * math/test-ifloat.c: Likewise.
10362         * math/test-ildoubl.c: Likewise.
10364         * stdio-common/vfscanf.c: Recognize a in format specifier only as
10365         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
10366         FP number format.
10368         * stdlib/strtod.c: Little code cleanup.
10370         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
10371         compiling in math subdir.
10373         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
10374         instead of __LIBC_M81_MATH_INLINES.
10375         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10376         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10377         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10378         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10379         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10380         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10381         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10382         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10383         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10384         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10385         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10386         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10387         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10388         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10389         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10390         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10391         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10392         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10393         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10394         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10395         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10396         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10397         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10398         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10399         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
10400         __LIBC_INTERNAL_MATH_INLINES is defined.
10402         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
10403         of compare macros from ISO C 9X.  Optimize generic versions a bit.
10404         Define __signbit inline functions and __ieee754_sqrt which can be
10405         used if the ompiler is fixed.
10407         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
10409 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10411         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
10412         sysdeps/generic in the whole dep file, not only in the first line.
10414 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10416         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
10418 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10420         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
10421         place.
10423 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10425         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
10426         is non-empty.
10428 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
10430         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
10431         return value.
10433 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
10435         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
10436         readlink succeeds but the return value is too long.
10438         * stdio-common/printf_fphex.c: Determine sign of number correctly.
10440 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
10442         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
10443         __remqu for Alpha.
10445 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
10447         * sysdeps/generic/sys/ucontext.h: Stub context file.
10449         * libio/iofprintf.c: Removed.  We use the stdio-common version.
10451         * manual/Makefile (distribute): Add stdio-fp.c.
10453         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
10455         * db2/Makefile (distribute): Add include/os_func.h, README and
10456         mutex/tsl_parisc.s.
10458         * hesiod/Makefile (distribute): Add README.hesiod.
10460 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
10462         * iconv/gconv.c: Correctly call transformation function.
10464         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
10466 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10468         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
10469         wrong results for e.g. remquo (3,2, &x)).
10470         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
10471         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
10473 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10475         * configure.in (ld --version-script): Test if the same symbol
10476         maybe defined in all versions (needed by recent changes to
10477         libc.map and supported with binutils 2.8.1.0.17) and issue warning
10478         if versioning is not supported/enabled.
10479         (bash test): Correct test case.
10481         * math/libm-test.c: Added counting/reporting of number of test cases.
10483         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
10484         use awk instead.
10486         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
10488 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10490         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
10492 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
10494         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
10495         Replace revoke call by use of REVOKE.
10496         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
10497         empty and #include generic version.
10498         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10500 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
10502         * libc.map: Add socket functions with __libc_* names.
10503         Reported by Andreas Jaeger.
10505 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10507         * libc.map: Tidy up (remove duplicates, sort entries).
10509 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10511         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
10513 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
10515         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
10516         again after successful call.
10517         Patch by Marc Lehmann <pcg@goof.com>.
10519 1997-11-17  Paul Eggert  <eggert@twinsun.com>
10521         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
10522         as some hosts need this to declare localtime_r properly.
10524 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
10526         * libc.map: Add iconv_open, iconv, and iconv_close.
10528 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
10530         * iconv/Makefile: New file.
10531         * iconv/gconv.c: New file.
10532         * iconv/gconv.h: New file.
10533         * iconv/gconv_builtin.c: New file.
10534         * iconv/gconv_builtin.h: New file.
10535         * iconv/gconv_close.c: New file.
10536         * iconv/gconv_conf.c: New file.
10537         * iconv/gconv_db.c: New file.
10538         * iconv/gconv_dl.c: New file.
10539         * iconv/gconv_open.c: New file.
10540         * iconv/gconv_simple.c: New file.
10541         * iconv/iconv.c: New file.
10542         * iconv/iconv.h: New file.
10543         * iconv/iconv_close.c: New file.
10544         * iconv/iconv_open.c: New file.
10545         * include/gconv.h: New file.
10547         * Makeconfig: Define gconvdir.
10548         * Makefile (subdirs): Add iconv.
10550         * string/bits/string2.h: Add optimization for strtok_r.
10552         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
10553         for NULL.
10554         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10555         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
10557         * configure.in: Correct test for bash2.
10558         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10560         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
10561         (CFLAGS-locfile.c): Likewise.
10562         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
10564         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
10565         non-existing entry if the table is full.
10567         * posix/regex.h: Pretty print.
10569         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
10571         * sysdeps/posix/ctermid.c: Simplify a bit.
10573         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
10575 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10577         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
10578         <sys/types.h> instead of <asm/types.h>.
10580 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10582         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
10584 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
10586         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
10587         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
10588         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
10589         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
10590         fclose): Added to GLIBC_2.1.
10592         * libio/Makefile (routines, shared-only-routines): Add
10593         oldiofclose.  Remove oldfreopen.
10595         * libio/freopen.c (freopen): When PIC is defined, call
10596         _IO_old_freopen () for old stdio.
10598         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
10599         (_IO_fclose, fclose): Use _IO_new_fclose as default version
10600         for GLIBC_2.1.
10602         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
10603         instead of _IO_file_close_it.
10605         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
10606         to _IO_2_1_stdxxx_.
10607         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
10608         is defined.
10610         * libio/libioP.h (_IO_old_do_flush): New.
10612         * libio/oldfileops.c (_IO_old_file_close_it,
10613         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
10614         Call _IO_old_do_flush () instead of _IO_do_flush ().
10615         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
10616         _IO_do_write ().
10618         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
10619         instead of _IO_file_init ().
10620         Bind old symbols to version GLIBC_2.0.
10622         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
10623         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
10624         _IO_stdxxx_.
10625         (_IO_check_libio): New function in .init.
10627         * libio/oldiofclose.c: New file.
10629         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
10630         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
10631         (DEF_STDFILE): Don't use default_symbol_version.
10633         * libio/stdio.c (stdin, stdout, stderr): Set to
10634         _IO_2_1_stdxxx_._
10635         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
10636         stdxxx.
10638         * csu/Makefile (distribute): Add init.c.
10639         (extra-objs): Add init.o for ELF.
10640         (start-installed-name): Add $(objpfx)init.o.
10642         * csu/init.c: New file.
10644 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10646         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
10647         definition as the default.
10649 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
10651         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
10653 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10655         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
10656         (PR 351).
10658 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
10660         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
10661         to preserve condition codes on function call.
10663 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10665         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
10667 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10669         * math/libm-test.c (asin_test): Add epsilon for float.
10670         (tan_test): Add epsilon for float.
10671         (log1p_test): Add epsilon for float.
10672         (inverse_functions): Add epsilons.
10674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
10675         net/if_packet.h.
10677         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
10679 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10681         * md5-crypt/Makefile (extra-objs): Make recursively expanded
10682         variable, since $(object-suffixes) is not defined yet.
10684 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10686         * db2/Makefile (distribute): db185/db185_int.src ->
10687         db185/db185_int.h.
10689 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10691         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
10692         exactly one.
10694 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10696         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
10697         name.
10698         * sysdeps/generic/e_acosl.c: Likewise.
10699         * sysdeps/generic/e_asinl.c: Likewise.
10700         * sysdeps/generic/e_atan2l.c: Likewise.
10701         * sysdeps/generic/e_expl.c: Likewise.
10702         * sysdeps/generic/e_fmodl.c: Likewise.
10703         * sysdeps/generic/e_j0l.c: Likewise.
10704         * sysdeps/generic/e_j1l.c: Likewise.
10705         * sysdeps/generic/e_jnl.c: Likewise.
10706         * sysdeps/generic/e_lgammal_r.c: Likewise.
10707         * sysdeps/generic/e_log10l.c: Likewise.
10708         * sysdeps/generic/e_logl.c: Likewise.
10709         * sysdeps/generic/e_powl.c: Likewise.
10710         * sysdeps/generic/e_sqrtl.c: Likewise.
10711         * sysdeps/generic/e_exp2l.c: Likewise.
10713 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10715         * Make-dist (+sysdep-names): Remove extra paren.
10716         * Makefile (distribute): Add stub-tag.h.
10717         * elf/Makefile (distribute): Add atomicity.h.
10718         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
10719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10720         [$(subdir)=socket]: Add net/if_packet.h.
10721         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
10722         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
10723         net/if_packet.h, scsi/sg.h.
10725 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10727         * Makefile (install): Quote $(CC) expansion.
10729 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10731         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
10732         working /proc cwd and no restrictions on path length.  Following
10733         some ideas from Andi Kleen <ak@muc.de> (PR 350).
10735 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10737         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
10738         * nis/nss_compat/compat-pwd.c: Likewise.
10739         * nis/nss_compat/compat-spwd.c: Likewise.
10741 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
10743         * sysdeps/libm-i387/s_fdim.S: New file.
10744         * sysdeps/libm-i387/s_fdimf.S: New file.
10745         * sysdeps/libm-i387/s_fdiml.S: New file.
10746         * sysdeps/libm-i387/i686/s_fdim.S: New file.
10747         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
10748         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
10750 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10752         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
10753         pointer to unsigned char.
10755 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10757         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
10759         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
10761         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
10763 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10765         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
10766         ilogb(0/NaN).
10767         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
10768         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
10770 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
10772         * sysdeps/libm-i387/s_fmin.S: New file.
10773         * sysdeps/libm-i387/s_fminf.S: New file.
10774         * sysdeps/libm-i387/s_fminl.S: New file.
10775         * sysdeps/libm-i387/s_fmax.S: New file.
10776         * sysdeps/libm-i387/s_fmaxf.S: New file.
10777         * sysdeps/libm-i387/s_fmaxl.S: New file.
10778         * sysdeps/libm-i387/i686/s_fmin.S: New file.
10779         * sysdeps/libm-i387/i686/s_fminf.S: New file.
10780         * sysdeps/libm-i387/i686/s_fminl.S: New file.
10781         * sysdeps/libm-i387/i686/s_fmax.S: New file.
10782         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
10783         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
10785 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
10787         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
10788         * sysdeps/unix/sysv/linux/send.S: Likewise.
10789         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10790         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10791         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10792         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10793         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10794         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10795         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
10797 See ChangeLog.7 for earlier changes.