Update.
[glibc.git] / ChangeLog
blobbd2354520f935335a6ffac9b0aaeb976acc2060d
1 1998-07-27 17:42  Ulrich Drepper  <drepper@cygnus.com>
3         * nss/nss_files/files-parse.c (INT_FIELD): Use strtoul instead of
4         strtol.
5         (INT_FIELD_MAYBE_NULL): Likewise.
7         * posix/globtest.c: Rewrite for extended test suite.
8         * posix/globtest.sh: More tests.
9         Patch by Brian Wellington <bwelling@anomaly.munge.com>.
11         * stdlib/strtol.c: Don't redefine LONG_MAX, LONG_MIN, and ULONG_MAX.
12         Use new macro.
14         * sysdeps/generic/readv.c: Correct return type.
15         * sysdeps/generic/writev.c: Likewise.
17 1998-07-24  Gordon Matzigkeit  <gord@fig.org>
19         * argp/argp-help.c (_GNU_SOURCE): Define, to suck in
20         program_invocation_name when compiling outside of glibc.
22 1998-07-26  Philip Blundell  <philb@gnu.org>
24         * sysdeps/unix/sysv/linux/arm/siglist.c: New file; ARM tools don't
25         like `@' in .type directives.
27         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Check whether
28         FE_TONEAREST exists for this platform before using it.
29         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Likewise.
31         * sysdeps/arm/dl-machine.h (elf_machine_rel): Delete redundant
32         debugging code.  Correct handling of PC24 relocs.
34         * elf/Makefile (ld-map): Only define if versioning is in use.
36         * sysdeps/arm/fpu_control.h: Move to ...
37         * sysdeps/arm/fpu/fpu_control.h: ... here.
38         * sysdeps/generic/fpu_control.h: Made usable as a dummy
39         implementation.
41         * sysdeps/unix/sysv/linux/arm/brk.c: New file.
43         * sysdeps/arm/machine-gmon.h: Improved profiling for ARM.
44         * sysdeps/arm/sysdep.h (CALL_MCOUNT): Replace stub with real
45         implementation.
46         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
47         Based on patch from Scott Bambrough and Pat Beirne.
49         * shlib-versions: Add appropriate definitions for ARM machines.
51         * README.template: Mention that Linux/ARM with ELF works now.
53 1998-07-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
55         * Makerules: Generate compilation rules for all object suffixes,
56         not only those currently selected, for sources in the current or
57         object directory.
59 1998-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
61         * posix/fnmatch.c (fnmatch): Allow `/' in character class.  Don't
62         match `/' in filename by a character class if requested.
63         * posix/testfnm.c: Rewritten.
64         * posix/testfnm.args: Removed.
66 1998-07-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
68         * posix/annexc.c (limits_syms): Add missing symbols.
69         (stdarg_syms): Move va_list to `maybe' list.
70         (stdio_syms): Add FOPEN_MAX.
72 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
74         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
75         prevent conflict with __bswap_32.
77 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
79         * nscd/connections.c (pw_send_answer): Make one single writev call.
80         (gr_send_answer): Do the work in two writev calls.  This change
81         changes the protocol.
83         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
84         We now can do the job using two readv calls.
86 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
88         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
89         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
91         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
92         and Elf64_Vernaux.
94 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
96         * configure.in: Recognize pgcc as compiler.
97         Reported by sauron@angband.ee.ualberta.ca.
99 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
101         * nscd/dbg_log.c: Make sure, that debug message is really written.
102         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
104 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
106         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
107         Reported by bwelling@anomaly.munge.com [PR libc/720].
109         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
110         SVID more for gamma(x) with x integer <= 0.
111         Reported by Stephen L Moshier <moshier@mediaone.net>.
113         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
114         Correct test for SVID version of gamma.
116         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
117         emulation mode.
118         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
119         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
121         * string/string.h: Don't use string function optimization for C++
122         as long as we use macros.
124 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
126         * posix/fnmatch.c: Fix completely broken range matching.
128 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
130         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
132 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
134         * Makefile (headers2_0): Add sigstack.h.
136         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
138 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
140         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
141         Reported by Thorsten Kukuk.
143         * string/strcoll.c: Correct problem with empty strings.
144         * string/strxfrm.c: Likewise.
145         Reported by vbzoli@hbrt.hu [PR libc/719].
147 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
149         * sysdeps/posix/tempname.c: Use the random-name generator
150         already used by mktemp/mkstemp.  Honor TMPDIR.
152 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
154         * hurd/Makefile (routines): Remove cthreads.
155         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
157         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
159         * manual/Makefile (distribute): Add summary.texi.
161 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
163         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
165 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
167         * configure.in: Correct expression to match gcc version.
169         * configure.in: Move test for available port after machine
170         variable is defined.
172 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
174         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
175         message, copy the buffer and resize it to what the kernel
176         wants to see.  Bug found and analyzed by Thorsten Kukuk
177         <kukuk@weber-eb.uni-paderborn.de>
179 1998-07-20  Jose M. Moya  <josem@gnu.org>
181         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
182         value.
184 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
186         * sysdeps/mach/hurd/getdomain.c: New file.
187         * sysdeps/mach/hurd/setdomain.c: New file.
189 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
191         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
192         a weak alias.
194 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
196         * libio/libioP.h: Use __PMT in typedef.
197         * libio/strfile.h: Likewise.
199 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
201         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
202         buffer is too small.
203         Reported by John Levon <j_levon@ncc.co.uk>.
205 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
207         * shlib-versions: Remove definition for libSegFault.
209         * memory.texi: Comment out the relocating allocator description.
210         * manual/signal.texi: Remove reference to relocating allocator.
211         * manual/top-menu.texi: Regenerated.
213         * posix/fnmatch.c: Implement [: :] and change to recognize
214         ^ as negation only when not _POSIXLY_CORRECT.
216         * sysdeps/generic/glob.c: Add several optimizations.
218         * posix/glob.h: Undefine __PMT to prevent warnings.
219         Reported by Roland McGrath.
221         * posix/regex.c: Define namespace macros only for _LIBC.
223         * sysdeps/arm/dl-machine.h: Fix typo.
225         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
226         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
227         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
228         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
229         sigpending, sigqueue, and sigtimedwait.
230         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
232         * timezone/leapseconds: Update from tzdata1998f.
234 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
236         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
237         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
238         * libio/stdio.h: Fix typo.
240 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
242         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
243         magic memobj port arg parsing stuff.  Fix it someday when we are ready
244         to really use it.
245         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
246         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
248 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
250         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
252 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
254         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
255         a weak alias.
256         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
257         * sysdeps/generic/sigsuspend.c: Likewise.
259 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
261         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
263 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
265         * Makerules (map-file): Don't use $(wildcard) to find the
266         generated version script, instead look in $(version-maps).
267         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
268         is used.
269         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
270         if versioning is used.  Don't use $(wildcard) to find the
271         generated version script, instead look in $(verson-maps).
273 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
275         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
276         unused function handle.
277         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
278         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
279         * debug/catchsegv.sh: Fix argument processing, quoting and various
280         typos.  Put the crash info always in the current directory.  Find
281         program in $PATH if it contains no directory component.
282         * Makerules (install-lib.so-versioned,
283         install-lib.so-unversioned): New variables.
284         (install-lib-nosubdir): Depend on unversioned libs in
285         slibdir, not libdir.
287 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
289         * Make-dist (+tsrcs): Remove references to %-map variables and
290         *.map files.  Add Versions in subdirs.
291         * Makerules (distinfo-vars): Don't write out %-map variables.
293 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
295         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
296         Include <paths.h> instead.
297         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
298         * sysdeps/unix/sysv/linux/paths.h: Likewise.
299         Reported by Dale Scheetz <dwarf@polaris.net>.
301 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
303         * catgets/open_catalog.c: Strictly check whether catalog file is
304         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
306 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
308         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
310         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
312 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
314         * debug/catchsegv.sh: Fix several stupid bugs.
316         * shlib-versions: Define version for libSegFault.
317         * debug/Makefile: Replace shared lib version number while rewriting.
319 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
321         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
322         Suggested by Roland McGrath.
324 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
326         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
327         generation to control environment.
329 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
331         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
332         Patch by John Tobey <jtobey@banta-im.com>.
334         * manual/llio.texi: Document readv/writev and mmap functions.
335         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
337 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
339         * manual/Makefile (texis): Depend on texis.awk.
340         (nonexamples): Filter out add-on chapters.
341         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
342         (stamp-summary): Depend on $(texis) except summary.texi.
343         ($(inst_infodir)/libc.info): Simplify command.
344         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
345         Fix the generation of the detailed node listing to make it
346         complete again.
347         * manual/math.texi: Fix signature of lgamma_r.
349 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
351         * debug/Makefile (distribute): Add sigcontextinfo.h.
352         Add rules to generate and install catchsegv.
353         * debug/catchsegv.sh: New file.
355 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
357         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
358         port instead of a Mach memory object.
359         (__open): Likewise.
360         (__libc_read): New function.
361         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
362         object.
364 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
366         * debug/Makefile (routines): Add backtracesymsfd.
367         Add rules to generate libSegFault.
368         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
369         * debug/execinfo.h: Declare backtrace_symbols_fd.
370         * sysdeps/generic/backtracesymsfd.c: New file.
371         * sysdeps/generic/elf/backtracesymsfd.c: New file.
372         * sysdeps/generic/segfault.c: New file.
373         * sysdeps/generic/sigcontextinfo.h: New file.
374         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
376         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
378 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
380         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
381         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
383 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
385         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
386         * assert/assert-perr.c: Likewise.
387         * assert/assert.c: Likewise.
388         * gconv_conf.c: Likewise.
389         * libio/iofputs_u.c: Likewise.
390         * malloc/mtrace.c: Likewise.
391         * malloc/obstack.c: Likewise.
392         * misc/error.c: Likewise.
393         * misc/syslog.c: Likewise.
394         * stdio-common/asprintf.c: Likewise.
395         * stdio-common/dprintf.c: Likewise.
396         * stdio-common/getw.c: Likewise.
397         * stdio-common/putw.c: Likewise.
398         * stdio-common/snprintf.c: Likewise.
399         * stdio-common/sprintf.c: Likewise.
400         * stdio-common/sscanf.c: Likewise.
401         * sunrpc/svc_simple.c: Likewise.
402         * sysdeps/generic/abort.c: Likewise.
404         * rt/aio_cancel.c: Don't define ECANCELED here.
405         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
407 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
409         * argp/argp-fmtstream.c: Unify names of used global functions.
410         * argp/argp-help.c: Likewise.
411         * assert/assert-perr.c: Likewise
412         * assert/assert.c: Likewise
413         * dirent/scandir.c: Likewise
414         * dirent/scandir64.c: Likewise
415         * dirent/versionsort.c: Likewise
416         * dirent/versionsort64.c: Likewise
417         * gmon/bb_exit_func.c: Likewise.
418         * gmon/gmon.c: Likewise.
419         * grp/initgroups.c: Likewise.
420         * iconv/gconv_conf.c: Likewise.
421         * inet/getnameinfo.c: Likewise.
422         * inet/getnetgrent_r.c: Likewise.
423         * inet/inet_ntoa.c: Likewise.
424         * inet/rcmd.c: Likewise.
425         * inet/rexec.c: Likewise.
426         * inet/ruserpass.c: Likewise.
427         * io/fts.c: Likewise.
428         * io/ftw.c: Likewise.
429         * io/ftw64.c: Likewise.
430         * io/getdirname.c: Likewise.
431         * io/getwd.c: Likewise.
432         * io/lockf.c: Likewise.
433         * libio/iofdopen.c: Likewise.
434         * libio/iopopen.c: Likewise.
435         * login/utmp_daemon.c: Likewise.
436         * malloc/mtrace.c: Likewise.
437         * malloc/obstack.c
438         * misc/daemon.c: Likewise.
439         * misc/efgcvt_r.c: Likewise.
440         * misc/err.c: Likewise.
441         * misc/error.c: Likewise.
442         * misc/fstab.c: Likewise.
443         * misc/getpass.c: Likewise.
444         * misc/getttyent.c: Likewise.
445         * misc/mntent_r.c: Likewise.
446         * misc/search.h: Likewise.
447         * misc/syslog.c: Likewise.
448         * nscd/nscd_getgr_r.c: Likewise.
449         * nscd/nscd_getpw_r.c: Likewise.
450         * posix/getpgrp.c: Likewise.
451         * posix/wordexp.c: Likewise.
452         * pwd/fgetpwent_r.c: Likewise.
453         * pwd/getpw.c: Likewise.
454         * resolv/herror.c: Likewise.
455         * resolv/res_init.c: Likewise.
456         * shadow/fgetspent_r.c: Likewise.
457         * shadow/lckpwdf.c: Likewise.
458         * signal/sigrelse.c: Likewise.
459         * stdio-common/asprintf.c: Likewise.
460         * stdio-common/dprintf.c: Likewise.
461         * stdio-common/getw.c: Likewise.
462         * stdio-common/putw.c: Likewise.
463         * stdio-common/snprintf.c: Likewise.
464         * stdio-common/sprintf.c: Likewise.
465         * stdio-common/sscanf.c: Likewise.
466         * stdlib/lrand48_r.c: Likewise.
467         * stdlib/mrand48_r.c: Likewise.
468         * string/argz-replace.c: Likewise.
469         * string/envz.c: Likewise.
470         * sunrpc/auth_des.c: Likewise.
471         * sunrpc/auth_unix.c: Likewise.
472         * sunrpc/bindrsvprt.c: Likewise.
473         * sunrpc/clnt_gen.c: Likewise.
474         * sunrpc/clnt_perr.c: Likewise.
475         * sunrpc/clnt_simp.c: Likewise.
476         * sunrpc/clnt_tcp.c: Likewise.
477         * sunrpc/clnt_udp.c: Likewise.
478         * sunrpc/get_myaddr.c: Likewise.
479         * sunrpc/key_call.c: Likewise.
480         * sunrpc/netname.c: Likewise.
481         * sunrpc/openchild.c: Likewise.
482         * sunrpc/pmap_rmt.c: Likewise.
483         * sunrpc/rpc_dtable.c: Likewise.
484         * sunrpc/rtime.c: Likewise.
485         * sunrpc/svc_run.c: Likewise.
486         * sunrpc/svc_simple.c: Likewise.
487         * sunrpc/svc_tcp.c: Likewise.
488         * sunrpc/svc_udp.c: Likewise.
489         * sunrpc/svcauth_des.c: Likewise.
490         * sunrpc/xdr_array.c: Likewise.
491         * sunrpc/xdr_rec.c: Likewise.
492         * sunrpc/xdr_ref.c: Likewise.
493         * sunrpc/xdr_stdio.c: Likewise.
494         * sysdeps/generic/abort.c: Likewise.
495         * sysdeps/generic/dl-sysdep.c: Likewise.
496         * sysdeps/generic/fstatfs64.c: Likewise.
497         * sysdeps/generic/ftruncate64.c: Likewise.
498         * sysdeps/generic/getrlimit64.c: Likewise.
499         * sysdeps/generic/glob.c: Likewise.
500         * sysdeps/generic/prof-freq.c: Likewise.
501         * sysdeps/generic/putenv.c: Likewise.
502         * sysdeps/generic/statfs64.c: Likewise.
503         * sysdeps/generic/ttyname_r.c: Likewise.
504         * sysdeps/generic/utmp_file.c: Likewise.
505         * sysdeps/generic/vlimit.c: Likewise.
506         * sysdeps/generic/vtimes.c: Likewise.
507         * sysdeps/posix/cuserid.c: Likewise.
508         * sysdeps/posix/euidaccess.c: Likewise.
509         * sysdeps/posix/mkstemp.c: Likewise.
510         * sysdeps/posix/mktemp.c: Likewise.
511         * sysdeps/posix/pread.c: Likewise.
512         * sysdeps/posix/pread64.c: Likewise.
513         * sysdeps/posix/profil.c: Likewise.
514         * sysdeps/posix/pwrite.c: Likewise.
515         * sysdeps/posix/pwrite64.c: Likewise.
516         * sysdeps/posix/sigblock.c: Likewise.
517         * sysdeps/posix/sigpause.c: Likewise.
518         * sysdeps/posix/ttyname.c: Likewise.
519         * sysdeps/posix/ttyname_r.c: Likewise.
520         * sysdeps/posix/waitid.c: Likewise.
521         * sysdeps/unix/getlogin_r.c: Likewise.
522         * sysdeps/unix/grantpt.c: Likewise.
523         * sysdeps/unix/rewinddir.c: Likewise.
524         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
525         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
526         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
527         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
528         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
529         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
530         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
531         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
532         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
533         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
534         * sysvipc/sys/shm.h: Likewise.
535         * time/ctime_r.c: Likewise.
536         * time/strptime.c: Likewise.
537         * wcsmbs/mbrlen.c: Likewise.
538         * wcsmbs/wcsdup.c: Likewise.
539         * wcsmbs/wcsxfrm.c: Likewise.
540         * wctype/wcfuncs.c: Likewise.
542         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
543         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
544         * sysdeps/unix/sysv/linux/bind.S: Likewise.
545         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
546         * sysdeps/unix/sysv/linux/listen.S: Likewise.
547         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
548         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
549         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
551         * grp/fgetgrent_r.c: Use explicit locking of the stream.
553         * elf/Makefile (rtld-routines): Add dl-environ.
554         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
555         to...
556         * sysdeps/generic/dl-environ.c: here.  New file.
558         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
559         * libio/Versions: Add fputs_unlocked.
560         * libio/iofputs_u.c: New file.
561         * libio/stdio.h: Add prototype for fputs_unlocked.
563         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
564         * sunrpc/rpc/clnt.h: Likewise.
565         * sunrpc/rpc/pmap_clnt.h: Likewise.
566         * sunrpc/rpc/svc.h: Likewise.
567         * sunrpc/rpc/xdr.h: Likewise.
569         * sysdeps/i386/memchr.S: Correct for more strict gas.
570         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
571         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
572         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
573         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
575 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
577         * configure.in: Change message for binutils version from
578         2.8.1.0.17->2.8.1.0.23.
580 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
582         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
583         Patch by John Tobey <jtobey@banta-im.com>.
585 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
587         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
588         instead of sysconf.
590 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
592         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
593         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
594         (conv_error): Likewise.
595         (input_error): Likewise.
596         (memory_error): Likewise.
598 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
600         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
601         implementation.  Include <entry.h>.  Replace references to symbol
602         _start with macro ENTRY_POINT.
603         (__libc_uid): Remove.
604         (__libc_multiple_libcs): New variable.
605         (__libc_stack_end): New variable.
606         (_dl_hwcap_mask): New variable.
607         (_dl_important_hwcaps): New function.
608         (_dl_show_auxv): Mark internal.
610 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
612         * mach/Makefile: Create target directory before generating
613         mach-syscalls.mk.
614         * mach/Machrules: Invoke awk using AWK variable.  Create target
615         directory before generating server stubs.
617 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
619         * wcsmbs/wcslen.c (__wcslen): Fix comment.
621         * configure.in: Allow egcs-2.92.
623 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
625         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
626         chapter files.  Exorcise the chapters, chapters-incl mess.
627         Support inserting doc chapters from add-on modules.
628         (chapters): New variable.
629         (add-chapters): New variable.
630         (appendices): New variable.
631         (libc.texinfo): New target.
632         (clean): Fix bugs.
633         (realclean): Fix bugs.
635         * manual/texis.awk: New file.
636         * manual/libc-texinfo.sh: New file.
637         * manual/libc-texinfo.in: New file.
639         * manual/conf.texi (top @node): Remove next pointer.
640         * manual/lang.texi (top @node): Remove prev pointer.
642         * manual/job.texi (top @node): Add explicit pointers.
643         * manual/message.texi (top @node): Add explicit pointers.
644         * manual/nss.texi (top @node): Add explicit pointers.
645         * manual/process.texi (top @node): Add explicit pointers.
646         * manual/startup.texi (top @node): Add explicit pointers.
647         * manual/terminal.texi (top @node): Add explicit pointers.
648         * manual/users.texi (top @node): Add explicit pointers.
650         * manual/arith.texi: Add %MENU% tag.
651         * manual/conf.texi: Add %MENU% tag.
652         * manual/contrib.texi: Add %MENU% tag.
653         * manual/ctype.texi: Add %MENU% tag.
654         * manual/errno.texi: Add %MENU% tag.
655         * manual/filesys.texi: Add %MENU% tag.
656         * manual/header.texi: Add %MENU% tag.
657         * manual/install.texi: Add %MENU% tag.
658         * manual/intro.texi: Add %MENU% tag.
659         * manual/io.texi: Add %MENU% tag.
660         * manual/job.texi: Add %MENU% tag.
661         * manual/lang.texi: Add %MENU% tag.
662         * manual/llio.texi: Add %MENU% tag.
663         * manual/locale.texi: Add %MENU% tag.
664         * manual/maint.texi: Add %MENU% tag.
665         * manual/math.texi: Add %MENU% tag.
666         * manual/mbyte.texi: Add %MENU% tag.
667         * manual/memory.texi: Add %MENU% tag.
668         * manual/message.texi: Add %MENU% tag.
669         * manual/nss.texi: Add %MENU% tag.
670         * manual/pattern.texi: Add %MENU% tag.
671         * manual/pipe.texi: Add %MENU% tag.
672         * manual/process.texi: Add %MENU% tag.
673         * manual/search.texi: Add %MENU% tag.
674         * manual/setjmp.texi: Add %MENU% tag.
675         * manual/signal.texi: Add %MENU% tag.
676         * manual/socket.texi: Add %MENU% tag.
677         * manual/startup.texi: Add %MENU% tag.
678         * manual/stdio.texi: Add %MENU% tag.
679         * manual/string.texi: Add %MENU% tag.
680         * manual/sysinfo.texi: Add %MENU% tag.
681         * manual/terminal.texi: Add %MENU% tag.
682         * manual/time.texi: Add %MENU% tag.
683         * manual/users.texi: Add %MENU% tag.
685 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
687         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
688         Update.
690 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
692         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
693         style declaration to avoid warning.
694         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
696 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
698         * elf/rtld.c (process_dl_debug): Add missing continue.
700 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
702         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
703         code needs it.
705 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
707         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
708         sysd-dirs-done.
709         * Makerules: Don't generate version maps too early.
710         ($(common-objpfx)sysd-versions): Force regeneration if the list of
711         subdirs has changed.
713 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
715         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
717 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
719         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
720         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
721         return value.
723 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
725         * elf/dl-open.c (dl_open_worker): New function.
726         (_dl_open): Call it to do the actual work while catching errors.
727         * elf/dl-close.c (_dl_close): Only call termination function if
728         the initialisation function was called.
730 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
732         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
733         Reported by Felix von Leitner <leitner@amdiv.de>.
735 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
737         * Make-dist (+sysdep-tsrcs): Add Versions.
739 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
741         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
742         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
743         * sysdeps/powerpc/Versions: New file.
744         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
745         and __errno_location.
746         * misc/Versions: Add brk and sbrk.
747         * posix/Versions: Add environ, __environ and _environ.
748         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
750 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
752         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
753         Patch by Zack Weinberg.
755 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
757         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
758         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
759         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
761 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
763         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
765 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
767         * posix/unistd.h: Simplify #ifdefs.
769         * libio/libio.h: Undo last change due to possible C++ problems.
770         * libio/fileops.h: Likewise.
772 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
774         * grp/grp.h: Define gid_t also for __USE_XOPEN.
775         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
776         * io/utime.h: Define time_t also for __USE_XOPEN.
777         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
778         Define *_t types except for pid_t also for __USE_XOPEN.
779         Define S_* macros also for __USE_XOPEN.
780         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
781         THOUSEP also for __USE_XOPEN.
782         * math/math.c: Define M_* macros also for __USE_XOPEN.
783         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
784         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
785         defined.
786         * posix/glob.h: Likewise for GLOB_NOSYS.
787         * posix/regex.h: Likewise for REG_NOSYS.
788         * posix/wordexp.h: Likewise for WRDE_NOSYS.
789         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
790         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
791         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
792         * signal/signal.h: Define pid_t also for __USE_XOPEN.
793         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
794         for __USE_POSIX199309.
795         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
796         constants also for __USE_XOPEN.
797         * wcsmbs/wchar.h: For XPG4 include wctype.h.
799         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
800         * locale/setlocale.c (new_composite_name): Likewise for last_len.
802         * libio/stdio.h: Don't declare fclose_unlocked.
804         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
806 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
808         * stdio/stdio.h: Add prototypes for fflush_unlocked,
809         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
810         fgets_unlocked, fread_unlocked, fwrite_unlocked,
811         clearerr_unlocked, feof_unlocked, ferror_unlocked,
812         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
813         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
814         prototype for getopt.
815         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
816         * stdio/feof.c (feof_unlocked): Weak alias for feof.
817         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
818         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
819         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
820         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
821         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
822         * stdio/fread.c (fread_unlocked): Weak alias for fread.
823         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
824         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
825         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
826         * stdio/putc.c (putc_unlocked): Weak alias for putc.
827         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
828         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
829         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
830         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
831         getc_unlocked, getchar_unlocked, putc_unlocked and
832         putchar_unlocked.
834         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
835         from here ...
836         * stdio-common/Versions: ... to here.
838 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
840         * Makerules (versioning): Correct typo.
842 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
844         * elf/Versions: Add _dl_mcount_wrapper_check.
845         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
846         _dl_mcount_wrapper_check.
847         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
849         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
850         internal_function.
851         * elf/ldsodefs.h: Likewise.
853         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
855         * libio/stdio.h: Make sure va_list is defined for X/Open.
856         Define P_tmpdir for X/Open.
858         * posix/regex.h: Fix typo.
860         * posix/unistd.h: Define intptr_t if not already happened.
861         Add pthread_atfork prototype.
862         * sysdeps/generic/bits/types.h: Define __intptr_t.
863         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
864         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
865         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
866         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
867         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
868         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
869         * sysdeps/wordsize-64/stdint.h: Likewise.
871         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
873         * signal/Makefile (headers): Add bits/sigthread.h.
874         * signal/signal.h: Include bits/sigthread.h.
875         * sysdeps/generic/bits/sigthread.h: New file.
877         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
879         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
880         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
881         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
882         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
884         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
886         * elf/rtld.c: Remove preloading and loadpath variables in SUID
887         programs.
888         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
889         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
890         names.
892         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
894         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
895         Remove O_READ and O_WRITE definition.
897         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
898         and RLIM_SAVED_CUR.
900         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
902 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
904         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
905         scripts directory.  Pass move-if-change to awk.
906         (common-generated): Add $(version-maps) and sysd-versions.
907         * versions.awk: Moved to...
908         * scripts/versions.awk: ... here.  Use move-if-change to void
909         touching unchanged files.  Print "version-maps = ..." instead of
910         "all-version-maps = ..." and without $(common-objpfx).  Explain
911         expected variable names.
912         * Makefile (distribute): Updated.
914 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
916         * misc/getttyent.c (getttyent): Don't return with locked stream.
917         * misc/mntent_r.c (__getmntent_r): Likewise.
919 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
921         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
922         if stream is line buffered.
923         (_io_file_overflow): Likewise.
924         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
925         streams writing '\n' flushes the string.
927 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
929         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
930         * elf/dl-support.c: Define it here...
931         * elf/rtld.c: ...and here.
933 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
935         * grp/initgroups.c: Handle directives from nsswitch.conf file.
937 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
939         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
940         __ino64_t definition.
941         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
942         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
944         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
945         script if lddlibc4 failed.
946         Reported by B. D. Elliott <bde@accessone.com>.
948 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
950         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
951         Improve generated strings a bit.
953 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
955         * posix/Makefile (generated): Remove $(objpfx) from the names.
957 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
959         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
960         format string.
962         * libio/iofread_u.c: Include <stdio.h> for prototype.
963         * libio/iofwrite_u.c: Likewise.
965 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
967         * db2/Versions: New file.
969 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
971         * Makefile (lib-noranlib): Don't depend on sysd-versions.
972         ($(common-objpfx)sysd-versions): Remove rule.
973         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
974         Pass name of Versions.def file to script and redirect output to
975         target.  Include it and make all generated version maps depend on
976         it.
977         * versions.awk: Print out variable definition containing all
978         generated version maps.  Print error messages to stderr.  Remove
979         temp file.
981 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
983         * posix/annexc.c (check_header): Terminate macro name before
984         comparing.
985         (get_null_defines): Allow builtin macros with parameters.
986         (fmt, testfmt): Add -D_LIBC.
987         * posix/Makefile: Remove bogus duplicate include directories from
988         annexc test command.
990 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
992         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
993         password scheme.
994         (_nss_nis_getpwnam_r): Likewise.
995         (_nss_nis_getpwuid_r): Likewise.
997 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
999         * libio/Versions: Move symbols whose source lives in
1000         stdio-common to ...
1001         * stdio-common/Versions: ... here.
1002         * stdio/Versions: Add missing symbols.
1004 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1006         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
1007         __syscall_sendmsg.
1008         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
1009         __syscall_recvmsg.
1010         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
1011         and make __recvmsg and recvmsg weak aliases.
1012         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
1013         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
1014         and __syscall_sendmsg.
1016 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
1018         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
1019         stream.
1020         * inet/ruserpass.c (token): Likewise.
1021         * nss/nsswitch.c (nss_parse_file): Likewise.
1022         * intl/localealias.c: Likewise.  Also for ferror.
1023         * time/getdate.c (__getdate_r): Likewise.
1025         * libio/Makefile (routines): Add iofgets_u.
1026         * libio/iofgets_u.c: New file.
1027         * libio/Versions: Add fgets_unlocked.
1028         * libio/stdio.h: Add prototype for fgets_unlocked.
1030         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
1031         * misc/getusershell.c (initshells): Likewise.
1032         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
1033         fgets_unlocked.
1034         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1035         * resolv/res_init.c (res_init): Likewise.
1036         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1038 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
1040         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
1041         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
1043 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
1045         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
1046         _unlocked functions.
1048         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
1049         is a private FILE.
1051 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1053         * csu/Makefile: Build crt files in lib pass.
1054         * db2/Makefile (distribute): Add mutex/sco.cc.
1055         * mach/Machrules: Don't generate .udeps files if no_deps is set.
1056         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
1057         s-proto.d if avoid-generated is set.
1059         * sysdeps/alpha/Dist: List only one file per line.
1060         * sysdeps/generic/Dist: Likewise.
1061         * sysdeps/m68k/fpu/switch/Dist: Likewise.
1062         * sysdeps/sparc/sparc32/Dist: Likewise.
1063         * sysdeps/unix/Dist: Likewise.
1064         * sysdeps/unix/sysv/irix4/Dist: Likewise.
1066         * sysdeps/mach/hurd/i386/Dist: New file.
1067         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
1068         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
1069         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
1070         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1072 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1074         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1075         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1077         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1079         * time/tzfile.c (decode): Optimize by using bswap_32.
1080         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1081         __tzname array values.
1082         (__tzfile_compute): Correct setting of __tzname array values.
1083         * time/tzset.c (__tzstring): Clean up a bit.
1085 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1087         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1089 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1091         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1092         that fd can be bigger than FD_SETSIZE.
1094 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1096         * nscd/grpcache.c: Include <unistd.h>.
1097         * nscd/pwdcache.c: Likewise.
1099         * nis/nis_modify.c: Include <string.h>.
1100         * nis/nis_add.c: Likewise.
1101         * nis/nis_checkpoint.c: Likewise.
1102         * posix/runptests.c: Likewise.
1103         * sysdeps/generic/statvfs64.c: Likewise.
1104         * sysdeps/generic/fstatvfs64.c: Likewise.
1106 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1108         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1109         to match data from Unicode.
1110         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1112 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1114         * stdio-common/printf.h: Define printf_function and
1115         printf_arginfo_function types using __PMT not __P.
1116         Reported by Marc Lehmann.
1118 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1120         * assert/test-assert.c: New test.
1121         * assert/test-assert-perr.c: New test.
1122         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1124 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1126         BSD-style SCM_CREDS support.
1128         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1129         SCM_CREDS.
1130         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1131         visible SCM_CREDS packet to what the kernel wants.
1132         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1133         SCM_CREDS packet output by kernel to what users want.
1135         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1136         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1137         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1138         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1140         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1141         __sendmsg and __recvmsg to sysdep_routines.
1142         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1144 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1146         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1147         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1148         * nscd/nscd.c: Check, if pthread_create fails.
1150 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1152         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1153         format strings.
1154         * stdio-common/bug1.c (main): Likewise.
1155         * stdio-common/bug5.c (main): Likewise.
1156         * stdio-common/tstgetln.c (main): Likewise.
1157         * elf/sprof.c (generate_call_graph): Likewise.
1158         (load_shobj): Likewise.
1159         * posix/runptests.c (main): Likewise.
1160         * string/tst-strlen.c (main): Likewise.
1162         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1163         variable q3.
1164         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1166 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1168         * wctype/Versions: Add __towctrans.
1169         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1171 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1173         * grp/initgroups.c (compat_call): Only call dynamically loaded
1174         functions if they are really present.
1176 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1178         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1179         #ifdef that contains __BEGIN_DECLS.
1181 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1183         * libio/iofwrite.c: Fix return value when size == 0.
1185 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1187         * posix/Makefile (distribute): Add annexc.c.
1188         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1190 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1193         bits/pthreadtypes.h here, and do not clobber headers.
1195         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1197 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1199         * timezone/tst-timezone.c: Add tests for tzname variable.
1201 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1203         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1204         rule that lists all of them as targets.
1205         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1206         fragment that defines $(vers-libs) based on contents of that file;
1207         then include it.
1208         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1209         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1210         Predicate all this on avoid-generated unset as well as versioning.
1212 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1214         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1216 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1218         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1219         a copy.
1220         * Makefile: Add rules to generate map files.
1221         (distribute): Remove libc.map, add Versions.def and versions.awk.
1222         * Makerules: Change rules to find map files on common-objpfx.
1223         * elf/Makefile: Likewise.
1224         * md5-crypt/Makefile: Likewise.
1225         * nis/Makefile (libnsl-map): Remove.
1226         * Versions.def: New file.
1227         * versions.awk: New file.
1228         * argp/Versions: New file.
1229         * assert/Versions: New file.
1230         * catgets/Versions: New file.
1231         * csu/Versions: New file.
1232         * ctype/Versions: New file.
1233         * db/Versions: New file.
1234         * debug/Versions: New file.
1235         * dirent/Versions: New file.
1236         * elf/Versions: New file.
1237         * gmon/Versions: New file.
1238         * grp/Versions: New file.
1239         * hesiod/Versions: New file.
1240         * hurd/Versions: New file.
1241         * iconv/Versions: New file.
1242         * inet/Versions: New file.
1243         * intl/Versions: New file.
1244         * io/Versions: New file.
1245         * libio/Versions: New file.
1246         * linuxthreads/Versions: New file.
1247         * locale/Versions: New file.
1248         * login/Versions: New file.
1249         * malloc/Versions: New file.
1250         * math/Versions: New file.
1251         * md5-crypt/Versions: New file.
1252         * misc/Versions: New file.
1253         * nis/Versions: New file.
1254         * nss/Versions: New file.
1255         * posix/Versions: New file.
1256         * pwd/Versions: New file.
1257         * resolv/Versions: New file.
1258         * resource/Versions: New file.
1259         * rt/Versions: New file.
1260         * setjmp/Versions: New file.
1261         * shadow/Versions: New file.
1262         * signal/Versions: New file.
1263         * socket/Versions: New file.
1264         * stdio/Versions: New file.
1265         * stdio-common/Versions: New file.
1266         * stdlib/Versions: New file.
1267         * streams/Versions: New file.
1268         * string/Versions: New file.
1269         * sunrpc/Versions: New file.
1270         * sysdeps/alpha/Versions: New file.
1271         * sysdeps/alpha/fpu/Versions: New file.
1272         * sysdeps/i386/Versions: New file.
1273         * sysdeps/sparc/Versions: New file.
1274         * sysdeps/unix/sysv/Versions: New file.
1275         * sysdeps/unix/sysv/linux/Versions: New file.
1276         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1277         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1278         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1279         * sysvipc/Versions: New file.
1280         * termios/Versions: New file.
1281         * time/Versions: New file.
1282         * wcsmbs/Versions: New file.
1283         * wctype/Versions: New file.
1284         * libc.map: Removed.
1285         * db/libdb.map: Removed.
1286         * elf/libdl.map: Removed.
1287         * hesiod/libnss_hesiod.map: Removed.
1288         * hurd/libhurduser.map: Removed.
1289         * hurd/libmachuser.map: Removed.
1290         * linuxthreads/libpthread.map: Removed.
1291         * locale/libBrokenLocale.map: Removed.
1292         * login/libutil.map: Removed.
1293         * math/libm.map: Removed.
1294         * md5-crypt/libcrypt.map: Removed.
1295         * nis/libnsl.map: Removed.
1296         * nis/libnsl_compat.map: Removed.
1297         * nis/libnss_nis.map: Removed.
1298         * nis/libnss_nisplus.map: Removed.
1299         * nss/libnss_db.map: Removed.
1300         * nss/libnss_files.map: Removed.
1301         * resolv/libnss_dns.map: Removed.
1302         * resolv/libresolv.map: Removed.
1303         * rt/librt.map: Removed.
1305         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1306         Fix typos.
1308         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1309         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1311         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1312         correct size.
1314 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1316         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1317         in comment.
1319         * nscd/nscd.c: Include unistd.h.
1321 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1323         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1324         became cleverer.
1326 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1328         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1330 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1332         * scripts/test-installation.pl: Include <stdio.h> in test program
1333         to make it strictly conforming.
1335 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1337         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1338         not a strong alias.
1339         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1342         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1344 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1346         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1347         not a strong alias.
1349 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1351         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1352         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1353         bits/pthreadtypes.h.
1355 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1357         * include/aio.h: New file.
1358         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1359         (tests): Build and run annexc program.
1360         * posix/annexc.c: New file.
1361         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1362         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1363         * rt/aio_misc.c: Include limits.h.
1364         * rt/aio_notify.c: Include errno.h.
1365         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1366         Define size_t.
1367         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1368         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1370         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1371         kernel doesn't do this.
1372         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1373         __USE_LARGEFILE64 is defined.
1374         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1375         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1376         if requested.
1377         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1379         * stdlib/isomac.c: Avoid include_next warning.
1381 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1383         * argp/argp.h: Use __PMT instead of __P for function pointer.
1384         * iconv/gconv.h: Likewise.
1385         * io/fts.h: Likewise.
1386         * io/ftw.h: Likewise.
1387         * libio/libio.h: Likewise.
1388         * malloc/mcheck.h: Likewise.
1389         * misc/search.h: Likewise.
1390         * posix/glob.h: Likewise.
1391         * resolv/resolv.h: Likewise.
1392         * signal/signal.h: Likewise.
1393         * stdlib/stdlib.h: Likewise.
1394         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1395         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1397 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1399         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1401 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1403         * posix/wordexp.c (parse_param): Fix memory leak.
1405 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1407         * libc.map: Export _IO_ftrylockfile.
1409 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1411         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1412         __get[pu]id.
1414 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1416         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1418         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1419         same search list twice.
1421 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1423         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1424         used to optimize loop/select.
1426 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1428         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1429         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1430         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1431         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1432         * sysdeps/arm/init-first.c: Likewise.
1433         * posix/getopt_init.c: Don't use __libc_pid.
1434         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1435         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1436         * libc.map: Remove __libc_uid and __libc_pid.
1438 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1440         * sunrpc/rtime.c (rtime): Use poll instead of select.
1442 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1444         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1445         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1446         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1447         Patches from FreeBSD current.
1449 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1451         * nscd/connections.c (handle_new_request): Handle POLLHUP
1452         correctly.
1453         (close_sockets): Correct parameter to dbg_log.
1455 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1458         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1459         (elf_machine_fixup_plt): Likewise.
1460         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1461         _dl_pagesize not set, use system call to always get correct answer.
1462         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1463         (__syscall_getpagesize): Add
1465 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1467         * resolv/res_send.c (res_send): Fix typo.
1469 1998-06-25  Andi Kleen <ak@muc.de>
1471         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1472         * resolv/res_send.c (res_send): Likewise.
1474 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1476         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1477         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1479 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1481         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1482         * math/atest-exp2.c (exp_mpn, main): Likewise.
1483         * math/atest-sincos.c (main): Likewise.
1485         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1486         base handling away from strtoul.  Always reset errno.
1488         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1490         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1491         _dl_profile_map if _dl_name_match_p.
1492         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1493         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1495         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1496         as early-clobber.
1498         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1499         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1500         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1502 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1504         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1506 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1508         * nis/nis_call.c: Don't copy server structure.
1509         * nis/nis_intern.h: Remove unused entries.
1510         * nis/nis_table.c: Rewrite __create_ib_request.
1512 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1514         * configure.in: Check for -fexceptions.
1515         * config.make.in: Define exceptions, not no-exceptions.
1516         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1517         __P to use throw().
1518         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1519         $(exceptions).
1520         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1521         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1522         lfind, and lsearch prototpypes.
1523         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1525 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1527         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1529 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1531         * Makefile (remove-old-headers): Make phony.
1533         * configure.in: Substitute @old_glibc_headers@.
1535 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1537         * libc.map: Remove __libc_uid.
1539 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1541         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1542         typos.
1544 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1546         * libc.map: Add Alpha-specific io function from protected namespace.
1548 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1550         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1551         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1552         CPPFLAGS.
1554         * libc.map: Export __sigaction.
1556 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1558         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1559         (from Linux 2.1.107).
1561 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1563         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1564         position when file was opened here.
1565         Reported by Howard Chu <hyc@platinum.com>.
1567         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1568         undefined in a second inclusion.
1570 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1572         * sysdeps/mach/hurd/i386/Makefile: New file.
1573         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1574         __libc_init_secure.
1575         (_hurd_stack_setup): Renamed
1576         from __libc_init_first.
1577         (__libc_init_first): New function.
1578         * sysdeps/mach/hurd/i386/static-start.S: New file.
1580 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1582         * sysdeps/mach/hurd/i386/init-first.c
1584 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1586         * grp/initgroups.c: Use _CALL_DL_FCT.
1588 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1590         * elf/rtld.c (process_dl_debug): Add missing continue.
1592 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1594         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1596 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1598         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1600 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1602         * config.make.in: Remove LDAP support.
1603         * nss/Makefile: Likewise.
1605 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1607         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1608         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1609         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1610         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1612 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1614         * mach/Makefile: Change `mv' invocations to `mv -f'.
1615         * mach/Machrules: Likewise.
1617 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1619         * config.make.in (old-glibc-headers): Add it.
1621         * configure.in: Add test for glibc 2.0.x headers.
1623         * Makefile (headers2_0): New variable - contains so far only
1624         Linux/Intel glibc 2.0.x headers.
1625         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1626         (install): Depend on remove-old-headers.
1628 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1630         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1631         make ftruncate a weak alias.
1632         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1633         __ftruncate.
1634         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1635         (truncate): Fix function defenition to match prototype.
1637 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1639         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1640         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1642 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1644         * sysdeps/generic/glob.c: Make it possible to include glob.h
1645         before loading glob.c.
1646         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1648 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1650         * nscd/connections.c: Use poll() instead of select().
1652 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1654         * sysdeps/generic/Dist: Fix typo.
1656 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1658         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1659         * nis/nis_addmember.c: Likewise.
1660         * nis/nis_call.c: Likewise.
1661         * nis/nis_creategroup.c: Likewise.
1662         * nis/nis_destroygroup.c: Likewise.
1663         * nis/nis_findserv.c: Likewise.
1664         * nis/nis_ismember.c: Likewise.
1665         * nis/nis_print.c: Likewise.
1666         * nis/nis_print_group_entry.c: Likewise.
1667         * nis/nis_removemember.c: Likewise.
1668         * nis/nis_verifygroup.c: Likewise.
1669         * nis/ypclnt.c: Likewise.
1671         * nis/nis_file.c: Close file handles.
1673         * nis/nis_callback.c: Fix typo.
1675 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1677         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1678         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1679         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1680         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1681         * nis/nss_nis/nis-initgroups.c: Likewise.
1682         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1683         __nss_lookup_function and make it public.
1684         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1685         module if exists, else use old method.
1687 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1689         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1690         definition.
1691         * nss/getXXent_r.c (set_function, end_function, get_function):
1692         Likewise.  Reported by Thorsten Kukuk.
1694         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1696 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1698         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1699         1998-06-16 and distribute kernel_termios.h.
1701         * nis/Makefile (distribute): Add nis_xdr.h.
1703 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1705         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1706         kernels that don't have sigaltstack.
1708 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1710         * sysdeps/generic/bits/sem.h: Don't define union semun.
1712         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1714         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1715         here.
1716         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1717         definition here.
1719 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1721         * signal/signal.h: Add prototype for __sigaltstack.
1722         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1723         Remove sigstack entry.
1724         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1725         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1727         * sysdeps/i386/backtrace.c: Add casts.
1729 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1731         * intl/dcgettext.c: use complete type name.
1732         * intl/hash-string.h: Likewise.
1734         * intl/localealias.c: Undo patch from 1998-04-29.
1735         * intl/l10nflist.c: Likewise.
1736         * intl/loadinfo.h: Likewise.
1738 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1740         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1742 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1744         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1745         _dl_mcount, _dl_mcount_wrapper.
1746         * elf/Makefile (routines): Add dl-profstub.
1747         * elf/dl-profstub.c: New file.
1748         * elf/dl-support.c: Don't define _dl_profile_map.
1749         * elf/rtld.c: Likewise.
1750         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1751         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1752         Define _CALL_DL_FCT.
1753         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1754         loaded object.
1755         * iconv/gconv_db.c: Likewise.
1756         * iconv/skeleton.c: Likewise.
1757         * nss/getXXbyYY_r.c: Likewise.
1758         * nss/getXXent_r.c: Likewise.
1759         * nss/nsswitch.c: Likewise.
1761 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1763         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1764         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1765         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1767 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1769         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1770         longestdbl.
1772 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1774         * iconvdata/Makefile (modules): Add MACINTOSH.
1775         (MACINTOSH-routines): New variable.
1776         (distribute): Add macintosh.c.
1777         (awk-generated-headers): Add macintosh.h.
1778         Add rule for macintosh.h generation.
1779         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1780         * iconvdata/macintosh.c: New file.
1782 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1784         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1786         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1787         only should happen for cy != 0.
1789         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1790         glob.h.
1792 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1794         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1795         to compare stack addresses.
1797 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1799         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1800         defining prototypes.
1802 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1804         * sysdeps/sparc/sparc32/dl-machine.h
1805         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1806         flushes as the kernel will emulate it when the underlying cpu does
1807         not implement flush.
1809         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1810         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1812         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1813         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1814         trampoline code.
1816         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1817         (__clone): Branch to label .Lerror not __clone_syscall_error.
1818         (.Lerror): Fixup EINVAL setting.
1819         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1820         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1821         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1822         (__syscall_getgroups, __syscall_setgroups): Add.
1824         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1825         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1826         around sa_mask data.
1828 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1830         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1832         * string/Makefile: Make sure test-ffs does not use builtins.
1834 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1836         * sunrpc/svc.c: Check for NULL pointer.
1838         * nis/libnsl.map: Add public NIS+ xdr functions.
1840         * nis/rpcsvc/nis_callback.h: New file.
1841         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1842         * nis/nis_xdr.h: ... here.
1844         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1845         pointers, use NIS+ defines where possible.
1846         * nis/nis_cache.c: Likewise.
1847         * nis/nis_cache2_xdr.c: Likewise.
1848         * nis/nis_call.c: Likewise.
1849         * nis/nis_checkpoint.c: Likewise.
1850         * nis/nis_clone_dir.c: Likewise.
1851         * nis/nis_clone_obj.c: Likewise.
1852         * nis/nis_clone_res.c: Likewise.
1853         * nis/nis_creategroup.c: Likewise.
1854         * nis/nis_file.c: Likewise.
1855         * nis/nis_free.c: Likewise.
1856         * nis/nis_getservlist.c: Likewise.
1857         * nis/nis_local_names.c: likewise.
1858         * nis/nis_lookup.c: Likewise.
1859         * nis/nis_mkdir.c: Likewise.
1860         * nis/nis_modify.c: Likewise.
1861         * nis/nis_ping.c: Likewise.
1862         * nis/nis_print.c: Likewise.
1863         * nis/nis_remove.c: Likewise.
1864         * nis/nis_removemember.c: Likewise.
1865         * nis/nis_rmdir.c: Likewise.
1866         * nis/nis_server.c: Likewise.
1867         * nis/nis_table.c: Likewise.
1868         * nis/nis_util.c: Likewise.
1869         * nis/nis_verifygroup.c: Likewise.
1870         * nis/nis_xdr.c: Likewise.
1871         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1872         * nis/nis_xdr.c: ... to here.
1874 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1876         * iconvdata/ksc5601.h: Clean up a bit.
1878 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1880         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1881         and process incoming data.
1882         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1883         fragments as invalid.
1884         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1886 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1888         Removal of duplicates like "the the".
1889         * manual/time.texi (TZ Variable): Likewise.
1890         * manual/users.texi (Manipulating the Database): Likewise.
1891         * manual/sysinfo.texi (Filesystem handling): Likewise.
1892         * manual/signal.texi (Signaling Yourself): Likewise.
1893         * manual/message.texi (Message Translation): Likewise.
1894         (Common Usage): Likewise.
1895         * manual/llio.texi: Likewise.
1896         * manual/arith.texi (Old-style number conversion): Likewise.
1897         * manual/argp.texi (Argp): Likewise.
1898         (Argp Parsers): Likewise.
1899         (Argp Help Filtering): Likewise.
1901         * hesiod/README.hesiod: Correct typo.
1903         * manual/llio.texi: Correct typos.
1904         * manual/sysinfo.texi: Likewise.
1906 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1908         * rt/aio.h: Rename __op to __operation for g++.
1910 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1912         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1913         script.
1914         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1915         * iconvdata/gen-8bit.sh: Clean up sed script.
1917         * iconvdata/Makefile: Remove all PERL conditionals; build all
1918         the modules all the time.  Export AWK.
1919         (gen-8bit-gap): Delete setting of PERL.
1920         (gen-8bit-gap-1): Likewise.
1921         (perl-generated-headers): Renamed awk-generated-headers.
1923         * iconvdata/gap.pl: Removed.
1924         * iconvdata/gaptab.pl: Removed.
1925         * iconvdata/gap.awk: New file.
1926         * iconvdata/gaptab.awk: New file.
1928 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1930         * sysdeps/generic/Dist: Add errno-loc.c.
1932         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1933         __new_* functions.
1935 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1937         * stdio-common/bug12.c: New test for fread()/fseek().
1938         * stdio-common/Makefile (tests): Add bug12.
1940 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1942         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1943         constant.
1944         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1945         * debug/execinfo.h: Update declaration.
1947 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1949         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1950         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1951         * debug/execinfo.h: Update declaration.
1953 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1955         * manual/llio.texi: Fix spelling.
1956         * manual/sysinfo.texi: Fix spelling.
1958 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1960         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1961         alias for old name.  Put this on __libc_subfreeres.
1962         * misc/search.h: Declare it.
1964 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1966         * string/bits/string2.h (strcmp): Add missing parens around macro
1967         parameters.
1969 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1971         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1973         * manual/filesys.texi: Document LFS functions.
1974         * manual/llio.texi: Likewise.
1975         * manual/stdio.texi: Likewise.
1976         * manual/time.texi: Likewise.
1978         * manual/llio.texi: Document AIO functions.
1980         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1981         * sysdeps/generic/setrlimit.c: Likewise.
1982         * sysdeps/generic/setrlimit64.c: Likewise.
1983         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1984         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1986 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1988         * sysdeps/generic/getenv.c: Fix last change.
1990 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1992         * sysdeps/generic/backtrace.c: Provide generic implementation.
1994 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1996         * configure.in: Give visual feedback of the default directories we
1997         added.
1999 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2001         * io/fts.c (fts_build): Define oflag only if needed.
2003 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2005         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
2007 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
2009         * libc.map: Don't export argp's fmtstream handling functions.
2011         * manual/sysinfo.texi: Document fstab and mtab handling functions.
2012         * manual/llio.texi: Document more LFS functions and start documenting
2013         the AIO functions.
2015 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2017         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
2018         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2019         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2020         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2022 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
2024         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
2025         makes it easier to undump emacs.
2026         * sysdeps/powerpc/bits/endian.h: Use more informative error message
2027         for when the endianness can't be determined.
2029 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
2031         * nss/Makefile: Add files publickey database support.
2032         * nss/libnss_files.map: Export the required functions.
2033         * nss/nss_files/files-key.c: Implement it.
2034         * sunrpc/rpc/auth_des.h: Correct typos in comments.
2036 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2038         * iconv/gconv_builtin.h: Add aliases for CORBA.
2039         * iconvdata/gconv-modules: Likewise.
2041 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2043         * math/libm-test.c (main): Call exp10_test.
2044         (exp10_test): New function which tests exp10.
2046 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
2048         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
2049         sigstack.
2051         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
2052         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
2053         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
2055 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2057         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
2058         in the variable, not its GOT slot.
2060 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2062         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
2063         inline.
2064         * sysdeps/m68k/fpu/e_exp10.c: New file.
2065         * sysdeps/m68k/fpu/e_exp10f.c: New file.
2066         * sysdeps/m68k/fpu/e_exp10l.c: New file.
2068         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
2069         _dl_profile_map only if the name matches.
2070         (_dl_start_user): Remember stack address.
2071         * sysdeps/m68k/elf/start.S: Pass new argument to
2072         __libc_start_user.
2074         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2075         definition.
2076         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2077         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2078         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2079         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2080         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2082 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2084         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2085         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2086         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2087         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2088         prototypes.
2089         * sysdeps/libm-i387/e_exp10.S: New file.
2090         * sysdeps/libm-i387/e_exp10f.S: New file.
2091         * sysdeps/libm-i387/e_exp10l.S: New file.
2092         * sysdeps/libm-ieee754/e_exp10.c: New file.
2093         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2094         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2095         * sysdeps/libm-ieee754/w_exp10.c: New file.
2096         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2097         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2098         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2100 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2102         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2103         sys/elf.h and sys/reg.h.
2104         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2105         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2106         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2107         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2109         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2110         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2112 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2114         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2115         __data member only for gcc.  Reported by ak@muc.de.
2117         * misc/mntent.h: Undo last patch.
2118         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2119         * misc/tst/mntent.c: Adjust code for this change.
2121         * io/fts.c: Updated from a slightly more recent BSD version.
2122         * io/fts.h: Likewise.
2124         * libc.map: Add __libc_stack_end.
2126         * db2/Makefile (routines): Add lock_region.
2127         * db2/config.h: Update from db-2.4.14.
2128         * db2/db.h: Likewise.
2129         * db2/db_185.h: Likewise.
2130         * db2/db_int.h: Likewise.
2131         * db2/btree/bt_close.c: Likewise.
2132         * db2/btree/bt_compare.c: Likewise.
2133         * db2/btree/bt_conv.c: Likewise.
2134         * db2/btree/bt_cursor.c: Likewise.
2135         * db2/btree/bt_delete.c: Likewise.
2136         * db2/btree/bt_open.c: Likewise.
2137         * db2/btree/bt_page.c: Likewise.
2138         * db2/btree/bt_put.c: Likewise.
2139         * db2/btree/bt_rec.c: Likewise.
2140         * db2/btree/bt_recno.c: Likewise.
2141         * db2/btree/bt_rsearch.c: Likewise.
2142         * db2/btree/bt_search.c: Likewise.
2143         * db2/btree/bt_split.c: Likewise.
2144         * db2/btree/bt_stat.c: Likewise.
2145         * db2/btree/btree.src: Likewise.
2146         * db2/btree/btree_auto.c: Likewise.
2147         * db2/clib/getlong.c: Likewise.
2148         * db2/common/db_appinit.c: Likewise.
2149         * db2/common/db_apprec.c: Likewise.
2150         * db2/common/db_byteorder.c: Likewise.
2151         * db2/common/db_err.c: Likewise.
2152         * db2/common/db_log2.c: Likewise.
2153         * db2/common/db_region.c: Likewise.
2154         * db2/common/db_salloc.c: Likewise.
2155         * db2/common/db_shash.c: Likewise.
2156         * db2/db/db.c: Likewise.
2157         * db2/db/db.src: Likewise.
2158         * db2/db/db_auto.c: Likewise.
2159         * db2/db/db_conv.c: Likewise.
2160         * db2/db/db_dispatch.c: Likewise.
2161         * db2/db/db_dup.c: Likewise.
2162         * db2/db/db_overflow.c: Likewise.
2163         * db2/db/db_pr.c: Likewise.
2164         * db2/db/db_rec.c: Likewise.
2165         * db2/db/db_ret.c: Likewise.
2166         * db2/db/db_thread.c: Likewise.
2167         * db2/db185/db185.c: Likewise.
2168         * db2/db185/db185_int.h: Likewise.
2169         * db2/dbm/dbm.c: Likewise.
2170         * db2/hash/hash.c: Likewise.
2171         * db2/hash/hash.src: Likewise.
2172         * db2/hash/hash_auto.c: Likewise.
2173         * db2/hash/hash_conv.c: Likewise.
2174         * db2/hash/hash_debug.c: Likewise.
2175         * db2/hash/hash_dup.c: Likewise.
2176         * db2/hash/hash_func.c: Likewise.
2177         * db2/hash/hash_page.c: Likewise.
2178         * db2/hash/hash_rec.c: Likewise.
2179         * db2/hash/hash_stat.c: Likewise.
2180         * db2/include/btree.h: Likewise.
2181         * db2/include/btree_ext.h: Likewise.
2182         * db2/include/clib_ext.h: Likewise.
2183         * db2/include/common_ext.h: Likewise.
2184         * db2/include/cxx_int.h: Likewise.
2185         * db2/include/db.h.src: Likewise.
2186         * db2/include/db_185.h.src: Likewise.
2187         * db2/include/db_am.h: Likewise.
2188         * db2/include/db_auto.h: Likewise.
2189         * db2/include/db_cxx.h: Likewise.
2190         * db2/include/db_dispatch.h: Likewise.
2191         * db2/include/db_ext.h: Likewise.
2192         * db2/include/db_int.h.src: Likewise.
2193         * db2/include/db_page.h: Likewise.
2194         * db2/include/db_shash.h: Likewise.
2195         * db2/include/db_swap.h: Likewise.
2196         * db2/include/hash.h: Likewise.
2197         * db2/include/hash_ext.h: Likewise.
2198         * db2/include/lock.h: Likewise.
2199         * db2/include/lock_ext.h: Likewise.
2200         * db2/include/log.h: Likewise.
2201         * db2/include/log_ext.h: Likewise.
2202         * db2/include/mp.h: Likewise.
2203         * db2/include/mp_ext.h: Likewise.
2204         * db2/include/mutex_ext.h: Likewise.
2205         * db2/include/os_ext.h: Likewise.
2206         * db2/include/os_func.h: Likewise.
2207         * db2/include/queue.h: Likewise.
2208         * db2/include/shqueue.h: Likewise.
2209         * db2/include/txn.h: Likewise.
2210         * db2/lock/lock.c: Likewise.
2211         * db2/lock/lock_conflict.c: Likewise.
2212         * db2/lock/lock_deadlock.c: Likewise.
2213         * db2/lock/lock_region.c: Likewise.
2214         * db2/lock/lock_util.c: Likewise.
2215         * db2/log/log.c: Likewise.
2216         * db2/log/log.src: Likewise.
2217         * db2/log/log_archive.c: Likewise.
2218         * db2/log/log_auto.c: Likewise.
2219         * db2/log/log_compare.c: Likewise.
2220         * db2/log/log_findckp.c: Likewise.
2221         * db2/log/log_get.c: Likewise.
2222         * db2/log/log_put.c: Likewise.
2223         * db2/log/log_rec.c: Likewise.
2224         * db2/log/log_register.c: Likewise.
2225         * db2/mp/mp_bh.c: Likewise.
2226         * db2/mp/mp_fget.c: Likewise.
2227         * db2/mp/mp_fopen.c: Likewise.
2228         * db2/mp/mp_fput.c: Likewise.
2229         * db2/mp/mp_fset.c: Likewise.
2230         * db2/mp/mp_open.c: Likewise.
2231         * db2/mp/mp_pr.c: Likewise.
2232         * db2/mp/mp_region.c: Likewise.
2233         * db2/mp/mp_sync.c: Likewise.
2234         * db2/mutex/68020.gcc: Likewise.
2235         * db2/mutex/mutex.c: Likewise.
2236         * db2/mutex/parisc.gcc: Likewise.
2237         * db2/mutex/parisc.hp: Likewise.
2238         * db2/mutex/sco.cc: Likewise.
2239         * db2/os/os_abs.c: Likewise.
2240         * db2/os/os_alloc.c: Likewise.
2241         * db2/os/os_config.c: Likewise.
2242         * db2/os/os_dir.c: Likewise.
2243         * db2/os/os_fid.c: Likewise.
2244         * db2/os/os_fsync.c: Likewise.
2245         * db2/os/os_map.c: Likewise.
2246         * db2/os/os_oflags.c: Likewise.
2247         * db2/os/os_open.c: Likewise.
2248         * db2/os/os_rpath.c: Likewise.
2249         * db2/os/os_rw.c: Likewise.
2250         * db2/os/os_seek.c: Likewise.
2251         * db2/os/os_sleep.c: Likewise.
2252         * db2/os/os_spin.c: Likewise.
2253         * db2/os/os_stat.c: Likewise.
2254         * db2/os/os_unlink.c: Likewise.
2255         * db2/progs/db_archive/db_archive.c: Likewise.
2256         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2257         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2258         * db2/progs/db_dump/db_dump.c: Likewise.
2259         * db2/progs/db_dump185/db_dump185.c: Likewise.
2260         * db2/progs/db_load/db_load.c: Likewise.
2261         * db2/progs/db_printlog/db_printlog.c: Likewise.
2262         * db2/progs/db_recover/db_recover.c: Likewise.
2263         * db2/progs/db_stat/db_stat.c: Likewise.
2264         * db2/txn/txn.c: Likewise.
2265         * db2/txn/txn.src: Likewise.
2266         * db2/txn/txn_auto.c: Likewise.
2267         * db2/txn/txn_rec.c: Likewise.
2269         * elf/rtld.c: Move definition of __libc_stack_end to ...
2270         * sysdeps/generic/dl-sysdep.h: ...here.
2272         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2273         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2274         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2276         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2277         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2278         before following it.
2280 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2282         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2283         from mntent correctly.
2285 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2287         * sunrpc/Makefile (generated): Correct typo.
2289 1998-06-04  Philip Blundell  <philb@gnu.org>
2291         * elf/elf.h (EM_ARM, et al.): New definitions.
2292         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2294 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2296         * localedata/SUPPORTED: Add sk_SK.
2297         * localedata/locales/sk_SK: New file.
2299 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2301         * Makeconfig (subdirs): Add debug.
2302         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2303         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2304         backtrace_symbols.
2305         * sysdeps/generic/backtrace.c: New file.
2306         * sysdeps/generic/backtracesyms.c: New file.
2307         * sysdeps/generic/elf/backtracesyms.c: New file.
2308         * sysdeps/i386/backtrace.c: New file.
2309         * debug/Makefile: New file.
2310         * debug/backtrace-tst.c: New file.
2311         * debug/execinfo.h: New file.
2313 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2315         * elf/sprof.c: Implement call graph profiling.
2317         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2319 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2321         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2322         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2323         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2324         Noticed by Jake Garver <garver@valkyrie.net>.
2326 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2328         * libio/genops.c (__underflow): Read character from read pointer
2329         as unsigned.
2330         (__uflow): Likewise.
2332 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2334         * libc.map: Add _dl_profile.
2335         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2336         this to ELF_DYNAMIC_RELOCATE.
2337         Always allocate array for relocation result if LD_PROFILE is defined.
2338         * elf/ldsodefs.h: Adjust prototypes.
2339         * elf/dl-open.c (_dl_open): Call relocation function with extra
2340         argument.
2341         * elf/rtld.c: Likewise.
2342         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2343         Correct loop condition.
2344         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2345         consider_profile to runtime setup function.
2346         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2347         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2349         * elf/dl-support.c: Define __libc_stack_end.
2350         * elf/rtld.c: Likewise.
2351         * sysdeps/generic/libc-start.c: Store last stack address in
2352         __libc_stack_end.
2353         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2354         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2356         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2357         Include <stdint.h>, not <inttypes.h>.
2359         * elf/sprof.c: Implement flat profiling.
2361         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2362         _IO_funlockfile explicitly.
2363         * libio/fileops.c: Likewise.
2364         * libio/fputc.c: Likewise.
2365         * libio/freopen.c: Likewise.
2366         * libio/freopen64.c: Likewise.
2367         * libio/fseek.c: Likewise.
2368         * libio/fseeko.c: Likewise.
2369         * libio/fseeko64.c: Likewise.
2370         * libio/ftello.c: Likewise.
2371         * libio/ftello64.c: Likewise.
2372         * libio/getc.c: Likewise.
2373         * libio/getchar.c: Likewise.
2374         * libio/iofclose.c: Likewise.
2375         * libio/iofflush.c: Likewise.
2376         * libio/iofgetpos.c: Likewise.
2377         * libio/iofgetpos64.c: Likewise.
2378         * libio/iofgets.c: Likewise.
2379         * libio/iofputs.c: Likewise.
2380         * libio/iofread.c: Likewise.
2381         * libio/iofsetpos.c: Likewise.
2382         * libio/iofsetpos64.c: Likewise.
2383         * libio/ioftell.c: Likewise.
2384         * libio/iofwrite.c: Likewise.
2385         * libio/iogetdelim.c: Likewise.
2386         * libio/iogets.c: Likewise.
2387         * libio/ioputs.c: Likewise.
2388         * libio/ioseekoff.c: Likewise.
2389         * libio/ioseekpos.c: Likewise.
2390         * libio/iosetbuffer.c: Likewise.
2391         * libio/iosetvbuf.c: Likewise.
2392         * libio/ioungetc.c: Likewise.
2393         * libio/iovsprintf.c: Likewise.
2394         * libio/iovsscanf.c: Likewise.
2395         * libio/oldfileops.c: Likewise.
2396         * libio/oldiofclose.c: Likewise.
2397         * libio/peekc.c: Likewise.
2398         * libio/putc.c: Likewise.
2399         * libio/putchar.c: Likewise.
2400         * libio/rewind.c: Likewise.
2402         * malloc/mtrace.c: Pretty print.
2404         * misc/mntent.h (struct mentent): Make string elements const char *.
2406         * nis/nis_printf.c: Optimize I/O a little bit.
2408         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2409         * sysdeps/generic/sigset-cvt-mask.h: New file.
2410         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2411         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2412         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2413         sigset-cvt-mask.h to do the dirty work.
2414         Patches by Joe Keane.
2416         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2418         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2419         syscall_error label in case of PIC anonymous.
2420         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2421         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2422         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2423         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2424         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2425         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2426         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2428 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2430         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2431         we cannot declare the struct element as const.
2432         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2433         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2435 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2437         * manual/Makefile: Include ../Makeconfig earlier.
2438         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2439         exist.
2440         (dir-add.texinfo): Remove useless $(SHELL).
2442 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2444         * Makefile (others): Build programs from install-bin.
2445         * configure.in: Modify config.make only if is was just created and
2446         move that command to second argument of AC_OUTPUT.  Add command to
2447         set config_vars in config.status.
2449 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2451         * malloc/Makefile (address-width): Fix conditional.
2453 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2455         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2456         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2457         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2458         version GLIBC_2.1.
2460 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2462         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2463         (Floating Point Parameters): Likewise.
2465 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2467         * hurd/Makefile (routines): Add cthreads.
2469 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2471         * login/login.c (login): Let pututline take care of finding the
2472         positin to insert the UTMP entry.  This corrects a bug where ssh
2473         was not reusing UTMP entries marked as DEAD_PROCESS.
2474         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2476 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2478         * login/Makefile (tests): New variable, add tst-utmp and
2479         tst-utmpx.
2480         * login/tst-utmp.c: New file.
2481         * login/tst-utmpx.c: New file.
2483 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2485         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2486         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2487         but need sys_err.
2489 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2491         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2492         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2494 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2496         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2497         make __read a weak alias.  Use ANSI-style function definition.
2498         * sysdeps/mach/hurd/write.c: Likewise.
2500 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2502         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2503         _sys_errlist.
2505 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2507         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2508         Renamed from librtld.so.
2510 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2512         * libc.map: Remove _IO_getline_info which was erroneously
2513         introduced in section GLIBC_2.0.
2514         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2516 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2518         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2519         created a weak alias.
2520         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2522 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2524         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2525         ftruncate function, and create a weak alias to ftruncate.
2527 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2529         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2530         * inet/getnetgrent_r.c: Likewise.
2531         * nss/getXXbyYY_r.c: Likewise.
2532         * nss/getXXent_r.c: Likewise.
2533         * pwd/fgetpwent_r.c: Likewise.
2534         * shadow/sgetspent_r.c: Likewise.
2535         * shadow/fgetspent_r.c: Likewise.
2536         * sunrpc/publickey.c: Likewise.
2538 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2540         * hurd/libhurduser.map: New file.
2541         * mach/libmachuser.map: Likewise.
2543         * libc.map: Add Hurd-specific functions to version 2.1.
2544         Add __flshfp and __fillbf.
2546 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2548         * manual/signal.texi (Basic Signal Handling): Fix typo.
2549         * manual/errno.texi (Error Codes): Likewise.
2551 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2553         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2554         instead of <sys/socket.h>.
2555         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2557         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2558         Finally make it working.
2559         Patch by Mark Hatle <fray@kernel.crashing.org>.
2561 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2563         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2564         a Solaris 2.6 bug.
2566 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2568         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2569         used by ARM systems.
2570         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2571         FE_EXCEPT_SHIFT.
2572         * sysdeps/arm/bits/fenv.h: Deleted.
2573         * sysdeps/arm/fpu/ieee754.h: New file.
2574         * sysdeps/arm/gmp-mparam.h: New file.
2575         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2576         implementation.
2578 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2580         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2582         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2583         of ((unused)).  Reported by Bruno Haible.
2585 1998-05-31  Philip Blundell  <philb@gnu.org>
2587         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2588         referring to errno and _errno.
2590         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2592         * sysdeps/i386/fpu_control.h: Fix typo.
2594         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2595         (_JMPBUF_UNWINDS): Added.
2596         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2598 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2600         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2601         order to build header files, not `generated'.
2603         * Rules (before-compile): New target which depends on all
2604         $(before-compile) files.
2606 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2608         * nis/nis_call.c: Make directory search faster.
2610         * nis/nis_callback.c: Insert public key of user in callback data.
2612         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2614         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2616         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2618         * nis/nis_intern.h: Remove duplicated prototype.
2620 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2622         * sunrpc/auth_des.c: Move prototypes from here ...
2623         * sunrpc/rpc/auth.h: ... to here.
2625         * sunrpc/clnt_tcp.c: Add more control flags.
2626         * sunrpc/clnt_udp.c: Likewise.
2628         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2629         domainname.
2631         * sunrpc/rpc/clnt.h: Document, which control flags are not
2632         implementable.
2634         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2636 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2638         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2639         files crash the program.
2641         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2642         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2643         Reported by Deborah Wallach <kerr@pa.dec.com>.
2645 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2647         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2648         on whether this is a stable release or not (keeps snapshot bug
2649         reports out of the database).
2651         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2652         * sysdeps/arm/sysdep.h: Likewise.
2653         * sysdeps/i386/sysdep.h: Likewise.
2654         * sysdeps/m68k/sysdep.h: Likewise.
2655         * sysdeps/mach/mips/sysdep.h: Likewise.
2656         * sysdeps/mach/sys/reboot.h: Likewise.
2657         * sysdeps/mach/sysdep.h: Likewise.
2658         * sysdeps/unix/alpha/sysdep.h: Likewise.
2659         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2660         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2661         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2662         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2663         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2664         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2665         * sysdeps/unix/i386/sysdep.h: Likewise.
2666         * sysdeps/unix/mips/sysdep.h: Likewise.
2667         * sysdeps/unix/sparc/sysdep.h: Likewise.
2668         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2669         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2671         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2672         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2674         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2675         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2677 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2679         * mach/Machrules: Use $(move-if-change).
2681 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2683         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2684         * Makerules (lib%.so): Depend on $(+interp).
2685         (libc.so): Add interp.os to list of dependencies.
2686         (interp-obj): Remove variable.
2687         * mach/Machrules (+interp): Define to empty since libhurduser and
2688         libmachuser don't need to have the interpreter set.
2690 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2692         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2694         * resolv/gethnamaddr.c: Likewise.
2696         * resolv/res_comp.c: Likewise.
2698 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2700         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2701         so that transparent union works.
2703 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2705         * manual/texinfo.tex: Update to last available version.
2707         * timezone/africa: Update from tzdata1998e.
2708         * timezone/antarctica: Likewise.
2709         * timezone/asia: Likewise.
2710         * timezone/australasia: Likewise.
2711         * timezone/europe: Likewise.
2712         * timezone/iso3166.tab: Likewise.
2713         * timezone/northamerica: Likewise.
2714         * timezone/tzselect.ksh: Likewise.
2715         * timezone/zone.tab: Likewise.
2717 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2719         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2720         Reported by Matt McLean <keys@brio.yikes.com>.
2722 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2724         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2725         do-gencat-test.  Use automatic variables.
2726         ($(objpfx)de.msg): Fix reference to po file.
2728 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2730         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2731         $(move-if-change).
2733 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2735         * intl/dcgettext.c: Fix typo.
2737 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2739         * configure.in: Allow more make versions e.g 3.76.90.
2741 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2743         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2745         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2746         for Hurd.  Patch by Mark Kettenis.
2748 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2750          * mach/Machrules (+preinit, +postinit): Define these variables to
2751          empty because libhurduser and libmachuser don't need startup
2752          files.
2754 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2756          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2757          instead of a raw bitmask.
2759 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2761         * Makeconfig (rpath-dirs): New variable.
2762         (rpath-link): Use it.
2763         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2764         (db-objpfx): Removed.
2765         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2766         * md5-crypt/Makefile: Likewise.
2767         * sysdeps/mach/hurd/Makefile: Likewise.
2769         * Makeconfig (move-if-change): New variable.
2770         * iconvdata/Makefile (move-if-change): Removed.
2771         * manual/Makefile (move-if-change): Set only if undefined, use
2772         local script by default.
2773         * sunrpc/Makefile (move-if-change): Removed.
2774         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2775         $(move-if-change).
2777          * elf/Makefile: Remove all references to obsolete file
2778          $(objpfx)rtldtbl.h.
2779          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2781 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2783         * elf/dl-close.c (_dl_close): Add debugging message.
2785 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2787         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2788         to get Linux version and not gcc version.
2789         Reported by Alan Curry <pacman@cqc.com>.
2791 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2793         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2794         pointers - return unknown error message instead.
2795         Reported by Alan Curry <pacman@cqc.com>.
2797 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2799         * iconvdata/Makefile (modules, sed-generated-headers,
2800         perl-generated-headers): ibm424.h is perl generated.  Make
2801         necessary modifications to compile without perl.
2803 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2805         * hesiod/hesiod.c (read_config_file): Fix typo.
2807 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2809         * version.h: Bump VERSION.
2811         * csu/Makefile (distribute): Add munch-tmpl.c.
2813 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2815         * nis/nis_defaults.c: Fix buffer problems and typos.
2817 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2819         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2820         Patch by Fred Fish.
2822 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2824         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2825         overwriting bugs.
2827         * libio/strops.c (_IO_str_underflow): Read newly available
2828         character from buffer as unsigned.
2830 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2832         * catgets/Makefile (distribute): Add xopen-msg.h.
2833         (generated): Add de.msg and de.cat.
2834         (tests): Add do-gencat-test.
2835         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2836         * catgets/xopen-msg.h: New file.
2838 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2840         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2841         functions.  Optimize filename creation a bit.
2843 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2845         * stdlib/random_r.c: Help gcc to optimize the code.
2846         Patch by Joe Keane <jgk@jgk.org>.
2848 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2850         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2851         tsearch calls.
2853 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2855         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2856         it.
2858 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2860         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2861         * wcsmbs/wcsrtombs.c: Likewise.
2863         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2864         * wcsmbs/wcsmbs-tst1.c: New file.
2866         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2868         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2869         as 1.
2871         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2872         weak.
2874 1998-05-21  Philip Blundell  <philb@gnu.org>
2876         * sysdeps/arm/fpu_control.h: Replace stub file with real
2877         implementation.
2878         * sysdeps/arm/fpu/bits/fenv.h: New file.
2879         * sysdeps/arm/fpu/fesetround.c: Likewise.
2880         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2881         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2882         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2883         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2884         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2885         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2887 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2889         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2890         read instead of mmap.
2892 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2894         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2895         directly instead of include_next.  Add missing semicolons.
2896         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2897         Add missing semicolons.
2899 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2901         * iconvdata/gconv-modules: Add more aliases to please java
2902         environments.
2904 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2906         * stdio-common/vfprintf.c (process_arg): Fix typo.
2908         * iconvdata/TESTS: New tests for EUC-KR.
2910         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2911         * iconvdata/testdata/EUC-KR: New file.
2913 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2915         * math/libm-test.c (hypot_test): Fix a typo.
2917 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2919         * stdio-common/vfprintf.c: When precision is specified for %ls or
2920         %S handle it correctly.
2922 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2924         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2925         the" in one line - fixed it.
2926         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2927         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2928         * posix/unistd.h: Likewise
2930 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2932         * Makeconfig (rpath-link): Add resolvobjdir.
2933         (resolvobjdir): New variable.
2934         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2936 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2938         * elf/dl-close.c: Call shared object terminators at the right time.
2939         Patch by Philippe Troin <phil@fifi.org>.
2941 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2943         * Make-dist (+tsrcs): Also add *.map for every member of
2944         $(extra-libs).
2946         * Makefile (distribute): Don't distribute scripts/printsources and
2947         scripts/=__ify.  Distribute FAQ.in.
2948         (rpm/%): Don't pass subdirs to sub-make.
2950         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2951         instead of $(no_deps).
2953 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2955         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2956         (KNOWN_VALUE, STORE_VALUE): Do it right.
2957         (setenv): Remove unused variable.
2959 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2961         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2962         (CFLAGS-zdump.c): Add $(tz-cflags).
2964         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2965         return type.
2967 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2969         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2970         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2971         if use_localtime.
2972         * time/tzset.c: Update prototype of __tzfile_compute.
2973         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2974         tm_zone and tm_offset here if __use_tzfile.
2976 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2978         * Makerules: Install libc.a even if there are no object file.
2980 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2982         * Makerules (do-makelib): Don't force creating library from
2983         scratch, which is faster and gets correct behaviour if $(subdirs)
2984         is incomplete.
2986 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2988         * Makerules (do-stamp): Make it work when building in source
2989         directory.
2991 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2993         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2994         inhibit-rpath.
2995         * elf/dl-support.c: Likewise.
2996         * elf/ldsodefs.h: Likewise.
2997         * elf/rtld.c: Likewise.
2998         * iconvdata/run-iconv-test.sh: Likewise.
3000 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
3002         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
3003         variable using the value.
3004         * elf/ldsodefs.h: Declare _dl_ignore_path.
3005         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
3006         object against list in _dl_ignore_path and ignore RPATH if on the list.
3007         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
3008         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
3009         to make sure we get the correct helper libraries loaded.
3011         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
3012         "RPATH" string in call to fillin_rpath instead.
3013         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
3015 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
3017         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
3018         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3020 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3022         * manual/terminal.texi (I/O Queues): Fix typo.
3024         * manual/stdio.texi (Closing Streams): Fix grammar.
3026         * manual/arith.texi (Absolute Value): Correct typo.
3027         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
3029 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
3031         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
3032         LD_PROFILE_OUTPUT in SUID binaries.
3033         * intl/dcgettext.c: In SUID binaries don't let language part of
3034         locale value contain path elements.
3035         * intl/explodename.h: Define new function _nl_find_language.
3036         * intl/loadinfo.h: Declare _nl_find_language.
3037         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
3038         language part it drop the value is path element is contained.
3040         * locale/setlocale.c: Fix typo.
3042 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
3044         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
3046         * sysdeps/arm/strlen.S: Support both big and little endian processors.
3048         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
3049         log, not a byte-count.
3051         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
3052         a.out compatibility.
3054 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3056         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
3057         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
3058         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
3059         * posix/unistd.h: Likewise.
3060         * math/math.h: Likewise.
3061         * manual/users.texi (Manipulating the Database): Likewise.
3062         * manual/signal.texi (Job Control Signals): Likewise.
3063         * manual/message.texi (The gencat program): Likewise.
3064         * manual/filesys.texi (Hard Links): Likewise.
3065         * manual/math.texi (SVID Random): Likewise.
3066         * manual/llio.texi (Waiting for I/O): Likewise.
3067         * manual/io.texi (File Name Errors): Likewise.
3068         * manual/conf.texi (String Parameters): Likewise.
3069         * manual/arith.texi (Infinity): Likewise.
3070         * malloc/malloc.c: Likewise.
3071         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3072         * csu/Makefile: Likewise.
3074 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3076         * manual/memory.texi: Add back accidently removed line.
3078 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3080         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3081         (timeout_handler): New function.
3082         (LOCK_FILE, UNLOCK_FILE): New macros.
3083         Implement file locking with timeout.
3084         (getutent_r_file, internal_getut_r, getutline_r_file,
3085         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3086         locking.
3088 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3090         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3091         directory.
3093 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3095         * rpm/Makefile: Delete inclusion of version.mk.
3097 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3099         * libc.map: Add all libio functions needed libstdc++ with version
3100         2.0, sort entries.
3102 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3104         * iconvdata/Makefile (generated): Add *.stmp files.
3106 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3108         * timezone/Makefile (testdata, build-testdata): New variables, use
3109         them in rules for test data.
3110         ($(objpfx)tst-timezone.out): Depend on test data.
3111         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3112         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3113         New rules to build test data.
3114         (tst-timezone-ENV): Pass TZDIR to point to test data.
3116 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3118         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3119         (the designation sequence is disturbing).
3121 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3123         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3124         * sunrpc/xdr_rec.c: Likewise.
3126 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3128         * posix/Makefile (tests): Add runptests.
3129         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3130         (before-compile): Add ptestcases.h.
3131         (ptestscases.h): Add rule to generate from PTESTS.
3132         * posix/runptests.c: New file.
3133         * posix/PTESTS: New file.
3134         * posix/PTESTS2C.sed: New file.
3136 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3138         * iconv/loop.c: Let user add code to use and set paramaters.
3140         * iconvdata/iso-2022-kr.c: Correct to-loop.
3142         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3143         point to output buffer.
3145         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3146         hanja.
3148         * iconvdata/TESTS: Add ISO-2022-KR test.
3149         * iconvdata/testdata/ISO-2022-KR: New file.
3151 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3153         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3154         and internal_use.
3155         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3156         and internal_use.
3157         * wcsmbs/btowc.c: Likewise.
3158         * wcsmbs/mbrtowcs.c: Likewise.
3159         * wcsmbs/mbsnrtowcs.c: Likewise.
3160         * wcsmbs/mbsrtowcs.c: Likewise.
3161         * wcsmbs/wcrtomb.c: Likewise.
3162         * wcsmbs/wcsnrtombs.c: Likewise.
3163         * wcsmbs/wcsrtombs.c: Likewise.
3164         * wcsmbs/wctob.c: Likewise.
3165         * iconv/skeleton.c: Increment invocation_counter.
3166         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3167         sequence first.
3169         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3170         * iconvdata/iso-2022-jp.c: Likewise.
3171         * iconvdata/iso646.c: Likewise.
3173         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3175 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3177         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3179         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3180         overwriting existing values if it fits.
3182 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3184         * posix/wordexp-test.c: Avoid duplicate messages.
3186         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3187         tsearch.  Correctly interpret values returned by those functions.
3188         (unsetenv): Store pointer to string, not pointer to string pointer.
3190         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3191         DST information and offset in them.
3192         * time/tzset.c (__tz_convert): Pass extra parameters to
3193         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3195 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3197         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3198         stamp files to avoid unnecessary recompilation.
3199         (gen-8bit-gap-table): Likewise.
3200         (move-if-change): New variable.
3201         (all generated .h rules): Change to be .stmp rules.
3202         (%.h): New rule; depend on %.stmp; no commands.
3203         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3204         gen-8bit-gap-1.sh.
3206 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3208         * Makerules (libc-map): Deleted.
3209         (load-map-file): Set to the appropriate compiler switch, not
3210         just the file name.  If libfoo-map is not set, look for a
3211         libfoo.map in the current directory and $(..).
3212         (map-file): New variable, contains just the mapfile name.
3213         (build-shlib): Adjust for new value of load-map-file.
3214         (libc.so): Correct dependencies.
3216         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3217         may not be set anymore.
3219         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3220         Delete libdl-map.  Tweak ld.so link rule to work with changed
3221         variable settings in Makerules.
3222         * iconvdata/Makefile: Tweak build-module to work with changed
3223         variable settings in Makerules.
3225         * db/Makefile: Delete libdb-map.
3226         * hesiod/Makefile: Delete libnss_hesiod-map.
3227         * linuxthreads/Makefile: Delete libpthread-map.
3228         * locale/Makefile: Delete libBrokenLocale-map.
3229         * login/Makefile: Delete libutil-map.
3230         * math/Makefile: Delete libm-map.
3231         * md5-crypt/Makefile: Delete libcrypt-map.
3232         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3233         libnss_nisplus-map, and libnss_compat-map.
3234         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3235         libnss_ldap-map.
3236         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3237         * rt/Makefile: Delete librt-map.
3239 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3241         * configure.in: Instead of substituting `yes' or `no' for whether
3242         --no-whole-archive is available, set @no_whole_archive@ to the
3243         appropriate gcc switch or the empty string.  Likewise for
3244         -fno-exceptions.
3245         * config.make.in: Replace have-no-whole-archive with
3246         no-whole-archive and have-no-exceptions with no-exceptions.
3247         * Makerules: Delete stanzas setting no-whole-archive and
3248         no-exceptions.
3250         * sunrpc/Makefile: Use move-if-change to update generated .h
3251         and .c files.
3253 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3255         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3256         of strchr loop.
3258 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3260         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3261         (__tzfile_compute): Likewise.
3263 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3265         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3266         defines from Linux 2.1.102.
3268 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3270         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3272 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3274         * inet/netinet/in.h: Add defines for multicast.
3275         Reported by Jeremy Hall <jhall@UU.NET>.
3277         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3278         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3279         and unsetenv.  Optimize _LIBC case.
3280         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3281         Define functions with leading __.
3283         * time/tzfile.c: Correct handling of global variables daylight,
3284         timezone, and tzname.
3285         * time/tzset.c: Likewise.
3286         * timezone/Makefile (tests): Add tst-timezone.
3287         * timezone/tst-timezone.c: New file.
3289 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3291         * timezone/asia: Update from tzdata1998d.
3292         * timezone/australasia: Likewise.
3293         * timezone/europe: Likewise.
3295 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3297         * string/string.h: Don't use the optimized versions for the string
3298         functions if optimizing for space.
3300         * stdlib/tst-strtod.c: Add test for -0.0.
3302         * io/ftwtest-sh: Prevent tests from being run by root.
3304         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3305         last addition.  Patch by wkpark@chem.skku.ac.kr.
3307 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3309         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3310         table.
3312 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3314         * iconvdata/gen-8bit.sh: New file.
3315         * iconvdata/gen-8bit-gap.sh: New file.
3316         * iconvdata/gen-8bit-gap-1.sh: New file.
3317         * iconvdata/Makefile (generate-8bit-table): Use shell script
3318         instead of writing the commands directly.
3319         (generate-8bit-gap-table): Likewise.
3320         ($(objpfx)iso8859-7jp.h): Likewise.
3321         (generated headers): Depend on shell script instead of Makefile.
3322         (before-compile): Add $(perl-generated-headers) only if perl is
3323         available.
3324         (headers): Depend on $(perl-generated-headers) only if perl is
3325         available.
3326         (sed-generated-headers): Remove iso8859-7jp.h.
3328 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3330         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3331         (/): Removed.
3333 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3335         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3336         formed charset names to getfct.  Let user override charset
3337         selection by mention charset in locale name.
3339 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3341         * posix/glob.c: Move to ...
3342         * sysdeps/generic/glob.c: ...here.
3343         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3344         elements.
3345         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3346         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3347         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3348         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3349         subdir.
3350         * libc.map [GLIBC_2.1]: Add glob and globfree.
3352 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3354         * sunrpc/Makefile (generated): Restore old list.
3356 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3358         * rt/Makefile (tests): Define only if we have a thread library.
3360         * nis/ypclnt.c: Add: #include <errno.h>.
3362 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3364         * configure.in: Define and substitute RELEASE as well as
3365         VERSION.
3366         * config.make.in: Add RELEASE and VERSION to be substituted.
3367         * Makeconfig: Delete all references to version.mk.
3368         * Make-dist: Likewise.
3369         * MakeTAGS: Likewise.
3370         * elf/Makefile: Likewise.
3372 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3374         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3375         yp_get_default_domain.
3377 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3379         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3380         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3382 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3384         * malloc/malloc.c: Fix for NO_THREADS case.
3386 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3388         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3389         Remove statfs and fstatfs.
3390         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3391         and pwrite as EXTRA.
3392         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3394 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3396         * libc.map: Add capget and capset.
3398 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3400         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3401         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3402         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3403         and Matt McLean <keys@brio.yikes.com>.
3405 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3407         * misc/Makefile (tests): Add tst-mntent.
3408         * misc/tst-mntent.c: New file.
3410 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3412         * autolock.sh: Removed.
3413         * manual/move-if-change: Removed.
3415         * scripts: New directory.
3416         * =__ify: Moved to scripts.
3417         * config.guess: Likewise.
3418         * config.sub: Likewise.
3419         * gen-FAQ.pl: Likewise.
3420         * install-sh: Likewise.
3421         * mkinstalldirs: Likewise.
3422         * move-if-change: Likewise.
3423         * printsources: Likewise.
3424         * rellns.sh: Likewise.
3425         * test-installation.pl: Likewise.
3427         * configure.in: Look in scripts for config.guess, config.sub,
3428         install-sh.
3429         * Makefile: Distribute all above files in their
3430         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3431         * manual/Makefile: Find mkinstalldirs and move-if-change in
3432         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3433         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3434         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3435         * timezone/Makefile: Find rellns-sh in scripts.
3437 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3439         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3440         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3442 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3444         * Makefile (+subdir-inits): Delete variable.
3445         (+init_subdirs): Likewise.
3446         (aux): Likewise.
3447         (before-compile): Likewise.
3448         (libc-init): Delete stanza.
3449         (version-info.h): Delete rule and associated variable.
3450         (distribute): Don't distribute moved files.
3451         * Makerules (interp-obj): It lives in elf now.  Only use it
3452         if $(elf) is set.  Delete rule to build it.
3453         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3454         version.o and version-info.h.  Minor cleanups.
3455         (routines): Add libc-init, sysdep, version.
3456         (generated): Add version-info.h.
3457         * elf/Makefile: Build interp.os.
3459         * interp.c: Moved to elf.
3460         * set-init.c: Moved to csu.
3461         * munch-init.c: Likewise.
3462         * munch.awk: Likewise.
3463         * version.c: Likewise.
3465         * Rules: Unconfuse syntax highlighting with a fake comment.
3467 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3469         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3470         syscalls.
3472 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3474         * iconvdata/Makefile (generated): Set to *-generated-headers
3475         plus gconv-modules.
3476         (tests): Set to iconv-test.
3477         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3478         * posix/Makefile (generated): Set to wordexp-test-result*.
3479         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3480         (generated-dirs): Add rpcsvc.
3481         * libio/Makefile: Clean up.
3483 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3485         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3486         * Makerules: Likewise.
3487         (+depfiles): Also add sysdep-others.
3488         * Rules: Likewise.
3489         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3490         * iconvdata/Makefile (distribute): Add TESTS.
3491         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3492         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3493         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3494         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3495         sysdep-others, not others.
3496         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3497         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3499 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3501         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3502         cost_hi and cost_lo.
3503         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3504         Cost parameter and set cost_lo to INT_MAX.
3505         (add_module): Take new parameter and use it to initialize cost_lo.
3506         (read_conf_file): Count modules being loaded and use counter for
3507         new parameter to add_module.
3508         * iconv/gconv_db.c (find_derivation): When look for cost examine
3509         cost_hi and cost_lo.
3511 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3513         * string/bits/string2.h: Don't use unsigned char * unless really
3514         necessary since this disturbs C++.
3515         * sysdeps/i386/i486/bits/string.h: Likewise.
3516         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3518 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3520         * malloc/malloc.c (top_check): Fix last change.
3522 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3524         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3525         Patch by Matt McLean <keys@brio.yikes.com>.
3527 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3529         * Makerules (lib): Put back dependency on lib-noranlib.
3530         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3532 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3534         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3535         test in __pow2 implementation.
3537 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3539         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3540         Still need *FLAGS-.o because we still sometimes build .o files.
3541         * db2/Makefile: Don't build libndbm.a if !build-static.
3543 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3545         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3547 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3549         * configure.in: New test for broken gcc on PowerPC.
3550         * sysdeps/powerpc/atomicity.h: Use result of test.
3551         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3553         * math/libm-test.c: Update many of the epsilon to match actual
3554         performance.
3556         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3557         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3558         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3559         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3561         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3563         * sysdeps/powerpc/elf/libc-start.c: New file.
3564         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3565         * sysdeps/powerpc/elf/start.c: Delete.
3567         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3568         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3570         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3571         few patches.
3573 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3575         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3576         test for integer.
3578         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3579         * sysdeps/libm-i387/e_powl.S: Likewise.
3581 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3583         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3584         (malloc_check, free_check, realloc_check, memalign_check): Use
3585         them to improve overrun checking.  Overruns of a single byte and
3586         corruption of the top chunk are now detected much more reliably.
3588 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3590         * math/libm-test.c (pow_test): Add test for special value from PR
3591         libc/590.
3593 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3595         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3596         including linux/errno.h.
3598 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3600         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3601         Use correct types.
3602         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3603         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3605 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3607         * Makerules (elide-routines.*): Fix assignments.
3608         (do-makelib): Fix typo.
3609         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3610         makefile.
3612 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3614         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3615         $(objpfx)sysd-dirs): Move them...
3616         * Makeconfig: ... here.
3617         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3618         (stubs): Fix circular depedency.
3619         (do-makelib): Clean up.
3620         (lib): Don't depend on lib-noranlib.
3621         ($(objpfx)stamp.oS): Remove special case for empty
3622         static-only-routines.
3623         (elide-routines.o): Add $(static-only-routines).
3624         (elide-routines$o): Define this instead of elide-routines.$o.
3625         * manual/Makefile (stubs): Fix circular dependency.
3627 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3629         * libio/Makefile (routines): Remove duplicate oldiofclose.
3631 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3633         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3635 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3637         * libio/stdio.h: Fix typo in __REDIRECT.
3638         * io/sys/stat.h: Likewise.
3639         Reported by Myles Uyema <myles@uyema.nws.net>.
3641 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3643         * locale/programs/localedef.c (options): Fix help message.
3645 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3647         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3648         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3650 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3652         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3653         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3654         (ptmalloc_init): Use new function in thread_at_fork call.
3655         (thread_atfork_static): Likewise.
3656         Suggested by Wolfram Gloger and Xavier Leroy.
3658 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3660         * signal/signal.h: Move definitions of struct sigstack and
3661         struct sigaltstack into separate file and include it.
3662         * sysdeps/generic/bits/sigstack.h: New file.
3663         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3664         * signal/Makefile (headers): Add bits/sigstack.h.
3666 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3668         * elf/rtld.c (dl_main): Fix check for number of references to
3669         interpreter object.
3671 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3673         * elf/rtld.c (dl_main): Check has_interp after executing platform
3674         specific code.
3676 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3678         * iconvdata/run-iconv-test.sh: Fix typo.
3680 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3682         * Makerules (+depfiles): Add depfiles for $(tests-static).
3683         Simplified.
3685 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3687         * manual/terminal.texi (Special Characters): Fix description of
3688         c_cc indexes.
3690 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3692         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3693         array.
3694         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3695         of c_cc array.
3697 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3699         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3701 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3703         * intl/locale.alias: Update russian entry.
3705 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3707         * Makerules (static-only-routines): Reimplement in terms of
3708         elide-routines.os.
3709         (shared-only-routines): Reimplement in terms of
3710         elide-routines.X [where X is all object-suffixes except .os].
3712         (stubs): Create stubs file inside the subdir.
3713         (common-mostlyclean): Remove stubs file from inside the subdir.
3714         * Makefile (subdir-stubs): Look for stubs files inside the
3715         subdirs.
3716         * manual/Makefile (stubs): Create dummy stubs file inside the
3717         subdir.
3719 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3721         Build speed improvement: make ar less of a bottleneck.
3723         * Makerules (stamp$o): Just record the object list for later
3724         use.
3725         (libc_foo.a): New rule, depends on subdir stamp files; builds
3726         and ranlibs the library from the lists saved in those files.
3728         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3729         (subdirs-stamp-o): Likewise.
3731         (ar-symtab-name): Delete variable.
3732         (lib%.a): Delete target.
3733         (libc_foo.a(bar.%)): Delete target.
3734         (libc_foo.a($(ar-symtab-name))): Delete target.
3736         (objects objs): Just depend on libobjs and extra-objs.
3737         (libobjs): Depend on the stamp files, not the objects.
3738         (extra-objs): New target, just depends on the extra-objs list.
3740         (CREATE_ARFLAGS): Kill the `ar S' hack.
3742         * config.make.in (have-ar-S): Deleted.
3743         * configure.in: Delete test for `ar S'.  Add test to determine
3744         whether ranlib does anything useful.
3746 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3748         * inet/tst-ether_aton.c: Include <stdio.h>.
3750 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3752         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3754         * locale/Makefile (distribute): Add programs/repertoire.h.
3755         (localedef-modules): Add repertoire.
3756         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3757         * locale/programs/repertoire.c: New file.
3758         * locale/programs/repertoire.h: New file.
3759         * locale/programs/charmap.c: Starting fixing character set handling
3760         to handle multi-byte encodings.
3761         * locale/programs/charset.c: Likewise.
3762         * locale/programs/charset.h: Likewise.
3763         * locale/programs/ld-collate.c: Likewise.
3764         * locale/programs/ld-ctype.c: Likewise.
3765         * locale/programs/linereader.c: Likewise.
3766         * locale/programs/localedef.c: Likewise.
3767         * locale/programs/locfile-kw.gperf: Likewise.
3768         * locale/programs/locfile-kw.h: Likewise.
3769         * locale/programs/locfile-token.h: Likewise.
3770         * locale/programs/locfile.h: Likewise.
3771         * locale/programs/stringtrans.c: Likewise.
3773         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3774         path, extended with "/locales/".
3776 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3778         * sysdeps/arm/memset.S: Fix off by one error.
3780         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3781         __syscall_error rather than syscall_error directly.
3783 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3785         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3786         mmap() syscall for ARM.
3788         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3789         binaries.
3791 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3793         * locale/programs/localedef.c: Recognize repertoire-map option.
3795 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3797         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3798         converting non-hex numbers.
3799         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3801 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3803         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3804         check overflow.
3805         * resolv/Makefile (tests): New, add tst-aton.
3806         * resolv/tst-aton.c: New file.
3808 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3810         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3811         semicolon.
3813 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3815         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3816         by letting the later modify the variable computing the total directly.
3817         * wcsmbs/mbsrtowcs.c: Likewise.
3818         * wcsmbs/wcsnrtombs.c: Likewise.
3819         * wcsmbs/wcsrtombs.c: Likewise.
3821         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3822         it is not used.
3823         * wcsmbs/wctoc.c: Likewise.
3825         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3826         * wcsmbs/wcsrtombs.c: Likewise.
3828         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3830 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3832         * iconv/skeleton.c: Correct counting of actually converted
3833         characters.
3835         * intl/localealias.c (read_alias_file): Use unsigned char for
3836         local variables.  Remove unused variable tp.
3837         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3838         for type of codeset.  For loosing Solaris systems.
3839         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3840         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3841         len if not needed.
3842         Patches by Jim Meyering.
3844         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3845         wcsrtombs must put it into initial state.
3847 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3849         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3850         argument of bswap_XX macro.
3852 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3854         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3855         variable name.
3857 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3859         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3860         semun and use stdarg macros to get the value.
3861         * sysdeps/generic/semctl.c: Don't use union semun.
3863         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3865         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3867         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3868         strings.h.
3870         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3871         defines grouping.
3873         * intl/hash-string.h: Don't include values.h.
3875         * inet/Makefile (tests): Add tst-ether_aton.
3876         * inet/tst-ether_aton.c: New file.
3878         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3879         in hex conversion.
3880         * inet/ether_aton.c (ether_aton): Declare result variable static.
3881         Reported by ahyung@unixg.ubc.ca.
3883         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3884         Define macro _SEM_SEMUN_UNDEFINED instead.
3885         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3887         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3888         * stdio-common/Makefile (tests): Add tst-wc-printf.
3890 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3892         * manual/stdio.texi (Variable Arguments Output): Correct variable
3893         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3895 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3897         * intl/dcgettext.c: Remove unneeded definition of
3898         internal_function.
3900 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3902         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3903         instead of do-iconv-test.
3904         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3905         empty.
3907 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3909         * string/string.h: Fix feature test.
3911 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3913         * iconvdata/iso646.c (BODY): Don't use character constants that
3914         depend on signedness of char.
3916 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3918         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3919         (sysdep_routines): Add s_pread64 and s_pwrite64.
3921 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3923         * iconvdata/Makefile (distribute): Remove generated .h files.
3924         * iconvdata/koi8-r.h: Removed.
3925         * iconvdata/latin-greek-1.h: Removed.
3926         * iconvdata/latin-greek.h: Removed.
3928         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3929         * iconvdata/KOI-8: Likewise.
3930         * iconvdata/KOI-8..UTF8: Likewise.
3931         * iconvdata/KOI8-R: Likewise.
3932         * iconvdata/KOI8-R..UTF8: Likewise.
3934 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3936         * streams/Makefile (headers): Add sys/stropts.h.
3937         * streams/sys/stropts.h: New file.
3939 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3941         * sysdeps/unix/sysv/linux/ttyname.c,
3942         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3943         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3945 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3947         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3948         argument of _itoa_word.
3950 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3952         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3953         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3954         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3955         sigprocmask, resp., instead of EXTRA.
3957         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3958         s_pread64 and s_pwrite64.
3960 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3962         * iconvdata/Makefile: Correct rules to generate gap table.
3963         * iconvdata/gap.pl: Simplify.
3965         * iconvdata/TESTS: Name new tests.
3966         * iconvdata/testdata/CP1250: New file.
3967         * iconvdata/testdata/CP1250..UTF8: New file.
3968         * iconvdata/testdata/CP1251: New file.
3969         * iconvdata/testdata/CP1251..UTF8: New file.
3970         * iconvdata/testdata/CP1252: New file.
3971         * iconvdata/testdata/CP1252..UTF8: New file.
3972         * iconvdata/testdata/CP1253: New file.
3973         * iconvdata/testdata/CP1253..UTF8: New file.
3974         * iconvdata/testdata/CP1254: New file.
3975         * iconvdata/testdata/CP1254..UTF8: New file.
3976         * iconvdata/testdata/CP1255: New file.
3977         * iconvdata/testdata/CP1255..UTF8: New file.
3978         * iconvdata/testdata/CP1256: New file.
3979         * iconvdata/testdata/CP1256..UTF8: New file.
3980         * iconvdata/testdata/CP1257: New file.
3981         * iconvdata/testdata/CP1257..UTF8: New file.
3983 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3985         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3986         * iconvdata/iso-2022-kr.c: New file.
3988         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3989         and ISO-2022-KR.
3991 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3993         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3994         iso8859-8 and iso8859-10.
3995         * iconvdata/iso8859-5.c: Change to use gap method.
3996         * iconvdata/iso8859-7.c: Likewise.
3997         * iconvdata/iso8859-8.c: Likewise.
3998         * iconvdata/iso8859-10.c: Likewise.
4000         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
4001         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
4002         end of the loop.
4003         * iconvdata/iso-2022-jp.c: New file.
4005         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
4006         * iconvdata/ksc5601.h: Unify function interfaces.
4007         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
4008         * iconvdata/uhc.c: Likewise.
4010         * iconvdata/gb2312.h: Use correct types.
4012         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
4013         size elements of data.
4015 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4017         * string/tst-svc.expect: Adapt for change in .input.
4018         * string/tst-svc.input: More tests.
4020 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
4022         * iconvdata/Makefile: Add rules for new modules.
4023         * iconvdata/gconv-modules: Likewise.
4024         * iconvdata/cp737.c: New file.
4025         * iconvdata/cp737.h: New file.
4026         * iconvdata/cp775.c: New file.
4027         * iconvdata/cp775.h: New file.
4028         * iconvdata/cp874.c: New file.
4029         * iconvdata/cp874.h: New file.
4031 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
4033         * iconvdata/Makefile: Create target directory before generating
4034         headers.
4036 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4038         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
4039         __USER_LABEL_PREFIX__.
4040         (__ASMNAME, __ASMNAME2): New macros.
4042 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4044         * elf/dl-load.c: Include sys/param.h for MAX.
4046 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
4048         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
4049         __ftruncate the strong symbol, and add weak alias.
4050         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4052 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4054         * termios/cfsetspeed.c: Make code cleaner and add missing const.
4055         Patch by Joe Keane <jgk@jgk.org>.
4057         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
4058         free()ing.
4060 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
4062         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
4063         Patch by Thomas Bushnell, n/BSG.
4065 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4067         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
4069 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4071         * iconvdata/Makefile: Put generated headers in build directory.
4073 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4075         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4076         strsep as current directory.
4078         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4079         Java.  Add definitions for unicodelittle implementation.
4080         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4081         * iconv/gconv_simple.c: Define unicodelittle functions.
4083         * iconv/iconv_prog.c: Make program print information about position
4084         of illegal character in input.
4086         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4087         comparison of charset name.
4088         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4089         * iconvdata/ebcdic-at-de-a.c: Likewise.
4090         * iconvdata/ebcdic-at-de.c: Likewise.
4091         * iconvdata/ebcdic-ca-fr.c: Likewise.
4092         * iconvdata/euccn.c: Likewise.
4093         * iconvdata/eucjp.c: Likewise.
4094         * iconvdata/euckr.c: Likewise.
4095         * iconvdata/euctw.c: Likewise.
4096         * iconvdata/hp-roman8.c: Likewise.
4097         * iconvdata/iso6937.c: Likewise.
4098         * iconvdata/iso8859-1.c: Likewise.
4099         * iconvdata/iso8859-10.c: Likewise.
4100         * iconvdata/iso8859-2.c: Likewise.
4101         * iconvdata/iso8859-3.c: Likewise.
4102         * iconvdata/iso8859-4.c: Likewise.
4103         * iconvdata/iso8859-5.c: Likewise.
4104         * iconvdata/iso8859-6.c: Likewise.
4105         * iconvdata/iso8859-7.c: Likewise.
4106         * iconvdata/iso8859-8.c: Likewise.
4107         * iconvdata/iso8859-9.c: Likewise.
4108         * iconvdata/johab.c: Likewise.
4109         * iconvdata/koi-8.c: Likewise.
4110         * iconvdata/koi8-r.c: Likewise.
4111         * iconvdata/latin-greek-1.c: Likewise.
4112         * iconvdata/latin-greek.c: Likewise.
4113         * iconvdata/sjis.c: Likewise.
4114         * iconvdata/t61.c: Likewise.
4115         * iconvdata/uhc.c: Likewise.
4117         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4118         * iconvdata/TESTS: Add tests for ISO646 module.
4119         * iconvdata/gconv-modules: Add new modules.
4120         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4121         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4122         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4123         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4124         * iconvdata/testdate/DIN_66003: Likewise.
4125         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4126         * iconvdata/testdate/DS_2089: Likewise.
4127         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4128         * iconvdata/testdate/ES: Likewise.
4129         * iconvdata/testdate/ES..UTF8: Likewise.
4130         * iconvdata/testdate/ES2: Likewise.
4131         * iconvdata/testdate/ES2..UTF8: Likewise.
4132         * iconvdata/testdate/GB_1988-80: Likewise.
4133         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4134         * iconvdata/testdate/IT: Likewise.
4135         * iconvdata/testdate/IT..UTF8: Likewise.
4136         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4137         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4138         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4139         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4140         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4141         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4142         * iconvdata/testdate/KSC5636: Likewise.
4143         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4144         * iconvdata/testdate/MSZ_7795.3: Likewise.
4145         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4146         * iconvdata/testdate/NC_NC00-10: Likewise.
4147         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4148         * iconvdata/testdate/NF_Z_62-010: Likewise.
4149         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4150         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4151         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4152         * iconvdata/testdate/NS_4551-1: Likewise.
4153         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4154         * iconvdata/testdate/NS_4551-2: Likewise.
4155         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4156         * iconvdata/testdate/PT: Likewise.
4157         * iconvdata/testdate/PT..UTF8: Likewise.
4158         * iconvdata/testdate/PT2: Likewise.
4159         * iconvdata/testdate/PT2..UTF8: Likewise.
4160         * iconvdata/testdate/SEN_850200_B: Likewise.
4161         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4162         * iconvdata/testdate/SEN_850200_C: Likewise.
4163         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4165         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4166         * iconvdata/cns11643l1.h: Likewise.
4167         * iconvdata/latin-greek-1.h: Likewise.
4168         * iconvdata/latin-greek.h: Likewise.
4169         * iconvdata/koi8-r.h: Likewise.
4170         * iconvdata/jis0212.h: Likewise.
4171         * iconvdata/gb2312.h: Likewise.
4172         * iconvdata/ksc5601.h: Likewise.
4174         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4176         * iconvdata/Makefile: Add rules for lots of more modules.
4177         * iconvdata/cp1250.c: New file.
4178         * iconvdata/cp1251.c: New file.
4179         * iconvdata/cp1252.c: New file.
4180         * iconvdata/cp1253.c: New file.
4181         * iconvdata/cp1254.c: New file.
4182         * iconvdata/cp1255.c: New file.
4183         * iconvdata/cp1256.c: New file.
4184         * iconvdata/cp1257.c: New file.
4185         * iconvdata/ebcdic-dk-no-a.c: New file.
4186         * iconvdata/ebcdic-dk-no.c: New file.
4187         * iconvdata/ebcdic-es-a.c: New file.
4188         * iconvdata/ebcdic-es-s.c: New file.
4189         * iconvdata/ebcdic-es.c: New file.
4190         * iconvdata/ebcdic-fi-se-a.c: New file.
4191         * iconvdata/ebcdic-fi-se.c: New file.
4192         * iconvdata/ebcdic-fr.c: New file.
4193         * iconvdata/ebcdic-is-friss.c: New file.
4194         * iconvdata/ebcdic-it.c: New file.
4195         * iconvdata/ebcdic-pt.c: New file.
4196         * iconvdata/ebcdic-uk.c: New file.
4197         * iconvdata/ebcdic-us.c: New file.
4198         * iconvdata/ibm037.c: New file.
4199         * iconvdata/ibm038.c: New file.
4200         * iconvdata/ibm1004.c: New file.
4201         * iconvdata/ibm1026.c: New file.
4202         * iconvdata/ibm1047.c: New file.
4203         * iconvdata/ibm256.c: New file.
4204         * iconvdata/ibm273.c: New file.
4205         * iconvdata/ibm274.c: New file.
4206         * iconvdata/ibm275.c: New file.
4207         * iconvdata/ibm277.c: New file.
4208         * iconvdata/ibm278.c: New file.
4209         * iconvdata/ibm280.c: New file.
4210         * iconvdata/ibm281.c: New file.
4211         * iconvdata/ibm284.c: New file.
4212         * iconvdata/ibm285.c: New file.
4213         * iconvdata/ibm290.c: New file.
4214         * iconvdata/ibm297.c: New file.
4215         * iconvdata/ibm420.c: New file.
4216         * iconvdata/ibm423.c: New file.
4217         * iconvdata/ibm424.c: New file.
4218         * iconvdata/ibm437.c: New file.
4219         * iconvdata/ibm500.c: New file.
4220         * iconvdata/ibm850.c: New file.
4221         * iconvdata/ibm851.c: New file.
4222         * iconvdata/ibm852.c: New file.
4223         * iconvdata/ibm855.c: New file.
4224         * iconvdata/ibm857.c: New file.
4225         * iconvdata/ibm860.c: New file.
4226         * iconvdata/ibm861.c: New file.
4227         * iconvdata/ibm862.c: New file.
4228         * iconvdata/ibm863.c: New file.
4229         * iconvdata/ibm864.c: New file.
4230         * iconvdata/ibm865.c: New file.
4231         * iconvdata/ibm868.c: New file.
4232         * iconvdata/ibm869.c: New file.
4233         * iconvdata/ibm870.c: New file.
4234         * iconvdata/ibm871.c: New file.
4235         * iconvdata/ibm875.c: New file.
4236         * iconvdata/ibm880.c: New file.
4237         * iconvdata/ibm891.c: New file.
4238         * iconvdata/ibm903.c: New file.
4239         * iconvdata/ibm904.c: New file.
4240         * iconvdata/ibm905.c: New file.
4241         * iconvdata/ibm918.c: New file.
4243         * locale/iso-4217.def: Update.
4244         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4246         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4247         formats.
4249 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4251         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4252         LD_LIBRARY_PATH.
4254 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4256         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4257         * Makefile: Likewise.
4258         * posix/Makefile: Likewise.
4259         * sysdeps/mach/hurd/Makefile: Likewise.
4261 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4263         * sysdeps/mach/hurd/bits/dirent.h: New file.
4264         * sysdeps/mach/hurd/readdir64.c: New file.
4265         * sysdeps/mach/hurd/readdir64_r.c: New file.
4267 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4269         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4270         dprintf): Synchronize declarations with libio/stdio.h.
4272 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4274         * elf/dlerror.c (dlerror): Don't assume that
4275         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4276         well-protected, so just use it directly.
4278 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4280         * io/ftw.h (ftw): Fix typo.
4282 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4284         * sysdeps/gnu/utmp_file.c: Fix typo.
4286 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4288         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4289         one part of a test fails move on to the next test.
4291 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4293         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4295 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4297         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4298         as pointers, not signed integers.
4300 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4302         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4304 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4306         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4307         asm symbol name of functions.
4308         * include/features.h: Kill redundant test.
4310         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4311         * io/ftw.h: Likewise.
4312         * io/sys/stat.h: Likewise.
4313         * io/sys/statfs.h: Likewise.
4314         * io/sys/statvfs.h: Likewise.
4315         * libio/stdio.h: Likewise.
4316         * resource/sys/resource.h: Likewise.
4317         * rt/aio.h: Likewise.
4319         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4320          __FAVOR_BSD.
4321         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4323         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4324         a dummy library.
4325         * misc/bsd-compat.c: Removed.
4327 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4329         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4330         function declaration.
4331         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4332         and use them in conversion function.
4333         * iconvdata/Makefile (modules): Re-add ISO6446.
4334         * iconvdata/TEST: Add tests for ASCII variants.
4335         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4336         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4337         * iconvdata/testdata/BS_4730: New file.
4338         * iconvdata/testdata/BS_4730..UTF8: New file.
4340 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4342         * iconv/gconv.h (struct gconv_step): Add element stateful.
4343         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4344         to zero for all internal conversions.
4345         * iconv/skeleton.c: Initialize stateful depending on whether or not
4346         RESET_STATE is defined to one or zero respectively.
4347         * stdlib/mblen.c: Use stateful element of currently selected
4348         converter for result if S is NULL.
4349         * stdlib/mbtowc.c: Likewise.
4350         * stdlib/wctomb.c: Likewise.
4352 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4354         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4356         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4358         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4359         character in comparison with uint32_t.
4360         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4361         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4362         Optimize BODY a bit.
4364         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4365         be defined.
4367         * iconv/skeleton.c: Also reset converted counter in case of an error.
4368         Call reset function using correct value for output buffer start.
4370         * iconvdata/Makefile: Re-enable tests.
4372         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4373         value for to-conversion.
4375         * iconvdata/TESTS: Add new third column.
4376         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4377         not ASCII based.
4378         * iconvdata/testdata/suntzus: New file.
4380         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4381         while reading.  Correctly used base.  Little optimization.
4382         (__strtoul_internal): Likewise.
4384         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4385         was wrong.  Use explicit variable.
4387 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4389         * configure.in: Check for awk.
4390         * config.make.in: Add AWK to be substituted.
4392         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4393         * manual/users.texi: Fix typo exposed by above rewrite.
4395         * Makefile: Invoke awk using AWK variable.
4396         * csu/Makefile: Likewise.
4397         * elf/Makefile: Likewise.
4398         * mach/Makefile: Likewise.
4399         * manual/Makefile: Likewise.
4400         * sysdeps/gnu/Makefile: Likewise.
4401         * sysdeps/mach/hurd/Makefile: Likewise.
4402         * sysdeps/unix/Makefile: Likewise.
4403         * timezone/Makefile: Likewise.
4405 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4407         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4408         array index translation.
4409         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4410         these are defined.
4412         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4414         * sysdeps/mach/hurd/errlist.c: New file.
4415         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4416         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4417         semantics, so rename it.
4419 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4421         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4422         conversions.
4424 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4426         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4427         * wcsmbs/wcsnrtombs.c: Likewise.
4429 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4431         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4433         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4435         * time/strftime.c (my_strftime): Initialize pad variable in
4436         declaration.
4438         * iconvdata/big5.c: Don't use character constants in comparisons
4439         with unsigned value.
4441 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4443         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4444         __libc_siglongjmp to GLIBC_2.1.
4446         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4447         __strerror_r.
4449         * iconv/Makefile: Don't run tests now.
4451         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4452         with correct output buffer.
4454         Major rewrite of the low-level gconv functionality.
4455         * iconv/gconv.c: Rewritten.
4456         * iconv/gconv.h: Likewise.
4457         * iconv/gconv_builtin.c: Likewise.
4458         * iconv/gconv_builtin.h: Likewise.
4459         * iconv/gconv_conf.c: Likewise.
4460         * iconv/gconv_int.h: Likewise.
4461         * iconv/gconv_open.c: Likewise.
4462         * iconv/gconv_simple.c: Likewise.
4463         * iconv/iconv.c: Likewise.
4464         * iconvdata/8bit-gap.c: Likewise.
4465         * iconvdata/8bit-generic.c: Likewise.
4466         * iconvdata/Makefile: Likewise.
4467         * iconvdata/big5.c: Likewise.
4468         * iconvdata/cns11643.c: Likewise.
4469         * iconvdata/cns11643.h: Likewise.
4470         * iconvdata/cns11643l1.c: Likewise.
4471         * iconvdata/cns11643l1.h: Likewise.
4472         * iconvdata/ebcdic-at-de-a.c: Likewise.
4473         * iconvdata/ebcdic-at-de.c: Likewise.
4474         * iconvdata/ebcdic-ca-fr.c: Likewise.
4475         * iconvdata/euccn.c: Likewise.
4476         * iconvdata/eucjp.c: Likewise.
4477         * iconvdata/euckr.c: Likewise.
4478         * iconvdata/euctw.c: Likewise.
4479         * iconvdata/gb2312.c: Likewise.
4480         * iconvdata/gb2312.h: Likewise.
4481         * iconvdata/hp-roman8.c: Likewise.
4482         * iconvdata/iso646.c: Likewise.
4483         * iconvdata/iso6937.c: Likewise.
4484         * iconvdata/iso8859-1.c: Likewise.
4485         * iconvdata/iso8859-10.c: Likewise.
4486         * iconvdata/iso8859-2.c: Likewise.
4487         * iconvdata/iso8859-3.c: Likewise.
4488         * iconvdata/iso8859-4.c: Likewise.
4489         * iconvdata/iso8859-5.c: Likewise.
4490         * iconvdata/iso8859-6.c: Likewise.
4491         * iconvdata/iso8859-7.c: Likewise.
4492         * iconvdata/iso8859-8.c: Likewise.
4493         * iconvdata/iso8859-9.c: Likewise.
4494         * iconvdata/jis0201.c: Likewise.
4495         * iconvdata/jis0201.h: Likewise.
4496         * iconvdata/jis0208.c: Likewise.
4497         * iconvdata/jis0208.h: Likewise.
4498         * iconvdata/jis0212.c: Likewise.
4499         * iconvdata/jis0212.h: Likewise.
4500         * iconvdata/johab.c: Likewise.
4501         * iconvdata/koi-8.c: Likewise.
4502         * iconvdata/koi8-r.c: Likewise.
4503         * iconvdata/ksc5601.c: Likewise.
4504         * iconvdata/ksc5601.h: Likewise.
4505         * iconvdata/latin-greek-1.c: Likewise.
4506         * iconvdata/latin-greek.c: Likewise.
4507         * iconvdata/run-iconv-test.sh: Likewise.
4508         * iconvdata/sjis.c: Likewise.
4509         * iconvdata/t61.c: Likewise.
4510         * iconvdata/uhc.c: Likewise.
4511         * wcsmbs/btowc.c: Likewise.
4512         * wcsmbs/mbrtowc.c: Likewise.
4513         * wcsmbs/mbsnrtowcs.c: Likewise.
4514         * wcsmbs/mbsrtowcs.c: Likewise.
4515         * wcsmbs/wcrtomb.c: Likewise.
4516         * wcsmbs/wcsmbsload.c: Likewise.
4517         * wcsmbs/wcsnrtombs.c: Likewise.
4518         * wcsmbs/wcsrtombs.c: Likewise.
4519         * wcsmbs/wctob.c: Likewise.
4520         * iconv/loop.c: New file.
4521         * iconv/skeleton.c: New file.
4523         * stdlib/mblen.c: Handle empty input string correctly.
4524         * stdlib/mbtowc.c: Likewise.
4526         * posix/getopt.c: Various cleanups.
4528         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4529         * sysdeps/i386/bits/setjmp.h: Likewise.
4530         * sysdeps/m68k/bits/setjmp.h: Likewise.
4531         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4532         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4534         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4535         and make longjmp weak alias.
4537 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4539         * iconv/Makefile (routines): Only include gconv_dl if building for
4540         an ELF system - dynamic linking is not available on a.out.
4541         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4542         due to above check.
4543         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4544         routines from gconv_dl.
4546 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4548         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4549         we can compile without libio.
4551 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4553         * sysdeps/mach/hurd/Subdirs: Remove login.
4555 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4557         * db2/compat.h: Include <errno.h>, to make sure we get the
4558         definition of EFTYPE before we define it ourselves.
4560 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4562         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4563         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4564         Fix typo to allow inclusion from sys/ioctl.h again.
4566 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4568         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4570 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4572         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4574 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4576         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4577         Also undefine __strcasestr.
4579 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4581         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4582         aliases do not work with global variables due to copy relocations.
4584 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4586         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4588 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4590         * signal/sighold.c: Include stddef.h for NULL definition.
4591         * signal/sigrelse.c: Likewise.
4592         * sysdeps/posix/sigignore.c: Likewise.
4593         * sysdeps/posix/sigset.c: Likewise.
4594         * sysdeps/posix/waitid.c: Likewise.
4595         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4596         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4597         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4598         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4599         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4601 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4603         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4604         * login/getutent.c (getutxent): Remove alias.
4605         * login/getutent_r.c (setutxent, pututxline, endutxent):
4606         Remove aliases.
4607         * login/getutid.c (getutxid): Remove alias.
4608         * login/getutline.c (getutxline): Remove alias.
4609         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4610         __getutid, __getutline and __pututline.
4611         * login/utmpx.h: Moved to ...
4612         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4613         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4614         and updwtmpx.
4615         * login/updwtmp.c: Moved to ...
4616         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4617         allowing file name transformation.
4618         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4619         additional file name transformation.
4620         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4621         * login/utmp_file.c: Moved to ...
4622         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4623         Generalized by allowing file name transformation.  Do not
4624         print error message.  Library functions should not print them.
4625         Reported by Jim Meyering.
4626         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4627         with additional file name transformation.
4628         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4629         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4630         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4631         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4632         and bits/utmpx.h.
4633         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4634         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4635         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4636         Define if __USE_GNU.
4637         * sysdeps/generic/setutxent.c: New file.
4638         * sysdeps/generic/getutxent.c: New file.
4639         * sysdeps/generic/endutxent.c: New file.
4640         * sysdeps/generic/getutxid.c: New file.
4641         * sysdeps/generic/getutxline.c: New file.
4642         * sysdeps/generic/pututxline.c: New file.
4643         * sysdeps/generic/utmpxname.c: New file.
4644         * sysdeps/generic/updwtmpx.c: New file.
4645         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4646         * sysdeps/generic/bits/utmpx.h: Remove.
4648 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4650         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4651         ~root test.
4653 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4655         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4657 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4659         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4660         variable using _G_stat64.
4661         * libio/fileops.c: Remove macro definition of fstat, it is in the
4662         global header.
4663         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4665 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4667         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4668         <willy@odie.barnet.ac.uk>.
4670 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4672         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4673         required by IPv6 Basic API.
4674         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4675         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4676         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4677         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4679 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4681         Don't name internal representation since it might be different from
4682         the external form (namely on little endian machines).
4683         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4684         UCS4 into references to INTERNAL.
4685         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4686         Add endianess support to UCS functions.  Change references to
4687         UCS4 into references to INTERNAL.
4688         * iconv/gconv_int.h: Change references to UCS4 into references to
4689         INTERNAL.
4690         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4691         * iconvdata/gconv-modules: Change accordingly.
4692         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4694         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4695         overflow.
4696         * iconvdata/8bit-gap.c: Likewise.
4697         * iconvdata/8bit-generic.c: Likewise.
4698         * iconvdata/big5.c: Likewise.
4699         * iconvdata/euccn.c: Likewise.
4700         * iconvdata/eucjp.c: Likewise.
4701         * iconvdata/euckr.c: Likewise.
4702         * iconvdata/euctw.c: Likewise.
4703         * iconvdata/iso646.c: Likewise.
4704         * iconvdata/iso6937.c: Likewise.
4705         * iconvdata/iso8859-1.c: Likewise.
4706         * iconvdata/johab.c: Likewise.
4707         * iconvdata/sjis.c: Likewise.
4708         * iconvdata/t61.c: Likewise.
4709         * iconvdata/uhc.c: Likewise.
4711         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4712         * iconvdata/8bit-generic.c: Likewise.
4714         * iconvdata/TESTS: Add more tests.
4716         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4718 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4720         * iconvdata/Makefile: Better rules to run tests.
4722         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4723         * iconvdata/testdata/ISO-8859-10: Likewise.
4724         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4725         * iconvdata/testdata/ISO-8859-2: Likewise.
4726         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4727         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4728         * iconvdata/testdata/ISO-8859-3: Likewise.
4729         * iconvdata/testdata/ISO-8859-4: Likewise.
4730         * iconvdata/testdata/ISO-8859-5: Likewise.
4731         * iconvdata/testdata/ISO-8859-6: Likewise.
4732         * iconvdata/testdata/ISO-8859-7: Likewise.
4733         * iconvdata/testdata/ISO-8859-8: Likewise.
4734         * iconvdata/testdata/ISO-8859-9: Likewise.
4736 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4738         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4739         intermediate result (if available).
4741         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4742         last change.
4744         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4745         (distribute): Add run-iconv-test.sh and testdata/*.
4747         * stdlib/testmb.c (main): Simplify mbc array handling.
4749 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4751         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4752         return value on overflow.
4754 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4756         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4757         bits.
4759 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4761         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4762         of non-standard function setbuffer.
4764 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4766         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4768 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4770         * iconvdata/Makefile: Add rules to run tests.
4771         * iconvdata/TESTS: New file.
4772         * iconvdata/run-iconv-test.sh: New file.
4773         * iconvdata/testdata/ISO-8859-1: New file.
4775         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4776         not stdout.
4778 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4780         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4781         counter element of step.
4783         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4785         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4786         termination test.
4787         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4788         ACTUALLY.
4789         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4791 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4793         * Makefile: Include makeconfig before defining rule to regenerate
4794         configure files.
4796         * configure.in: Remove restriction on compiling without static
4797         libs.
4799 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4801         * test-skeleton.c: Provide hook for initializing code before the fork.
4802         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4803         removed.
4805         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4806         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4807         * libio/libioP.h: Adopt _IO_cleanup prototype.
4809         * stdlib/Makefile (tests): Add test-canon2.
4810         * stdlib/test-canon2.c: New file.
4811         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4812         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4813         symlink sequences.
4814         (__realpath): Make real function which checks RESOLVED parameter for
4815         not being NULL.
4817 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4819         * catgets/open_catalog.c (__open_catalog): Fix problems with
4820         reading non-files.  Always close file.
4821         Reported by Cristian Gafton <gafton@redhat.com>.
4823         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4825 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4827         * libc.map: Add various low-level I/O functions.
4829 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4831         * string/Makefile (routines): Remove strerror_r.
4832         * string/strerror_r.c: Removed.
4833         * string/strerror.c: Call __strerror_r for doing the real work.
4834         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4835         add weak alias strerror_r.
4836         * sysdeps/mach/_strerror.c: Likewise.
4837         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4838         * elf/dl-error.c (_dl_signal_error): Likewise.
4839         * elf/dl-profile.c (_dl_start_profile): Likewise.
4840         * gmon/gmon.c (write_gmon): Likewise.
4841         * stdio-common/perror.c: Likewise.
4842         * stdio-common/vfprintf.c: Likewise.
4844 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4846         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4847         (sysdep_headers): Add netatalk/at.h.
4849 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4851         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4852         Formatting fixes.
4854 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4856         * posix/regex.c: Rename __re_syntax_options back to
4857         re_syntax_options, aliases do not work with global variables due
4858         to copy relocations.
4859         (regex_compile): Use syntax parameter instead of
4860         re_syntax_options.
4862 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4864         * configure.in: Document that enable-force-install is default.
4866 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4868         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4869         all needed 36 bits.
4870         * sysdeps/posix/mkstemp.c: Likewise.
4872 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4874         * iconvdata/8bit-gap.c: Simplify step data handling.
4875         * iconvdata/8bit-generic.c: Likewise.
4876         * iconvdata/big5.c: Likewise.
4877         * iconvdata/euccn.c: Likewise.
4878         * iconvdata/eucjp.c: Likewise.
4879         * iconvdata/euckr.c: Likewise.
4880         * iconvdata/euctw.c: Likewise.
4881         * iconvdata/iso6937.c: Likewise.
4882         * iconvdata/iso8859-1.c: Likewise.
4883         * iconvdata/jis0208.h: Likewise.
4884         * iconvdata/jis0212.c: Likewise.
4885         * iconvdata/jis0212.h: Likewise.
4886         * iconvdata/johab.c: Likewise.
4887         * iconvdata/ksc5601.h: Likewise.
4888         * iconvdata/sjis.c: Likewise.
4889         * iconvdata/t61.c: Likewise.
4890         * iconvdata/uhc.c: Likewise.
4892 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4894         * manual/texinfo.texi: Updated from last version.
4896 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4898         * iconvdata/cns11643.c: New file.
4899         * iconvdata/cns11643.h: New file.
4900         * iconvdata/cns11643l1.c: New file.
4901         * iconvdata/cns11643l1.h: New file.
4902         * iconvdata/euctw.c: New file.
4903         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4904         * iconvdata/gconv-modules: Likewise.
4906         * iconvdata/eucjp.c: Several bug fixes and improvements.
4907         * iconvdata/gb2312.h: Likewise.
4908         * iconvdata/jis0201.h: Likewise.
4909         * iconvdata/jis0208.h: Likewise.
4910         * iconvdata/jis0212.h: Likewise.
4912 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4914         * iconvdata/eucjp.c: New file.
4915         * iconvdata/euccn.c: New file.
4916         * iconvdata/gb2312.h: New file.
4917         * iconvdata/gb2312.c: New file.
4918         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4919         * iconvdata/gconv-modules: Likewise.
4921         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4923 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4925         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4926         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4927         Patch by Mark Hatle <fray@kernel.crashing.org>.
4929 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4931         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4932         comment.
4933         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4934         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4936 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4938         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4940         * iconvdata/Makefile: Add rules for big5 conversion.
4941         * iconvdata/gconv-modules: Likewise.
4942         * iconvdata/big5.c: New file.
4944         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4945         Patch by Jim Meyering.
4947 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4949         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4951         * rt/lio_listio.c: Correct total counter handling.
4953         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4954         from request queue.
4956         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4957         of signal on exit even more.
4959         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4960         instead of call to pthread_cond_init.
4961         * rt/lio_listio.c (lio_listio): Likewise.
4962         * rt/lio_listio64.c (lio_listio64): Likewise.
4964         * nis/nis_findserv.c: Include sys/socket.h.
4966 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4968         * Makeconfig (rtobjdir): New variable.
4969         (rpath-link): Add rtobjdir and thread directory, if available.
4971         * test-skeleton.c: Add support to remove temporary files.
4972         Always define test_dir.  Improve message about expected signal.
4974         * rt/Makefile (tests): Add tst-aio.
4975         Add rules for tst-aio to be linked with librt and thread library.
4976         * rt/aio_misc.c: Correct fundamental bugs.
4977         * rt/aio_suspend.c: Correct bug in test for available request.
4978         Initialize conditional variable.
4979         * rt/lio_listio.c: Initialize conditional variable.
4980         * rt/lio_listio64.c: Likewise.
4981         * rt/tst-aio.c: New file.
4983         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4984         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4985         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4986         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4987         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4988         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4989         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4991 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4993         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4995 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4997         * elf/dl-load.c (open_path): Use correct name for test whether
4998         directory in load path exists.
5000         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
5001         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
5002         Patches by Tom Rini <trini@kernel.crashing.org>.
5004         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
5005         * wcsmbs/wcstod_l.c: Likewise.
5006         * wcsmbs/wcstold_l.c: Likewise.
5008         * include/byteswap.h: New file.
5010         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
5011         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
5013         * inet/getnameinfo.c (getnameinfo): Change parameter to match
5014         declaration.  Patch by Richard Henderson.
5016 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5018         * manual/process.texi (SIGCHLD example): Save errno.
5020 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5022         * posix/regex.c: Define regerror really as __regerror.
5023         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
5024         regerror and regfree.
5026         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
5027         * stdlib/strtod_l.c: Likewise.
5028         * stdlib/strtold_l.c: Likewise.
5030         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
5032         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
5034         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
5035         Patch by Christian Gafton.
5037 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
5039         * manual/socket.texi (Interface Naming): Correct @deftypefun line
5040         for if_indextoname.
5042 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5044         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
5046         * manual/socket.texi (Interface Naming): Fix typo.
5048 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5050         * manual/examples/filesrv.c (main): Remove filename first.
5052         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
5053         ?F_UNIX.
5055         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
5056         instead of PF_UNIX.
5058         * manual/examples/filecli.c (main): Use AF_LOCAL
5059         instead of AF_UNIX.
5061 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
5063         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
5064         signgam weak alias.
5065         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
5066         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
5067         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
5068         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
5069         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
5070         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5072         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5074 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5076         * configure.in: Add new option --enable-force-install.  Substitute
5077         force_install.
5078         * config.make.in (force-install): Set from configure.
5079         * Makerules (force-install): New phony target.
5080         * Makeconfig (+force): New variable.
5081         * Makefile: Use it in dependency list of installation targets.
5082         * db/Makefile: Likewise.
5083         * db2/Makefile: Likewise.
5084         * elf/Makefile: Likewise.
5085         * hurd/Makefile: Likewise.
5086         * iconv/Makefile: Likewise.
5087         * iconvdata/Makefile: Likewise.
5088         * intl/Makefile: Likewise.
5089         * localedata/Makefile: Likewise.
5090         * login/Makefile: Likewise.
5091         * po/Makefile: Likewise.
5092         * sunrpc/Makefile: Likewise.
5093         * sysdeps/mach/hurd/Makefile: Likewise.
5094         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5095         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5096         * timezone/Makefile: Likewise.
5098 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5100         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5101         alloc_size.  Pass return value of getcwd syscall to realloc.
5103 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5105         * manual/socket.texi: Spelling fixes.
5107 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5109         * elf/dl-load.c (print_search_path): Remove unused variable.
5111 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5113         * login/utmp_file.c: use __ftruncate not ftruncate.
5114         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5115         for system call and make ftruncate weak alias.
5116         * posix/unistd.h: Add prototype for __ftruncate.
5117         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5118         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5119         instead of snprintf and readv.
5120         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5121         snprintf.
5122         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5123         directly.
5125 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5127         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5128         * iconv/gconv_db.c: Use __ protected regex functions.
5129         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5130         * posix/getopt_init.c: Use __getpid not getpid.
5131         * posix/regex.c: Rename all global functions to start with __ and
5132         make old names weak aliases.
5133         * posix/regex.h: Adopt prototypes for this.
5134         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5135         a weak alias and use __getcwd instead of getcwd.
5136         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5137         * stdlib/strtod.c: Use __btowc instead of btowc.
5138         * stdlib/strtol.c: Likewise.
5139         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5140         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5141         and sys_errlist are weak.
5142         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5143         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5144         * wcsmbs/mbsnrtowcs.c: Likewise.
5145         * wcsmbs/mbsrtowcs.c: Likewise.
5146         * wcsmbs/wcsnrtombs.c: Likewise.
5147         * wcsmbs/wcsrtombs.c: Likewise.
5148         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5149         weak alias.
5150         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5151         * wctype/wctype.c: Define function as __wctype and make wctype
5152         weak alias.
5153         * wctype/wctype.h: Declare __wctype.
5155 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5157         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5159 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5161         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5162         stat64.
5163         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5164         functions.
5165         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5166         for __llseek.
5167         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5168         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5169         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5170         make it a weak alias.
5171         * posix/unistd.h: Declare __lseek64.
5173         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5174         (_IO_file_stat): Fix typo.
5175         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5176         block size from the file.  Use __mempcpy if _LIBC.
5178 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5180         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5181         * wcsmbs/mbrtowc.c: Likewise.
5182         * wcsmbs/mbsnrtowcs.c: Likewise.
5183         * wcsmbs/mbsrtowcs.c: Likewise.
5184         * wcsmbs/wcrtomb.c: Likewise.
5185         * wcsmbs/wcsnrtombs.c: Likewise.
5186         * wcsmbs/wcsrtombs.c: Likewise.
5187         * wcsmbs/wctob.c: Likewise.
5189         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5190         position of next output character correctly.
5191         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5193         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5195         * stdlib/strtod.c: Don't use mbtowc.
5197 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5199         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5200         what we want is smaller than a buffer.
5202 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5204         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5205         this function.
5207 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5209         * configure.in: Recognize --with-headers flag and determine
5210         commandline options to be used in compilation.
5211         * Makeconfig (+includes): Use $(sysincludes).
5212         * config.make.in (sysincludes): Define from SYSINCLUDES.
5213         * glibcbug.in: Use SYSINCLUDES information.
5214         Patches by Zack Weinberg.
5216 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5218         * glibcbug.in: On linux, report version of kernel headers seen
5219         by compiler.
5221 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5223         * libc.map: Add __asprintf to GLIBC_2.1.
5224         * elf/dlerror.c: Use __asprintf, not asprintf.
5225         * libio/stdio.h: Declare __asprintf.
5226         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5227         a weak alias.
5229         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5230         to avoid inclusion from libc_pic.a.
5232         * elf/dl-runtime.c: Undo last patch.
5234         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5236         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5237         as default, use NULL.
5239 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5241         * resolv/Makefile: Include ../Makeconfig - needed for building
5242         static NSS module.
5244 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5246         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5247         static-nss since we don't want hesiod in the static NSS.
5249         * nss/Makefile: Build only nss_files as static.
5251         * nss/function.def: Remove support for service db.
5253 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5255         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5257 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5259         * posix/wordexp-test.c: Make IFS per test-case.
5261 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5263         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5264         ENVIRONMENT.
5266 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5268         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5269         `-print-file-name' to find as and ld.
5271 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5273         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5274         template is wrong.  Remove unused varaible `ignored'.
5276 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5278         * libc.map: Export __libc_sa_len.
5280         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5282 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5284         * iconv/gconv.c: Take care for NULL arguments.
5285         * iconv/gconv_dl.c: Make find_func function global.
5286         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5287         Add prototypes for ASCII conversion functions.
5288         * iconv/gconv_simple.c: Add ASCII conversion functions.
5289         * locale/C-ctype.c: Correct charset name.
5291         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5292         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5293         wcsmbsload.
5294         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5295         * wcsmbs/mbrtowc.c: Likewise.
5296         * wcsmbs/mbsnrtowcs.c: Likewise.
5297         * wcsmbs/mbsrtowcs.c: Likewise.
5298         * wcsmbs/wcrtomb.c: Likewise.
5299         * wcsmbs/wcsnrtombs.c: Likewise.
5300         * wcsmbs/wcsrtombs.c: Likewise.
5301         * wcsmbs/wctob.c: Likewise.
5302         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5303         prototypes for wmemr*.
5304         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5305         * wcsmbs/wcsnlen.c: New file.
5306         * wcsmbs/wcsmbsload.c: New file.
5307         * wcsmbs/wcsmbsload.h: New file.
5309         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5311         * manual/install.texi: Describe some more critical points.
5313         * string/string.h: Add prototype for __strnlen.
5314         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5316         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5317         much less predictable names.
5318         * sysdeps/posix/mkstemp.c: Likewise.
5320 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5322         * manual/libc.texinfo (Top): Change "file namespace" to "local
5323         namespace".
5325         * manual/socket.texi: Change file namespace to local namespace.
5326         (Out-of-Band Data): Remove unneeded variable link.
5327         (Host Address Functions): Use uint32_t consequently and add a
5328         number of clarifications for IPv4/IPv6, classless addresses.
5329         (Internet Namespace): Added some paragraphs about IPv6.
5330         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5332 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5334         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5336         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5337         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5338         (AI_NUMERICHOST): Define.
5339         (getnodebyname): New prototype.
5340         (AI_V4MAPPED, et al.): New constants.
5342         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5343         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5344         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5345         for socket.
5346         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5347         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5349         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5351         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5352         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5353         * socket/Makefile (headers): Add bits/sockunion.h.
5354         * socket/sys/socket.h: Include <bits/sockunion.h>
5355         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5356         <sys/socket.h>, to avoid getting sockaddr_union defined.
5357         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5358         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5359         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5361         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5362         (2.2.x kernels won't have it).
5364 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5366         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5367         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5368         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5369         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5371 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5373         * manual/socket.texi (Socket Addresses): Fix a typo.
5374         (Interface Naming): New section.
5376 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5378         * configure.in: Check for CC using $ac_tool_prefix, to handle
5379         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5380         * config.make.in: Add MIG to be substituted.
5381         * mach/Machrules: Don't define MIG variable.
5383         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5385 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5387         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5388         strdupa to copy rpath.
5390 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5392         * configure.in: Fix gcc version check.
5394         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5395         confusing.
5397 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5399         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5400         of ptsname_r.
5402         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5403         like ttyname_r.
5404         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5405         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5406         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5407         of __ptsname_r accordingly.
5408         * login/openpty.c (openpty): Likewise.
5410 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5412         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5414 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5416         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5418         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5420 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5422         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5423         return value for better error checking.
5425 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5427         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5428         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5430         * elf/elf.h (EM_SPARC64): Remove.
5431         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5432         (HWCAP_SPARC_V9): Add.
5434         * elf/ldsodefs.h (_dl_hwcap): Declare.
5435         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5436         Weaken so dlopen from static progies works.
5437         (WEAKADDR): New macro.
5438         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5439         (LD_SO_PRELOAD): New macro.
5440         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5441         (elf_machine_rela): Weaken _dl_rtld_map.
5443         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5444         to __clone, and remove the later's alias.
5445         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5447         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5448         the kernel's structure.
5450         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5451         Sparc needs a custom value of __KERNEL_NCCS.
5453 1998-04-06  Richard Henderson  <rth@cygnus.com>
5455         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5457         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5458         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5460 1998-04-06  Richard Henderson  <rth@cygnus.com>
5462         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5463         as the buffer is not properly aligned.
5464         Reported by Juan Cespedes <cespedes@debian.org>.
5466 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5468         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5469         instead of AF_FILE.
5471 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5473         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5474         and wc*tomb* functions.
5476 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5478         * sysdeps/unix/start.c: Fix typo.
5480 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5482         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5484 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5486         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5487         expressions and using array variables.
5488         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5489         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5490         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5491         * sysdeps/libm-ieee754/e_log.c: Likewise.
5492         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5493         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5494         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5495         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5496         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5497         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5498         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5499         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5500         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5502 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5504         * iconv/gconv.c: Rewrite of the low-level of gconv.
5505         * iconv/gconv.h: Likewise.
5506         * iconv/gconv_builtin.h: Likewise.
5507         * iconv/gconv_close.c: Likewise.
5508         * iconv/gconv_db.: Likewise.
5509         * iconv/gconv_dl.c: Likewise.
5510         * iconv/gconv_int.h: Likewise.
5511         * iconv/gconv_open.c: Likewise.
5512         * iconv/gconv_simple.c: Likewise.
5513         * iconvdata/8bit-gap.c: Adapt for rewrite.
5514         * iconvdata/8bit-generic.c: Likewise.
5515         * iconvdata/euckr.c: Likewise.
5516         * iconvdata/iso646.c: Likewise.
5517         * iconvdata/iso6937.c: Likewise.
5518         * iconvdata/iso8859-1.c: Likewise.
5519         * iconvdata/johab.c: Likewise.
5520         * iconvdata/sjis.c: Likewise.
5521         * iconvdata/t61.c: Likewise.
5522         * iconvdata/uhc.c: Likewise.
5524 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5526         * iconv/gconv_int.h: New file.  Internal header.
5527         * iconv/Makefile (distribute): Add gconv_int.h.
5528         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5529         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5530         * iconv/gconv_close.c: Likewise.
5531         * iconv/gconv_conf.c: Likewise.
5532         * iconv/gconv_db.c: Likewise.
5533         * iconv/gconv_dl.c: Likewise.
5534         * iconv/gconv_int.h: Likewise.
5535         * iconv/gconv_open.c: Likewise.
5536         * iconv/iconv.c: Likewise.
5537         * iconv/iconv_close.c: Likewise.
5538         * iconv/iconv_open.c: Likewise.
5539         * iconv/iconv_prog.c: Likewise.
5541 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5543         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5544         missing braces.
5546 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5548         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5550 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5552         Based on patch from Pat Beirne:
5553         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5554         PIC and non-PIC now.  Correctly negate error number.
5555         (errno): Use `%' not `@' in .type directives.
5557 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5559         * sysdeps/i386/strtok.S: Change to use single exit point.
5560         * sysdeps/i386/i686/strtok.S: Likewise.
5562 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5564         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5565         default.
5567 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5569         * Makerules (installed-libcs): Fix typo.
5571 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5573         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5574         (UHC-routines): Remove ksc5601.
5576 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5578         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5579         introduced in last change.
5581 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5583         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5584         before 2.1.92.
5586 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5588         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5590         * stdlib/isomac.c: Use -isystem instead of -I for system include
5591         dir.
5593 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5595         * resolv/res_comp.c (underscorechar): New.
5596         (middlechar): Allow '_'.
5598 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5600         * intl/explodename.c (stdlib.h): Include that file only if
5601         STDC_HEADERS or _LIBC.
5602         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5603         Patch by Philippe De Muyter <phdm@macqel.be>.
5605 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5607         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5608         (AC_PROG_CHECK_VER): New macro.
5609         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5610         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5612 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5614         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5615         * sysdeps/i386/i686/strtok.S: New file
5616         * sysdeps/i386/i686/strtok_r.S: New file
5618 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5620         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5621         type to __off64_t.
5622         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5623         parameter as __off64_t instead of __off_t.
5624         (ftello): Make alias for ftello64 instead of ftello.  Change
5625         return type to __off64_t.
5627 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5629         * sysdeps/i386/bits/string.h: Fix various typos.
5630         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5632         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5634 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5636         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5637         lchown syscall correctly.  [PR libc/541].
5639 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5641         * localedata/Makefile: Correct testsuite rules.
5643         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5644         * iconvdata/iso646.c: Fix conversion from UCS4.
5646         * elf/ldsodefs.h: Mark internal function with internal_function.
5647         * elf/dl-addr.c: Likewise.
5648         * elf/dl-close.c: Likewise.
5649         * elf/dl-debug.c: Likewise.
5650         * elf/dl-deps.c: Likewise.
5651         * elf/dl-error.c: Likewise.
5652         * elf/dl-fini.c: Likewise.
5653         * elf/dl-init.c: Likewise.
5654         * elf/dl-load.c: Likewise.
5655         * elf/dl-lookup.c: Likewise.
5656         * elf/dl-object.c: Likewise.
5657         * elf/dl-open.c: Likewise.
5658         * elf/dl-profile.c: Likewise.
5659         * elf/dl-reloc.c: Likewise.
5660         * elf/dl-runtime.c: Likewise.
5661         * elf/dl-symbol.c: Likewise.
5662         * elf/dl-version.c: Likewise.
5663         * elf/dlerror.c: Likewise.
5664         * sysdeps/generic/dl-sysdep.c: Likewise.
5665         * sysdeps/i386/dl-machine.h: Likewise.
5666         * intl/finddomain.c: Likewise.
5667         * intl/gettextP.h: Likewise.
5668         * intl/loadmsgcat.c: Likewise.
5670 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5672         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5673         * iconv/gconv_builtin.h: Add definitions for new builtins.
5674         * iconv/gconv.h: Add prototypes for new builtins.
5676         * iconvdata/Makefile (modules): Add ISO646.
5677         Add rules for ISO646 module.
5678         (distribute): Add iso646.c.
5679         * iconvdata/gconv-modules: Add module and alias definition for
5680         ISO646 charsets.
5681         * iconvdata/iso646.c: New file.
5683 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5685         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5686         * iconv/iconv_prog.c: Implement --list option to print available
5687         coded character sets.
5689 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5691         Make fread() read large blocks straight to the user buffer.
5693         * libio/fileops.c (_IO_file_xsgetn): New function.
5694         (_IO_file_jumps): Use it.
5695         * libio/libioP.h: Prototype it.
5697 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5699         * iconv/gconv_conf.c (builtin_aliases): New variable.
5700         (__gconv_read_conf): Add builtin aliases.
5701         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5702         noop macro before including gconv_builtin.h.
5703         * iconv/gconv_builtin.h: Add alias names.
5705         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5706         number of converted bytes correctly.
5708 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5710         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5711         we only wait for a replay.
5713 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5715         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5716         EUC-KR modules.
5718 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5720         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5721         use PLTJMP() rather than explicit (PLT).
5723         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5724         __libc_start_main().
5726         Based on patch from Pat Beirne:
5727         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5728         Always define, not only #ifndef PIC.
5729         (DO_CALL): Pass fifth argument correctly in R4.
5730         (PSEUDO): Correct test for error, call syscall_error through PLT
5731         if PIC.
5733 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5735         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5736         definitions.
5738 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5740         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5741         JOHAB.so.
5743 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5745         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5746         lstat64.
5748 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5750         * manual/Makefile: Use object-suffixes-for-libc instead of
5751         object-suffixes.
5752         * rpm/Makefile (install-lib): Likewise.
5754 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5756         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5758         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5759         `m68*', not only `m68k'.
5761 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5763         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5765         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5766         install lddlibc4.
5768 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5770         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5771         EUC-KR.
5773         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5774         comment.
5776 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5778         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5779         the init stuff.
5781 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5783         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5784         adjtimex syscall.
5785         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5786         adjtimex.
5787         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5789 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5791         * Makerules (install): Change comment for libc.so following the
5792         libc_nonshared changes.
5794 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5796         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5798         * iconvdata/gap.pl: Avoid using %#06x.
5800 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5802         * Makerules: Use $? instead of S^ when invoking ar.
5804 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5806         * db2/compat.h: Allow EFTYPE being defined.
5807         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5808         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5809         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5810         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5811         (__libc_once): Correctly unlock semaphore.
5812         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5813         * sysdeps/unix/bsd/getpt.c: Fix typo.
5814         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5816 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5818         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5819         macros.
5821 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5823         * include/mntent.h: New file.
5825         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5826         * elf/dl-load.c: Rewrite search path handling.
5827         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5828         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5829         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5830         * elf/ldsodefs.h: Add prototype.
5832 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5834         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5836         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5837         function.
5839         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5841         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5842         New function.
5843         (HWCAP_IMPORTANT): New definition.
5845 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5847         * elf/dl-open.c (_dl_open): Fix a typo.
5848         (_dl_global_scope_alloc): Make it static.
5850 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5852         * Makerules: Remove duplicate rules to handle stamp.oS.
5854 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5856         * manual/examples/inetsrv.c (main): Change prototype of
5857         make_socket following change in mkisock.c.
5859         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5860         example host.
5861         (main): Change prototype of init_sockaddr following change in
5862         isockadd.c.
5864         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5865         * manual/examples/isockad.c (init_sockaddr): Likewise.
5867         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5868         lines for clarification.
5869         (make_named_socket): Use strncpy instead of strcpy.
5870         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5872 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5874         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5875         determining libs to remove.
5876         (postclean): Add soversions.mk.
5877         * Makerules (common-mostlyclean): Add tests-static and generated
5878         files.
5880 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5882         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5883         scanning for \0.
5884         (__strncat_g): Add i686 specific code.
5886 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5888         * manual/install.texi (Reporting Bugs): Ask to include section
5889         names in reports.
5891 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5893         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5894         guard against direct inclusion.
5896 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5898         Rework support for libc_nonshared.a:
5899         * Makeconfig (object-suffixes-for-libc): New variable.
5900         * Rules: Remove handling of static-only and shared-only routines.
5901         * Makerules: Handle them here instead.  Use
5902         object-suffixes-for-libc instead of object-suffixes when dealing
5903         with libc objects.
5904         (object-suffixes-for-rules): Remove variable.
5905         (elide-routines.oS): Elide all routines except static-only
5906         routines.
5907         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5908         empty.
5909         (installed-libcs): Remove special case for .oS.
5910         (rmobjs): Likewise.
5912 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5914         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5915         do-tst-rpmatch): New targets.
5916         (test): Use them.
5917         (install-locales): Ignore comment lines.
5919 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5921         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5922         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5923         ($(objpfx)rtldtbl.h): Likewise.
5924         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5926 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5928         * manual/string.texi (Finding Tokens in a String): Extend strsep
5929         description and correct example.
5931 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5933         * manual/socket.texi: Remove misguided explicit line breaks and
5934         fix the formatting problem instead by reformulating the
5935         paragraphs.
5936         * manual/filesys.texi: Likewise.
5937         * manual/conf.texi: Likewise.  Don't typeset table with index
5938         fonts, that looks worse than a minimally overfull line.
5940 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5942         * nscd/Makefile (nscd-modules): Move definition outside of
5943         conditional.
5945         * pwd/Makefile: Use have-thread-library to test for thread
5946         library.
5948 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5950         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5952         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5954 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5956         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5958 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5960         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5962         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5963         Reported by Andreas Jaeger.
5965 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5967         * elf/Makefile: Fix typo.
5968         (distribute): Add dl-librecon.h.
5969         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5970         * elf/ldd.sh.in: Likewise.
5971         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5972         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5973         Use strsep correctly.
5974         (process_envvars): Allow platform specific variables.
5975         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5976         (_dl_load_cache_lookup): Test cache IDs found against
5977         _dl_correct_cache_id.
5978         * sysdeps/generic/dl-librecon.h: New file.
5979         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5981         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5983 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5985         * config.make.in (ldd-rewrite-script): New variable.
5986         * configure.in: Substitute ldd-rewrite-script.
5987         * elf/Makefile: Rewrite rules to generate ldd script.
5988         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5989         * elf/ldd.sh.in: Likewise.
5990         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5991         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5992         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5993         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5994         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5996 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5998         * inet/rcmd.c (iruserok): Remain setuid to the local user
5999         while .rhosts is actually read, to make .rhosts-over-NFS work
6000         (PR libc/524).  Use iruserfopen() for security checks on both
6001         hosts.equiv and .rhosts.  General cleanup.
6002         (iruserfopen): New function, performs careful checking on
6003         hosts.equiv/.rhosts files.  Disallows all the old forbidden
6004         stuff plus hard links to files.
6006 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
6008         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
6010         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
6012 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
6014         * sysdeps/i386/i486/bits/string.h: Fix typos.
6016 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
6018         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
6019         strong alias.
6021         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
6023         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
6024         Added.  Used by libm.so on alpha.
6026 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6028         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
6029         defined.
6031 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
6033         * Makerules (object-suffixes-for-rules): Add .oS only for
6034         building shared library.
6035         Add ranlib rule for nonshared library.
6036         (rmobjs): Fix typo.
6038         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
6039         into for shared library only.
6040         (CPPFLAGS-.oS): Add -DPIC.
6041         (libtypes): Use $(object-suffixes-for-rules) instead of
6042         $(object-suffixes).
6044 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
6046         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
6047         and install lddlibc4.
6049 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6051         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
6052         hash.
6053         * iconvdata/gaptab.pl: Likewise.
6055 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
6057         * Rules: Allow Makefiles to specify test-static for tests which
6058         cannot be linked dynamically.
6059         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
6060         tests-static.
6062         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
6064         * misc/error.c: Pretty print.
6066 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6068         * Makerules (libc_nonshared-name): Remove variable.
6069         (installed-libcs): Use libc-name instead.
6070         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6071         dynamic linker.
6073         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6074         libc.a.  Remove explicit reference to dynamic linker.
6076 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6078         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6079         to wchar_t.
6080         * iconv/iconv_prog.c: Correctly test for write failure.
6081         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6082         * iconvdata/gconv-modules: Likewise.
6083         * iconvdata/euckr.c: New file.
6084         * iconvdata/johab.c: New file.
6085         * iconvdata/ksc5601.c: New file.
6086         * iconvdata/ksc5601.h: New file.
6087         * iconvdata/uhc.c: New file.
6088         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6090         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6091         * stdio/fopen.c: Correct handling of 'x' flag.
6092         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6094 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6096         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6097         * sunrpc/rpcsvc/key_prot.x: Likewise.
6098         * sunrpc/key_prot.c: Likewise.
6100 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6102         * sysdeps/i386/bits/string.h: Correct things which never worked.
6103         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6104         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6106 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6108         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6109         defined.  Reported by Thorsten Kukuk.
6111 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6113         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6115 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6117         * manual/install.texi (Supported Configurations): Add
6118         arm-linuxaout and arm-none.
6120 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6122         * version.h (VERSION): Bump to 2.0.93.
6124 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6126         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6128         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6130         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6131         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6133 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6135         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6137 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6139         Put the static-only routines in a separate library.
6140         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6141         variables.
6142         (all-object-suffixes): Add .oS.
6143         * Makerules (libc_static-name): New variable.
6144         (installed-libcs): Add libc_nonshared.a.
6145         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6146         (object-suffixes-for-rules): New variable.  Use it instead of
6147         object-suffixes for generating compilation rules.
6148         (rmobjs): Also remove *.oS.
6149         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6150         ($(objpfx)stamp.oS): New target.
6152 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6154         * Makefile (FAQ): Automatically check in regenerated FAQ.
6156 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6158         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6160 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6162         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6163         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6165         * sysdeps/generic/stub_warning: Removed.
6167         * Makefile (distribute): Add include/des.h.
6169         * manual/Makefile (distribute): Change dir-add.texi to
6170         dir-add.texinfo.
6172         * glibcbug.in: Create files safely when mktemp is not available.
6174         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6175         Patch by a sun <asun@saul1.u.washington.edu>.
6177 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6179         * libc.map: Rename getname to getnetname.
6181 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6183         * manual/maint.texi: Use supported platform in examples.
6185         * manual/install.texi: Document some installation tips.
6187 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6189         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6190         Fix a bug so that it returns an error if a numeric parameter is
6191         unset and WRDE_UNDEF is set.
6192         Patch by Andreas Schwab and Tim Waugh.
6193         * posix/wordexp-test.c: Add new new test.
6195 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6197         * posix/regex.c (regex_compile): Last patch wasn't entirely
6198         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6200 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6202         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6204 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6206         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6207         clobbered registers don't appear as operands.
6209 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6211         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6212         Solaris' sake.
6214         * posix/regex.c (regex_compile): Don't allow non-alphabet
6215         characters in character set name.
6217 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6219         * posix/wordexp.c (w_newword): New function.
6220         (do_parse_glob): New function.
6221         (parse_glob): Use do_parse_glob.  Now handles the case where a
6222         variable expansion causes a field-split.
6223         (wordexp): Use w_newword.
6224         (parse_arith): Likewise.
6225         (exec_comm): Likewise.
6226         (parse_comm): Likewise.
6227         (parse_param): Likewise.
6228         (parse_backtick): Likewise.
6230 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6232         * posix/wordexp-tst.sh: Another test.
6234         * posix/wordexp-test.c: Two new tests.
6236         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6237         directly (the code using realloc was buggy).
6238         (parse_param): Fix typo in comment.
6240 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6242         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6244 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6246         * libc.map: Add more rpc auth functions/variables.
6248         * nscd/nscd.c: Add -g option to argp options.
6250 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6252         * configure.in: Be prepared for gcc 2.9.10 and up.
6253         * configure.in: Add missing disabling of quote characters in
6254         compiler version check.  Reported by HJ Lu.
6256 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6258         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6260 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6262         * intl/locale.alias: Fix spelling of romanian.
6264         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6265         (distribute): Remove des.h.
6266         * include/des.h: New file.
6267         * sunrpc/des.h: Moved to ...
6268         * sunrpc/rpc/rpc_des.h: ...here.
6270 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6272         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6273         Fix paren.
6275 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6277         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6278         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6280 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6282         * elf/ldsodesf.h: New file.
6283         * elf/Makefile (distribute): Add ldsodefs.h.
6284         * elf/link.h: Separate internal information in exter header.
6285         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6286         * elf/dl-minimal.c: Likewise.
6287         * sysdeps/generic/dl-sysdep.c: Likewise.
6288         * elf/sprof.c: Likewise.
6289         * elf/dlsym.c: Likewise.
6290         * elf/dlvsym.c: Likewise.
6291         * elf/dlerror.c: Likewise.
6292         * elf/dladdr.c: Likewise.
6293         * elf/dlclose.c: Likewise.
6294         * elf/dlopen.c: Likewise.
6295         * elf/dl-addr.c: Likewise.
6296         * elf/dl-close.c: Likewise.
6297         * elf/dl-debug.c: Likewise.
6298         * elf/dl-deps.c: Likewise.
6299         * elf/dl-error.c: Likewise.
6300         * elf/dl-fini.c: Likewise.
6301         * elf/dl-init.c: Likewise.
6302         * elf/dl-load.c: Likewise.
6303         * elf/dl-lookup.c: Likewise.
6304         * elf/dl-object.c: Likewise.
6305         * elf/dl-open.c: Likewise.
6306         * elf/dl-profile.c: Likewise.
6307         * elf/dl-reloc.c: Likewise.
6308         * elf/dl-runtime.c: Likewise.
6309         * elf/dl-support.c: Likewise.
6310         * elf/dl-symbol.c: Likewise.
6311         * elf/dl-version.c: Likewise.
6312         * sysdeps/generic/dl-cache.c: Likewise.
6313         * sysdeps/generic/libc-start.c: Likewise.
6314         * iconv/gconv_dl.c: Likewise.
6315         * nss/nsswitch.c: Likewise.
6317 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6319         * manual/nss.texi: The database is not called network but networks.
6320         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6322 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6324         * configure.in: Correct test for compiler version.
6325         Check that LD_LIBRARY_PATH doesn't contain current path.
6327 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6329         * elf/dl-close.c (_dl_close): Fix byte count while removing
6330         the shared object from the global scope list and optimize
6331         a little bit.
6333 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6335         * manual/filesys.texi (Scanning Directory Content): Add missing
6336         closing brace.
6337         (Scanning Directory Content): Fix text.
6339 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6341         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6342         explaining difference of -lmcheck and MALLOC_CHECK_.
6344 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6346         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6347         typos in comments.
6349 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6351         * test-skeleton.c (main): Fix test for exit signal.
6353 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6355         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6357 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6359         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6360         appropriate.
6362 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6364         * libc.map: Export __strtok_r.
6366 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6368         * posix/regex.c (re_compile_fastmap): Remove unused variable
6369         num_regs and adjust comment.
6370         Patch by Jim Meyering <meyering@ascend.com>.
6372         * math/math.h (M_*l): Extend long double constants to be usable
6373         for 128 bit floats.  Patch by Richard Henderson.
6375 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6377         * sysdeps/m68k/m68020/wordcopy.S: New file.
6379 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6381         * posix/wordexp.c: Rewrite parse_param.
6382         Patch by Tim Waugh and Andreas Schwab.
6384 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6386         * Rules: Update timestamps on empty object files.
6388 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6390         * manual/filesys.texi (Scanning Directory Content): Add description
6391         of 64 bits scandir function and friends.
6393 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6395         * glibcbug.in: Use mktemp to generate unique file name for
6396         temporary files.
6398         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6399         ptsname_r.  Use cast for execve call.
6401 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6403         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6404         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6405         * io/sys/statvfs.h: New file.
6406         * sysdeps/generic/fstatvfs.h: New file.
6407         * sysdeps/generic/statvfs.h: New file.
6408         * sysdeps/generic/fstatvfs64.h: New file.
6409         * sysdeps/generic/statvfs64.h: New file.
6410         * sysdeps/generic/bits/statvfs.h: New file.
6411         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6412         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6413         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6415         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6416         and f_ffree elements.
6418         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6419         mount options in enum.
6421 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6423         * configure.in: Check for recent egcs/gcc.
6425 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6427         * libc.map: Add alphasort64, scandir64, versionsort64.
6428         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6429         versionsort64.
6430         * dirent/alphasort64.c: New file.
6431         * dirent/scandir64.c: New file.
6432         * dirent/versionsort64.c: New file.
6433         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6434         versionsort.
6435         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6436         old name weak alias.
6437         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6439         * dirent/alphasort.c: Use strcoll instead of strcmp.
6441         * dirent/scandir.c: Optimize a bit.
6443         * dirent/versionsort.c: Pretty print.
6445 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6447         * string/string.h: Add prototype for __strtok_r.
6449 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6451         * posix/Makefile: Fix typo in last change.
6453 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6455         * dirent/dirent.h (scandir): Make argument of select function const.
6456         * dirent/scandir.c (scandir): Likewise.
6457         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6459 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6461         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6462         weak alias.
6463         * sysdeps/i386/strtok_r.c: Likewise.
6465         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6466         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6467         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6468         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6469         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6470         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6472 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6474         * intl/localealias.c: Remove unneeded define for strdup.
6476 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6478         * manual/argp.texi: Adjust for better TeX output.
6479         * manual/arith.texi: Likewise.
6480         * manual/conf.texi: Likewise.
6481         * manual/filesys.texi: Likewise.
6482         * manual/header.texi: Likewise.
6483         * manual/lgpl.texinfo: Likewise.
6484         * manual/math.texi: Likewise.
6485         * manual/message.texi: Likewise.
6486         * manual/pattern.texi: Likewise.
6487         * manual/process.texi: Likewise.
6488         * manual/signal.texi: Likewise.
6489         * manual/socket.texi: Likewise.
6490         * manual/startup.texi: Likewise.
6491         * manual/stdio.texi: Likewise.
6492         * manual/terminal.texi: Likewise.
6493         * manual/examples/rprintf.c: Likewise.
6494         * manual/examples/testopt.c: Likewise.
6495         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6497 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6499         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6500         parameter name after seeing a digit if it's enclosed in braces.
6502 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6504         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6506 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6508         * manual/memory.texi (Heap Consistency Checking): Document
6509         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6511 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6513         * manual/Makefile: Add missing rules.
6515 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6517         * timezone/Makefile (generated): Define to remove all stamp files.
6519         * sysdeps/generic/strsep.c: Also undefine __strsep.
6521         * string/strdup.c: Undefine __strdup and strdup first.
6522         * string/strndup.c: Likewise.
6524         * string/bits/string2.h: Correct strtok_r and strsep.
6525         Add strndup optimization.
6527         * sysdeps/generic/strsep.c: Little optimization.
6529 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6531         * string/bits/string2.h: Add optimization for strdup.
6532         Always define __strsep and __strtok_r and make real names available
6533         when feature select macros are defined.
6535 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6537         * manual/install.texi (Installation): Use i486-linux as example
6538         instead of the unsupported sunos4.
6539         (Reporting Bugs): Mention glibcbug script.
6540         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6542 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6544         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6546         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6548 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6550         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6551         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6553         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6554         netpacket/packet.h.
6556         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6558 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6560         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6561         in enumerator for strict standard compliance.
6562         * sysdeps/generic/bits/resource.h: Likewise.
6564 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6566         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6567         (PLTJMP): New macro.
6569         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6570         longjmp() when floating point enabled.
6571         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6572         * sysdeps/arm/__longjmp.S: Remove floating point code.
6573         * sysdeps/arm/setjmp.S: Likewise.
6575         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6576         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6578         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6579         memset().
6581         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6582         prototype.
6584 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6586         Based on patches from Pat Beirne and Scott Bambrough:
6588         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6590         * sysdeps/arm/bits/fenv.h: New file.
6592         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6593         * sysdeps/arm/elf/setjmp.S: Likewise.
6594         * sysdeps/arm/elf/start.S: Likewise.
6595         * sysdeps/arm/init-first.c: Likewise.
6596         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6597         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6598         comment about floating point to reflect current reality.
6600         * sysdeps/unix/arm/brk.S: Support PIC.
6601         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6602         re-entrant code.
6603         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6604         return; call syscall_error through PLT.
6605         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6607 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6609         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6610         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6613 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6615         * dirent/list.c (test): Return error value.
6616         (main): Exit with error value.
6618         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6620         * Makefile (distribute): Add test-skeleton.c.
6621         * test-skeleton.c: New file.
6622         * dirent/Makefile (tests): Add opendir-tst1.
6623         * dirent/opendir-tst1.c: New file.
6625 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6627         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6628         Optimize memory handling.
6629         * sysdeps/unix/closedir.c: Optmize memory handling.
6631 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6633         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6634         handling.  Optimize a bit.
6636 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6638         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6639         (parse_param): Fold in Andreas' fixes to do with when the end of
6640         the parameter name has been reached, and quoting inside ${...}.
6641         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6642         $((echo);(ls)).
6644 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6646         * manual/maint.texi: Split out installation and contribution
6647         sections to their own appendices.  Misc cleanups.
6648         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6649         * manual/contrib.texi: New file.
6650         * manual/libc.texinfo: Pull in new appendices.
6651         * manual/header.texi: Correct node pointer.
6653 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6655         * manual/process.texi (Process Completion): Clarify return value
6656         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6658 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6660         * posix/wordexp-test.c: Add more tests.
6661         (testit): Fix logic.
6663         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6664         /dev/null instead of closing it, close pipe.  Always chop off all
6665         trailing newlines.  Kill and reap child before returning error.
6666         (w_addword, parse_glob): Fix memory leak.
6667         (wordexp): Fix dangling pointer problem.
6669 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6671         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6673         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6675         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6676         directory index by only the language.
6678 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6680         * posix/wordexp-tst.sh: Store test results in the
6681         ${common_objpfx}posix directory.
6683         * posix/wordexp-test.c: Remove temporary directory afterwards.
6685 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6687         * libc.map: Export internal versions of cancelable functions.
6689 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6691         * Makerules (MAKEFLAGS): Append `r'.
6693 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6695         * Makeconfig: Define have-thread-library, shared-thread-library
6696         and static-thread-library if a thread library is available.  Don't
6697         define rt.
6698         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6699         nscd-routines to nscd-modules.  Use shared-thread-library and
6700         static-thread-library in dependencies.
6701         * rt/Makefile: Only compile librt if have-thread-library is
6702         defined.
6703         * Makefile (subdirs): Always include rt subdir.
6705 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6707         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6709 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6711         * configure.in: Recognize variations for 32 MIPS processors.
6712         Don't assume ELF systems always have .weak, test for .weakext.
6714 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6716         * configure.in: Irix6 is an ELF platform.
6718 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6720         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6721         unmapping the last loaded segment.
6723 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6725         * configure.in: Set base_os for Irix6.
6726         Correct test for .weakext.
6728 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6730         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6731         (new_line) to _dl_debug_message call.
6733 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6735         * posix/wordexp.c (parse_param): Perform field-splitting after
6736         expanding positional parameter.
6738         * posix/wordexp-tst.sh: Test that field-splitting is performed
6739         after expanding positional parameter.
6741         * posix/wordexp.c (parse_param): Fixed memory leak in
6742         field-splitting after parameter expansion.
6744 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6746         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6747         (get_toplvl_escape): Correctly terminate loop at EOF.
6748         Patch by Cristian Gafton <gafton@redhat.com>.
6750 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6752         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6753         (test_strsep): Likewise.  Correct horrible bugs.
6755         * string/bits/string2.h (strcspn): Optimize also reject string of
6756         length 2 and 3.
6757         (strspn): Likewise.
6758         (strpbrk): Likewise.
6759         (strsep): Likewise.  Correct bug with successive separators and
6760         separators at the end of the string.
6761         * sysdeps/generic/strsep.c: Correct bug with successive separators
6762         and separators at the end of the string.
6764 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6766         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6767         etc) now handled, as well as $$ (pid).
6769         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6770         (distribute): Add wordexp-tst.sh.
6772         * posix/wordexp-tst.sh: New file.
6774         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6775         number of positional parameters.  Renamed substitute_length to
6776         seen_hash.
6777         Don't free(env) is env is NULL.
6779 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6781         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6783 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6785         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6786         for output file replacing gmon.out.
6787         Patch by Dean Gaudet <dgaudet@arctic.org>.
6789 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6791         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6792         up namespace.  Optimize finding end of line.
6794 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6796         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6797         securely.  Optimized.
6798         (process_dl_debug): Add ':' to list of separators.  Optimized.
6800 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6802         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6803         isless, islessequal, islessgreater, isunordered): Return zero or
6804         one.
6806 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6808         * posix/wordexp-test.c: More tests.
6809         (main): Set up arena for pathname expansion tests (in a temporary
6810         directory).
6811         (testit): Don't check word count or word vector if return value is
6812         non-zero.
6814         * posix/wordexp.c (exec_comm): Always chop off terminating
6815         linefeed (just like bash does).
6816         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6817         (!env || !*env)".
6818         (parse_param): For assignment inside parameter expansion, use all
6819         expanded words in assignment rather than just the first.
6820         (parse_param): Corrected return value for parameter expansion of
6821         an unset variable when WRDE_UNDEF is in effect.
6822         (parse_dollars): Don't field-split if quoted.
6823         (wordexp): Opening brace character isn't allowed unquoted.
6825 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6827         * elf/dlerror.c: Fix concurrency problems with error string and
6828         number.
6830         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6831         filter/auxiliary are being loaded.
6833 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6835         * elf/dlerror.c (last_object_name): Removed.
6836         (dlerror): Don't use last_object_name.
6837         (_dl_error_run): Omit second argument to _dl_catch_error.
6838         * elf/dl-error.c (struct catch): Remove objname member.
6839         (_dl_signal_error): Construct string including objname when given.
6840         (_dl_catch_error): Remove objname handling.
6841         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6842         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6843         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6844         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6845         * iconv/gconv_dl.c (dlerror_run): Likewise.
6846         [Corrects PR libc/501].
6848 1998-03-12  Matthias Urlichs <smurf@noris.de>
6850         * nscd/nscd.c: Ignore SIGPIPE.
6852 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6854         * nscd/nscd_getgr_r.c: Use __ protected names.
6855         * nscd/nscd_getpw_r.c: Likewise.
6857 1998-03-12  Matthias Urlichs <smurf@noris.de>
6859         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6860         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6861         null bytes are not transmitted.
6863 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6865         * powerpc/syscalls.list: Correct typo.
6866         * alpha/syscalls.list: Likewise.
6867         * mips/syscalls.list: Likewise.
6869 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6871         * socket/sys/socket.h: Add prototype for __socket.
6873 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6875         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6877         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6878         constants.
6880         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6881         definition here.
6882         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6883         definition here.
6885         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6886         AF_* and PF_* constants.
6888         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6890 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6892         * elf/rtld.c: Update help message.
6893         Install link maps for preloaded objects using main_map as loader.
6895         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6896         * elf/dl-profile.c: Likewise.
6898         * elf/dlsym.c: Little optimization.
6899         * elf/dlvsym.c: Likewise.
6901 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6903         * posix/wordexp-test.c: Move test for parameter list at the very
6904         beginning.
6906 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6908         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6909         WRDE_REUSE flag is set.
6910         (parse_param): Allow `*', `@', and numbers in parameter names.
6911         (parse_dollars): Differentiate between arithmetic expansion and a
6912         command substitution that starts immediately with a sub-shell
6913         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6914         (parse_param): Memory allocated with __alloca in a block was
6915         referenced outside that block.  Adjusted to use malloc/free.
6916         (parse_param): Adjusted field-splitting algorithm so that there is
6917         not necessarily a field split at the end of a parameter expansion.
6919 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6921         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6922         don't free words that have already been allocated.
6923         (parse_param): A dollar sign on its own will never have a pattern
6924         associated with it (like "${HOME%%/}" has), so don't try to free it.
6925         (parse_glob): Attempt to glob when an unquoted `[' is found
6926         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6927         (parse_glob): Sorted out quoting in a glob-able word.
6928         (parse_param): Added $* and $@ handling.
6930 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6932         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6933         parsing it.
6935 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6937         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6938         _dl_debug_message.
6940 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6942         * elf/dl-misc.c: Default for debug output should be stderr.
6943         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6944         * elf/dl-lookup.c: reference_name may be NULL or empty.
6946 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6948         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6950 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6952         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6954         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6956 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6958         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6961 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6963         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6964         init stuff.
6966 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6968         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6969         flag.
6971         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6972         syslog daemon.
6973         (closelog_internal): Don't do anything if not connected.
6975 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6977         * libc.map: Add _dl_debug_message.
6978         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6979         before every line.
6980         * elf/fini.c: Correctly use new _dl_debug_message function.
6981         * elf/init.c: Likewise.
6982         * elf/dl-lookup.c: Likewise.
6983         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6984         * elf/dl-load.c: Likewise.  Add more debugging prints.
6985         * elf/dl-reloc.c: Likewise.
6986         * elf/dl-version.c: Likewise.
6987         * elf/dl-support.c: Add variables for debugging.
6988         * elf/rtld.c: Likewise.  Recognize new debug options.
6989         * elf/link.h: Declare new variables.
6991         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6993 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6995         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6996         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6998 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
7000         * posix/wordexp-test.c (command_line_test): New function to allow
7001         testing of specific cases from the command-line.
7003 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
7005         * elf/dl-init.c (_dl_init_next): Print nicer messages.
7006         * elf/dl-fini.c (_dl_fini): Likewise.
7007         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
7009         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
7010         symbol in debug message.
7011         (_dl_lookup_versioned_symbol_skip): Likewise.
7013 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
7015         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
7016         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
7017         * manual/filesys/texi: Document this.
7019 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
7021         * manual/filesys.texi: Document the change below.
7023 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7025         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
7026         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
7028 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
7030         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
7031         instead scope.  If debugging display information about symbol
7032         resolving.
7033         (_dl_lookup_symbol): Call do_lookup with correct parameters.
7034         (_dl_lookup_symbol_skip): Likewise.
7035         (_dl_lookup_versioned_symbol): Likewise.
7036         (_dl_lookup_versioned_symbol_skip): Likewise.
7037         * elf/dl-support.c: Define _dl_debug_symbols.
7038         * elf/link.h: Add declaration for _dl_debug_symbols.
7039         * elf/rtld.c: Define _dl_debug_symbols.
7040         (process_dl_debug): Recognize symbols option.
7042 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
7044         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
7045         in correct format.
7046         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
7047         with correct parameters.
7048         [!PIC]: Initialize __libc_multiple_libcs.
7050 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
7052         * elf/dl-support.c (_dl_debug_bindings): Add definition.
7053         * elf/rtld.c (_dl_debug_bindings): Add definition.
7054         (process_dl_debug): Recognize bindings option.  Update help message.
7055         * elf/link.h (struct link_map): Add l_versyms member.
7056         (_dl_debug_bindings): Add declaration.
7057         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
7058         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
7059         and l_reloc_result.
7060         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
7061         (sym_val): Remove a member, add m as link_map.
7062         (do_lookup): Return result appropriately.
7063         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
7064         Call do_lookup correctly.
7065         (_dl_lookup_symbol_skip): Likewise.
7066         (_dl_lookup_versioned_symbol): Likewise.
7067         (_dl_lookup_versioned_symbol_skip): Likewise.
7069 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7071         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7072         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7074         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7075         * libc.map: Add chown to GLIBC_2.1.
7076         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7077         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7079 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7081         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7082         weak alias.
7083         * sysdeps/alpha/ffs.c: Likewise.
7084         * sysdeps/am29k/ffs.c: Likewise.
7085         * sysdeps/i386/ffs.c: Likewise.
7086         * sysdeps/i960/ffs.c: Likewise.
7087         * sysdeps/m68k/ffs.c: Likewise.
7088         * sysdeps/m88k/ffs.c: Likewise.
7089         * sysdeps/powerpc/ffs.c: Likewise.
7090         * sysdeps/rs6000/ffs.c: Likewise.
7091         * sysdeps/vax/ffs.s: Likewise.
7092         * string/string.h: Declare __ffs.
7093         * libc.map: Export it.
7094         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7095         __builtin_ffs, which is not guaranteed to be namespace clean.
7097 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7099         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7100         table, which is much more likely to exist than debugging symbols.
7101         (printsym): Remove const.
7102         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7103         header table.
7105         * libc.map: Export __profile_frequency, used by elf/sprof, to
7106         avoid infinite recursion during startup.
7108 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7110         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7111         Readd lost negate.
7113         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7115 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7117         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7119 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7121         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7122         LD_PRELOAD, and LD_VERBOSE.
7123         (dl_main): Use global variables set by process_envvars instead of
7124         calling getenv.
7125         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7126         LD_LIBRARY_PATH value, this comes with the parameter.
7127         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7128         ("LD_LIBRARY_PATH") to _dl_init_paths.
7130 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7132         * elf/rtld.c (dl_main): Delay initialization of path structure if
7133         the dynamically linker is invoked implicitly until we read the
7134         dynamic section.
7136 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7138         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7140 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7142         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7143         Linux 2.0 and 2.1.
7145         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7147 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7149         * Makeconfig (nisobjdir): Set to path to nis directory.
7150         (rpath-link): Add nisobjdir.
7151         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7153         * elf/Makefile: Pretty print.
7154         * elf/dl-lookup.c: Include unistd.h.
7155         * elf/dl-runtime.c: Likewise.
7157         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7158         (distribute): Add tst-rpmatch.sh.
7159         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7161         New tests for rpmatch function by
7162         Jochen Hein <jochen.hein@delphi.central.de>.
7163         * localedata/tst-rpmatch.c: New file.
7164         * localedata/tst-rpmatch.sh: New file.
7166         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7167         * localedata/locales/de_AT: Likewise.
7169         * posix/getopt.c: Update contact address.
7170         * posix/getopt1.c: Pretty print.
7172         * sysdeps/generic/libc-start.c: Do most of the initialization now
7173         here instead of in start.S.
7174         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7175         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7177         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7178         profil_counter to be public.
7180 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7182         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7183         (parse_param): Coded parameter length expansion (${#var}).
7184         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7185         (parse_param): Cleaned up (fixed) error handling.
7187         * posix/wordexp-test.c: IFS now includes non-whitespace character
7188         (comma).  Added more tests.
7190 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7192         * elf/link.h: Fix typos.
7193         Reported by Andreas Jaeger.
7195         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7196         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7198 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7200         * argp/argp-help.c: Remove last bits of using gettext instead of
7201         dgettext.
7203 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7205         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7206         __libc_start_main.
7207         * csu/Makefile (routines): Add libc-start.
7208         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7209         * elf/dl-lookup.c: Likewise.
7210         * elf/dl-version.c: Likewise.
7211         * sysdeps/i386/dl-machine.h: Likewise.
7212         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7213         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7214         _dl_sysdep_message macros which use _dl_sysdep_output.
7215         * elf/dl-fini.c: Write out which destructor is called while debugging.
7216         * elf/dl-init.c: Likewise for constructor.
7217         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7218         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7219         _dl_sysdep_message.  Add _dl_sysdep_output.
7220         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7221         this file can be opened.
7222         For LD_DEBUG=libs also set _dl_debug_impcalls.
7223         * sysdeps/generic/dl-cache.c: Include unistd.h.
7224         * sysdeps/generic/libc-start.c: New file.
7225         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7226         * sysdeps/i386/elf/start.S: Don't call main directly, call
7227         __libc_start_main instead.
7229         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7231 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7233         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7235 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7237         * argp/argp.h (struct argp): Add new field domain.
7238         * argp/argp-help.c: Change all gettext calls to dgettext and use
7239         domain field from appropriate argp in call.
7240         * argp/argp-parse.c: Likewise.
7242 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7244         * posix/wordexp-test.c: Change testsuite so that it can run even
7245         for ~root != /root.
7247 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7249         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7251 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7253         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7254         Don't store into global errno if we already store through
7255         __errno_location.
7256         * sysdeps/unix/i386/sysdep.S: Likewise.
7257         * sysdeps/unix/alpha/sysdep.S: Likewise.
7258         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7259         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7261         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7262         PIC).
7264 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7266         * sysdeps/generic/sysdep.h (L): Remove definition.
7267         * sysdeps/i386/sysdep.h (L): Define it here instead.
7269 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7271         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7273         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7275 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7277         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7278         declaration style to avoid warnings.
7280 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7282         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7283         "LD_DEBUG".
7285 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7287         * posix/Makefile (tests): Add wordexp-test.
7288         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7289         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7291 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7293         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7294         dependencies.
7296         * elf/link.h (struct r_search_path_elem): Add two new field for
7297         lib path debugging.
7298         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7299         variable accordingly.
7300         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7301         is considered next along with information about load paths.
7302         * sysdeps/generic/dl-cache.c: Likewise.
7303         * elf/dl-support.c: Define _dl_debug_libs.
7304         * elf/genrtldtbl.awk: Add initializers for two new field in
7305         struct r_search_path_elem.
7307 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7309         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7310         * sysdeps/m68k/lshift.S: Likewise.
7311         * sysdeps/m68k/rshift.S: Likewise.
7312         * sysdeps/m68k/sub_n.S: Likewise.
7313         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7314         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7315         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7317         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7318         [_LIBC_REENTRANT]: Don't store into global errno.
7320         * sysdeps/m68k/sysdep.h: New file.
7321         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7322         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7323         (DO_CALL): Change to expect syscall name as argument.
7324         (PSEUDO): Pass syscall_name to DO_CALL.
7325         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7326         errno.
7328 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7330         * elf/rtld.c: Speed up processing of environment variables.  Do
7331         only one run on the environment by avoiding to call getenv.
7332         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7333         function.  Used by patch above.
7335 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7337         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7338         running nscd.
7339         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7340         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7341         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7343 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7345         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7346         module cannot be found.  Reported by Andreas Jaeger.
7348 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7350         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7351         on platforms which default to unsigned chars.
7352         * nscd/nscd_getpw_r.c: Likewise.
7353         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7354         defining it.
7356 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7358         * elf/Makefile (install-bin): Change = to += for sprof to install
7359         ldd also.
7361 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7363         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7365 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7367         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7369 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7371         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7372         that a failure to connect to nscd doesn't change errno.
7374 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7376         * manual/maint.texi (Reporting Bugs): Change
7377         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7379         * locale/iso-4217.def: Likewise
7381 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7383         * manual/texinfo.tex: Updated.
7385 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7387         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7388         value.
7389         * sysdeps/posix/pathconf.c: Likewise.
7390         * posix/getconf.c: Print `undefined' if pathconf returns -1
7391         without setting errno.
7393 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7395         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7396         problem.
7397         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7398         Patches by Elliot Lee <sopwith@cuc.edu>.
7400 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7402         * elf/link.h (struct link_map): Add new field l_reloc_result.
7403         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7404         of relocation for the object to be profiled.
7405         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7406         to NULL.
7407         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7408         array here.
7409         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7410         contains a result from a previous run use this instead of computing
7411         the value again.
7412         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7414 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7416         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7417         offsets into the GOT.
7418         (RTLD_START): Likewise.
7420 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7422         * elf/sprof.c: Cleanup a bit.
7424 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7426         * sysdeps/generic/sysdep.h (L): New. Define.
7428         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7430         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7432         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7433         to have only one exit point for functions.
7434         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7435         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7436         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7437         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7438         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7440 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7442         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7443         reset errno so that errno isn't set to ENOSYS in the first call.
7444         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7445         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7446         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7447         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7449 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7451         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7452         * sysdeps/i386/addmul_1.S: Likewise.
7453         * sysdeps/i386/lshift.S: Likewise.
7454         * sysdeps/i386/mul_1.S: Likewise.
7455         * sysdeps/i386/rshift.S: Likewise.
7456         * sysdeps/i386/sub_n.S: Likewise.
7457         * sysdeps/i386/submul_1.S: Likewise.
7458         * sysdeps/i386/i586/add_n.S: Likewise.
7459         * sysdeps/i386/i586/addmul_1.S: Likewise.
7460         * sysdeps/i386/i586/lshift.S: Likewise.
7461         * sysdeps/i386/i586/mul_1.S: Likewise.
7462         * sysdeps/i386/i586/rshift.S: Likewise.
7463         * sysdeps/i386/i586/sub_n.S: Likewise.
7464         * sysdeps/i386/i586/submul_1.S: Likewise.
7466         * sysdeps/i386/sysdep.h: Extend last change.
7468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7469         to have only one exit point for functions.
7471 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7473         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7474         search.
7476 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7478         * Makerules: Generate libc.so with absolute paths for the used
7479         shared objects.
7481         * config.make.in: Add MAKEINFO definition.
7483 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7485         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7486         (ENTRY): Use STABS_FUN.
7487         (END): Use STABS_FUN_END.
7488         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7490         * elf/Makefile: Add rules to build sprof program.
7491         * elf/sprof.c: New file.
7493 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7495         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7497 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7499         * configure.in: Check for working msgfmt version (from GNU gettext
7500         0.10 or later).
7502 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7504         * configure.in: Avoid //s in sysdirs.
7505         Patch by Roland McGrath.
7507         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7509 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7511         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7512         setting _dl_global_scope for RTLD_GLOBAL.
7514 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7516         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7517         possible lists of object-suffixes are taken care of.
7519 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7521         * timezone/private.h: Update from tzcode1998c.
7522         * timezone/zic.c: Likewise.
7523         * timezone/antarctica: Updated from tzdata1998c.
7524         * timezone/asia: Likewise.
7525         * timezone/australasia: Likewise.
7526         * timezone/europe: Likewise.
7527         * timezone/southamerica: Likewise.
7529 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7531         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7532         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7534 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7536         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7537         Changed type of TWO43, TWO52 from float to double.
7538         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7539         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7540         Changed type of TWO43 from float to double.
7541         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7542         Use __isinff.
7544 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7546         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7547         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7548         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7550 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7552         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7553         kernel_termios.h.
7554         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7555         Clean up random whitespace.
7556         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7557         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7559         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7561 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7563         * shlib-versions: Match alpha*.
7564         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7565         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7567         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7568         Implement copysign* with and without __ prefix.
7569         Likewise for fabs; use builtin for gcc 2.8.
7570         (floor*): New.
7571         (fdim*): New.
7573         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7574         (R_SPARC*): Match current v9 ABI.
7576         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7578         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7579         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7580         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7581         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7582         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7583         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7584         * sysdeps/unix/grantpt.c (argv): Fix consts.
7585         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7586         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7588 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7590         * misc/syslog.c: Change to allow user the interpretation of the
7591         outcome even with syslog having no return value.
7593 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7595         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7596         that the number of program headers is >0 (which is wrong for the
7597         loader itself).
7599 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7601         * Makefile (distribute): Add README.libm.
7603 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7605         * time/clocktest.c (main): Correct typo: "--" -> "==".
7607 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7609         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7610         inline function.
7611         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7612         inline functions.
7614         * math/libm.map (__atan2): Added.
7616 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7618         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7619         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7621         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7622         bug.
7624 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7626         * manual/arith.texi (Old-style number conversion): Correct
7627         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7629 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7631         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7632         but does not require it.  Handle missing argv[] values gracefully.
7633         * posix/execl.c: Likewise.
7634         * posix/execle.c: Likewise.
7636 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7638         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7639         bit.
7640         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7642 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7644         * libc.map: Add __adjtimex.
7646 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7648         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7649         Remove memset.
7651 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7653         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7654         to 64.
7656         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7658         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7659         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7661         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7662         for shared library.
7664         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7666         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7667         Added adjtimex and old_adjtimex.
7669         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7670         New.
7671         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7672         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7674         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7675         symbols only for shared library.
7676         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7677         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7678         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7679         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7680         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7681         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7682         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7684         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7685         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7686         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7687         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7688         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7689         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7690         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7691         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7693         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7694         rusage pointer.
7696         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7697         New macros.
7698         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7699         timex and __adjtimex, respectively.
7701         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7703         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7705 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7707         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7708         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7710 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7712         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7714 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7716         * Makefile.in: Disable built-in rules.
7718 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7720         * sysdeps/i386/fpu/t_exp.c: Move to ...
7721         * sysdeps/libm-i387/t_exp.c: ... here.
7723 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7725         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7726         from __exp2_deltatable.
7728 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7730         * nis/ypclnt.c (yp_master): Check result of strdup.
7731         Patch by Thorsten Kukuk.
7733 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7735         * nis/ypclnt.c: Give clnt handle after error checking free, change
7736         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7738 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7740         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7741         Patch by Joe Keane <jgk@jgk.org>.
7743         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7744         * misc/fstab.c: Remove casts in fs_type assignments.
7746 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7748         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7749         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7750         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7751         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7752         * sysdeps/powerpc/bits/fenv.h: Likewise.
7753         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7754         * sysdeps/generic/bits/fenv.h: Likewise.
7755         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7756         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7757         * sysdeps/powerpc/test-arith.c (main): Likewise.
7759 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7761         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7762         the comparison macros.
7764 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7766         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7767         (__log2): Fixed return values.
7768         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7770 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7772         * math/math.h (isunordered): Rename local variables to ensure
7773         correct code.  Reported by HJ Lu.
7775 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7777         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7778         isless, islessequal, islessgreater, isunordered): Fix syntax for
7779         fucompip instruction.
7780         (isless, islessequal): Fix logic.
7782 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7784         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7785         (comparisons_test): New tests for comparison macros.
7787 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7789         * Makeconfig: Filter out frame-pointer effecting options when
7790         compiling profiling or debugging code.
7791         * config.h.in (internal_function): Don't define here if PROF is
7792         defined.
7793         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7794         state.
7795         (__monstartup): If calloc fails set error state and mark array as
7796         not allocated.
7797         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7798         to free array if not  successfully allocated.
7800         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7801         Include elf.h to get macro definitions.
7802         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7804 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7806         * elf/ldd.sh.in: Add compatibility for broken old shells.
7807         * elf/ldd.bash.in: Likewise.
7809 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7811         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7813         * time/clocktest.c (main): Check signal return error.
7815 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7817         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7818         "/" and use do-install-program. Reported by Mark M. Kettenis.
7819         (subdir_install):  Likewise.
7821 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7823         * sunrpc/rpc_sample.c: Fix typo.
7825         * nscd/connections.c: Use locale.
7826         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7827           calloc result.
7828         * nscd/nscd.c: Check if init functions fails.
7829         * nscd/nscd_conf.c: Allow disabling of group cache.
7830         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7831         * nscd/pwdcache.c: Fix debug messages.
7833 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7835         * libc.map: Add __monstartup and _mcleanup for profiling support.
7837 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7839         * libc.map: Export __getpagesize, for binary compatibility with
7840         2.0.
7842 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7844         * posix/globtest.sh: Use --library-path instead of
7845         LD_LIBRARY_PATH.
7846         * localedata/sort-test.sh: Likewise.
7847         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7849 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7851         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7852         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7853         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7855         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7856         kernel_sigaction): Define.
7857         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7858         kernel_sigaction): Define.
7860 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7862         * math/libm-test.c: Change epsilons for libm-ieee754.
7864 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7866         * sysdeps/i386/__longjmp.S: Fix race condition.
7867         Reported by Bruno Haible <haible@ilog.fr>.
7869 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7871         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7872         * iconvdata/8bit-gap.c: Likewise.
7873         * iconvdata/8bit-generic.c: Likewise.
7874         * iconvdata/iso6937.c: Likewise.
7875         * iconvdata/iso8859-1.c: Likewise.
7876         * iconvdata/sjis.c: Likewise.
7877         * iconvdata/t61.c: Likewise.
7879 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7881         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7882         feature tests by positive feature tests.
7884 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7886         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7888 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7890         * elf/dlvsym.c (dlvsym_doit): More corrections.
7891         Patch by Andreas Jaeger.
7893 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7895         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7897 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7899         * libc.map: More reordering for GLIBC_2.1 symbols.
7901 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7903         * libc.map: Move some functions from version GLIBC_2.0 to
7904         GLIBC_2.1, reorder declarations.
7906 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7908         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7909         Patch by zab@thebrain.grumblesmurf.net.
7911 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7913         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7914         NIS+ functions with version GLIBC_2.1.
7916 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7918         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7919         with 2.0 binaries.  Reported by Thorsten Kukuk.
7921 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7923         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7925         * elf/dlsym.c (dlsym_doit): Likewise.
7927 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7929         * elf/link.h: Correct typos.
7931         * iconv/iconv_prog.c: Correct typo.
7933 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7935         * iconv/Makefile: Add rules to build and install iconv program.
7936         * iconv/iconv_prog.c: New file.
7938 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7940         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7941         _dl_lookup_symbol_skip call.
7942         * elf/dlvsym.c (dlvsym_doit): Likewise.
7944 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7946         * libio/iovsscanf.c: Do not include errno.h.
7948 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7950         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7951         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7952         pulling in the whole error list.
7953         (__dcgettext, dcgettext): Removed.
7954         * libc.map: Export _strerror_internal.
7956 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7958         * sysdeps/i386/fpu/t_exp.c: New file.
7960 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7962         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7963         everything with version GLIBC_2.1.
7964         * hesiod/libnss_hesiod.map: Likewise.
7966 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7968         * manual/arith.texi (Old-style number conversion): This node is a
7969         section, not a subsection.
7971 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7973         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7975 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7977         * elf/rtld.c (dl_main): Make sure that the library search paths
7978         have been initialized before the first call to _dl_map_object.
7980 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7982         * Makerules (common-generated): Add libc_pic.os.
7984 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7986         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7987         of the executable.
7989 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7991         * sysdeps/m68k/fpu/t_exp.c: New file.
7993 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7995         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7996         to global errno variable anymore.
7998 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
8000         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
8001         If PRELOADED is nonzero check in case of an SUID application
8002         whether the shared object has the SUID bit set.
8003         Fix some other problems with handling shared objects in system
8004         specific directories.
8005         (_dl_map_object): Also take extra parameter and pass it to open_path.
8006         * elf/link.h (_dl_map_object): Correct prototype and comment.
8007         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
8008         * elf/dl-open.c (_dl_open): Likewise.
8009         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
8011         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
8013 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8015         * math/libm-test.c (modf_test): Add test for 1.5.
8017         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
8018         0 to get always an int.
8020 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8022         * math/libm.map: Move all symbols that are new in glibc 2.1 to
8023         version GLIBC_2.1.
8025 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
8027         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
8028         trying to read another character.
8030 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8032         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
8033         name to lowercase.
8035         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
8036         name to lowercase, add test for big enough buffer.
8038 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8040         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
8041         Make compatible with older kernels.  Patch by Richard Henderson.
8043 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
8045         * elf/dl-load.c (open_path): Use __xstat instead of stat.
8047         * localedata/tst-locale.sh: Comment out first test for now.
8049 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
8051         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
8052         as 1.
8053         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8054         Likewise.
8056         * libio/iogetline.c (_IO_getline_info): Renamed from
8057         _IO_getline.
8058         (_IO_getline): Just call _IO_getline_info.
8060         * libio/libioP.h (_IO_getline_info): New declaration.
8062         * libc.map (_IO_getline_info, __write): Added.
8064 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8066         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
8067         const char* to shut up gcc.
8069 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8071         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8072         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8074         * math/math.h: Define M_* constants always as `double' and add new
8075         macros M_*l which are of type `long double'.
8076         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8077         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8078         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8079         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8080         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8081         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8082         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8083         * math/libm-tst.c: Likewise.
8085         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8086         define as long double unconditionally.
8088 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8090         * manual/arith.texi (Old-style number conversion): Correct some
8091         typos.
8093 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8095         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8096         Restore.
8098         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8100 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8102         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8103         on $(rtld-ldscript).
8105         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8106         starting from 0 not only from `from'.
8107         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8109 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8111         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8112         pass value (or NULL) to _dl_init_paths.
8113         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8114         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8115         environment variable.
8116         * elf/link.h: Change prototype for _dl_init_paths.
8117         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8119         * localedata/Makefile (distribute): Add test files.
8121 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8123         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8124         test1.def, test2.def, test3.def, test4.def}: Simple input files
8125         for localedef. Contributed by Yung-Ching Hsiao
8126         <yhsiao@cae.wisc.edu>.
8128         * localedata/Makefile (tests): Call tst-locale.sh.
8130         * localedata/tst-locale.sh: New file, regression tests for some
8131         localedef problems.
8133 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8135         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8137         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8138         terminated.
8139         * nis/nss_nisplus/nisplus-network.c: Likewise.
8140         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8141         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8142         * nis/nss_nisplus/nisplus-service.c: Likewise.
8144         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8145         and support generating thread safe RPC code.
8146         * sunrpc/rpc_main.c: Add changes.
8147         * sunrpc/rpc_clntout.c: Likewise.
8148         * sunrpc/rpc_cout.c: Likewise.
8149         * sunrpc/rpc_hout.c: Likewise.
8150         * sunrpc/rpc_parse.c: Likewise.
8151         * sunrpc/rpc_sample.c: Likewise.
8152         * sunrpc/rpc_scan.c: Likewise.
8153         * sunrpc/rpc_svcout.c: Likewise.
8154         * sunrpc/rpc_util.c: Likewise.
8155         * sunrpc/rpc_util.h: Add new structs and prototypes.
8156         * sunrpc/proto.h: Remove prototypes for static functions.
8158 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8160         * locale/programs/ld-messages.c (messages_finish): Don't skip
8161         error checking when being quiet.
8162         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8163         (set_class_defaults): Likewise.
8164         * locale/programs/charmap.c (parse_charmap): Likewise.
8165         * locale/programs/ld-collate.c (collate_finish): Likewise.
8166         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8167         * locale/programs/ld-time.c (time_finish): Likewise.
8168         * locale/programs/locfile.c (write_locale_data): Likewise.
8170         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8171         unknown characters and empty ranges.
8172         * locale/programs/ld-collate.c (collate_order_elem): When
8173         processing an ellipsis properly form a linked list in the result
8174         table, fix typo when allocating ordering array.
8175         [PR libc/419]
8177 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8179         * elf/Makefile (ld-map): Define.
8180         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8181         `$(rtld-ldscript)'.
8182         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8183         on $(ld-map).
8184         (rtld-link): Combine the two versions of this definition.  Fixed
8185         to make it work when no symbol versioning is used.
8187 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8189         * Makeconfig (build-program-cmd): Use --library-path parameter to
8190         ld.so instead of environment variable.
8192         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8193         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8195 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8197         * Make-dist: Respect with-cvs setting.
8198         * MakeTAGS (all-pot): Likewise.
8199         * sysdeps/sparc/sparc32/Makefile: Likewise.
8200         * sysdeps/mach/hurd/Makefile: Likewise.
8201         * stdlib/Makefile: Likewise.
8202         * posix/Makefile: Likewise.
8203         * intl/Makefile: Likewise.
8204         * po/Makefile (linguas): Likewise
8206 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8208         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8210 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8212         * libc.map: Add __strcasecmp.
8214         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8215         module.
8217         * nss/getXXent_r.c: If no more module is found don't try to call
8218         setXXent functions but leave unsuccessfully.
8220         * malloc/obstack.h: Cleanups.
8222         * sysdeps/wordsize-32/stdint.h: New file.
8223         * sysdeps/wordsize-64/stdint.h: New file.
8224         * sysdeps/generic/stdint.h: New file.
8225         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8226         * sysdeps/wordsize-64/inttypes.h: Likewise.
8227         * stdlib/Makefile (headers): Add stdint.h.
8229 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8231         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8233 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8235         * timezone: New directory.
8236         * time/README, time/africa, time/antarctica, time/asia,
8237         time/australasia, time/backward, time/checktab.awk,
8238         time/etcetera, time/europe, time/factory, time/ialloc.c,
8239         time/iso3166.tab, time/leapseconds, time/northamerica,
8240         time/pacificnew, time/private.h, time/scheck.c,
8241         time/solar87, time/solar88, time/solar89, time/southamerica,
8242         time/systemv, time/test-tz.c, time/tzfile.h,
8243         time/tzselect.ksh, time/yearistype, time/zdump.c,
8244         time/zic.c, time/zone.tab: Moved to timezone.
8245         * time/tzfile.c: Include tzfile.h from timezone subdir.
8246         * time/tzset.c: Likewise.
8247         * time/Makefile: Cut out all code relating to timezones...
8248         * timezone/Makefile: ...and paste it in here.
8249         * Makefile (subdirs): Add timezone.
8251 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8253         * libc.map (_sys_nerr): Added.
8255         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8256         versioned symbol.
8258 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8260         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8261         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8262         Reported by Craig Metz <cmetz@inner.net>.
8264 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8266         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8267         instead of strcasecmp.
8268         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8270         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8272 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8274         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8275         Patch by Dean Gaudet <dgaudet@arctic.org>.
8277 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8279         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8281 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8283         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8284         with no poll syscall, just include the BSD version.
8285         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8286         kernel without the syscall, include the stub version.
8287         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8288         * sysdeps/generic/getresuid.c: New file.
8289         * sysdeps/generic/getresgid.c: New file.
8291 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8293         * stdio-common/vfscanf.c: Correct last change a bit.
8295 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8297         * elf/Makefile: Don't use --version-script parameter to link ld.so
8298         unconditionally.
8300 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8302         * math/Makefile: Add t_exp.
8303         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8304         constants.
8305         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8306         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8307         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8308         better accuracy.
8309         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8310         algorithm for very large/very small arguments.
8311         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8312         correct algorithm for very large/very small arguments; adjust for
8313         new table.
8314         * sysdeps/libm-ieee754/t_exp.c: New file.
8315         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8317         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8318         back, with comment that explains what breaks when you remove it :-(.
8320         * localedata/xfrm-test.c: Avoid integer overflow.
8322         * stdlib/strfmon.c: char is unsigned, sometimes.
8324         * sysdeps/powerpc/Makefile: Remove quad float support.
8325         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8326         * sysdeps/powerpc/quad_float.h: Likewise.
8327         * sysdeps/powerpc/test-arith.c: Likewise.
8328         * sysdeps/powerpc/test-arithf.c: Likewise.
8330         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8331         * sysdeps/generic/s_exp2f.c: Likewise.
8333         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8334         don't try anything if _SOFT_FLOAT.
8336 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8338         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8339         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8340         * wctype/wctype.c: Likewise.
8341         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8342         changed.  They are incompatible with the _ISxxx values from
8343         <ctype.h> on little endian machines.
8344         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8345         bit number.  This fixes the real bug and restores the integrity of
8346         the ctype locale file.
8347         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8348         * wctype/wcfuncs_l.c: Likewise.
8349         * wctype/wcextra.c: Likewise.
8350         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8351         byte swapping.
8353 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8356         into .bss segment instead of .common, so that aliases on it work.
8358         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8359         .size directives, put into .bss segment instead of initializing it
8360         to 4.
8362 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8364         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8366         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8367         functions.
8368         Make names without __ weak aliases.
8369         (__libc_release, __libc_version): Make them static.
8371         * include/gnu/libc-version.h: New file.
8372         * Makefile (headers): Add gnu/libc-version.h.
8374 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8376         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8377         and use x for member name.
8378         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8380         * stdlib/drand48.c: Change according to member name change.
8381         * stdlib/drand48_r.c: Likewise.
8382         * stdlib/lcong48_r.c: Likewise.
8383         * stdlib/lrand48.c: Likewise.
8384         * stdlib/lrand48_r.c: Likewise.
8385         * stdlib/mrand48.c: Likewise.
8386         * stdlib/mrand48_r.c: Likewise.
8387         * stdlib/seed48.c: Likewise.
8388         * stdlib/seed48_r.c: Likewise.
8389         * stdlib/srand48_r.c: Likewise.
8391 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8393         * nss/test-netdb.c: Add some more test cases.
8395 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8397         * libio/iovsscanf.c: Undo last change modifying errno.
8399 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8401         * stdio-common/vfscanf.c: Never try to read another character
8402         after EOF.  Don't decrement read_in after EOF, it wasn't
8403         incremented in the first place.
8404         (NEXT_WIDE_CHAR): Set First, not first.
8406 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8408         * db/Makefile ($(inst_libdir)/libndbm.a,
8409         $(inst_libdir)/libndbm.so): New targets.
8410         * db2/Makefile: Likewise.
8412 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8414         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8415         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8417 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8419         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8420         <streambuf.h>.
8421         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8423 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8425         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8426         versioned symbols.
8428 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8430         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8431         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8432         Added for libdl.so.
8434 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8436         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8437         extra syscall.
8439         * grp/Makefile: Fix logic when checking for thread package.
8440         * pwd/Makefile: Likewise.
8442 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8444         * elf/Makefile (rtld-map): Replaced by libc-map.
8446         * elf/rtld.map: Removed.
8448         * libc.map (__libc_enable_secure, _dl_catch_error,
8449         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8450         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8451         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8452         _dl_object_relocation_scope, _dl_relocate_object,
8453         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8454         _r_debug): Added for ld.so.
8456 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8458         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8459         DO_VERSIONING.
8460         * libio/iofdopen.c: Ditto.
8461         * libio/iofopen.c: Ditto.
8462         * libio/oldfileops.c: Ditto.
8464         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8465         version GLIBC_2.1.
8467         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8468         oldsiglist from sysdep_routines and shared-only-routines.
8470         * sysdeps/unix/sysv/linux/errlist.c: New.
8471         * sysdeps/unix/sysv/linux/errlist.h: New.
8472         * sysdeps/unix/sysv/linux/sizes.h: New.
8473         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8474         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8476         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8478         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8479         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8480         directive.
8482         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8484         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8485         (oldsiglist.c): Removed.
8487         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8488         (_sys_siglist): Use SYS_SIGLIST instead.
8489         (_sys_nerr): Use SYS_NERR instead.
8491         * sysdeps/gnu/errlist.c: Rebuilt.
8493 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8495         * elf/Makefile (others-static): New, set to ldconfig.
8496         ($(objpfx)ldconfig): Removed.
8498         * Rules (binaries-all, binaries-static, binaries-shared): New.
8499         Create targets for $(binaries-static) and $(binaries-shared).
8501         * Makeconfig (+link-static, link-libc-static,
8502         link-extra-libs-static): New for static linking.
8504 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8506         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8508         * math/libm-test.c (modf_test): Add one more test for modf.
8510 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8512         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8513         Rename from __libc_have_rt_sigs and leave as COMMON data.
8515 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8517         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8518         of __finite.
8520 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8522         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8524 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8526         * misc/tst-efgcvt.c: Add yet more tests.
8527         * misc/efgcvt_r.c: And correct for these tests again.
8528         Reported by HJ Lu.
8530         * isomac.c: Move to...
8531         * stdlib/isomac.c: ...here.
8532         * Makefile: Move rules for handling isomac...
8533         * stdlib/Makefile: ...to here.
8535 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8537         * misc/tst-efgcvt.c: Add more tests.
8538         * misc/efgcvt_r.c: Correct result for above new tests.
8540 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8542         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8543         NDIGIT <= 0.
8545 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8547         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8548         if the programs weren't built.
8550 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8552         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8553         FE_TONEAREST, soldier on regardless and do the best we can.
8554         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8556 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8558         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8559         _STDIO_H, before including <bits/stdio_lim.h>.
8561         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8563         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8564         exist.
8566         * sysdeps/arm/sys/ucontext.h: New file.
8568 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8570         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8571         that the return value from snprintf() does not count the
8572         terminating NUL as a character.
8574 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8576         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8577         add description for sete[ug]id and general cleanup.
8578         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8580 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8582         * Makefile (parent-clean): Don't remove makefile fragments here.
8583         (postclean): New variable.
8584         (clean): Remove makefile fragments here.
8585         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8586         (generated): Add isomac and isomanc.out.
8587         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8588         avoid-generated is set.
8589         (postclean-generated): Add soversion.mk.
8590         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8591         set.
8592         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8593         avoid-generated is set.
8594         (common-generated): Add libc.so and libc.so$(libc.so-version).
8595         (generated): Add versioned libraries.
8596         (common-mostlyclean): Also remove %.so and %_pic.a.
8597         * csu/Makefile (generated): Add abi-tag.h.
8598         * db2/Makefile (extra-objs): Add getlong.o.
8599         * elf/Makefile (generated): Add ld.so, ldd and
8600         $(rtld-installed-name).
8601         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8602         * malloc/Makefile (generated): Add mtrace.
8603         * po/Makefile: Don't include version.mk, not needed any more.
8604         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8605         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8606         syscall.h -> sys/syscall.h.
8607         (common-generated): Add s-proto.d.
8608         (postclean-generated): Add sysd-syscalls.
8609         * localedata/Makefile (test-output): Add all output files.
8610         (generated): Add test-input and test-output.
8611         (generated-dirs): Add all the dirs.
8613 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8615         * Makefile (test-output, generated, generated-dirs): New
8616         variables.
8618 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8620         * resolv/nss_dns/dns-host.c: Various code cleanups.
8622 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8624         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8625         From Philip Blundell <pb@nexus.co.uk>.
8626         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8628 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8630         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8631         Suggested by debian/sparc porters.
8633 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8635         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8636         for ecvt and fcvt.
8638 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8640         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8641         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8643         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8644         defined even if __USE_POSIX is not defined.
8646 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8648         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8649         to support obsolete tty major numbers correctly.
8651 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8653         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8654         directory first and ignore install error.
8656         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8657         128 from ptyno and fix a typo for the BSD style pty.
8659 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8661         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8662         syscalls.list's.
8664 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8666         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8667         getresuid and getresgid.
8669         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8670         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8672         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8673         s_getres[ug]id.
8675         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8676         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8677         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8678         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8680 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8682         * nscd/grpcache.c: Include <stdlib.h>.
8684 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8686         * stdlib/atoll.c: Fix comments.
8688         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8689         * sysdeps/posix/ttyname_r.c: Ditto.
8691 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8693         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8694         __USE_MISC, independent of __USE_UNIX98.
8696 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8698         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8699         Rename from __libc_have_rt_sigs and leave as COMMON data.
8701 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8703         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8704         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8706         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8707         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8708         version symbols.
8709         * include/libc-symbols.h (symbol_version, default_symbol_version):
8710         Provide asm versions and correct !DO_VERSIONING versions.
8711         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8712         the weak symbol list.
8714         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8715         Rename from __libc_have_rt_sigs and leave as COMMON data.
8716         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8717         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8718         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8720 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8722         * sunrpc/Makefile: Correct dependencies of rpcgen.
8724 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8726         * nscd/Makefile: Fix test for available linuxthreads add-on.
8727         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8729 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8731         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8733 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8735         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8737         * manual/errno.texi (Error Messages): Correct description of
8738         strerror_r.  Pointed out by jonas@bagge.se.
8740 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8742         * manual/socket.texi (Host Address Functions): Clarify description
8743         of inet_network.
8745 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8747         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8748         (grantpt): Delete superfluous cast.
8750 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8752         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8753         elf/ldso_install instead of elf/subdir_install.
8754         (elf/ldso_install): New target.
8756         * elf/Makefile (ldso_install): New target.
8758 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8760         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8761         of 1998-01-06.
8763 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8765         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8766         constant expressions.
8768 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8770         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8771         for __nss_configure_lookup.
8772         (output_hostent): Remove unused variable.
8774 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8776         * string/tst-inlcall.c: Fix format string.
8778 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8780         * inet/netinet/in.h: Rename second parameter of bindresvport to
8781         avoid buggy gcc warning. [PR libc/412]
8783 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8785         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8786         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8788         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8789         Follow POSIX and make tv_sec a time_t.
8790         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8791         new tv64 syscall as well as fall back to tv32.
8792         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8793         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8794         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8795         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8796         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8797         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8798         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8799         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8801         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8802         * include/rpcsvc/nis_tags.h: Likewise.
8803         * include/rpcsvc/nislib.h: Likewise.
8805 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8807         * libc.map: Add _h_errno.
8808         * inet/herrno.c: Make _h_errno weak alias.
8810         * login/Makefile (distribute): Add pty-internal.h.
8812         * nscd/Makefile (distribute): Add all the files missing.
8814         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8815         are available.
8817         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8818         and report status at the end.
8820         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8822         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8823         variable.
8824         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8828 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8830         * configure.in: Fix --enable-add-ons code.
8832 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8834         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8835         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8836         [PR libc/441]
8838         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8839         occurence in cache.  Reported by Rudolf Leitgeb
8840         <leitgeb@leland.stanford.edu>.
8841         [PR libc/440]
8843 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8845         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8846         that it never is EINTR (which is tested for in _IO_vfscanf).
8848         * Makefile.in: Call sub-make with CVSOPTS.
8850         * elf/Makefile (distribute): Add dl-procinfo.h.
8852         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8854 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8856         * version.h (VERSION): Bump to 2.0.92.
8858 1998-01-31  Phil Blundell  <philb@gnu.org>
8860         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8861         alias for __new_sys_siglist.
8863 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8865         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8866         getgrgid_r.c if thread package is available.
8867         * pwd/Makefile: Likewise.
8868         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8869         * grp/getgrgid_r.c: Likewise.
8870         * pwd/getpwnam_r.c: Likewise.
8871         * pwd/getpwuid_r.c: Likewise.
8873 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8875         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8876         with error to allow user intervention.
8877         * nss/getXXent_r.c: Likewise.
8879 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8881         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8882         AT_PLATFORM string.  Pretty print AT_BASE info.
8884         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8885         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8886         * sysdeps/generic/dl-procinfo.h: New file.
8887         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8889 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8891         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8893         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8894         thread and not pthread_detach.
8896         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8898 1998-01-31  Phil Blundell  <philb@gnu.org>
8900         * configure.in: Add --without-cvs option to suppress automatic
8901         checkin of regenerated files.
8902         * config.make.in: Likewise.
8903         * Makefile: Respect with-cvs setting.
8904         * Makerules: Likewise.
8906         * configure.in: Allow the standalone ARM port to be configured.
8908 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8910         * grp/getgrgid_r.c: Define USE_NSCD.
8911         * grp/getgrnam_r.c: Likewise.
8912         * pwd/getpwuid_r.c: Likewise.
8913         * pwd/getpwnam_r.c: Likewise.
8915         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8917         * nss/getXXbyYY_r.c: Try at first nscd.
8919         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8920         * nscd/connections.c: New file.
8921         * nscd/dbg_log.c: New file.
8922         * nscd/dbg_log.h: New file.
8923         * nscd/grpcache.c: New file.
8924         * nscd/nscd.c: New file.
8925         * nscd/nscd.h: New file.
8926         * nscd/nscd_conf.c: New file.
8927         * nscd/nscd_stat.c: New file.
8928         * nscd/pwdcache.c: New file.
8930         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8931         * nscd/nscd_getpw_r.c: Likewise.
8932         * nscd/nscd_proto.h: New, prototypes for client functions.
8934         * nscd/nscd.conf: New, example for a configuration file.
8935         * nscd/nscd.init: New, example for a startup script.
8937         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8938         avoid deadlocks.
8939         * nscd/getgrnam_r.c: Likewise.
8940         * nscd/getpwnam_r.c: Likewise.
8941         * nscd/getpwuid_r.c: Likewise.
8943 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8945         * intl/Makefile: Use CVSOPTS in cvs invocation.
8946         * po/Makefile: Likewise.
8947         * posix/Makefile: Likewise.
8948         * stdlib/Makefile: Likewise.
8950 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8952         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8953         [PR libc/410]
8954         * misc/Makefile (tests): Add tst-efgcvt.
8955         * misc/tst-efgcvt.c: New file.
8957 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8959         * posix/regex.c: Add some more cleanups by Akim Demaille.
8961 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8963         * signal/signal.h: Revert last change.
8964         * string/strsignal.c: Regard signal number NSGI as illegal.
8965         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8966         members.
8968 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8970         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8971         * Makerules: Use CVSOPTS in cvs invocation.
8972         * Makefile: Likewise.
8973         * MakeTAGS: Likewise.
8974         * Make-dist: Likewise.
8976 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8978         * sysdeps/generic/memmem.c: Correct last change.
8980 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8982         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8983         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8985 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8987         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8988         before using RPC.
8990 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8992         * manual/memory.texi (Heap Consistency Checking): mcheck is
8993         declared in <mcheck.h>.
8994         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8996 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8998         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8999         beginning of haystack.
9001 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9003         * nss/nss_files/files-service.c: Correct last patch.
9005 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
9007         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
9008         __libc_have_rt_sigs.
9009         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
9010         including <bits/setjmp.h>.
9011         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
9012         Patch from the Debian glibc/SPARC package.
9014 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
9016         * sysdeps/alpha/bzero.S: Fix a typo.
9017         * sysdeps/alpha/htonl.S: Ditto.
9018         * sysdeps/alpha/htons.S: Ditto.
9020 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9022         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
9024 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
9026         * include/cpio.h: Move to ...
9027         * posix/cpio.h: ...here.
9029         * locale/programs/ld-collate.c: Fix typo.
9031         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
9033         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
9035         * login/utmp_file.c (pututline_file): Don't always report success
9036         if similar entry is found.  Patch by Mark M. Kettenis.
9038 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
9040         * manual/Makefile: Don't try to install the info files if makeinfo
9041         is not available.
9043 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
9045         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
9046         kernel's network ioctls, rather than using <linux/sockios.h> to
9047         get them.  This way we are sure of maintaining compatibility if
9048         the kernel interface should change.
9050 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
9052         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
9054 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
9056         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
9057         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
9059 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
9061         Implement System V pseudoterminal handling.
9063         * login/Makefile
9064         (routines): Add getpt, grantpt, unlockpt, ptsname.
9065         (libutil-routines): Remove pty. Add openpty, forkpty.
9066         (distribute): New internal header pty-internal.h.
9067         (others): Add the helper program, pt_chown.
9068         (install-others): Install it, in $(libexecdir), mode 4755.
9070         * login/pty-internal.h: New file.
9071         * login/openpty.c: New file.
9072         * login/forkpty.c: New file.
9073         * login/programs/pt_chown.c: New file.
9075         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9076         * stdlib/stdlib.h: Prototype them.
9078         * config.make.in: Define $(libexecdir).
9079         * Makeconfig: Define $(inst_libexecdir).
9081         * sysdeps/generic/pty.c: Removed.
9082         * sysdeps/unix/sysv/linux/pty.c: Removed.
9084         * sysdeps/generic/getpt.c: Stub out.
9085         * sysdeps/generic/grantpt.c: Likewise.
9086         * sysdeps/generic/ptsname.c: Likewise.
9087         * sysdeps/generic/unlockpt.c: Likewise.
9089         * sysdeps/unix/grantpt.c: New file.
9090         * sysdeps/unix/bsd/getpt.c: New file.
9091         * sysdeps/unix/bsd/unlockpt.c: New file.
9092         * sysdeps/unix/sysv/linux/getpt.c: New file.
9093         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9094         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9096 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9098         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9100 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9102         * nss/Makefile (tests): Add rule for test-netdb.c.
9104         * nss/test-netdb.c: New file.
9106 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9108         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9109         really kept as a variable.  Patch by Richard Henderson,
9110         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9112         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9113         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9114         entries as not existing.
9116 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9118         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9119         zero in alternate form with precision of zero, which must produce
9120         "0".  Add braces to avoid ambiguous `else'.
9122 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9124         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9125         problem with strncpy.
9126         * nis/nss_compat/compat-pwd.c: Likewise.
9127         * nis/nss_compat/comapt-spwd.c: Likewise.
9129 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9131         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9132         by uch@nop.or.jp. [PR libc/437]
9134 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9136         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9138 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9140         * stdio-common/test-popen.c: Include <errno.h>.
9142         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9143         close.
9145         * inet/getnetgrent_r.c: Include <errno.h>.
9147         * db2/db/db_conv.c: Include <string.h> for memcpy.
9149         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9150         so that memcpy is declared.
9152         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9154         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9156 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9158         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9159         overflow while reading line with fgets.
9160         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9162 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9164         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9165         unsigned short, not short.
9166         Reported by Andreas Jaeger.
9168 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9170         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9171         (ccept->accept).
9173         * sysdeps/generic/inttypes.h: Fix spelling.
9175 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9177         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9179         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9181 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9183         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9184         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9185         field for hh modifier.
9186         * stdio-common/vfprint.c: Use is_char field and do not depend in
9187         is_short having the value 2.
9188         Bug reported by Andreas Jaeger.
9190 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9192         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9193         PIC && DO_VERSIONING.
9195 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9197         * Rules: Add rules for $(common-objpfx)dummy$o.
9199 1998-01-26  Richard Henderson  <rth@cygnus.com>
9201         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9202         unimplemented OSF/1 definitions so that they are not accidentally seen.
9204         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9205         of the trampoline function into the macro.
9206         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9207         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9208         kernel 2.1.82 has this fixed.
9210         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9211         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9213 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9215         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9216         support sigaction on kernels > 2.1.7x.
9218 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9220         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9221         if it is empty.
9223         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9224         Patch by David Engel <david@sw.ods.com>.
9226         * configure.in: Fix another typo in --enable-add-ons code.
9228 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9230         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9232 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9234         * nss/nss_files/files-network.c: Correct order of parameters for
9235         getnetbyaddr.
9237 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9239         * db2/Makefile (routines): Add os_alloc.
9240         * db2/db.h: Update from db-2.3.16.
9241         * db2/db_185.h: Likewise.
9242         * db2/db_int.h: Likewise.
9243         * db2/btree/bt_close.c: Likewise.
9244         * db2/btree/bt_cursor.c: Likewise.
9245         * db2/btree/bt_delete.c: Likewise.
9246         * db2/btree/bt_open.c: Likewise.
9247         * db2/btree/bt_page.c: Likewise.
9248         * db2/btree/bt_put.c: Likewise.
9249         * db2/btree/bt_rec.c: Likewise.
9250         * db2/btree/bt_recno.c: Likewise.
9251         * db2/btree/btree_auto.c: Likewise.
9252         * db2/common/db_appinit.c: Likewise.
9253         * db2/common/db_apprec.c: Likewise.
9254         * db2/common/db_err.c: Likewise.
9255         * db2/common/db_region.c: Likewise.
9256         * db2/common/db_shash.c: Likewise.
9257         * db2/db/db.c: Likewise.
9258         * db2/db/db_auto.c: Likewise.
9259         * db2/db/db_conv.c: Likewise.
9260         * db2/db/db_dispatch.c: Likewise.
9261         * db2/db/db_dup.c: Likewise.
9262         * db2/db/db_pr.c: Likewise.
9263         * db2/db/db_rec.c: Likewise.
9264         * db2/db185/db185.c: Likewise.
9265         * db2/dbm/dbm.c: Likewise.
9266         * db2/hash/hash.c: Likewise.
9267         * db2/hash/hash_auto.c: Likewise.
9268         * db2/hash/hash_dup.c: Likewise.
9269         * db2/hash/hash_page.c: Likewise.
9270         * db2/hash/hash_rec.c: Likewise.
9271         * db2/include/btree_ext.h: Likewise.
9272         * db2/include/clib_ext.h: Likewise.
9273         * db2/include/common_ext.h: Likewise.
9274         * db2/include/db.h.src: Likewise.
9275         * db2/include/db_185.h.src: Likewise.
9276         * db2/include/db_am.h: Likewise.
9277         * db2/include/db_ext.h: Likewise.
9278         * db2/include/db_int.h.src: Likewise.
9279         * db2/include/hash_ext.h: Likewise.
9280         * db2/include/lock_ext.h: Likewise.
9281         * db2/include/log.h: Likewise.
9282         * db2/include/log_auto.h: Likewise.
9283         * db2/include/log_ext.h: Likewise.
9284         * db2/include/mp.h: Likewise.
9285         * db2/include/mp_ext.h: Likewise.
9286         * db2/include/mutex_ext.h: Likewise.
9287         * db2/include/os_ext.h: Likewise.
9288         * db2/include/os_func.h: Likewise.
9289         * db2/include/txn_ext.h: Likewise.
9290         * db2/lock/lock.c: Likewise.
9291         * db2/lock/lock_util.c: Likewise.
9292         * db2/log/log.c: Likewise.
9293         * db2/log/log.src: Likewise.
9294         * db2/log/log_archive.c: Likewise.
9295         * db2/log/log_auto.c: Likewise.
9296         * db2/log/log_get.c: Likewise.
9297         * db2/log/log_put.c: Likewise.
9298         * db2/log/log_rec.c: Likewise.
9299         * db2/log/log_register.c: Likewise.
9300         * db2/mp/mp_bh.c: Likewise.
9301         * db2/mp/mp_fget.c: Likewise.
9302         * db2/mp/mp_fopen.c: Likewise.
9303         * db2/mp/mp_fput.c: Likewise.
9304         * db2/mp/mp_pr.c: Likewise.
9305         * db2/mp/mp_sync.c: Likewise.
9306         * db2/mutex/mutex.c: Likewise.
9307         * db2/os/os_alloc.c: Likewise.
9308         * db2/os/os_config.c: Likewise.
9309         * db2/os/os_stat.c: Likewise.
9310         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9311         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9312         * db2/progs/db_load/db_load.c: Likewise.
9313         * db2/progs/db_printlog/db_printlog.c: Likewise.
9314         * db2/progs/db_recover/db_recover.c: Likewise.
9315         * db2/progs/db_stat/db_stat.c: Likewise.
9316         * db2/txn/txn.c: Likewise.
9318         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9319         Unmap memory blocks in reverse order of allocation.
9320         Call munmap with load address added to offset.
9321         Bug reported by Miguel de Icaza.
9323         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9324         up weight array.
9326         * localedata/locales/cs_CZ: Update by Michael Mraka
9327         <michael@informatics.muni.cz>.
9329         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9330         __USE_BSD.
9332         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9333         reading line with fgets.
9334         * nis/nss_compat/compat-pwd.c: Likewise.
9335         * nis/nss_compat/compat-spwd.c: Likewise.
9336         * nss/nss_files/files-XXX.c: Likewise.
9337         * nss/nss_files/files-alias.c: Likewise.
9338         * shadow/fgetspent_r.c: Likewise.
9340         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9342         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9343         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9344         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9346         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9347         FP register content in ucontext_t.
9349 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9351         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9352         calculation.  Patch by Markus Schoder
9353         <Markus.Schoder@dresdner-bank.de>.
9355         * math/libm-test.c (modf_test): Add more tests for modf.
9357         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9358         munlock according to Unix98.
9360 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9362         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9363         AF_INET.
9365 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9367         * sysdeps/posix/ttyname.c: Handle symbolic links.
9368         * sysdeps/posix/ttyname_r.c: Ditto.
9370 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9372         * db2/makedb.c (process_input): Write terminating \0 for value.
9373         (print_database): Simply print value string, don't use length.
9375 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9377         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9378         exit of loop.
9380 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9382         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9383         close all sockets.
9385 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9387         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9388         sigset.
9389         * signal/sighold.c: New file.
9390         * signal/sigrelse.c: New file.
9391         * sysdeps/generic/sigignore.c: New file.
9392         * sysdeps/generic/sigset.c: New file.
9393         * sysdeps/posix/sigignore.c: New file.
9394         * sysdeps/posix/sigset.c: New file.
9395         * signal/signal.h: Add prototypes for new functions.
9397         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9398         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9399         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9400         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9402 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9404         * posix/wordexp.c: Added IFS field-splitting in parameter and
9405         command substitution.  Fixed an IFS-related bug that caused an
9406         infinite loop.
9408 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9410         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9411         and swapcontext.
9412         * stdlib/ucontext.h: Correct prototypes.
9413         * sysdeps/generic/getcontext.c: New file.
9414         * sysdeps/generic/setcontext.c: New file.
9415         * sysdeps/generic/makecontext.c: New file.
9416         * sysdeps/generic/swapcontext.c: New file.
9417         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9419 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9421         * resource/sys/resource.h: Remove #include of ulimit.h which is
9422         not allowed by SUSv2 and not available on other systems.
9423         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9425         * streams/Makefile: New file.
9426         * streams/stropts.h: New file.
9427         * sysdeps/generic/bits/stropts.h: New file.
9428         * sysdeps/generic/isastream.c: New file.
9429         * sysdeps/generic/getmsg.c: New file.
9430         * sysdeps/generic/getpmsg.c: New file.
9431         * sysdeps/generic/putmsg.c: New file.
9432         * sysdeps/generic/putpmsg.c: New file.
9433         * sysdeps/generic/fattach.c: New file.
9434         * sysdeps/generic/fdetach.c: New file.
9435         * sysdeps/unix/inet/Subdirs: Add streams.
9436         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9437         __t_uscalar_t.
9438         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9439         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9440         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9441         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9443         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9444         handle small buffers correctly.
9446 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9448         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9449         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9450         and _dl_runtime_profile.
9452 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9454         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9455         * posix/Makefile (headers): Add cpio.h.
9457 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9459         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9460         to routines.
9461         * nis/nis_cache.c: New file.
9462         * nis/nis_cache2.h: New file.
9463         * nis/nis_cache2_xdr.c: New file.
9464         * nis/nis_call.c: Changes for cache2_info parameter.
9465         * nis/nis_checkpoint.c: Likewise.
9466         * nis/nis_intern.h: Likewise.
9467         * nis/nis_mkdir.c: Likewise.
9468         * nis/nis_ping.c: Likewise.
9469         * nis/nis_rmdir.c: Likewise.
9470         * nis/nis_server.c: Likewise.
9471         * nis/nis_util.c: Likewise.
9473 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9475         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9476         return/errnop codes.
9477         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9478         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9479         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9480         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9481         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9482         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9483         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9484         * nis/nss_nisplus/nisplus-service.c: Likewise.
9485         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9487 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9489         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9490         * nis/nss_nis/nis-ethers.c: Likewise.
9491         * nis/nss_nis/nis-grp.c: Likewise.
9492         * nis/nss_nis/nis-hosts.c: Likewise.
9493         * nis/nss_nis/nis-network.c: Likewise.
9494         * nis/nss_nis/nis-proto.c: Likewise.
9495         * nis/nss_nis/nis-hosts.c: Likewise.
9496         * nis/nss_nis/nis-network.c: Likewise.
9497         * nis/nss_nis/nis-proto.c: Likewise.
9498         * nis/nss_nis/nis-publickey.c: Likewise.
9499         * nis/nss_nis/nis-pwd.c: Likewise.
9500         * nis/nss_nis/nis-rpc.c: Likewise.
9501         * nis/nss_nis/nis-service.c: Likewise.
9502         * nis/nss_nis/nis-spwd.c: Likewise.
9504 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9506         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9507         Added to follow latest kernel development.
9509 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9511         * nss/db-Makefile: Handle empty and comment lines better.
9512         ($(VAR_DB)/services.db): Generate entries with missing protocol
9513         value.
9515 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9517         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9518           NULL.
9519           (getservbyname): Allow proto == NULL.
9520           Pointed out by David N. Welton <davidw@gate.cks.com>.
9521           [PR libc/430].
9523 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9525         * nis/nislib/nislib.h: Finally removed.
9527         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9528         C compiler.  From Kaveh Ghazi.
9529         (TYPE_MINIMUM): Define.
9530         (TYPE_MAXIMUM): Define.
9531         (TIME_T_MIN): Use TYPE_MINIMUM.
9532         (TIME_T_MAX): Use TYPE_MAXIMUM.
9533         Patch by Jim Meyering <meyering@ascend.com>.
9535 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9537         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9538         __pread64, __pwrite64, and __getpid.
9540         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9541         versions.
9543 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9545         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9546         cancelable socket functions as __libc_xxx with __xxx as weak
9547         alias.
9548         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9549         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9551         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9552         redefined.
9553         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9554         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9555         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9556         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9558         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9559         and __xxx a weak alias.
9560         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9561         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9562         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9563         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9564         * sysdeps/unix/sysv/linux/send.S: Likewise.
9565         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9566         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9568 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9570         * locale/langinfo.h: Add defines.
9572         * dirent/dirent.h: Add defines for DT_*, check also for
9573         _DIRENT_HAVE_D_TYPE.
9574         Suggested by Roland McGrath.
9576 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9578         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9579         Update from Linux 2.1.73+79.
9581         * README.template: Update information about possible
9582         configurations.
9584         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9585         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9586         [PR libc/417].
9588         * manual/time.texi (Priority): Correct description of
9589         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9590         [PR libc/416].
9592 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9594         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9595         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9597 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9599         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9600         Andreas Jaeger.
9602 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9604         * locale/programs/ld-collate.c: Little optimizations.
9606         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9608         * string/Makefile (tests): Add tst-inlcall.
9609         * string/tst-inlcall.c: New file.
9611         * string/strsignal.c: Add support for real-time signals.
9613         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9614         presense of small buffer.
9616         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9618         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9619         for i686.
9621         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9622         _NSIG + 1.
9624 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9626         * Rules: Add explicit rule for dummy.o; at least one library needs
9627           it and it isn't autogenerated by the default rules.
9629 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9631         * math/libm-test.c: Tweak epsilons.
9633 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9635         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9636         child.
9637         (feenv_mask_test): Likewise.
9639 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9641         * Makeconfig: Don't export CPPFLAGS.
9643 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9645         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9646         message.
9648 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9650         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9651         terminating null in key size.
9653 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9655         * nss/nss_files/files-service.c: Fix allocation size to include
9656         length of PROTO.
9658         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9659         applicable.  Fix return value and error checking.
9660         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9661         unparsable lines.
9662         (DB_LOOKUP): Allocate space for terminating null byte.
9664         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9665         uids specially.
9667         * db2/makedb.c (process_input): Continue processing if a duplicate
9668         key is encountered.
9670 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9672         * time/tzfile.h: Updated from tzcode1998b.
9673         * time/zdump.c: Likewise.
9674         * time/zic.c: Likewise.
9675         * time/africa: Update from tzdata1998b.
9676         * time/antarctica: Likewise.
9677         * time/asia: Likewise.
9678         * time/australasia: Likewise.
9679         * time/etcetera: Likewise.
9680         * time/europe: Likewise.
9681         * time/leapseconds: Likewise.
9682         * time/northamerica: Likewise.
9683         * time/southamerica: Likewise.
9685 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9687         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9688         lookups ignoring case.
9689         * nss/nss_files/files-network.c: Do network lookups ignoring
9690         case.
9691         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9692         case.
9693         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9694         case insensitive comparing.
9695         Patches by Cristian Gafton <gafton@redhat.com>.
9697 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9699         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9700         by Roland McGrath. [PR libc/395]
9702 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9704         * manual/arith.texi (Parsing of Integers): Correct description of
9705         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9706         [PR libc/396]
9708 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9710         * misc/lsearch.c (lsearch): Return a pointer to the new element
9711         if one was "allocated".
9713 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9715         * string/strsignal.c: NSIG is not a valid index into
9716         _sys_siglist.  Don't zap the last character of the "Unknown
9717         signal" message.
9719 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9721         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9722         ellipsis expressions.
9724         * locale/programs/charset.c (insert_char): Correctly insert value
9725         of eliipsis expression.
9727 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9729         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9730         <bits/setjmp.h>.
9731         * sysdeps/powerpc/setjmp.S: Likewise.
9732         Patches by Matt McLean <keys@keys.got.net>.
9734         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9736         * Makefile: Undo last patch.
9737         (distribute): Add test-installation.pl.
9739         * configure.in: Correct handling of --enable-add-ons without parameter.
9740         Correct address of WWW pages.
9742         * libc.map: Add _nl_domain_bindings.
9744         * db2/mutex/tsl_parisc.s: New file.
9746         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9747         and extra-module.mk.
9749         * localedata/Makefile (distribute): New.  Add all the files.
9751         * stdlib/Makefile (headers): Add inttypes.h.
9752         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9753         * sysdeps/generic/inttypes.h: New file.
9754         * sysdeps/generic/strtoimax.c: New file.
9755         * sysdeps/generic/strtoumax.c: New file.
9756         * sysdeps/generic/wcstoimax.c: New file.
9757         * sysdeps/generic/wcstoumax.c: New file.
9758         * sysdeps/wordsize-32/Dist: Removed.
9759         * sysdeps/wordsize-32/Makefile: Removed.
9760         * sysdeps/wordsize-64/Dist: Removed.
9761         * sysdeps/wordsize-64/Makefile: Removed.
9762         * sysdeps/generic/bits/environments.h: New file.
9764         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9765         header is still not correct.
9767         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9768         * posix/unistd.h: Likewise.
9769         * sysdeps/generic/sys/mman.h: Likewise.
9770         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9772         * manual/arith.texi: Change definition of mul macro.
9773         * manual/math.texi: Likewise.
9775         * misc/Makefile (routines): Add mmap64.
9776         * sysdeps/generic/mmap64.c: New file.
9777         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9778         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9779         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9780         aliases to mmap.
9781         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9783         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9785         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9787         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9789         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9790         FOPEN_MAX also when included by limits.h.
9791         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9793         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9794         and netrom/netrom.h.
9795         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9796         oldsiglist to sysdep_routines, not aux.
9797         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9799         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9800         and SOL_NETROM definition.
9802         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9804         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9805         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9807 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9809         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9811         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9812         sa_handler with k_sa_handler.
9813         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9814         strong alias.
9815         Reported by a sun.
9817         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9818         __libc_have_rt_sigs here.
9819         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9820         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9821         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9822         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9824 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9826         * sysdeps/powerpc/atomicity.h: New file.
9827         * sysdeps/mach/powerpc/machine-lock.h: New file.
9829         * Rules: Use -fpic to build anything that might end up in a users'
9830         shared library.
9832         * sysdeps/powerpc/s_fdim.c: New file.
9833         * sysdeps/powerpc/s_fdimf.c: New file.
9834         * sysdeps/powerpc/s_fmax.S: New file.
9835         * sysdeps/powerpc/s_fmaxf.S: New file.
9836         * sysdeps/powerpc/s_fmin.S: New file.
9837         * sysdeps/powerpc/s_fminf.S: New file.
9838         * sysdeps/powerpc/s_llrint.c: Now is for double.
9839         * sysdeps/powerpc/s_llrintf.c: New file.
9840         * sysdeps/powerpc/s_llround.c: Now is for double.
9841         * sysdeps/powerpc/s_llroundf.c: New file.
9842         * sysdeps/powerpc/s_lrint.c: Now is for double.
9843         * sysdeps/powerpc/s_lrintf.S: New file.
9844         * sysdeps/powerpc/s_lround.c: Now is for double.
9845         * sysdeps/powerpc/s_lroundf.c: New file.
9846         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9847         lrintf, fdim, fdimf.
9849         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9850         file directly, use its parent.
9852         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9853         (for the third time).
9855 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9857         * posix/sched.h: timespec is in <time.h>.
9859         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9861 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9863         * configure.in: Stop with error if --disable-static is used when
9864         the shared lib uses this library.
9866         * gen-FAQ.pl: I've perl installed in /usr/bin.
9868         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9870         Fix Unix98 conformance problems in the headers.
9871         * catgets/nl_types.h: Define nl_item.
9872         * grp/grp.h: Define gid_t.
9873         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9874         * include/nl_types.h: New file.
9875         * include/ulimit.h: New file.
9876         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9877         constants in POSIX mode.
9878         * io/utime.h: Get definition for time_t.
9879         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9880         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9881         * libio/stdio.h: Define va_list.  Make snprintf also available is
9882         __USE_UNIX98.  Declare getopt function and variables.
9883         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9884         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9885         * math/math.h: Defined M_* constants as double for Unix98 mode.
9886         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9887         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9888         * posix/regex.h: Define REG_NOSYS.
9889         * posix/wordexp.h: Define WRDE_NOSYS.
9890         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9891         500 for Unix98.
9892         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9893         somewhere else as well.  Define clock_t for Unix98.
9894         * posix/sys/wait.h: Define pid_t.
9895         * pwd/pwd.h: Define gid_t, uid_t.
9896         * resource/Makefile (headers): Add ulimit.h.
9897         * resource/ulimit.h: New file.
9898         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9899         instead of second argument.
9900         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9901         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9902         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9903         * signal/signal.h: Define pid_t.
9904         * string/string.h: Don't declare BSD string functions in POSIX mode.
9905         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9906         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9907         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9908         and POSIX.
9910         * inet/test_ifindex.c: Change test so that it does not fail for
9911         interface aliases.
9913         * locale/programs/locale.c (show_info): Use correct cast sequence
9914         for 64bit machines.
9916         * malloc/malloc.c: __malloc_initialized now signals three states:
9917         uninitialized, initializing, initialized.  Used in mcheck.
9918         * malloc/mcheck.c (mabort): Add '\n' to messages.
9919         (mcheck): Allow installation when malloc is uninitialized or is
9920         just initializing.
9922         * manual/memory.texi: Explain mtrace output a bit more.
9924         * math/libm-test.c: Add more epsilons.
9926         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9928         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9929         instead of strcpy for security.
9930         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9931         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9932         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9934         * nss/digits_dots.c: Pretty print.
9936         * posix/getconf.c (vars): Add symbols for programming environment
9937         recognition.  Recognize --version.
9939         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9940         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9941         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9943         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9944         __need_FOPEN_MAX.
9945         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9946         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9947         __need_FOPEN_MAX.
9949         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9950         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9952         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9953         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9954         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9955         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9956         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9957         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9959         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9960         SCNu*.
9961         * sysdeps/wordsize-64/inttypes.h: Likewise.
9963         * time/africa: Update from tzdata1997j.
9964         * time/antarctica: Likewise.
9965         * time/asia: Likewise.
9966         * time/australasia: Likewise.
9967         * time/backward: Likewise.
9968         * time/etcetera: Likewise.
9969         * time/europe: Likewise.
9970         * time/factory: Likewise.
9971         * time/northamerica: Likewise.
9972         * time/pacificnew: Likewise.
9973         * time/southamerica: Likewise.
9975         * time/tzfile.h: Update from tzcode1997h.
9976         * time/zic.c: Likewise.
9978         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9979         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9980         isw*() functions for Unix98.
9981         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9982         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9983         is defined.
9985 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9987         * locale/duplocale.c: Increase usage_count only if less than
9988         MAX_USAGE_COUNT.
9989         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9990         MAX_USAGE_COUNT.
9991         * locale/setlocale.c: Likewise.
9993 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9995         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9996         dependency to make it easier to install it selectively.
9998         * Makerules (.SUFFIXES): Don't define any suffixes.
10000 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10002         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
10003         * sysdeps/generic/statfs64.c: Emulate using statfs.
10004         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
10005         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
10006         * sysdpes/generic/ftruncate64.c: New file.
10007         * sysdpes/generic/truncate64.c: New file.
10009         * sysdeps/generic/bits/stat.h: Add LFS support.
10010         * sysdeps/generic/bits/statfs.h: Likewise.
10012         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
10013         [__USE_FILE_OFFSET64]: Make long long constant.
10014         (RLIM64_INFINITY): Likewise.
10016         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
10017         for LFS support.
10018         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
10019         * sysdeps/generic/bits/resource.h: Likewise.
10021         * misc/Makefile (routines): Add truncate64 and ftruncate64.
10023         * include/features.h: Don't prevent LFS support from defining BSD
10024         and SYSV things.
10026         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
10027         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
10028         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
10030         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
10031         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
10032         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10034         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
10035         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
10036         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
10037         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
10038         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
10039         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
10040         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
10041         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
10042         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
10043         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
10044         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
10045         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
10046         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
10047         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
10049         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
10050         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
10051         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
10052         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
10053         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
10055         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
10056         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
10057         * sysdeps/unix/sysv/linux/xstat64.c: New file.
10058         * sysdeps/unix/sysv/linux/readdir64.c: New file.
10059         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
10061         * sysdeps/unix/sysv/linux/getdents64.c: New file.
10062         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10063         [$(subdir)=dirent]: Add getdents64.
10064         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
10066         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
10068 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
10070         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10072         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10073         * sysdeps/generic/getrlimit64.c: Likewise.
10074         * sysdeps/generic/setrlimit.c: Likewise.
10075         * sysdeps/generic/setrlimit64.c: Likewise.
10077 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10079         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10080         using versioning.
10082         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10084         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10086 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10088         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10089         after the codeset name.
10091 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10093         * libc.map: Add get_kernel_syms.
10095 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10097         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10098         static.
10099         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10100         Likewise.  Fix condition.
10102 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10104         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10106 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10108         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10109         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10111 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10113         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10114         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10115         instead.  Oops.
10117 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10119         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10121 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10123         * math/libm-test.c (catanh_test): Change epsilon.
10124         Reported by H.J. Lu.
10126 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10128         * libc.map (__getpid): Added for linuxthreads.
10130 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10132         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10133         it if gcc uses static variable in DWARF2 unwind information
10134         for exception support.
10136         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10138         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10139         HAVE_DWARF2_UNWIND_INFO_STATIC.
10141         * libc.map (__register_frame*, __deregister_frame*): Make them
10142         global.
10144 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10146         * math/libm-test.c: Add more tests for "normal" values.
10148 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10150         * stdio-common/printf_fphex.c: Fix printing of long double number
10151         with a biased exponent of zero.  Fix rounding.
10153 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10155         * sunrpc/rpc_main.c: Accept new flag -$.
10156         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10158 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10160         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10161         dynamic linker first, in case the interface has changed.
10163 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10165         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10166         order.
10168 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10170         * math/tgmath.h: Check for double first, for architectures where
10171         sizeof (long double) == sizeof (double).
10173 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10175         * math/libm-test.c: New tests for "normal" values added for most
10176         functions.
10178 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10180         * version.h (VERSION): Bump to 2.0.91.
10182         * db2/makedb.c (process_input): Fix typo in message.
10183         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10185         * elf/dynamic-link.h: Pretty print.
10187         * elf/rtld.c: Allow multiple preloading of a shared object.
10189         * include/limits.h: Prevent multiple inclusion.
10191         * malloc/Makefile (headers): Add mcheck.h.
10192         (distribute): Remove it here.
10193         * malloc/mcheck.h: Pretty print.
10194         * malloc/mtrace.c (mallenv): Make `const'.
10195         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10196         are none.
10197         * manual/memory.texi: Update descriptor of malloc hooks.
10199         * posix/Makefile (routines): Add waitid.
10200         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10201         on __id_t.
10202         * posix/sys/wait.h: Define idtype_t type.
10203         Add prototype for waitid.
10204         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10205         * sysdeps/generic/waitid.c: Stub for waitid.
10206         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10207         the __need_siginfo_t defined.
10208         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10209         * sysdeps/generic/bits/types.h: Define __id_t.
10210         Correct definition of __FDMASK.
10211         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10212         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10213         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10215         * sysdeps/posix/waitid.c: New file.
10216         Provided by Zack Weinberg.
10218         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10220         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10221         Add missing parameters.
10223         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10224         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10225         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10226         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10227         initialized.
10229         * sysdeps/i386/dl-machine.h: Little cleanup.
10231         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10232         (__finite): Mark function as const.
10233         Add inline code for __ieee754_atan2.
10235         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10236         (but don't use it now).
10237         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10238         __atan.
10239         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10240         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10241         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10242         real part.
10243         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10244         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10245         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10246         __ieee754_atan2 to base 10.
10247         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10248         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10250         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10251         old_kernel_sigaction.
10253         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10255         * wctype/Makefile (routines): Add wctype_l.
10256         * wctype/wctype.h: Add declaration of __wctype_l.
10257         * wctype/wctype_l.c: New file.
10259 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10261         * locale/C-ctype.c: Correct data for isw* functions.
10262         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10263         byte order.
10264         * wctype/test_wctype.c: Add test for isw* functions.
10265         * wctype/wctype.c: Return value with expected byte order.
10267 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10269         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10271 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10273         * iconvdata/Makefile: Fix a typo.
10275         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10276         oldsiglist for shared library.
10278         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10279         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10281         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10282         sys_siglist, sys_sigabbrev): New file. Make them as the old
10283         version GLIBC_2.0.
10285         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10286         to GLIBC_2.1.
10288 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10290         * libio/iofgets.c (_IO_fgets): Return an error only if there
10291         is a new error.
10292         * libio/iogets.c (_IO_gets): Ditto.
10294 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10296         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10298         * libio/Makefile (routines, shared-only-routines): Add
10299         oldiofdopen.
10301         * libio/fileops.c: Don't use _IO_FILE_complete.
10302         * libio/iofdopen.c: Ditto.
10303         * libio/iofopen.c: Ditto.
10304         * libio/iofopen64.c: Ditto.
10305         * libio/iopopen.c: Ditto.
10306         * libio/iovdprintf.c: Ditto.
10308         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10310         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10311         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10313         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10314         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10316         * libio/libio.h (_IO_FILE): Add more fields.
10317         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10318         one if _IO_USE_OLD_IO_FILE is defined
10319         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10320         them _IO_FILE_complete.
10322         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10323         to adjust vtable.
10324         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10325         _IO_JUMPS.
10326         (_IO_FILE_complete): Commented out.
10328         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10329         * libio/oldiofclose.c: Ditto.
10330         * libio/oldiofopen.c: Ditto.
10331         * libio/oldstdfiles.c: Ditto.
10333         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10334         for the old _IO_FILE.
10336         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10337         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10338         and stderr.
10340         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10341         and remove INAME.
10343         * libio/stdio.c (stdin, stdout, stdin): Don't use
10344         _IO_FILE_complete.
10346         * libio/oldiofdopen.c: New.
10348         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10349         hp->_vtable_offset to 0.
10351 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10353         * libc.map (_IO_file_open): Added.
10355         * libio/libioP.h (_IO_file_open): Declared.
10357         * libio/fileops.c (_IO_file_open): New.
10358         (_IO_file_fopen): Call _IO_file_open ().
10360         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10361         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10363 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10365         * signal/signal.h: Fix selection of signal semantics to match
10366         comment.
10368 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10370         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10371         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10372         rt_sigreturn.
10373         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10374         [$(subdir)=signal]: Remove rt_sigreturn.
10375         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10376         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10377         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10379 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10381         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10382         declarations.
10384 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10386         * iconvdata/extra-module.mk: Expand extra-objs now.
10388 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10390         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10391         inline functions by feature tests to avoid warning about missing
10392         prototype declarations.
10394 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10396         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10397         return code for non existent +name entries.
10398         * nis/nss_compat/compat-pwd.c: Likewise.
10399         * nis/nss_compat/compat-spwd.c: Likewise.
10401 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10403         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10404         (EIO): Likewise.
10405         (ENOSPC): Likewise.
10406         (EEXIST): Likewise.
10407         (__errno_location): Likewise.
10409         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10411         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10413 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10415         * sunrpc/publickey.c: Use new NSS interface.
10417 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10419         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10421 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10423         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10424         value, to match spirit of the standard.
10425         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10426         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10427         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10429 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10431         * manual/signal.texi (Signal Stack): Remove spurious @item.
10433 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10435         * rt/aio.h: Remove double semicolon.
10437         * rt/librt.map: Add aio_init.
10439 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10441         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10442         * Makefile (subdirs): Replace rt by $(rt).
10444         * shlib-versions: Use version .2 for NSS modules.
10446         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10447         argument.
10448         * pwd/fgetpwent_r.c: Likewise.
10449         * spwd/fgetspent_r.c: Likewise.
10450         * spwd/sgetspent_r.c: Likewise.
10451         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10452         Store error number in *ERRNOP.  Little optimization.
10453         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10454         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10455         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10456         (__internal_getnetgrent_r): New argument.
10457         Call __internal_setnetgrent_reuse with new argument.
10458         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10459         * inet/netgroup.h: Add argument to prototypes.
10460         * nis/nisplus-parser.h: Likewise.
10461         * nis/nss_compat/compat-grp.c: Change everything to store error
10462         code through provided pointer and not use errno.
10463         * nis/nss_compat/compat-pwd.c: Likewise.
10464         * nis/nss_compat/compat-spwd.c: Likewise.
10465         * nis/nss_nis/nis-alias.c: Likewise.
10466         * nis/nss_nis/nis-ethers.c: Likewise.
10467         * nis/nss_nis/nis-grp.c: Likewise.
10468         * nis/nss_nis/nis-hosts.c: Likewise.
10469         * nis/nss_nis/nis-netgrp.c: Likewise.
10470         * nis/nss_nis/nis-network.c: Likewise.
10471         * nis/nss_nis/nis-proto.c: Likewise.
10472         * nis/nss_nis/nis-publickey.c: Likewise.
10473         * nis/nss_nis/nis-pwd.c: Likewise.
10474         * nis/nss_nis/nis-rpc.c: Likewise.
10475         * nis/nss_nis/nis-service.c: Likewise.
10476         * nis/nss_nis/nis-spwd.c: Likewise.
10477         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10478         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10479         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10480         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10481         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10482         * nis/nss_nisplus/nisplus-network.c: Likewise.
10483         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10484         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10485         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10486         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10487         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10488         * nis/nss_nisplus/nisplus-service.c: Likewise.
10489         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10490         * nss/nss_db/db-XXX.c: Likewise.
10491         * nss/nss_db/db-alias.c: Likewise.
10492         * nss/nss_db/db-netgrp.c: Likewise.
10493         * nss/nss_files/files-XXX.c: Likewise
10494         * nss/nss_files/files-alias.c: Likewise
10495         * nss/nss_files/files-netgrp.c: Likewise
10496         * nss/nss_files/files-parse.c: Likewise
10497         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10498         parameter of get functions.
10499         * nss/getXXent_r.c: Likewise.
10501         * localedata/tst-fmon.c: Print debug info if test fails.
10503         * rt/Makefile (routines): Add aio_notify.
10504         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10505         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10506         * rt/aio_fsync.c: Likewise.
10507         * rt/aio_misc.c: Likewise.
10508         * rt/aio_misc.h: Likewise.
10509         * rt/aio_read.c: Likewise.
10510         * rt/aio_read64.c: Likewise.
10511         * rt/aio_suspend.c: Likewise.
10512         * rt/aio_write.c: Likewise.
10513         * rt/aio_write64.c: Likewise.
10514         * rt/lio_listio.c: Likewise.
10515         * rt/lio_listio64.c: Likewise.
10516         * rt/aio_notify.c: New file.
10518         * sysdeps/generic/bits/sigset.h: Pretty print.
10520         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10521         really defined as __pwrite.
10523         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10524         instead of pread64.
10525         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10527         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10528         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10529         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10530         size in syscall.
10531         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10532         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10533         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10534         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10535         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10536         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10537         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10538         for ACT being NULL.
10539         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10540         RT signals.
10541         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10542         __NR_pread is not defined.
10543         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10544         __NR_pwrite is not defined.
10546 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10548         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10549         handle for /etc/group back in some more cases.
10550         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10551         handle for /etc/passwd back in some more cases.
10552         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10553         handle for /etc/shadow back in some more cases.
10555 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10557         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10558         beyound its size.
10559         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10560         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10562 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10564         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10565         handling.  Don't use macros, we need functions.  Use inline functions
10566         for optimization.
10567         * sysdeps/wordsize-64/inttypes.h: Likewise.
10568         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10569         and wcstoumax.
10570         * sysdeps/wordsize-64/Makefile: Likewise.
10571         * sysdeps/wordsize-32/Dist: Likewise.
10572         * sysdeps/wordsize-64/Dist: Likewise.
10573         * sysdeps/wordsize-32/strtoimax.c: New file.
10574         * sysdeps/wordsize-32/strtoumax.c: New file.
10575         * sysdeps/wordsize-32/wcstoimax.c: New file.
10576         * sysdeps/wordsize-32/wcstoumax.c: New file.
10577         * sysdeps/wordsize-64/strtoimax.c: New file.
10578         * sysdeps/wordsize-64/strtoumax.c: New file.
10579         * sysdeps/wordsize-64/wcstoimax.c: New file.
10580         * sysdeps/wordsize-64/wcstoumax.c: New file.
10582 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10584         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10585         that transparent union works.
10586         * sysdeps/generic/wait4.c (__wait4): Likewise.
10587         * sysdeps/generic/wait.c (__wait): Likewise.
10589         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10590         size_t.
10592         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10593         long, to match prototype.
10595         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10596         have mremap() yet.
10598         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10600         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10602         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10604         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10605         __rlim_t.
10607         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10609         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10611         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10612         __S_IFLNK.
10614         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10615         <bits/stdio_lim.h>.
10616         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10618 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10620         * posix/sys/wait.h: Don't use transparent unions in C++.
10622 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10624         * time/time.h: Add strfxtime.
10626         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10627         sysv_signal, strfxtime, pread64, pwrite64.
10629 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10631         Alpha changes for EGCS:
10632         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10633         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10634         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10635         (_start): Likewise.
10636         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10638 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10640         The kernel expects the arguments in a different order.
10641         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10642         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10644         * FAQ.in: New file.
10645         * gen-FAQ.pl: New file.
10646         * Makefile (FAQ): Add rule to generate from FAQ.in.
10648         * iconvdata/Makefile: Treat libJIS like the other modules.
10650         * rt/librt.map: New file.
10652         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10653         inclusion.
10654         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10655         comment.
10657 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10659         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10660         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10661         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10662         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10664 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10666         * string/bits/string2.h: Fix spellings.
10668         * string/string.h: Fix spellings.
10670 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10672         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10673         declaration to __syscall_rt_sigaction.
10675         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10676         non-existant <sigcontext.h>.
10678 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10680         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10681         typo.
10683 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10685         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10687         * Makeconfig (shared-thread-library): Correct spelling.
10689         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10690         <asm/pci.h>.
10692 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10694         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10695         constants from Linux headers. Pointed out by
10696         csmall@scooter.o.i.net. [PR libc/369]
10698 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10700         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10702 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10704         * configure.in: If --enable-add-ons is given without an
10705         argument, set the addons list to all subdirs with a configure
10706         script.
10708 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10710         * Makeconfig: Add shared-thread-library variable.
10712         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10713         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10714         here.
10715         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10716         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10717         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10718         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10719         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10720         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10721         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10722         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10723         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10724         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10725         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10726         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10727         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10728         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10729         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10730         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10731         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10732         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10733         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10734         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10735         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10736         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10737         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10738         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10739         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10741         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10742         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10743         * signal/Makefile (headers): Add bits/siginfo.h.
10744         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10745         (distribute): Add testrtsig.h.
10746         * signal/allocrtsig.c: New file.
10747         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10748         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10749         __libc_current_sigrtmax.
10750         * sysdeps/generic/sigqueue.c: New file.
10751         * sysdeps/generic/sigtimedwait.c: New file.
10752         * sysdeps/generic/sigwaitinfo.c: New file.
10753         * sysdeps/generic/testrtsig.h: New file.
10754         * sysdeps/generic/bits/siginfo.h: New file.
10755         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10756         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10757         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10758         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10759         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10760         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10761         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10762         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10763         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10764         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10765         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10766         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10767         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10768         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10769         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10770         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10771         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10772         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10773         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10774         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10775         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10776         and _POSIX_REALTIME_SIGNALS.
10777         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10778         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10779         update _NSIG.
10780         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10781         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10782         definitions.
10784         * Makefile (subdirs): Add rt.
10785         * shlib-versions: Add entry for librt.
10786         * rt/Makefile: New file.
10787         * rt/aio.h: New file.
10788         * rt/aio_cancel.c: New file.
10789         * rt/aio_error.c: New file.
10790         * rt/aio_fsync.c: New file.
10791         * rt/aio_misc.c: New file.
10792         * rt/aio_misc.h: New file.
10793         * rt/aio_read.c: New file.
10794         * rt/aio_read64.c: New file.
10795         * rt/aio_return.c: New file.
10796         * rt/aio_suspend.c: New file.
10797         * rt/aio_write.c: New file.
10798         * rt/aio_write64.c: New file.
10799         * rt/lio_listio.c: New file.
10800         * rt/lio_listio64.c: New file.
10801         * sysdeps/generic/aio_sigqueue.c: New file.
10802         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10803         * sysdeps/unix/sysv/linux/Dist: Add new files
10804         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10805         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10806         rt_sigqueueinfo, rt_sigaction.
10808         * posix/Makefile (headers): Add bits/environments.h.
10809         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10810         and _CS_LFS_CFLAGS on 64bit platforms.
10811         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10812         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10813         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10814         compilation modules.
10815         * sysdeps/wordsize-32/bits/environments.h: New file.
10816         * sysdeps/wordsize-64/bits/environments.h: New file.
10818         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10819         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10820         __libc_pid.
10821         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10822         0xf00baa.
10824         * string/string.h: Add declaration of __strverscmp.
10825         * string/strverscmp.c: Rename function ot __strverscmp and make old
10826         name weak alias.
10828         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10829         * sysdeps/generic/enbl-secure.c: Likewise.
10830         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10832         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10834         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10836 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10838         * posix/sys/wait.h: Use __transparent_union__ instead of
10839         transparent_union.  Reported by Roland McGrath.
10841 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10843         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10844         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10845         [PR libc/366].
10847         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10849         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10851 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10853         * grp/initgroups.c: Increase buffer if it is too small.
10855 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10857         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10858         fields, this is no ISO C.  Reported by Andreas Jaeger.
10860 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10862         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10864 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10866         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10867         _SYS_UTSNAME_H not _UTSNAME_H.
10869 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10871         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10872         computing s_scale.
10874 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10876         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10877         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10878         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10880         * math/libm-test.c (csqrt_test): Add testcase.
10882 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10884         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10885         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10886         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10888 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10890         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10892 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10894         * math/libm-test.c (acos_test): Add more tests.
10895         (asin_test): Likewise.
10896         (atan_test): Likewise.
10897         (exp_test): Likewise.
10898         (sin_test): Likewise.
10899         (sqrt_test): Likewise.
10900         (cpow_test): Likewise.
10901         (csqrt_test): Likewise.
10902         (cexp_test): Correct typo in gcc version test.
10904 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10906         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10907         <bits/setjmp.h>.
10908         * sysdeps/arm/setjmp.S: Likewise.
10910         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10912 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10914         * stdio/stdio.h: Add prototype for tmpfile64().
10916 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10918         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10919         prototype to keep in step with libio version.
10921         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10923 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10925         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10926         cross-compiling.
10928 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10930         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10931         load GOT ptr before jumping to _exit.
10932         Reported by Xavier Leroy.
10934 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10936         * Makefile (subdirs): Add iconvdata and localedata.
10938         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10940         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10942         * iconvdata/8bit-gap.c: New file.
10943         * iconvdata/8bit-generic.c: Renamed from ...
10944         * iconvdata/iso8859-generic.c: ...this.
10945         * iconvdata/configure: Removed.
10946         * iconvdata/Makefile: Add new modules and better rules.
10947         * iconvdata/iso6937.c: Minor bug fixes.
10948         * iconvdata/iso8859-1.c: Likewise.
10949         * iconvdata/t61.c: Likewise.
10950         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10951         Minor bug fixes.
10952         * iconvdata/iso8859-3.c: Likewise.
10953         * iconvdata/iso8859-4.c: Likewise.
10954         * iconvdata/iso8859-5.c: Likewise.
10955         * iconvdata/iso8859-6.c: Likewise.
10956         * iconvdata/iso8859-7.c: Likewise.
10957         * iconvdata/iso8859-8.c: Likewise.
10958         * iconvdata/iso8859-9.c: Likewise.
10959         * iconvdata/iso8859-10.c: Likewise.
10960         * iconvdata/ebcdic-at-de-a.c: New file.
10961         * iconvdata/ebcdic-at-de.c: New file.
10962         * iconvdata/ebcdic-ca-fr.c: New file.
10963         * iconvdata/hp-roman8.c: New file.
10964         * iconvdata/koi-8.c: New file.
10965         * iconvdata/koi8-r.c: New file.
10966         * iconvdata/koi8-h.c: New file.
10967         * iconvdata/latin-greek-1.c: New file.
10968         * iconvdata/latin-greek-1.h: New file.
10969         * iconvdata/latin-greek.c: New file.
10970         * iconvdata/latin-greek.h: New file.
10971         * iconvdata/jis0201.c: New file.
10972         * iconvdata/jis0201.h: New file.
10973         * iconvdata/jis0208.c: New file.
10974         * iconvdata/jis0208.h: New file.
10975         * iconvdata/jis0212.c: New file.
10976         * iconvdata/jis0212.h: New file.
10977         * iconvdata/sjis.c: New file.
10978         * iconvdata/gap.pl: New file.  Script to generate table header.
10979         * iconvdata/gaptab.pl: New file.
10980         * iconvdata/gconv-modules: Add info about new modules.
10982         * locale/programs/charmap.c: Also examine alias names given in charmap
10983         files.
10985         * localedata/*: Add to here from add-on.  We need the information
10986         to generate tables for iconv.
10988         Update from db-2.3.14.
10989         * db2/Makefile: Updated.
10990         * db2/config.h: Likewise.
10991         * db2/db.h: Likewise.
10992         * db2/db_int.h: Likewise.
10993         * db2/btree/bt_cursor.c: Likewise.
10994         * db2/btree/bt_delete.c: Likewise.
10995         * db2/btree/bt_put.c: Likewise.
10996         * db2/btree/bt_search.c: Likewise.
10997         * db2/btree/bt_split.c: Likewise.
10998         * db2/btree/btree_auto.c: Likewise.
10999         * db2/common/db_appinit.c: Likewise.
11000         * db2/common/db_apprec.c: Likewise.
11001         * db2/common/db_err.c: Likewise.
11002         * db2/common/db_region.c: Likewise.
11003         * db2/db/db_auto.c: Likewise.
11004         * db2/db/db_dispatch.c: Likewise.
11005         * db2/db/db_ret.c: Likewise.
11006         * db2/dbm/dbm.c: Likewise.
11007         * db2/hash/hash_auto.c: Likewise.
11008         * db2/include/btree_ext.h: Likewise.
11009         * db2/include/common_ext.h: Likewise.
11010         * db2/include/db.h.src: Likewise.
11011         * db2/include/db_cxx.h: Likewise.
11012         * db2/include/db_ext.h: Likewise.
11013         * db2/include/db_int.h.src: Likewise.
11014         * db2/include/lock.h: Likewise.
11015         * db2/include/log.h: Likewise.
11016         * db2/include/mp.h: Likewise.
11017         * db2/include/mp_ext.h: Likewise.
11018         * db2/include/os_ext.h: Likewise.
11019         * db2/include/os_func.h: Likewise.
11020         * db2/lock/lock.c: Likewise.
11021         * db2/lock/lock_deadlock.c: Likewise.
11022         * db2/log/log.c: Likewise.
11023         * db2/log/log_archive.c: Likewise.
11024         * db2/log/log_auto.c: Likewise.
11025         * db2/log/log_get.c: Likewise.
11026         * db2/log/log_put.c: Likewise.
11027         * db2/mp/mp_bh.c: Likewise.
11028         * db2/mp/mp_fget.c: Likewise.
11029         * db2/mp/mp_fopen.c: Likewise.
11030         * db2/mp/mp_fput.c: Likewise.
11031         * db2/mp/mp_fset.c: Likewise.
11032         * db2/mp/mp_open.c: Likewise.
11033         * db2/mp/mp_pr.c: Likewise.
11034         * db2/mp/mp_region.c: Likewise.
11035         * db2/mp/mp_sync.c: Likewise.
11036         * db2/mutex/README: Likewise.
11037         * db2/mutex/mutex.c: Likewise.
11038         * db2/os/os_open.c: Likewise.
11039         * db2/os/os_func.c: Removed.
11040         * db2/os/os_config.c: New file.
11041         * db2/os/os_spin.c: New file.
11042         * db2/txn/txn.c: Likewise.
11043         * db2/txn/txn_auto.c: Likewise.
11045 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
11047         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
11048         __typeof for C++ since this fails for class members.
11049         Reported by Neal Becker <neal@ctd.comsat.com>.
11051 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11053         * configure.in: Check for a working makeinfo (3.11 or better).
11054         * config.make.in: Add MAKEINFO to be substituted.
11055         * manual/Makefile: Don't update info if makeinfo is too old.
11057 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
11059         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
11060         * sysdeps/alpha/__longjmp.S: Likewise.
11061         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
11062         not <bits/termios.h>.
11064         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
11065         __llseek and make llseek and lseek64 weak aliases.
11066         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
11067         Patches by a sun <asun@zoology.washington.edu>.
11069 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11071         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11072         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11073         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11074         * misc/sys/syslog.h: Clean up BSD header.
11076 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11078         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11080         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11081         for ctan(+-inf,x).
11082         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11083         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11085         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11086         csqrt (-1), ctanh(i*pi/4).
11088 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11090         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11092 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11094         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11096 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11098         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11100 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11102         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11103         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11104         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11105         of GETCWD_STORYGE_CLASS and put the return type and the
11106         `internal_function' in the right order for gcc 2.7.2.
11108 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11110         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11111         incompatible with Linux 2.1.x.  Packages using modules
11112         (e.g. modutils) should/do provide their own version.  Suggested by
11113         Richard Henderson.
11115         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11118         [$(subdir)=socket]: Remove sys/module.h.
11120 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11122         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11123         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11125         * iconv/gconv_close.c: Correct freeing of descriptor data.
11126         * iconv/gconv_simple.c: Return correct error values for illegal or
11127         incomplete characters.
11129         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11130         development.
11131         * iconvdata/Makefile: New file.
11132         * iconvdata/configure: Likewise.
11133         * iconvdata/extra-module.mk: Likewise.
11134         * iconvdata/gconv-modules: Likewise.
11135         * iconvdata/iso6937.c: Likewise.
11136         * iconvdata/iso8859-1.c: Likewise.
11137         * iconvdata/iso8859-10.c: Likewise.
11138         * iconvdata/iso8859-10.h: Likewise.
11139         * iconvdata/iso8859-2.c: Likewise.
11140         * iconvdata/iso8859-2.h: Likewise.
11141         * iconvdata/iso8859-3.c: Likewise.
11142         * iconvdata/iso8859-3.h: Likewise.
11143         * iconvdata/iso8859-4.c: Likewise.
11144         * iconvdata/iso8859-4.h: Likewise.
11145         * iconvdata/iso8859-5.c: Likewise.
11146         * iconvdata/iso8859-5.h: Likewise.
11147         * iconvdata/iso8859-6.c: Likewise.
11148         * iconvdata/iso8859-6.h: Likewise.
11149         * iconvdata/iso8859-7.c: Likewise.
11150         * iconvdata/iso8859-7.h: Likewise.
11151         * iconvdata/iso8859-8.c: Likewise.
11152         * iconvdata/iso8859-8.h: Likewise.
11153         * iconvdata/iso8859-9.c: Likewise.
11154         * iconvdata/iso8859-9.h: Likewise.
11155         * iconvdata/iso8859-generic.c: Likewise.
11156         * iconvdata/t61.c: Likewise.
11158         * string/Makefile (routines): Add strcasestr.
11159         * string/string.h: Add prototype for strcasestr.
11160         * sysdeps/generic/strcasestr.c: New file.
11161         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11162         * wcsmbs/wcrtomb.c: Likewise.
11163         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11164         * wcsmbs/wcsnrtombs.c: Likewise.
11165         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11166         partial character is read.
11167         * wcsmbs/wcsrtombs.c: Likewise.
11168         * wcsmbs/wmemrtombs.c: Likewise.
11169         * wcsmbs/wmemrtowcs.c: Likewise.
11171         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11172         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11173         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11174         * sysdeps/i386/elf/setjmp.S: Likewise.
11175         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11176         <bits/termios.h>.
11178         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11179         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11181         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11182         * sysvipc/sys/ipc.h: Likewise.
11183         * sysvipc/sys/msg.h: Likewise.
11184         * sysvipc/sys/sem.h: Likewise.
11185         * sysvipc/sys/shm.h: Likewise.
11187         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11188         used directly.
11189         * sysdeps/alpha/bits/setjmp.h: Likewise.
11190         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11191         * sysdeps/arm/bits/endian.h: Likewise.
11192         * sysdeps/arm/bits/setjmp.h: Likewise.
11193         * sysdeps/generic/bits/byteswap.h: Likewise.
11194         * sysdeps/generic/bits/confname.h: Likewise.
11195         * sysdeps/generic/bits/dirent.h: Likewise.
11196         * sysdeps/generic/bits/dlfcn.h: Likewise.
11197         * sysdeps/generic/bits/endian.h: Likewise.
11198         * sysdeps/generic/bits/fenv.h: Likewise.
11199         * sysdeps/generic/bits/huge_val.h: Likewise.
11200         * sysdeps/generic/bits/in.h: Likewise.
11201         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11202         * sysdeps/generic/bits/ioctls.h: Likewise.
11203         * sysdeps/generic/bits/ipc.h: Likewise.
11204         * sysdeps/generic/bits/msq.h: Likewise.
11205         * sysdeps/generic/bits/poll.h: Likewise.
11206         * sysdeps/generic/bits/resource.h: Likewise.
11207         * sysdeps/generic/bits/sched.h: Likewise.
11208         * sysdeps/generic/bits/sem.h: Likewise.
11209         * sysdeps/generic/bits/setjmp.h: Likewise.
11210         * sysdeps/generic/bits/shm.h: Likewise.
11211         * sysdeps/generic/bits/sigaction.h: Likewise.
11212         * sysdeps/generic/bits/sigcontext.h: Likewise.
11213         * sysdeps/generic/bits/socket.h: Likewise.
11214         * sysdeps/generic/bits/stat.h: Likewise.
11215         * sysdeps/generic/bits/statfs.h: Likewise.
11216         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11217         * sysdeps/generic/bits/termios.h: Likewise.
11218         * sysdeps/generic/bits/time.h: Likewise.
11219         * sysdeps/generic/bits/uio.h: Likewise.
11220         * sysdeps/generic/bits/utmp.h: Likewise.
11221         * sysdeps/generic/bits/utmpx.h: Likewise.
11222         * sysdeps/generic/bits/utsname.h: Likewise.
11223         * sysdeps/generic/bits/waitflags.h: Likewise.
11224         * sysdeps/generic/bits/waitstatus.h: Likewise.
11225         * sysdeps/gnu/bits/utmp.h: Likewise.
11226         * sysdeps/gnu/bits/utmpx.h: Likewise.
11227         * sysdeps/i386/bits/byteswap.h: Likewise.
11228         * sysdeps/i386/bits/endian.h: Likewise.
11229         * sysdeps/i386/bits/huge_val.h: Likewise.
11230         * sysdeps/i386/bits/setjmp.h: Likewise.
11231         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11232         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11233         * sysdeps/m68k/bits/byteswap.h: Likewise.
11234         * sysdeps/m68k/bits/endian.h: Likewise.
11235         * sysdeps/m68k/bits/setjmp.h: Likewise.
11236         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11237         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11238         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11239         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11240         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11241         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11242         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11243         * sysdeps/mips/bits/dlfcn.h: Likewise.
11244         * sysdeps/mips/bits/endian.h: Likewise.
11245         * sysdeps/mips/bits/setjmp.h: Likewise.
11246         * sysdeps/mips/dec/bits/endian.h: Likewise.
11247         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11248         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11249         * sysdeps/mips/p40/bits/endian.h: Likewise.
11250         * sysdeps/powerpc/bits/endian.h: Likewise.
11251         * sysdeps/powerpc/bits/fenv.h: Likewise.
11252         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11253         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11254         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11255         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11256         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11257         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11258         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11259         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11260         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11261         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11262         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11263         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11264         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11265         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11266         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11267         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11268         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11269         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11270         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11271         * sysdeps/unix/common/bits/dirent.h: Likewise.
11272         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11273         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11274         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11275         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11276         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11277         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11278         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11279         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11280         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11281         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11282         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11283         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11284         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11285         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11286         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11287         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11288         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11289         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11290         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11291         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11292         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11293         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11294         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11295         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11296         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11297         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11298         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11299         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11300         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11301         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11302         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11303         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11304         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11305         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11306         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11307         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11308         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11309         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11310         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11311         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11312         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11313         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11314         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11315         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11316         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11317         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11318         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11319         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11320         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11321         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11322         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11323         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11324         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11325         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11326         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11327         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11328         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11329         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11330         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11331         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11332         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11333         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11334         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11335         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11336         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11337         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11338         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11339         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11340         * sysdeps/vax/bits/huge_val.h: Likewise.
11341         * sysdeps/vax/bits/setjmp.h: Likewise.
11342         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11343         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11345 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11347         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11349 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11351         * strftime.c (strftime):
11352         No longer any need to undef or declare if emacs is defined.
11353         (my_strftime): When checking a -1 returned by mktime, don't blow up
11354         if localtime_r returns NULL.
11356 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11358         * README.template: Fix spelling.
11360 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11362         * configure.in: Enhance --enable-add-ons description a wee bit.
11364 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11366         * glibcbug.in: Add more information of build environment and flags.
11368 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11370         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11371         it into ENOENT.
11373 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11375         * elf/dl-support.c: Call __libc_init_secure to make sure
11376         __libc_enable_secure is defined early.
11377         * sysdeps/generic/enbl-secure.c: Change function name to
11378         __libc_init_secure and make it global instead of a constructor.
11380         * iconv/gconv.c: Fix lots of bugs.
11381         * iconv/gconv.h: Likewise.
11382         * iconv/gconv_builtin.h: Likewise.
11383         * iconv/gconv_close.c: Likewise.
11384         * iconv/gconv_conf.c: Likewise.
11385         * iconv/gconv_db.c: Likewise.
11386         * iconv/gconv_dl.c: Likewise.
11387         * iconv/gconv_open.c: Likewise.
11388         * iconv/gconv_simple.c: Likewise.
11389         * iconv/iconv.c: Likewise.
11390         * iconv/iconv_close.c: Likewise.
11391         * iconv/iconv_open.c: Likewise.
11393         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11394         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11395         * wcsmbs/wmemrtombs.c: New file.
11396         * wcsmbs/wmemrtowcs.c: New file.
11398 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11400         * iconv/gconv_simple.c: Fix lots of bugs.
11401         * iconv/iconv_open.c: Normalize names before passing them to
11402         __gconv_open.
11404         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11406         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11407         * stdio-common/test-popen.c: Add test for above change.
11409         * math/libm-test.c: Print test results also using %a format,
11410         specified in PRINTF_XEXPR macro.
11411         * math/test-double.c: Define PRINTF_XEXPR.
11412         * math/test-float.c: Likewise.
11413         * math/test-ldouble.c: Likewise.
11414         * math/test-idouble.c: Likewise.
11415         * math/test-ifloat.c: Likewise.
11416         * math/test-ildoubl.c: Likewise.
11418         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11419         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11420         FP number format.
11422         * stdlib/strtod.c: Little code cleanup.
11424         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11425         compiling in math subdir.
11427         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11428         instead of __LIBC_M81_MATH_INLINES.
11429         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11430         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11431         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11432         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11433         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11434         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11435         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11436         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11437         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11438         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11439         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11440         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11441         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11442         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11443         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11444         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11445         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11446         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11447         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11448         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11449         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11450         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11451         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11452         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11453         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11454         __LIBC_INTERNAL_MATH_INLINES is defined.
11456         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11457         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11458         Define __signbit inline functions and __ieee754_sqrt which can be
11459         used if the ompiler is fixed.
11461         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11463 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11465         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11466         sysdeps/generic in the whole dep file, not only in the first line.
11468 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11470         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11472 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11474         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11475         place.
11477 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11479         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11480         is non-empty.
11482 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11484         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11485         return value.
11487 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11489         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11490         readlink succeeds but the return value is too long.
11492         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11494 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11496         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11497         __remqu for Alpha.
11499 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11501         * sysdeps/generic/sys/ucontext.h: Stub context file.
11503         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11505         * manual/Makefile (distribute): Add stdio-fp.c.
11507         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11509         * db2/Makefile (distribute): Add include/os_func.h, README and
11510         mutex/tsl_parisc.s.
11512         * hesiod/Makefile (distribute): Add README.hesiod.
11514 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11516         * iconv/gconv.c: Correctly call transformation function.
11518         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11520 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11522         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11523         wrong results for e.g. remquo (3,2, &x)).
11524         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11525         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11527 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11529         * configure.in (ld --version-script): Test if the same symbol
11530         maybe defined in all versions (needed by recent changes to
11531         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11532         if versioning is not supported/enabled.
11533         (bash test): Correct test case.
11535         * math/libm-test.c: Added counting/reporting of number of test cases.
11537         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11538         use awk instead.
11540         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11542 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11544         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11546 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11548         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11549         Replace revoke call by use of REVOKE.
11550         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11551         empty and #include generic version.
11552         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11554 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11556         * libc.map: Add socket functions with __libc_* names.
11557         Reported by Andreas Jaeger.
11559 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11561         * libc.map: Tidy up (remove duplicates, sort entries).
11563 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11565         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11567 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11569         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11570         again after successful call.
11571         Patch by Marc Lehmann <pcg@goof.com>.
11573 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11575         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11576         as some hosts need this to declare localtime_r properly.
11578 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11580         * libc.map: Add iconv_open, iconv, and iconv_close.
11582 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11584         * iconv/Makefile: New file.
11585         * iconv/gconv.c: New file.
11586         * iconv/gconv.h: New file.
11587         * iconv/gconv_builtin.c: New file.
11588         * iconv/gconv_builtin.h: New file.
11589         * iconv/gconv_close.c: New file.
11590         * iconv/gconv_conf.c: New file.
11591         * iconv/gconv_db.c: New file.
11592         * iconv/gconv_dl.c: New file.
11593         * iconv/gconv_open.c: New file.
11594         * iconv/gconv_simple.c: New file.
11595         * iconv/iconv.c: New file.
11596         * iconv/iconv.h: New file.
11597         * iconv/iconv_close.c: New file.
11598         * iconv/iconv_open.c: New file.
11599         * include/gconv.h: New file.
11601         * Makeconfig: Define gconvdir.
11602         * Makefile (subdirs): Add iconv.
11604         * string/bits/string2.h: Add optimization for strtok_r.
11606         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11607         for NULL.
11608         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11609         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11611         * configure.in: Correct test for bash2.
11612         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11614         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11615         (CFLAGS-locfile.c): Likewise.
11616         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11618         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11619         non-existing entry if the table is full.
11621         * posix/regex.h: Pretty print.
11623         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11625         * sysdeps/posix/ctermid.c: Simplify a bit.
11627         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11629 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11631         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11632         <sys/types.h> instead of <asm/types.h>.
11634 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11636         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11638 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11640         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11641         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11642         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11643         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11644         fclose): Added to GLIBC_2.1.
11646         * libio/Makefile (routines, shared-only-routines): Add
11647         oldiofclose.  Remove oldfreopen.
11649         * libio/freopen.c (freopen): When PIC is defined, call
11650         _IO_old_freopen () for old stdio.
11652         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11653         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11654         for GLIBC_2.1.
11656         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11657         instead of _IO_file_close_it.
11659         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11660         to _IO_2_1_stdxxx_.
11661         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11662         is defined.
11664         * libio/libioP.h (_IO_old_do_flush): New.
11666         * libio/oldfileops.c (_IO_old_file_close_it,
11667         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11668         Call _IO_old_do_flush () instead of _IO_do_flush ().
11669         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11670         _IO_do_write ().
11672         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11673         instead of _IO_file_init ().
11674         Bind old symbols to version GLIBC_2.0.
11676         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11677         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11678         _IO_stdxxx_.
11679         (_IO_check_libio): New function in .init.
11681         * libio/oldiofclose.c: New file.
11683         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11684         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11685         (DEF_STDFILE): Don't use default_symbol_version.
11687         * libio/stdio.c (stdin, stdout, stderr): Set to
11688         _IO_2_1_stdxxx_._
11689         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11690         stdxxx.
11692         * csu/Makefile (distribute): Add init.c.
11693         (extra-objs): Add init.o for ELF.
11694         (start-installed-name): Add $(objpfx)init.o.
11696         * csu/init.c: New file.
11698 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11700         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11701         definition as the default.
11703 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11705         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11707 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11709         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11710         (PR 351).
11712 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11714         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11715         to preserve condition codes on function call.
11717 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11719         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11721 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11723         * math/libm-test.c (asin_test): Add epsilon for float.
11724         (tan_test): Add epsilon for float.
11725         (log1p_test): Add epsilon for float.
11726         (inverse_functions): Add epsilons.
11728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11729         net/if_packet.h.
11731         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11733 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11735         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11736         variable, since $(object-suffixes) is not defined yet.
11738 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11740         * db2/Makefile (distribute): db185/db185_int.src ->
11741         db185/db185_int.h.
11743 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11745         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11746         exactly one.
11748 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11750         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11751         name.
11752         * sysdeps/generic/e_acosl.c: Likewise.
11753         * sysdeps/generic/e_asinl.c: Likewise.
11754         * sysdeps/generic/e_atan2l.c: Likewise.
11755         * sysdeps/generic/e_expl.c: Likewise.
11756         * sysdeps/generic/e_fmodl.c: Likewise.
11757         * sysdeps/generic/e_j0l.c: Likewise.
11758         * sysdeps/generic/e_j1l.c: Likewise.
11759         * sysdeps/generic/e_jnl.c: Likewise.
11760         * sysdeps/generic/e_lgammal_r.c: Likewise.
11761         * sysdeps/generic/e_log10l.c: Likewise.
11762         * sysdeps/generic/e_logl.c: Likewise.
11763         * sysdeps/generic/e_powl.c: Likewise.
11764         * sysdeps/generic/e_sqrtl.c: Likewise.
11765         * sysdeps/generic/e_exp2l.c: Likewise.
11767 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11769         * Make-dist (+sysdep-names): Remove extra paren.
11770         * Makefile (distribute): Add stub-tag.h.
11771         * elf/Makefile (distribute): Add atomicity.h.
11772         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11774         [$(subdir)=socket]: Add net/if_packet.h.
11775         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11776         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11777         net/if_packet.h, scsi/sg.h.
11779 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11781         * Makefile (install): Quote $(CC) expansion.
11783 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11785         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11786         working /proc cwd and no restrictions on path length.  Following
11787         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11789 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11791         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11792         * nis/nss_compat/compat-pwd.c: Likewise.
11793         * nis/nss_compat/compat-spwd.c: Likewise.
11795 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11797         * sysdeps/libm-i387/s_fdim.S: New file.
11798         * sysdeps/libm-i387/s_fdimf.S: New file.
11799         * sysdeps/libm-i387/s_fdiml.S: New file.
11800         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11801         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11802         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11804 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11806         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11807         pointer to unsigned char.
11809 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11811         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11813         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11815         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11817 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11819         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11820         ilogb(0/NaN).
11821         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11822         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11824 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11826         * sysdeps/libm-i387/s_fmin.S: New file.
11827         * sysdeps/libm-i387/s_fminf.S: New file.
11828         * sysdeps/libm-i387/s_fminl.S: New file.
11829         * sysdeps/libm-i387/s_fmax.S: New file.
11830         * sysdeps/libm-i387/s_fmaxf.S: New file.
11831         * sysdeps/libm-i387/s_fmaxl.S: New file.
11832         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11833         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11834         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11835         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11836         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11837         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11839 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11841         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11842         * sysdeps/unix/sysv/linux/send.S: Likewise.
11843         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11844         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11845         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11846         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11847         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11848         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11849         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11851 See ChangeLog.7 for earlier changes.