Update.
[glibc.git] / ChangeLog
blobe2449b29c55b5474b046e0ad09fde11a68ee7a67
1 1998-07-25  Ulrich Drepper  <drepper@cygnus.com>
3         * sysdeps/i386/bits/byteswap.h (__bswap_64): Change __v to __w to
4         prevent conflict with __bswap_32.
6 1998-07-24 21:29  Ulrich Drepper  <drepper@cygnus.com>
8         * nscd/connections.c (pw_send_answer): Make one single writev call.
9         (gr_send_answer): Do the work in two writev calls.  This change
10         changes the protocol.
12         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Adjust for protocol change.
13         We now can do the job using two readv calls.
15 1998-07-24  Ulrich Drepper  <drepper@cygnus.com>
17         * sysdeps/generic/glob.c (glob): Fix problems with handle tilde.
18         Reported by Brian Wellington <bwelling@anomaly.munge.com>.
20         * elf/elf.h: Really define Elf64_Verdef, Elf64_Verdaux, Elf64_Verneed,
21         and Elf64_Vernaux.
23 1998-07-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
25         * configure.in: Recognize pgcc as compiler.
26         Reported by sauron@angband.ee.ualberta.ca.
28 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
30         * nscd/dbg_log.c: Make sure, that debug message is really written.
31         * nscd/nscd.c: Don't use daemon(), set signal handler after fork.
33 1998-07-23  Ulrich Drepper  <drepper@cygnus.com>
35         * sysdeps/generic/glob.c: Fix two problems with GLOB_DOOFFS.
36         Reported by bwelling@anomaly.munge.com [PR libc/720].
38         * sysdeps/libm-ieee754/k_standard.c: Return NAN for libm not in
39         SVID more for gamma(x) with x integer <= 0.
40         Reported by Stephen L Moshier <moshier@mediaone.net>.
42         * math/libm-test.c (gamma_test): Add test for gamma(-1) and gamma(0).
43         Correct test for SVID version of gamma.
45         * sysdeps/libm-ieee754/w_gamma.c: Use correct matherr call in SVID
46         emulation mode.
47         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
48         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
50         * string/string.h: Don't use string function optimization for C++
51         as long as we use macros.
53 1998-07-22 23:47  Ulrich Drepper  <drepper@cygnus.com>
55         * posix/fnmatch.c: Fix completely broken range matching.
57 1998-07-22 23:19  Ulrich Drepper  <drepper@cygnus.com>
59         * sysdeps/unix/sysv/linux/bits/siginfo.h: Fix typo.
61 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
63         * Makefile (headers2_0): Add sigstack.h.
65         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
67 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
69         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
70         Reported by Thorsten Kukuk.
72         * string/strcoll.c: Correct problem with empty strings.
73         * string/strxfrm.c: Likewise.
74         Reported by vbzoli@hbrt.hu [PR libc/719].
76 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
78         * sysdeps/posix/tempname.c: Use the random-name generator
79         already used by mktemp/mkstemp.  Honor TMPDIR.
81 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
83         * hurd/Makefile (routines): Remove cthreads.
84         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
86         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
88         * manual/Makefile (distribute): Add summary.texi.
90 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
92         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
94 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
96         * configure.in: Correct expression to match gcc version.
98         * configure.in: Move test for available port after machine
99         variable is defined.
101 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
103         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
104         message, copy the buffer and resize it to what the kernel
105         wants to see.  Bug found and analyzed by Thorsten Kukuk
106         <kukuk@weber-eb.uni-paderborn.de>
108 1998-07-20  Jose M. Moya  <josem@gnu.org>
110         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
111         value.
113 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
115         * sysdeps/mach/hurd/getdomain.c: New file.
116         * sysdeps/mach/hurd/setdomain.c: New file.
118 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
120         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
121         a weak alias.
123 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
125         * libio/libioP.h: Use __PMT in typedef.
126         * libio/strfile.h: Likewise.
128 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
130         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
131         buffer is too small.
132         Reported by John Levon <j_levon@ncc.co.uk>.
134 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
136         * shlib-versions: Remove definition for libSegFault.
138         * memory.texi: Comment out the relocating allocator description.
139         * manual/signal.texi: Remove reference to relocating allocator.
140         * manual/top-menu.texi: Regenerated.
142         * posix/fnmatch.c: Implement [: :] and change to recognize
143         ^ as negation only when not _POSIXLY_CORRECT.
145         * sysdeps/generic/glob.c: Add several optimizations.
147         * posix/glob.h: Undefine __PMT to prevent warnings.
148         Reported by Roland McGrath.
150         * posix/regex.c: Define namespace macros only for _LIBC.
152         * sysdeps/arm/dl-machine.h: Fix typo.
154         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
155         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
156         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
157         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
158         sigpending, sigqueue, and sigtimedwait.
159         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
161         * timezone/leapseconds: Update from tzdata1998f.
163 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
165         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
166         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
167         * libio/stdio.h: Fix typo.
169 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
171         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
172         magic memobj port arg parsing stuff.  Fix it someday when we are ready
173         to really use it.
174         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
175         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
177 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
179         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
181 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
183         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
184         a weak alias.
185         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
186         * sysdeps/generic/sigsuspend.c: Likewise.
188 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
190         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
192 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
194         * Makerules (map-file): Don't use $(wildcard) to find the
195         generated version script, instead look in $(version-maps).
196         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
197         is used.
198         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
199         if versioning is used.  Don't use $(wildcard) to find the
200         generated version script, instead look in $(verson-maps).
202 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
204         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
205         unused function handle.
206         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
207         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
208         * debug/catchsegv.sh: Fix argument processing, quoting and various
209         typos.  Put the crash info always in the current directory.  Find
210         program in $PATH if it contains no directory component.
211         * Makerules (install-lib.so-versioned,
212         install-lib.so-unversioned): New variables.
213         (install-lib-nosubdir): Depend on unversioned libs in
214         slibdir, not libdir.
216 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
218         * Make-dist (+tsrcs): Remove references to %-map variables and
219         *.map files.  Add Versions in subdirs.
220         * Makerules (distinfo-vars): Don't write out %-map variables.
222 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
224         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
225         Include <paths.h> instead.
226         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
227         * sysdeps/unix/sysv/linux/paths.h: Likewise.
228         Reported by Dale Scheetz <dwarf@polaris.net>.
230 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
232         * catgets/open_catalog.c: Strictly check whether catalog file is
233         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
235 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
237         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
239         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
241 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
243         * debug/catchsegv.sh: Fix several stupid bugs.
245         * shlib-versions: Define version for libSegFault.
246         * debug/Makefile: Replace shared lib version number while rewriting.
248 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
250         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
251         Suggested by Roland McGrath.
253 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
255         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
256         generation to control environment.
258 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
260         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
261         Patch by John Tobey <jtobey@banta-im.com>.
263         * manual/llio.texi: Document readv/writev and mmap functions.
264         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
266 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
268         * manual/Makefile (texis): Depend on texis.awk.
269         (nonexamples): Filter out add-on chapters.
270         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
271         (stamp-summary): Depend on $(texis) except summary.texi.
272         ($(inst_infodir)/libc.info): Simplify command.
273         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
274         Fix the generation of the detailed node listing to make it
275         complete again.
276         * manual/math.texi: Fix signature of lgamma_r.
278 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
280         * debug/Makefile (distribute): Add sigcontextinfo.h.
281         Add rules to generate and install catchsegv.
282         * debug/catchsegv.sh: New file.
284 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
286         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
287         port instead of a Mach memory object.
288         (__open): Likewise.
289         (__libc_read): New function.
290         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
291         object.
293 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
295         * debug/Makefile (routines): Add backtracesymsfd.
296         Add rules to generate libSegFault.
297         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
298         * debug/execinfo.h: Declare backtrace_symbols_fd.
299         * sysdeps/generic/backtracesymsfd.c: New file.
300         * sysdeps/generic/elf/backtracesymsfd.c: New file.
301         * sysdeps/generic/segfault.c: New file.
302         * sysdeps/generic/sigcontextinfo.h: New file.
303         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
305         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
307 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
309         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
310         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
312 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
314         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
315         * assert/assert-perr.c: Likewise.
316         * assert/assert.c: Likewise.
317         * gconv_conf.c: Likewise.
318         * libio/iofputs_u.c: Likewise.
319         * malloc/mtrace.c: Likewise.
320         * malloc/obstack.c: Likewise.
321         * misc/error.c: Likewise.
322         * misc/syslog.c: Likewise.
323         * stdio-common/asprintf.c: Likewise.
324         * stdio-common/dprintf.c: Likewise.
325         * stdio-common/getw.c: Likewise.
326         * stdio-common/putw.c: Likewise.
327         * stdio-common/snprintf.c: Likewise.
328         * stdio-common/sprintf.c: Likewise.
329         * stdio-common/sscanf.c: Likewise.
330         * sunrpc/svc_simple.c: Likewise.
331         * sysdeps/generic/abort.c: Likewise.
333         * rt/aio_cancel.c: Don't define ECANCELED here.
334         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
336 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
338         * argp/argp-fmtstream.c: Unify names of used global functions.
339         * argp/argp-help.c: Likewise.
340         * assert/assert-perr.c: Likewise
341         * assert/assert.c: Likewise
342         * dirent/scandir.c: Likewise
343         * dirent/scandir64.c: Likewise
344         * dirent/versionsort.c: Likewise
345         * dirent/versionsort64.c: Likewise
346         * gmon/bb_exit_func.c: Likewise.
347         * gmon/gmon.c: Likewise.
348         * grp/initgroups.c: Likewise.
349         * iconv/gconv_conf.c: Likewise.
350         * inet/getnameinfo.c: Likewise.
351         * inet/getnetgrent_r.c: Likewise.
352         * inet/inet_ntoa.c: Likewise.
353         * inet/rcmd.c: Likewise.
354         * inet/rexec.c: Likewise.
355         * inet/ruserpass.c: Likewise.
356         * io/fts.c: Likewise.
357         * io/ftw.c: Likewise.
358         * io/ftw64.c: Likewise.
359         * io/getdirname.c: Likewise.
360         * io/getwd.c: Likewise.
361         * io/lockf.c: Likewise.
362         * libio/iofdopen.c: Likewise.
363         * libio/iopopen.c: Likewise.
364         * login/utmp_daemon.c: Likewise.
365         * malloc/mtrace.c: Likewise.
366         * malloc/obstack.c
367         * misc/daemon.c: Likewise.
368         * misc/efgcvt_r.c: Likewise.
369         * misc/err.c: Likewise.
370         * misc/error.c: Likewise.
371         * misc/fstab.c: Likewise.
372         * misc/getpass.c: Likewise.
373         * misc/getttyent.c: Likewise.
374         * misc/mntent_r.c: Likewise.
375         * misc/search.h: Likewise.
376         * misc/syslog.c: Likewise.
377         * nscd/nscd_getgr_r.c: Likewise.
378         * nscd/nscd_getpw_r.c: Likewise.
379         * posix/getpgrp.c: Likewise.
380         * posix/wordexp.c: Likewise.
381         * pwd/fgetpwent_r.c: Likewise.
382         * pwd/getpw.c: Likewise.
383         * resolv/herror.c: Likewise.
384         * resolv/res_init.c: Likewise.
385         * shadow/fgetspent_r.c: Likewise.
386         * shadow/lckpwdf.c: Likewise.
387         * signal/sigrelse.c: Likewise.
388         * stdio-common/asprintf.c: Likewise.
389         * stdio-common/dprintf.c: Likewise.
390         * stdio-common/getw.c: Likewise.
391         * stdio-common/putw.c: Likewise.
392         * stdio-common/snprintf.c: Likewise.
393         * stdio-common/sprintf.c: Likewise.
394         * stdio-common/sscanf.c: Likewise.
395         * stdlib/lrand48_r.c: Likewise.
396         * stdlib/mrand48_r.c: Likewise.
397         * string/argz-replace.c: Likewise.
398         * string/envz.c: Likewise.
399         * sunrpc/auth_des.c: Likewise.
400         * sunrpc/auth_unix.c: Likewise.
401         * sunrpc/bindrsvprt.c: Likewise.
402         * sunrpc/clnt_gen.c: Likewise.
403         * sunrpc/clnt_perr.c: Likewise.
404         * sunrpc/clnt_simp.c: Likewise.
405         * sunrpc/clnt_tcp.c: Likewise.
406         * sunrpc/clnt_udp.c: Likewise.
407         * sunrpc/get_myaddr.c: Likewise.
408         * sunrpc/key_call.c: Likewise.
409         * sunrpc/netname.c: Likewise.
410         * sunrpc/openchild.c: Likewise.
411         * sunrpc/pmap_rmt.c: Likewise.
412         * sunrpc/rpc_dtable.c: Likewise.
413         * sunrpc/rtime.c: Likewise.
414         * sunrpc/svc_run.c: Likewise.
415         * sunrpc/svc_simple.c: Likewise.
416         * sunrpc/svc_tcp.c: Likewise.
417         * sunrpc/svc_udp.c: Likewise.
418         * sunrpc/svcauth_des.c: Likewise.
419         * sunrpc/xdr_array.c: Likewise.
420         * sunrpc/xdr_rec.c: Likewise.
421         * sunrpc/xdr_ref.c: Likewise.
422         * sunrpc/xdr_stdio.c: Likewise.
423         * sysdeps/generic/abort.c: Likewise.
424         * sysdeps/generic/dl-sysdep.c: Likewise.
425         * sysdeps/generic/fstatfs64.c: Likewise.
426         * sysdeps/generic/ftruncate64.c: Likewise.
427         * sysdeps/generic/getrlimit64.c: Likewise.
428         * sysdeps/generic/glob.c: Likewise.
429         * sysdeps/generic/prof-freq.c: Likewise.
430         * sysdeps/generic/putenv.c: Likewise.
431         * sysdeps/generic/statfs64.c: Likewise.
432         * sysdeps/generic/ttyname_r.c: Likewise.
433         * sysdeps/generic/utmp_file.c: Likewise.
434         * sysdeps/generic/vlimit.c: Likewise.
435         * sysdeps/generic/vtimes.c: Likewise.
436         * sysdeps/posix/cuserid.c: Likewise.
437         * sysdeps/posix/euidaccess.c: Likewise.
438         * sysdeps/posix/mkstemp.c: Likewise.
439         * sysdeps/posix/mktemp.c: Likewise.
440         * sysdeps/posix/pread.c: Likewise.
441         * sysdeps/posix/pread64.c: Likewise.
442         * sysdeps/posix/profil.c: Likewise.
443         * sysdeps/posix/pwrite.c: Likewise.
444         * sysdeps/posix/pwrite64.c: Likewise.
445         * sysdeps/posix/sigblock.c: Likewise.
446         * sysdeps/posix/sigpause.c: Likewise.
447         * sysdeps/posix/ttyname.c: Likewise.
448         * sysdeps/posix/ttyname_r.c: Likewise.
449         * sysdeps/posix/waitid.c: Likewise.
450         * sysdeps/unix/getlogin_r.c: Likewise.
451         * sysdeps/unix/grantpt.c: Likewise.
452         * sysdeps/unix/rewinddir.c: Likewise.
453         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
454         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
455         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
456         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
457         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
458         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
459         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
460         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
461         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
462         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
463         * sysvipc/sys/shm.h: Likewise.
464         * time/ctime_r.c: Likewise.
465         * time/strptime.c: Likewise.
466         * wcsmbs/mbrlen.c: Likewise.
467         * wcsmbs/wcsdup.c: Likewise.
468         * wcsmbs/wcsxfrm.c: Likewise.
469         * wctype/wcfuncs.c: Likewise.
471         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
472         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
473         * sysdeps/unix/sysv/linux/bind.S: Likewise.
474         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
475         * sysdeps/unix/sysv/linux/listen.S: Likewise.
476         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
477         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
478         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
480         * grp/fgetgrent_r.c: Use explicit locking of the stream.
482         * elf/Makefile (rtld-routines): Add dl-environ.
483         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
484         to...
485         * sysdeps/generic/dl-environ.c: here.  New file.
487         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
488         * libio/Versions: Add fputs_unlocked.
489         * libio/iofputs_u.c: New file.
490         * libio/stdio.h: Add prototype for fputs_unlocked.
492         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
493         * sunrpc/rpc/clnt.h: Likewise.
494         * sunrpc/rpc/pmap_clnt.h: Likewise.
495         * sunrpc/rpc/svc.h: Likewise.
496         * sunrpc/rpc/xdr.h: Likewise.
498         * sysdeps/i386/memchr.S: Correct for more strict gas.
499         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
500         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
501         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
502         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
504 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
506         * configure.in: Change message for binutils version from
507         2.8.1.0.17->2.8.1.0.23.
509 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
511         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
512         Patch by John Tobey <jtobey@banta-im.com>.
514 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
516         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
517         instead of sysconf.
519 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
521         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
522         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
523         (conv_error): Likewise.
524         (input_error): Likewise.
525         (memory_error): Likewise.
527 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
529         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
530         implementation.  Include <entry.h>.  Replace references to symbol
531         _start with macro ENTRY_POINT.
532         (__libc_uid): Remove.
533         (__libc_multiple_libcs): New variable.
534         (__libc_stack_end): New variable.
535         (_dl_hwcap_mask): New variable.
536         (_dl_important_hwcaps): New function.
537         (_dl_show_auxv): Mark internal.
539 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
541         * mach/Makefile: Create target directory before generating
542         mach-syscalls.mk.
543         * mach/Machrules: Invoke awk using AWK variable.  Create target
544         directory before generating server stubs.
546 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
548         * wcsmbs/wcslen.c (__wcslen): Fix comment.
550         * configure.in: Allow egcs-2.92.
552 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
554         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
555         chapter files.  Exorcise the chapters, chapters-incl mess.
556         Support inserting doc chapters from add-on modules.
557         (chapters): New variable.
558         (add-chapters): New variable.
559         (appendices): New variable.
560         (libc.texinfo): New target.
561         (clean): Fix bugs.
562         (realclean): Fix bugs.
564         * manual/texis.awk: New file.
565         * manual/libc-texinfo.sh: New file.
566         * manual/libc-texinfo.in: New file.
568         * manual/conf.texi (top @node): Remove next pointer.
569         * manual/lang.texi (top @node): Remove prev pointer.
571         * manual/job.texi (top @node): Add explicit pointers.
572         * manual/message.texi (top @node): Add explicit pointers.
573         * manual/nss.texi (top @node): Add explicit pointers.
574         * manual/process.texi (top @node): Add explicit pointers.
575         * manual/startup.texi (top @node): Add explicit pointers.
576         * manual/terminal.texi (top @node): Add explicit pointers.
577         * manual/users.texi (top @node): Add explicit pointers.
579         * manual/arith.texi: Add %MENU% tag.
580         * manual/conf.texi: Add %MENU% tag.
581         * manual/contrib.texi: Add %MENU% tag.
582         * manual/ctype.texi: Add %MENU% tag.
583         * manual/errno.texi: Add %MENU% tag.
584         * manual/filesys.texi: Add %MENU% tag.
585         * manual/header.texi: Add %MENU% tag.
586         * manual/install.texi: Add %MENU% tag.
587         * manual/intro.texi: Add %MENU% tag.
588         * manual/io.texi: Add %MENU% tag.
589         * manual/job.texi: Add %MENU% tag.
590         * manual/lang.texi: Add %MENU% tag.
591         * manual/llio.texi: Add %MENU% tag.
592         * manual/locale.texi: Add %MENU% tag.
593         * manual/maint.texi: Add %MENU% tag.
594         * manual/math.texi: Add %MENU% tag.
595         * manual/mbyte.texi: Add %MENU% tag.
596         * manual/memory.texi: Add %MENU% tag.
597         * manual/message.texi: Add %MENU% tag.
598         * manual/nss.texi: Add %MENU% tag.
599         * manual/pattern.texi: Add %MENU% tag.
600         * manual/pipe.texi: Add %MENU% tag.
601         * manual/process.texi: Add %MENU% tag.
602         * manual/search.texi: Add %MENU% tag.
603         * manual/setjmp.texi: Add %MENU% tag.
604         * manual/signal.texi: Add %MENU% tag.
605         * manual/socket.texi: Add %MENU% tag.
606         * manual/startup.texi: Add %MENU% tag.
607         * manual/stdio.texi: Add %MENU% tag.
608         * manual/string.texi: Add %MENU% tag.
609         * manual/sysinfo.texi: Add %MENU% tag.
610         * manual/terminal.texi: Add %MENU% tag.
611         * manual/time.texi: Add %MENU% tag.
612         * manual/users.texi: Add %MENU% tag.
614 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
616         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
617         Update.
619 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
621         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
622         style declaration to avoid warning.
623         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
625 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
627         * elf/rtld.c (process_dl_debug): Add missing continue.
629 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
631         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
632         code needs it.
634 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
636         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
637         sysd-dirs-done.
638         * Makerules: Don't generate version maps too early.
639         ($(common-objpfx)sysd-versions): Force regeneration if the list of
640         subdirs has changed.
642 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
644         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
646 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
648         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
649         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
650         return value.
652 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
654         * elf/dl-open.c (dl_open_worker): New function.
655         (_dl_open): Call it to do the actual work while catching errors.
656         * elf/dl-close.c (_dl_close): Only call termination function if
657         the initialisation function was called.
659 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
661         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
662         Reported by Felix von Leitner <leitner@amdiv.de>.
664 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
666         * Make-dist (+sysdep-tsrcs): Add Versions.
668 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
670         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
671         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
672         * sysdeps/powerpc/Versions: New file.
673         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
674         and __errno_location.
675         * misc/Versions: Add brk and sbrk.
676         * posix/Versions: Add environ, __environ and _environ.
677         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
679 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
681         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
682         Patch by Zack Weinberg.
684 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
686         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
687         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
688         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
690 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
692         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
694 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
696         * posix/unistd.h: Simplify #ifdefs.
698         * libio/libio.h: Undo last change due to possible C++ problems.
699         * libio/fileops.h: Likewise.
701 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
703         * grp/grp.h: Define gid_t also for __USE_XOPEN.
704         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
705         * io/utime.h: Define time_t also for __USE_XOPEN.
706         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
707         Define *_t types except for pid_t also for __USE_XOPEN.
708         Define S_* macros also for __USE_XOPEN.
709         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
710         THOUSEP also for __USE_XOPEN.
711         * math/math.c: Define M_* macros also for __USE_XOPEN.
712         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
713         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
714         defined.
715         * posix/glob.h: Likewise for GLOB_NOSYS.
716         * posix/regex.h: Likewise for REG_NOSYS.
717         * posix/wordexp.h: Likewise for WRDE_NOSYS.
718         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
719         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
720         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
721         * signal/signal.h: Define pid_t also for __USE_XOPEN.
722         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
723         for __USE_POSIX199309.
724         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
725         constants also for __USE_XOPEN.
726         * wcsmbs/wchar.h: For XPG4 include wctype.h.
728         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
729         * locale/setlocale.c (new_composite_name): Likewise for last_len.
731         * libio/stdio.h: Don't declare fclose_unlocked.
733         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
735 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
737         * stdio/stdio.h: Add prototypes for fflush_unlocked,
738         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
739         fgets_unlocked, fread_unlocked, fwrite_unlocked,
740         clearerr_unlocked, feof_unlocked, ferror_unlocked,
741         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
742         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
743         prototype for getopt.
744         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
745         * stdio/feof.c (feof_unlocked): Weak alias for feof.
746         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
747         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
748         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
749         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
750         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
751         * stdio/fread.c (fread_unlocked): Weak alias for fread.
752         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
753         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
754         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
755         * stdio/putc.c (putc_unlocked): Weak alias for putc.
756         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
757         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
758         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
759         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
760         getc_unlocked, getchar_unlocked, putc_unlocked and
761         putchar_unlocked.
763         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
764         from here ...
765         * stdio-common/Versions: ... to here.
767 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
769         * Makerules (versioning): Correct typo.
771 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
773         * elf/Versions: Add _dl_mcount_wrapper_check.
774         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
775         _dl_mcount_wrapper_check.
776         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
778         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
779         internal_function.
780         * elf/ldsodefs.h: Likewise.
782         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
784         * libio/stdio.h: Make sure va_list is defined for X/Open.
785         Define P_tmpdir for X/Open.
787         * posix/regex.h: Fix typo.
789         * posix/unistd.h: Define intptr_t if not already happened.
790         Add pthread_atfork prototype.
791         * sysdeps/generic/bits/types.h: Define __intptr_t.
792         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
793         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
794         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
795         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
796         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
797         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
798         * sysdeps/wordsize-64/stdint.h: Likewise.
800         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
802         * signal/Makefile (headers): Add bits/sigthread.h.
803         * signal/signal.h: Include bits/sigthread.h.
804         * sysdeps/generic/bits/sigthread.h: New file.
806         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
808         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
809         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
810         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
811         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
813         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
815         * elf/rtld.c: Remove preloading and loadpath variables in SUID
816         programs.
817         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
818         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
819         names.
821         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
823         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
824         Remove O_READ and O_WRITE definition.
826         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
827         and RLIM_SAVED_CUR.
829         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
831 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
833         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
834         scripts directory.  Pass move-if-change to awk.
835         (common-generated): Add $(version-maps) and sysd-versions.
836         * versions.awk: Moved to...
837         * scripts/versions.awk: ... here.  Use move-if-change to void
838         touching unchanged files.  Print "version-maps = ..." instead of
839         "all-version-maps = ..." and without $(common-objpfx).  Explain
840         expected variable names.
841         * Makefile (distribute): Updated.
843 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
845         * misc/getttyent.c (getttyent): Don't return with locked stream.
846         * misc/mntent_r.c (__getmntent_r): Likewise.
848 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
850         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
851         if stream is line buffered.
852         (_io_file_overflow): Likewise.
853         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
854         streams writing '\n' flushes the string.
856 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
858         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
859         * elf/dl-support.c: Define it here...
860         * elf/rtld.c: ...and here.
862 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
864         * grp/initgroups.c: Handle directives from nsswitch.conf file.
866 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
868         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
869         __ino64_t definition.
870         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
871         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
873         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
874         script if lddlibc4 failed.
875         Reported by B. D. Elliott <bde@accessone.com>.
877 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
879         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
880         Improve generated strings a bit.
882 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
884         * posix/Makefile (generated): Remove $(objpfx) from the names.
886 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
888         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
889         format string.
891         * libio/iofread_u.c: Include <stdio.h> for prototype.
892         * libio/iofwrite_u.c: Likewise.
894 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
896         * db2/Versions: New file.
898 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
900         * Makefile (lib-noranlib): Don't depend on sysd-versions.
901         ($(common-objpfx)sysd-versions): Remove rule.
902         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
903         Pass name of Versions.def file to script and redirect output to
904         target.  Include it and make all generated version maps depend on
905         it.
906         * versions.awk: Print out variable definition containing all
907         generated version maps.  Print error messages to stderr.  Remove
908         temp file.
910 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
912         * posix/annexc.c (check_header): Terminate macro name before
913         comparing.
914         (get_null_defines): Allow builtin macros with parameters.
915         (fmt, testfmt): Add -D_LIBC.
916         * posix/Makefile: Remove bogus duplicate include directories from
917         annexc test command.
919 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
921         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
922         password scheme.
923         (_nss_nis_getpwnam_r): Likewise.
924         (_nss_nis_getpwuid_r): Likewise.
926 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
928         * libio/Versions: Move symbols whose source lives in
929         stdio-common to ...
930         * stdio-common/Versions: ... here.
931         * stdio/Versions: Add missing symbols.
933 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
935         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
936         __syscall_sendmsg.
937         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
938         __syscall_recvmsg.
939         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
940         and make __recvmsg and recvmsg weak aliases.
941         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
942         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
943         and __syscall_sendmsg.
945 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
947         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
948         stream.
949         * inet/ruserpass.c (token): Likewise.
950         * nss/nsswitch.c (nss_parse_file): Likewise.
951         * intl/localealias.c: Likewise.  Also for ferror.
952         * time/getdate.c (__getdate_r): Likewise.
954         * libio/Makefile (routines): Add iofgets_u.
955         * libio/iofgets_u.c: New file.
956         * libio/Versions: Add fgets_unlocked.
957         * libio/stdio.h: Add prototype for fgets_unlocked.
959         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
960         * misc/getusershell.c (initshells): Likewise.
961         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
962         fgets_unlocked.
963         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
964         * resolv/res_init.c (res_init): Likewise.
965         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
967 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
969         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
970         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
972 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
974         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
975         _unlocked functions.
977         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
978         is a private FILE.
980 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
982         * csu/Makefile: Build crt files in lib pass.
983         * db2/Makefile (distribute): Add mutex/sco.cc.
984         * mach/Machrules: Don't generate .udeps files if no_deps is set.
985         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
986         s-proto.d if avoid-generated is set.
988         * sysdeps/alpha/Dist: List only one file per line.
989         * sysdeps/generic/Dist: Likewise.
990         * sysdeps/m68k/fpu/switch/Dist: Likewise.
991         * sysdeps/sparc/sparc32/Dist: Likewise.
992         * sysdeps/unix/Dist: Likewise.
993         * sysdeps/unix/sysv/irix4/Dist: Likewise.
995         * sysdeps/mach/hurd/i386/Dist: New file.
996         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
997         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
998         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
999         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
1001 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
1003         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
1004         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
1006         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
1008         * time/tzfile.c (decode): Optimize by using bswap_32.
1009         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
1010         __tzname array values.
1011         (__tzfile_compute): Correct setting of __tzname array values.
1012         * time/tzset.c (__tzstring): Clean up a bit.
1014 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
1016         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
1018 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1020         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
1021         that fd can be bigger than FD_SETSIZE.
1023 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1025         * nscd/grpcache.c: Include <unistd.h>.
1026         * nscd/pwdcache.c: Likewise.
1028         * nis/nis_modify.c: Include <string.h>.
1029         * nis/nis_add.c: Likewise.
1030         * nis/nis_checkpoint.c: Likewise.
1031         * posix/runptests.c: Likewise.
1032         * sysdeps/generic/statvfs64.c: Likewise.
1033         * sysdeps/generic/fstatvfs64.c: Likewise.
1035 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
1037         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
1038         to match data from Unicode.
1039         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
1041 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
1043         * stdio-common/printf.h: Define printf_function and
1044         printf_arginfo_function types using __PMT not __P.
1045         Reported by Marc Lehmann.
1047 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1049         * assert/test-assert.c: New test.
1050         * assert/test-assert-perr.c: New test.
1051         * assert/Makefile (tests): Add test-assert and test-assert-perr.
1053 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1055         BSD-style SCM_CREDS support.
1057         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
1058         SCM_CREDS.
1059         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1060         visible SCM_CREDS packet to what the kernel wants.
1061         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1062         SCM_CREDS packet output by kernel to what users want.
1064         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1065         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1066         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1067         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1069         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1070         __sendmsg and __recvmsg to sysdep_routines.
1071         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1073 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1075         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1076         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1077         * nscd/nscd.c: Check, if pthread_create fails.
1079 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1081         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1082         format strings.
1083         * stdio-common/bug1.c (main): Likewise.
1084         * stdio-common/bug5.c (main): Likewise.
1085         * stdio-common/tstgetln.c (main): Likewise.
1086         * elf/sprof.c (generate_call_graph): Likewise.
1087         (load_shobj): Likewise.
1088         * posix/runptests.c (main): Likewise.
1089         * string/tst-strlen.c (main): Likewise.
1091         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1092         variable q3.
1093         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1095 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1097         * wctype/Versions: Add __towctrans.
1098         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1100 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1102         * grp/initgroups.c (compat_call): Only call dynamically loaded
1103         functions if they are really present.
1105 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1107         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1108         #ifdef that contains __BEGIN_DECLS.
1110 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1112         * libio/iofwrite.c: Fix return value when size == 0.
1114 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1116         * posix/Makefile (distribute): Add annexc.c.
1117         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1119 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1122         bits/pthreadtypes.h here, and do not clobber headers.
1124         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1126 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1128         * timezone/tst-timezone.c: Add tests for tzname variable.
1130 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1132         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1133         rule that lists all of them as targets.
1134         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1135         fragment that defines $(vers-libs) based on contents of that file;
1136         then include it.
1137         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1138         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1139         Predicate all this on avoid-generated unset as well as versioning.
1141 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1143         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1145 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1147         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1148         a copy.
1149         * Makefile: Add rules to generate map files.
1150         (distribute): Remove libc.map, add Versions.def and versions.awk.
1151         * Makerules: Change rules to find map files on common-objpfx.
1152         * elf/Makefile: Likewise.
1153         * md5-crypt/Makefile: Likewise.
1154         * nis/Makefile (libnsl-map): Remove.
1155         * Versions.def: New file.
1156         * versions.awk: New file.
1157         * argp/Versions: New file.
1158         * assert/Versions: New file.
1159         * catgets/Versions: New file.
1160         * csu/Versions: New file.
1161         * ctype/Versions: New file.
1162         * db/Versions: New file.
1163         * debug/Versions: New file.
1164         * dirent/Versions: New file.
1165         * elf/Versions: New file.
1166         * gmon/Versions: New file.
1167         * grp/Versions: New file.
1168         * hesiod/Versions: New file.
1169         * hurd/Versions: New file.
1170         * iconv/Versions: New file.
1171         * inet/Versions: New file.
1172         * intl/Versions: New file.
1173         * io/Versions: New file.
1174         * libio/Versions: New file.
1175         * linuxthreads/Versions: New file.
1176         * locale/Versions: New file.
1177         * login/Versions: New file.
1178         * malloc/Versions: New file.
1179         * math/Versions: New file.
1180         * md5-crypt/Versions: New file.
1181         * misc/Versions: New file.
1182         * nis/Versions: New file.
1183         * nss/Versions: New file.
1184         * posix/Versions: New file.
1185         * pwd/Versions: New file.
1186         * resolv/Versions: New file.
1187         * resource/Versions: New file.
1188         * rt/Versions: New file.
1189         * setjmp/Versions: New file.
1190         * shadow/Versions: New file.
1191         * signal/Versions: New file.
1192         * socket/Versions: New file.
1193         * stdio/Versions: New file.
1194         * stdio-common/Versions: New file.
1195         * stdlib/Versions: New file.
1196         * streams/Versions: New file.
1197         * string/Versions: New file.
1198         * sunrpc/Versions: New file.
1199         * sysdeps/alpha/Versions: New file.
1200         * sysdeps/alpha/fpu/Versions: New file.
1201         * sysdeps/i386/Versions: New file.
1202         * sysdeps/sparc/Versions: New file.
1203         * sysdeps/unix/sysv/Versions: New file.
1204         * sysdeps/unix/sysv/linux/Versions: New file.
1205         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1206         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1207         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1208         * sysvipc/Versions: New file.
1209         * termios/Versions: New file.
1210         * time/Versions: New file.
1211         * wcsmbs/Versions: New file.
1212         * wctype/Versions: New file.
1213         * libc.map: Removed.
1214         * db/libdb.map: Removed.
1215         * elf/libdl.map: Removed.
1216         * hesiod/libnss_hesiod.map: Removed.
1217         * hurd/libhurduser.map: Removed.
1218         * hurd/libmachuser.map: Removed.
1219         * linuxthreads/libpthread.map: Removed.
1220         * locale/libBrokenLocale.map: Removed.
1221         * login/libutil.map: Removed.
1222         * math/libm.map: Removed.
1223         * md5-crypt/libcrypt.map: Removed.
1224         * nis/libnsl.map: Removed.
1225         * nis/libnsl_compat.map: Removed.
1226         * nis/libnss_nis.map: Removed.
1227         * nis/libnss_nisplus.map: Removed.
1228         * nss/libnss_db.map: Removed.
1229         * nss/libnss_files.map: Removed.
1230         * resolv/libnss_dns.map: Removed.
1231         * resolv/libresolv.map: Removed.
1232         * rt/librt.map: Removed.
1234         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1235         Fix typos.
1237         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1238         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1240         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1241         correct size.
1243 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1245         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1246         in comment.
1248         * nscd/nscd.c: Include unistd.h.
1250 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1252         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1253         became cleverer.
1255 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1257         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1259 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1261         * scripts/test-installation.pl: Include <stdio.h> in test program
1262         to make it strictly conforming.
1264 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1266         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1267         not a strong alias.
1268         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1271         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1273 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1275         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1276         not a strong alias.
1278 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1280         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1281         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1282         bits/pthreadtypes.h.
1284 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1286         * include/aio.h: New file.
1287         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1288         (tests): Build and run annexc program.
1289         * posix/annexc.c: New file.
1290         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1291         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1292         * rt/aio_misc.c: Include limits.h.
1293         * rt/aio_notify.c: Include errno.h.
1294         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1295         Define size_t.
1296         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1297         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1298         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1299         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1300         kernel doesn't do this.
1301         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1302         __USE_LARGEFILE64 is defined.
1303         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1304         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1305         if requested.
1306         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1308         * stdlib/isomac.c: Avoid include_next warning.
1310 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1312         * argp/argp.h: Use __PMT instead of __P for function pointer.
1313         * iconv/gconv.h: Likewise.
1314         * io/fts.h: Likewise.
1315         * io/ftw.h: Likewise.
1316         * libio/libio.h: Likewise.
1317         * malloc/mcheck.h: Likewise.
1318         * misc/search.h: Likewise.
1319         * posix/glob.h: Likewise.
1320         * resolv/resolv.h: Likewise.
1321         * signal/signal.h: Likewise.
1322         * stdlib/stdlib.h: Likewise.
1323         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1324         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1326 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1328         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1330 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1332         * posix/wordexp.c (parse_param): Fix memory leak.
1334 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1336         * libc.map: Export _IO_ftrylockfile.
1338 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1340         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1341         __get[pu]id.
1343 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1345         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1347         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1348         same search list twice.
1350 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1352         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1353         used to optimize loop/select.
1355 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1357         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1358         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1359         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1360         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1361         * sysdeps/arm/init-first.c: Likewise.
1362         * posix/getopt_init.c: Don't use __libc_pid.
1363         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1364         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1365         * libc.map: Remove __libc_uid and __libc_pid.
1367 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1369         * sunrpc/rtime.c (rtime): Use poll instead of select.
1371 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1373         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1374         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1375         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1376         Patches from FreeBSD current.
1378 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1380         * nscd/connections.c (handle_new_request): Handle POLLHUP
1381         correctly.
1382         (close_sockets): Correct parameter to dbg_log.
1384 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1387         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1388         (elf_machine_fixup_plt): Likewise.
1389         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1390         _dl_pagesize not set, use system call to always get correct answer.
1391         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1392         (__syscall_getpagesize): Add
1394 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1396         * resolv/res_send.c (res_send): Fix typo.
1398 1998-06-25  Andi Kleen <ak@muc.de>
1400         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1401         * resolv/res_send.c (res_send): Likewise.
1403 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1405         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1406         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1408 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1410         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1411         * math/atest-exp2.c (exp_mpn, main): Likewise.
1412         * math/atest-sincos.c (main): Likewise.
1414         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1415         base handling away from strtoul.  Always reset errno.
1417         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1419         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1420         _dl_profile_map if _dl_name_match_p.
1421         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1422         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1424         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1425         as early-clobber.
1427         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1428         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1429         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1431 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1433         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1435 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1437         * nis/nis_call.c: Don't copy server structure.
1438         * nis/nis_intern.h: Remove unused entries.
1439         * nis/nis_table.c: Rewrite __create_ib_request.
1441 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1443         * configure.in: Check for -fexceptions.
1444         * config.make.in: Define exceptions, not no-exceptions.
1445         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1446         __P to use throw().
1447         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1448         $(exceptions).
1449         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1450         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1451         lfind, and lsearch prototpypes.
1452         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1454 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1456         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1458 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1460         * Makefile (remove-old-headers): Make phony.
1462         * configure.in: Substitute @old_glibc_headers@.
1464 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1466         * libc.map: Remove __libc_uid.
1468 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1470         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1471         typos.
1473 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1475         * libc.map: Add Alpha-specific io function from protected namespace.
1477 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1479         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1480         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1481         CPPFLAGS.
1483         * libc.map: Export __sigaction.
1485 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1487         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1488         (from Linux 2.1.107).
1490 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1492         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1493         position when file was opened here.
1494         Reported by Howard Chu <hyc@platinum.com>.
1496         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1497         undefined in a second inclusion.
1499 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1501         * sysdeps/mach/hurd/i386/Makefile: New file.
1502         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1503         __libc_init_secure.
1504         (_hurd_stack_setup): Renamed
1505         from __libc_init_first.
1506         (__libc_init_first): New function.
1507         * sysdeps/mach/hurd/i386/static-start.S: New file.
1509 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1511         * sysdeps/mach/hurd/i386/init-first.c
1513 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1515         * grp/initgroups.c: Use _CALL_DL_FCT.
1517 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1519         * elf/rtld.c (process_dl_debug): Add missing continue.
1521 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1523         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1525 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1527         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1529 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1531         * config.make.in: Remove LDAP support.
1532         * nss/Makefile: Likewise.
1534 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1536         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1537         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1538         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1539         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1541 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1543         * mach/Makefile: Change `mv' invocations to `mv -f'.
1544         * mach/Machrules: Likewise.
1546 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1548         * config.make.in (old-glibc-headers): Add it.
1550         * configure.in: Add test for glibc 2.0.x headers.
1552         * Makefile (headers2_0): New variable - contains so far only
1553         Linux/Intel glibc 2.0.x headers.
1554         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1555         (install): Depend on remove-old-headers.
1557 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1559         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1560         make ftruncate a weak alias.
1561         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1562         __ftruncate.
1563         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1564         (truncate): Fix function defenition to match prototype.
1566 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1568         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1569         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1571 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1573         * sysdeps/generic/glob.c: Make it possible to include glob.h
1574         before loading glob.c.
1575         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1577 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1579         * nscd/connections.c: Use poll() instead of select().
1581 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1583         * sysdeps/generic/Dist: Fix typo.
1585 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1587         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1588         * nis/nis_addmember.c: Likewise.
1589         * nis/nis_call.c: Likewise.
1590         * nis/nis_creategroup.c: Likewise.
1591         * nis/nis_destroygroup.c: Likewise.
1592         * nis/nis_findserv.c: Likewise.
1593         * nis/nis_ismember.c: Likewise.
1594         * nis/nis_print.c: Likewise.
1595         * nis/nis_print_group_entry.c: Likewise.
1596         * nis/nis_removemember.c: Likewise.
1597         * nis/nis_verifygroup.c: Likewise.
1598         * nis/ypclnt.c: Likewise.
1600         * nis/nis_file.c: Close file handles.
1602         * nis/nis_callback.c: Fix typo.
1604 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1606         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1607         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1608         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1609         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1610         * nis/nss_nis/nis-initgroups.c: Likewise.
1611         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1612         __nss_lookup_function and make it public.
1613         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1614         module if exists, else use old method.
1616 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1618         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1619         definition.
1620         * nss/getXXent_r.c (set_function, end_function, get_function):
1621         Likewise.  Reported by Thorsten Kukuk.
1623         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1625 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1627         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1628         1998-06-16 and distribute kernel_termios.h.
1630         * nis/Makefile (distribute): Add nis_xdr.h.
1632 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1634         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1635         kernels that don't have sigaltstack.
1637 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1639         * sysdeps/generic/bits/sem.h: Don't define union semun.
1641         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1643         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1644         here.
1645         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1646         definition here.
1648 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1650         * signal/signal.h: Add prototype for __sigaltstack.
1651         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1652         Remove sigstack entry.
1653         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1654         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1656         * sysdeps/i386/backtrace.c: Add casts.
1658 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1660         * intl/dcgettext.c: use complete type name.
1661         * intl/hash-string.h: Likewise.
1663         * intl/localealias.c: Undo patch from 1998-04-29.
1664         * intl/l10nflist.c: Likewise.
1665         * intl/loadinfo.h: Likewise.
1667 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1669         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1671 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1673         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1674         _dl_mcount, _dl_mcount_wrapper.
1675         * elf/Makefile (routines): Add dl-profstub.
1676         * elf/dl-profstub.c: New file.
1677         * elf/dl-support.c: Don't define _dl_profile_map.
1678         * elf/rtld.c: Likewise.
1679         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1680         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1681         Define _CALL_DL_FCT.
1682         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1683         loaded object.
1684         * iconv/gconv_db.c: Likewise.
1685         * iconv/skeleton.c: Likewise.
1686         * nss/getXXbyYY_r.c: Likewise.
1687         * nss/getXXent_r.c: Likewise.
1688         * nss/nsswitch.c: Likewise.
1690 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1692         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1693         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1694         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1696 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1698         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1699         longestdbl.
1701 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1703         * iconvdata/Makefile (modules): Add MACINTOSH.
1704         (MACINTOSH-routines): New variable.
1705         (distribute): Add macintosh.c.
1706         (awk-generated-headers): Add macintosh.h.
1707         Add rule for macintosh.h generation.
1708         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1709         * iconvdata/macintosh.c: New file.
1711 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1713         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1715         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1716         only should happen for cy != 0.
1718         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1719         glob.h.
1721 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1723         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1724         to compare stack addresses.
1726 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1728         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1729         defining prototypes.
1731 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1733         * sysdeps/sparc/sparc32/dl-machine.h
1734         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1735         flushes as the kernel will emulate it when the underlying cpu does
1736         not implement flush.
1738         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1739         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1741         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1742         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1743         trampoline code.
1745         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1746         (__clone): Branch to label .Lerror not __clone_syscall_error.
1747         (.Lerror): Fixup EINVAL setting.
1748         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1749         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1750         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1751         (__syscall_getgroups, __syscall_setgroups): Add.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1754         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1755         around sa_mask data.
1757 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1759         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1761         * string/Makefile: Make sure test-ffs does not use builtins.
1763 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1765         * sunrpc/svc.c: Check for NULL pointer.
1767         * nis/libnsl.map: Add public NIS+ xdr functions.
1769         * nis/rpcsvc/nis_callback.h: New file.
1770         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1771         * nis/nis_xdr.h: ... here.
1773         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1774         pointers, use NIS+ defines where possible.
1775         * nis/nis_cache.c: Likewise.
1776         * nis/nis_cache2_xdr.c: Likewise.
1777         * nis/nis_call.c: Likewise.
1778         * nis/nis_checkpoint.c: Likewise.
1779         * nis/nis_clone_dir.c: Likewise.
1780         * nis/nis_clone_obj.c: Likewise.
1781         * nis/nis_clone_res.c: Likewise.
1782         * nis/nis_creategroup.c: Likewise.
1783         * nis/nis_file.c: Likewise.
1784         * nis/nis_free.c: Likewise.
1785         * nis/nis_getservlist.c: Likewise.
1786         * nis/nis_local_names.c: likewise.
1787         * nis/nis_lookup.c: Likewise.
1788         * nis/nis_mkdir.c: Likewise.
1789         * nis/nis_modify.c: Likewise.
1790         * nis/nis_ping.c: Likewise.
1791         * nis/nis_print.c: Likewise.
1792         * nis/nis_remove.c: Likewise.
1793         * nis/nis_removemember.c: Likewise.
1794         * nis/nis_rmdir.c: Likewise.
1795         * nis/nis_server.c: Likewise.
1796         * nis/nis_table.c: Likewise.
1797         * nis/nis_util.c: Likewise.
1798         * nis/nis_verifygroup.c: Likewise.
1799         * nis/nis_xdr.c: Likewise.
1800         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1801         * nis/nis_xdr.c: ... to here.
1803 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1805         * iconvdata/ksc5601.h: Clean up a bit.
1807 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1809         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1810         and process incoming data.
1811         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1812         fragments as invalid.
1813         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1815 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1817         Removal of duplicates like "the the".
1818         * manual/time.texi (TZ Variable): Likewise.
1819         * manual/users.texi (Manipulating the Database): Likewise.
1820         * manual/sysinfo.texi (Filesystem handling): Likewise.
1821         * manual/signal.texi (Signaling Yourself): Likewise.
1822         * manual/message.texi (Message Translation): Likewise.
1823         (Common Usage): Likewise.
1824         * manual/llio.texi: Likewise.
1825         * manual/arith.texi (Old-style number conversion): Likewise.
1826         * manual/argp.texi (Argp): Likewise.
1827         (Argp Parsers): Likewise.
1828         (Argp Help Filtering): Likewise.
1830         * hesiod/README.hesiod: Correct typo.
1832         * manual/llio.texi: Correct typos.
1833         * manual/sysinfo.texi: Likewise.
1835 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1837         * rt/aio.h: Rename __op to __operation for g++.
1839 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1841         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1842         script.
1843         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1844         * iconvdata/gen-8bit.sh: Clean up sed script.
1846         * iconvdata/Makefile: Remove all PERL conditionals; build all
1847         the modules all the time.  Export AWK.
1848         (gen-8bit-gap): Delete setting of PERL.
1849         (gen-8bit-gap-1): Likewise.
1850         (perl-generated-headers): Renamed awk-generated-headers.
1852         * iconvdata/gap.pl: Removed.
1853         * iconvdata/gaptab.pl: Removed.
1854         * iconvdata/gap.awk: New file.
1855         * iconvdata/gaptab.awk: New file.
1857 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1859         * sysdeps/generic/Dist: Add errno-loc.c.
1861         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1862         __new_* functions.
1864 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1866         * stdio-common/bug12.c: New test for fread()/fseek().
1867         * stdio-common/Makefile (tests): Add bug12.
1869 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1871         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1872         constant.
1873         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1874         * debug/execinfo.h: Update declaration.
1876 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1878         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1879         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1880         * debug/execinfo.h: Update declaration.
1882 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1884         * manual/llio.texi: Fix spelling.
1885         * manual/sysinfo.texi: Fix spelling.
1887 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1889         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1890         alias for old name.  Put this on __libc_subfreeres.
1891         * misc/search.h: Declare it.
1893 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1895         * string/bits/string2.h (strcmp): Add missing parens around macro
1896         parameters.
1898 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1900         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1902         * manual/filesys.texi: Document LFS functions.
1903         * manual/llio.texi: Likewise.
1904         * manual/stdio.texi: Likewise.
1905         * manual/time.texi: Likewise.
1907         * manual/llio.texi: Document AIO functions.
1909         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1910         * sysdeps/generic/setrlimit.c: Likewise.
1911         * sysdeps/generic/setrlimit64.c: Likewise.
1912         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1913         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1915 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1917         * sysdeps/generic/getenv.c: Fix last change.
1919 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1921         * sysdeps/generic/backtrace.c: Provide generic implementation.
1923 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1925         * configure.in: Give visual feedback of the default directories we
1926         added.
1928 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1930         * io/fts.c (fts_build): Define oflag only if needed.
1932 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1934         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1936 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1938         * libc.map: Don't export argp's fmtstream handling functions.
1940         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1941         * manual/llio.texi: Document more LFS functions and start documenting
1942         the AIO functions.
1944 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1946         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1947         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1948         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1949         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1951 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1953         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1954         makes it easier to undump emacs.
1955         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1956         for when the endianness can't be determined.
1958 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1960         * nss/Makefile: Add files publickey database support.
1961         * nss/libnss_files.map: Export the required functions.
1962         * nss/nss_files/files-key.c: Implement it.
1963         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1965 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1967         * iconv/gconv_builtin.h: Add aliases for CORBA.
1968         * iconvdata/gconv-modules: Likewise.
1970 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1972         * math/libm-test.c (main): Call exp10_test.
1973         (exp10_test): New function which tests exp10.
1975 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1977         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1978         sigstack.
1980         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1981         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1982         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1984 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1986         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1987         in the variable, not its GOT slot.
1989 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1991         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1992         inline.
1993         * sysdeps/m68k/fpu/e_exp10.c: New file.
1994         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1995         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1997         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1998         _dl_profile_map only if the name matches.
1999         (_dl_start_user): Remember stack address.
2000         * sysdeps/m68k/elf/start.S: Pass new argument to
2001         __libc_start_user.
2003         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
2004         definition.
2005         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
2006         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2007         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2008         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2009         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
2011 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
2013         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
2014         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
2015         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
2016         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
2017         prototypes.
2018         * sysdeps/libm-i387/e_exp10.S: New file.
2019         * sysdeps/libm-i387/e_exp10f.S: New file.
2020         * sysdeps/libm-i387/e_exp10l.S: New file.
2021         * sysdeps/libm-ieee754/e_exp10.c: New file.
2022         * sysdeps/libm-ieee754/e_exp10f.c: New file.
2023         * sysdeps/libm-ieee754/e_exp10l.c: New file.
2024         * sysdeps/libm-ieee754/w_exp10.c: New file.
2025         * sysdeps/libm-ieee754/w_exp10f.c: New file.
2026         * sysdeps/libm-ieee754/w_exp10l.c: New file.
2027         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
2029 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
2031         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
2032         sys/elf.h and sys/reg.h.
2033         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
2034         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
2035         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
2036         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
2038         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
2039         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
2041 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
2043         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
2044         __data member only for gcc.  Reported by ak@muc.de.
2046         * misc/mntent.h: Undo last patch.
2047         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
2048         * misc/tst/mntent.c: Adjust code for this change.
2050         * io/fts.c: Updated from a slightly more recent BSD version.
2051         * io/fts.h: Likewise.
2053         * libc.map: Add __libc_stack_end.
2055         * db2/Makefile (routines): Add lock_region.
2056         * db2/config.h: Update from db-2.4.14.
2057         * db2/db.h: Likewise.
2058         * db2/db_185.h: Likewise.
2059         * db2/db_int.h: Likewise.
2060         * db2/btree/bt_close.c: Likewise.
2061         * db2/btree/bt_compare.c: Likewise.
2062         * db2/btree/bt_conv.c: Likewise.
2063         * db2/btree/bt_cursor.c: Likewise.
2064         * db2/btree/bt_delete.c: Likewise.
2065         * db2/btree/bt_open.c: Likewise.
2066         * db2/btree/bt_page.c: Likewise.
2067         * db2/btree/bt_put.c: Likewise.
2068         * db2/btree/bt_rec.c: Likewise.
2069         * db2/btree/bt_recno.c: Likewise.
2070         * db2/btree/bt_rsearch.c: Likewise.
2071         * db2/btree/bt_search.c: Likewise.
2072         * db2/btree/bt_split.c: Likewise.
2073         * db2/btree/bt_stat.c: Likewise.
2074         * db2/btree/btree.src: Likewise.
2075         * db2/btree/btree_auto.c: Likewise.
2076         * db2/clib/getlong.c: Likewise.
2077         * db2/common/db_appinit.c: Likewise.
2078         * db2/common/db_apprec.c: Likewise.
2079         * db2/common/db_byteorder.c: Likewise.
2080         * db2/common/db_err.c: Likewise.
2081         * db2/common/db_log2.c: Likewise.
2082         * db2/common/db_region.c: Likewise.
2083         * db2/common/db_salloc.c: Likewise.
2084         * db2/common/db_shash.c: Likewise.
2085         * db2/db/db.c: Likewise.
2086         * db2/db/db.src: Likewise.
2087         * db2/db/db_auto.c: Likewise.
2088         * db2/db/db_conv.c: Likewise.
2089         * db2/db/db_dispatch.c: Likewise.
2090         * db2/db/db_dup.c: Likewise.
2091         * db2/db/db_overflow.c: Likewise.
2092         * db2/db/db_pr.c: Likewise.
2093         * db2/db/db_rec.c: Likewise.
2094         * db2/db/db_ret.c: Likewise.
2095         * db2/db/db_thread.c: Likewise.
2096         * db2/db185/db185.c: Likewise.
2097         * db2/db185/db185_int.h: Likewise.
2098         * db2/dbm/dbm.c: Likewise.
2099         * db2/hash/hash.c: Likewise.
2100         * db2/hash/hash.src: Likewise.
2101         * db2/hash/hash_auto.c: Likewise.
2102         * db2/hash/hash_conv.c: Likewise.
2103         * db2/hash/hash_debug.c: Likewise.
2104         * db2/hash/hash_dup.c: Likewise.
2105         * db2/hash/hash_func.c: Likewise.
2106         * db2/hash/hash_page.c: Likewise.
2107         * db2/hash/hash_rec.c: Likewise.
2108         * db2/hash/hash_stat.c: Likewise.
2109         * db2/include/btree.h: Likewise.
2110         * db2/include/btree_ext.h: Likewise.
2111         * db2/include/clib_ext.h: Likewise.
2112         * db2/include/common_ext.h: Likewise.
2113         * db2/include/cxx_int.h: Likewise.
2114         * db2/include/db.h.src: Likewise.
2115         * db2/include/db_185.h.src: Likewise.
2116         * db2/include/db_am.h: Likewise.
2117         * db2/include/db_auto.h: Likewise.
2118         * db2/include/db_cxx.h: Likewise.
2119         * db2/include/db_dispatch.h: Likewise.
2120         * db2/include/db_ext.h: Likewise.
2121         * db2/include/db_int.h.src: Likewise.
2122         * db2/include/db_page.h: Likewise.
2123         * db2/include/db_shash.h: Likewise.
2124         * db2/include/db_swap.h: Likewise.
2125         * db2/include/hash.h: Likewise.
2126         * db2/include/hash_ext.h: Likewise.
2127         * db2/include/lock.h: Likewise.
2128         * db2/include/lock_ext.h: Likewise.
2129         * db2/include/log.h: Likewise.
2130         * db2/include/log_ext.h: Likewise.
2131         * db2/include/mp.h: Likewise.
2132         * db2/include/mp_ext.h: Likewise.
2133         * db2/include/mutex_ext.h: Likewise.
2134         * db2/include/os_ext.h: Likewise.
2135         * db2/include/os_func.h: Likewise.
2136         * db2/include/queue.h: Likewise.
2137         * db2/include/shqueue.h: Likewise.
2138         * db2/include/txn.h: Likewise.
2139         * db2/lock/lock.c: Likewise.
2140         * db2/lock/lock_conflict.c: Likewise.
2141         * db2/lock/lock_deadlock.c: Likewise.
2142         * db2/lock/lock_region.c: Likewise.
2143         * db2/lock/lock_util.c: Likewise.
2144         * db2/log/log.c: Likewise.
2145         * db2/log/log.src: Likewise.
2146         * db2/log/log_archive.c: Likewise.
2147         * db2/log/log_auto.c: Likewise.
2148         * db2/log/log_compare.c: Likewise.
2149         * db2/log/log_findckp.c: Likewise.
2150         * db2/log/log_get.c: Likewise.
2151         * db2/log/log_put.c: Likewise.
2152         * db2/log/log_rec.c: Likewise.
2153         * db2/log/log_register.c: Likewise.
2154         * db2/mp/mp_bh.c: Likewise.
2155         * db2/mp/mp_fget.c: Likewise.
2156         * db2/mp/mp_fopen.c: Likewise.
2157         * db2/mp/mp_fput.c: Likewise.
2158         * db2/mp/mp_fset.c: Likewise.
2159         * db2/mp/mp_open.c: Likewise.
2160         * db2/mp/mp_pr.c: Likewise.
2161         * db2/mp/mp_region.c: Likewise.
2162         * db2/mp/mp_sync.c: Likewise.
2163         * db2/mutex/68020.gcc: Likewise.
2164         * db2/mutex/mutex.c: Likewise.
2165         * db2/mutex/parisc.gcc: Likewise.
2166         * db2/mutex/parisc.hp: Likewise.
2167         * db2/mutex/sco.cc: Likewise.
2168         * db2/os/os_abs.c: Likewise.
2169         * db2/os/os_alloc.c: Likewise.
2170         * db2/os/os_config.c: Likewise.
2171         * db2/os/os_dir.c: Likewise.
2172         * db2/os/os_fid.c: Likewise.
2173         * db2/os/os_fsync.c: Likewise.
2174         * db2/os/os_map.c: Likewise.
2175         * db2/os/os_oflags.c: Likewise.
2176         * db2/os/os_open.c: Likewise.
2177         * db2/os/os_rpath.c: Likewise.
2178         * db2/os/os_rw.c: Likewise.
2179         * db2/os/os_seek.c: Likewise.
2180         * db2/os/os_sleep.c: Likewise.
2181         * db2/os/os_spin.c: Likewise.
2182         * db2/os/os_stat.c: Likewise.
2183         * db2/os/os_unlink.c: Likewise.
2184         * db2/progs/db_archive/db_archive.c: Likewise.
2185         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2186         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2187         * db2/progs/db_dump/db_dump.c: Likewise.
2188         * db2/progs/db_dump185/db_dump185.c: Likewise.
2189         * db2/progs/db_load/db_load.c: Likewise.
2190         * db2/progs/db_printlog/db_printlog.c: Likewise.
2191         * db2/progs/db_recover/db_recover.c: Likewise.
2192         * db2/progs/db_stat/db_stat.c: Likewise.
2193         * db2/txn/txn.c: Likewise.
2194         * db2/txn/txn.src: Likewise.
2195         * db2/txn/txn_auto.c: Likewise.
2196         * db2/txn/txn_rec.c: Likewise.
2198         * elf/rtld.c: Move definition of __libc_stack_end to ...
2199         * sysdeps/generic/dl-sysdep.h: ...here.
2201         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2202         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2203         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2205         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2206         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2207         before following it.
2209 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2211         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2212         from mntent correctly.
2214 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2216         * sunrpc/Makefile (generated): Correct typo.
2218 1998-06-04  Philip Blundell  <philb@gnu.org>
2220         * elf/elf.h (EM_ARM, et al.): New definitions.
2221         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2223 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2225         * localedata/SUPPORTED: Add sk_SK.
2226         * localedata/locales/sk_SK: New file.
2228 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2230         * Makeconfig (subdirs): Add debug.
2231         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2232         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2233         backtrace_symbols.
2234         * sysdeps/generic/backtrace.c: New file.
2235         * sysdeps/generic/backtracesyms.c: New file.
2236         * sysdeps/generic/elf/backtracesyms.c: New file.
2237         * sysdeps/i386/backtrace.c: New file.
2238         * debug/Makefile: New file.
2239         * debug/backtrace-tst.c: New file.
2240         * debug/execinfo.h: New file.
2242 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2244         * elf/sprof.c: Implement call graph profiling.
2246         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2248 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2250         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2251         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2252         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2253         Noticed by Jake Garver <garver@valkyrie.net>.
2255 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2257         * libio/genops.c (__underflow): Read character from read pointer
2258         as unsigned.
2259         (__uflow): Likewise.
2261 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2263         * libc.map: Add _dl_profile.
2264         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2265         this to ELF_DYNAMIC_RELOCATE.
2266         Always allocate array for relocation result if LD_PROFILE is defined.
2267         * elf/ldsodefs.h: Adjust prototypes.
2268         * elf/dl-open.c (_dl_open): Call relocation function with extra
2269         argument.
2270         * elf/rtld.c: Likewise.
2271         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2272         Correct loop condition.
2273         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2274         consider_profile to runtime setup function.
2275         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2276         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2278         * elf/dl-support.c: Define __libc_stack_end.
2279         * elf/rtld.c: Likewise.
2280         * sysdeps/generic/libc-start.c: Store last stack address in
2281         __libc_stack_end.
2282         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2283         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2285         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2286         Include <stdint.h>, not <inttypes.h>.
2288         * elf/sprof.c: Implement flat profiling.
2290         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2291         _IO_funlockfile explicitly.
2292         * libio/fileops.c: Likewise.
2293         * libio/fputc.c: Likewise.
2294         * libio/freopen.c: Likewise.
2295         * libio/freopen64.c: Likewise.
2296         * libio/fseek.c: Likewise.
2297         * libio/fseeko.c: Likewise.
2298         * libio/fseeko64.c: Likewise.
2299         * libio/ftello.c: Likewise.
2300         * libio/ftello64.c: Likewise.
2301         * libio/getc.c: Likewise.
2302         * libio/getchar.c: Likewise.
2303         * libio/iofclose.c: Likewise.
2304         * libio/iofflush.c: Likewise.
2305         * libio/iofgetpos.c: Likewise.
2306         * libio/iofgetpos64.c: Likewise.
2307         * libio/iofgets.c: Likewise.
2308         * libio/iofputs.c: Likewise.
2309         * libio/iofread.c: Likewise.
2310         * libio/iofsetpos.c: Likewise.
2311         * libio/iofsetpos64.c: Likewise.
2312         * libio/ioftell.c: Likewise.
2313         * libio/iofwrite.c: Likewise.
2314         * libio/iogetdelim.c: Likewise.
2315         * libio/iogets.c: Likewise.
2316         * libio/ioputs.c: Likewise.
2317         * libio/ioseekoff.c: Likewise.
2318         * libio/ioseekpos.c: Likewise.
2319         * libio/iosetbuffer.c: Likewise.
2320         * libio/iosetvbuf.c: Likewise.
2321         * libio/ioungetc.c: Likewise.
2322         * libio/iovsprintf.c: Likewise.
2323         * libio/iovsscanf.c: Likewise.
2324         * libio/oldfileops.c: Likewise.
2325         * libio/oldiofclose.c: Likewise.
2326         * libio/peekc.c: Likewise.
2327         * libio/putc.c: Likewise.
2328         * libio/putchar.c: Likewise.
2329         * libio/rewind.c: Likewise.
2331         * malloc/mtrace.c: Pretty print.
2333         * misc/mntent.h (struct mentent): Make string elements const char *.
2335         * nis/nis_printf.c: Optimize I/O a little bit.
2337         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2338         * sysdeps/generic/sigset-cvt-mask.h: New file.
2339         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2340         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2341         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2342         sigset-cvt-mask.h to do the dirty work.
2343         Patches by Joe Keane.
2345         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2347         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2348         syscall_error label in case of PIC anonymous.
2349         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2350         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2351         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2352         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2353         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2354         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2355         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2357 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2359         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2360         we cannot declare the struct element as const.
2361         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2362         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2364 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2366         * manual/Makefile: Include ../Makeconfig earlier.
2367         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2368         exist.
2369         (dir-add.texinfo): Remove useless $(SHELL).
2371 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2373         * Makefile (others): Build programs from install-bin.
2374         * configure.in: Modify config.make only if is was just created and
2375         move that command to second argument of AC_OUTPUT.  Add command to
2376         set config_vars in config.status.
2378 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2380         * malloc/Makefile (address-width): Fix conditional.
2382 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2384         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2385         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2386         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2387         version GLIBC_2.1.
2389 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2391         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2392         (Floating Point Parameters): Likewise.
2394 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2396         * hurd/Makefile (routines): Add cthreads.
2398 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2400         * login/login.c (login): Let pututline take care of finding the
2401         positin to insert the UTMP entry.  This corrects a bug where ssh
2402         was not reusing UTMP entries marked as DEAD_PROCESS.
2403         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2405 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2407         * login/Makefile (tests): New variable, add tst-utmp and
2408         tst-utmpx.
2409         * login/tst-utmp.c: New file.
2410         * login/tst-utmpx.c: New file.
2412 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2414         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2415         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2416         but need sys_err.
2418 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2420         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2421         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2423 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2425         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2426         make __read a weak alias.  Use ANSI-style function definition.
2427         * sysdeps/mach/hurd/write.c: Likewise.
2429 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2431         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2432         _sys_errlist.
2434 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2436         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2437         Renamed from librtld.so.
2439 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2441         * libc.map: Remove _IO_getline_info which was erroneously
2442         introduced in section GLIBC_2.0.
2443         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2445 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2447         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2448         created a weak alias.
2449         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2451 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2453         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2454         ftruncate function, and create a weak alias to ftruncate.
2456 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2458         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2459         * inet/getnetgrent_r.c: Likewise.
2460         * nss/getXXbyYY_r.c: Likewise.
2461         * nss/getXXent_r.c: Likewise.
2462         * pwd/fgetpwent_r.c: Likewise.
2463         * shadow/sgetspent_r.c: Likewise.
2464         * shadow/fgetspent_r.c: Likewise.
2465         * sunrpc/publickey.c: Likewise.
2467 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2469         * hurd/libhurduser.map: New file.
2470         * mach/libmachuser.map: Likewise.
2472         * libc.map: Add Hurd-specific functions to version 2.1.
2473         Add __flshfp and __fillbf.
2475 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2477         * manual/signal.texi (Basic Signal Handling): Fix typo.
2478         * manual/errno.texi (Error Codes): Likewise.
2480 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2482         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2483         instead of <sys/socket.h>.
2484         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2486         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2487         Finally make it working.
2488         Patch by Mark Hatle <fray@kernel.crashing.org>.
2490 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2492         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2493         a Solaris 2.6 bug.
2495 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2497         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2498         used by ARM systems.
2499         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2500         FE_EXCEPT_SHIFT.
2501         * sysdeps/arm/bits/fenv.h: Deleted.
2502         * sysdeps/arm/fpu/ieee754.h: New file.
2503         * sysdeps/arm/gmp-mparam.h: New file.
2504         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2505         implementation.
2507 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2509         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2511         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2512         of ((unused)).  Reported by Bruno Haible.
2514 1998-05-31  Philip Blundell  <philb@gnu.org>
2516         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2517         referring to errno and _errno.
2519         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2521         * sysdeps/i386/fpu_control.h: Fix typo.
2523         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2524         (_JMPBUF_UNWINDS): Added.
2525         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2527 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2529         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2530         order to build header files, not `generated'.
2532         * Rules (before-compile): New target which depends on all
2533         $(before-compile) files.
2535 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2537         * nis/nis_call.c: Make directory search faster.
2539         * nis/nis_callback.c: Insert public key of user in callback data.
2541         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2543         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2545         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2547         * nis/nis_intern.h: Remove duplicated prototype.
2549 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2551         * sunrpc/auth_des.c: Move prototypes from here ...
2552         * sunrpc/rpc/auth.h: ... to here.
2554         * sunrpc/clnt_tcp.c: Add more control flags.
2555         * sunrpc/clnt_udp.c: Likewise.
2557         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2558         domainname.
2560         * sunrpc/rpc/clnt.h: Document, which control flags are not
2561         implementable.
2563         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2565 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2567         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2568         files crash the program.
2570         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2571         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2572         Reported by Deborah Wallach <kerr@pa.dec.com>.
2574 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2576         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2577         on whether this is a stable release or not (keeps snapshot bug
2578         reports out of the database).
2580         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2581         * sysdeps/arm/sysdep.h: Likewise.
2582         * sysdeps/i386/sysdep.h: Likewise.
2583         * sysdeps/m68k/sysdep.h: Likewise.
2584         * sysdeps/mach/mips/sysdep.h: Likewise.
2585         * sysdeps/mach/sys/reboot.h: Likewise.
2586         * sysdeps/mach/sysdep.h: Likewise.
2587         * sysdeps/unix/alpha/sysdep.h: Likewise.
2588         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2589         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2590         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2591         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2592         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2593         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2594         * sysdeps/unix/i386/sysdep.h: Likewise.
2595         * sysdeps/unix/mips/sysdep.h: Likewise.
2596         * sysdeps/unix/sparc/sysdep.h: Likewise.
2597         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2598         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2600         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2601         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2604         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2606 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2608         * mach/Machrules: Use $(move-if-change).
2610 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2612         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2613         * Makerules (lib%.so): Depend on $(+interp).
2614         (libc.so): Add interp.os to list of dependencies.
2615         (interp-obj): Remove variable.
2616         * mach/Machrules (+interp): Define to empty since libhurduser and
2617         libmachuser don't need to have the interpreter set.
2619 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2621         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2623         * resolv/gethnamaddr.c: Likewise.
2625         * resolv/res_comp.c: Likewise.
2627 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2629         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2630         so that transparent union works.
2632 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2634         * manual/texinfo.tex: Update to last available version.
2636         * timezone/africa: Update from tzdata1998e.
2637         * timezone/antarctica: Likewise.
2638         * timezone/asia: Likewise.
2639         * timezone/australasia: Likewise.
2640         * timezone/europe: Likewise.
2641         * timezone/iso3166.tab: Likewise.
2642         * timezone/northamerica: Likewise.
2643         * timezone/tzselect.ksh: Likewise.
2644         * timezone/zone.tab: Likewise.
2646 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2648         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2649         Reported by Matt McLean <keys@brio.yikes.com>.
2651 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2653         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2654         do-gencat-test.  Use automatic variables.
2655         ($(objpfx)de.msg): Fix reference to po file.
2657 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2659         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2660         $(move-if-change).
2662 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2664         * intl/dcgettext.c: Fix typo.
2666 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2668         * configure.in: Allow more make versions e.g 3.76.90.
2670 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2672         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2674         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2675         for Hurd.  Patch by Mark Kettenis.
2677 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2679          * mach/Machrules (+preinit, +postinit): Define these variables to
2680          empty because libhurduser and libmachuser don't need startup
2681          files.
2683 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2685          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2686          instead of a raw bitmask.
2688 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2690         * Makeconfig (rpath-dirs): New variable.
2691         (rpath-link): Use it.
2692         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2693         (db-objpfx): Removed.
2694         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2695         * md5-crypt/Makefile: Likewise.
2696         * sysdeps/mach/hurd/Makefile: Likewise.
2698         * Makeconfig (move-if-change): New variable.
2699         * iconvdata/Makefile (move-if-change): Removed.
2700         * manual/Makefile (move-if-change): Set only if undefined, use
2701         local script by default.
2702         * sunrpc/Makefile (move-if-change): Removed.
2703         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2704         $(move-if-change).
2706          * elf/Makefile: Remove all references to obsolete file
2707          $(objpfx)rtldtbl.h.
2708          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2710 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2712         * elf/dl-close.c (_dl_close): Add debugging message.
2714 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2716         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2717         to get Linux version and not gcc version.
2718         Reported by Alan Curry <pacman@cqc.com>.
2720 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2722         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2723         pointers - return unknown error message instead.
2724         Reported by Alan Curry <pacman@cqc.com>.
2726 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2728         * iconvdata/Makefile (modules, sed-generated-headers,
2729         perl-generated-headers): ibm424.h is perl generated.  Make
2730         necessary modifications to compile without perl.
2732 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2734         * hesiod/hesiod.c (read_config_file): Fix typo.
2736 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2738         * version.h: Bump VERSION.
2740         * csu/Makefile (distribute): Add munch-tmpl.c.
2742 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2744         * nis/nis_defaults.c: Fix buffer problems and typos.
2746 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2748         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2749         Patch by Fred Fish.
2751 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2753         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2754         overwriting bugs.
2756         * libio/strops.c (_IO_str_underflow): Read newly available
2757         character from buffer as unsigned.
2759 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2761         * catgets/Makefile (distribute): Add xopen-msg.h.
2762         (generated): Add de.msg and de.cat.
2763         (tests): Add do-gencat-test.
2764         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2765         * catgets/xopen-msg.h: New file.
2767 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2769         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2770         functions.  Optimize filename creation a bit.
2772 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2774         * stdlib/random_r.c: Help gcc to optimize the code.
2775         Patch by Joe Keane <jgk@jgk.org>.
2777 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2779         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2780         tsearch calls.
2782 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2784         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2785         it.
2787 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2789         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2790         * wcsmbs/wcsrtombs.c: Likewise.
2792         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2793         * wcsmbs/wcsmbs-tst1.c: New file.
2795         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2797         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2798         as 1.
2800         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2801         weak.
2803 1998-05-21  Philip Blundell  <philb@gnu.org>
2805         * sysdeps/arm/fpu_control.h: Replace stub file with real
2806         implementation.
2807         * sysdeps/arm/fpu/bits/fenv.h: New file.
2808         * sysdeps/arm/fpu/fesetround.c: Likewise.
2809         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2810         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2811         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2812         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2813         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2814         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2816 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2818         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2819         read instead of mmap.
2821 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2823         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2824         directly instead of include_next.  Add missing semicolons.
2825         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2826         Add missing semicolons.
2828 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2830         * iconvdata/gconv-modules: Add more aliases to please java
2831         environments.
2833 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2835         * stdio-common/vfprintf.c (process_arg): Fix typo.
2837         * iconvdata/TESTS: New tests for EUC-KR.
2839         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2840         * iconvdata/testdata/EUC-KR: New file.
2842 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2844         * math/libm-test.c (hypot_test): Fix a typo.
2846 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2848         * stdio-common/vfprintf.c: When precision is specified for %ls or
2849         %S handle it correctly.
2851 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2853         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2854         the" in one line - fixed it.
2855         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2856         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2857         * posix/unistd.h: Likewise
2859 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2861         * Makeconfig (rpath-link): Add resolvobjdir.
2862         (resolvobjdir): New variable.
2863         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2865 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2867         * elf/dl-close.c: Call shared object terminators at the right time.
2868         Patch by Philippe Troin <phil@fifi.org>.
2870 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2872         * Make-dist (+tsrcs): Also add *.map for every member of
2873         $(extra-libs).
2875         * Makefile (distribute): Don't distribute scripts/printsources and
2876         scripts/=__ify.  Distribute FAQ.in.
2877         (rpm/%): Don't pass subdirs to sub-make.
2879         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2880         instead of $(no_deps).
2882 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2884         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2885         (KNOWN_VALUE, STORE_VALUE): Do it right.
2886         (setenv): Remove unused variable.
2888 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2890         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2891         (CFLAGS-zdump.c): Add $(tz-cflags).
2893         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2894         return type.
2896 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2898         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2899         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2900         if use_localtime.
2901         * time/tzset.c: Update prototype of __tzfile_compute.
2902         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2903         tm_zone and tm_offset here if __use_tzfile.
2905 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2907         * Makerules: Install libc.a even if there are no object file.
2909 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2911         * Makerules (do-makelib): Don't force creating library from
2912         scratch, which is faster and gets correct behaviour if $(subdirs)
2913         is incomplete.
2915 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2917         * Makerules (do-stamp): Make it work when building in source
2918         directory.
2920 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2922         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2923         inhibit-rpath.
2924         * elf/dl-support.c: Likewise.
2925         * elf/ldsodefs.h: Likewise.
2926         * elf/rtld.c: Likewise.
2927         * iconvdata/run-iconv-test.sh: Likewise.
2929 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2931         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2932         variable using the value.
2933         * elf/ldsodefs.h: Declare _dl_ignore_path.
2934         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2935         object against list in _dl_ignore_path and ignore RPATH if on the list.
2936         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2937         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2938         to make sure we get the correct helper libraries loaded.
2940         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2941         "RPATH" string in call to fillin_rpath instead.
2942         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2944 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2946         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2947         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2949 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2951         * manual/terminal.texi (I/O Queues): Fix typo.
2953         * manual/stdio.texi (Closing Streams): Fix grammar.
2955         * manual/arith.texi (Absolute Value): Correct typo.
2956         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2958 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2960         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2961         LD_PROFILE_OUTPUT in SUID binaries.
2962         * intl/dcgettext.c: In SUID binaries don't let language part of
2963         locale value contain path elements.
2964         * intl/explodename.h: Define new function _nl_find_language.
2965         * intl/loadinfo.h: Declare _nl_find_language.
2966         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2967         language part it drop the value is path element is contained.
2969         * locale/setlocale.c: Fix typo.
2971 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2973         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2975         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2977         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2978         log, not a byte-count.
2980         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2981         a.out compatibility.
2983 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2985         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2986         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2987         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2988         * posix/unistd.h: Likewise.
2989         * math/math.h: Likewise.
2990         * manual/users.texi (Manipulating the Database): Likewise.
2991         * manual/signal.texi (Job Control Signals): Likewise.
2992         * manual/message.texi (The gencat program): Likewise.
2993         * manual/filesys.texi (Hard Links): Likewise.
2994         * manual/math.texi (SVID Random): Likewise.
2995         * manual/llio.texi (Waiting for I/O): Likewise.
2996         * manual/io.texi (File Name Errors): Likewise.
2997         * manual/conf.texi (String Parameters): Likewise.
2998         * manual/arith.texi (Infinity): Likewise.
2999         * malloc/malloc.c: Likewise.
3000         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3001         * csu/Makefile: Likewise.
3003 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
3005         * manual/memory.texi: Add back accidently removed line.
3007 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
3009         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
3010         (timeout_handler): New function.
3011         (LOCK_FILE, UNLOCK_FILE): New macros.
3012         Implement file locking with timeout.
3013         (getutent_r_file, internal_getut_r, getutline_r_file,
3014         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
3015         locking.
3017 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
3019         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
3020         directory.
3022 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3024         * rpm/Makefile: Delete inclusion of version.mk.
3026 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3028         * libc.map: Add all libio functions needed libstdc++ with version
3029         2.0, sort entries.
3031 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3033         * iconvdata/Makefile (generated): Add *.stmp files.
3035 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3037         * timezone/Makefile (testdata, build-testdata): New variables, use
3038         them in rules for test data.
3039         ($(objpfx)tst-timezone.out): Depend on test data.
3040         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
3041         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
3042         New rules to build test data.
3043         (tst-timezone-ENV): Pass TZDIR to point to test data.
3045 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
3047         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
3048         (the designation sequence is disturbing).
3050 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3052         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
3053         * sunrpc/xdr_rec.c: Likewise.
3055 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3057         * posix/Makefile (tests): Add runptests.
3058         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
3059         (before-compile): Add ptestcases.h.
3060         (ptestscases.h): Add rule to generate from PTESTS.
3061         * posix/runptests.c: New file.
3062         * posix/PTESTS: New file.
3063         * posix/PTESTS2C.sed: New file.
3065 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3067         * iconv/loop.c: Let user add code to use and set paramaters.
3069         * iconvdata/iso-2022-kr.c: Correct to-loop.
3071         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3072         point to output buffer.
3074         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3075         hanja.
3077         * iconvdata/TESTS: Add ISO-2022-KR test.
3078         * iconvdata/testdata/ISO-2022-KR: New file.
3080 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3082         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3083         and internal_use.
3084         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3085         and internal_use.
3086         * wcsmbs/btowc.c: Likewise.
3087         * wcsmbs/mbrtowcs.c: Likewise.
3088         * wcsmbs/mbsnrtowcs.c: Likewise.
3089         * wcsmbs/mbsrtowcs.c: Likewise.
3090         * wcsmbs/wcrtomb.c: Likewise.
3091         * wcsmbs/wcsnrtombs.c: Likewise.
3092         * wcsmbs/wcsrtombs.c: Likewise.
3093         * wcsmbs/wctob.c: Likewise.
3094         * iconv/skeleton.c: Increment invocation_counter.
3095         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3096         sequence first.
3098         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3099         * iconvdata/iso-2022-jp.c: Likewise.
3100         * iconvdata/iso646.c: Likewise.
3102         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3104 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3106         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3108         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3109         overwriting existing values if it fits.
3111 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3113         * posix/wordexp-test.c: Avoid duplicate messages.
3115         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3116         tsearch.  Correctly interpret values returned by those functions.
3117         (unsetenv): Store pointer to string, not pointer to string pointer.
3119         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3120         DST information and offset in them.
3121         * time/tzset.c (__tz_convert): Pass extra parameters to
3122         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3124 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3126         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3127         stamp files to avoid unnecessary recompilation.
3128         (gen-8bit-gap-table): Likewise.
3129         (move-if-change): New variable.
3130         (all generated .h rules): Change to be .stmp rules.
3131         (%.h): New rule; depend on %.stmp; no commands.
3132         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3133         gen-8bit-gap-1.sh.
3135 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3137         * Makerules (libc-map): Deleted.
3138         (load-map-file): Set to the appropriate compiler switch, not
3139         just the file name.  If libfoo-map is not set, look for a
3140         libfoo.map in the current directory and $(..).
3141         (map-file): New variable, contains just the mapfile name.
3142         (build-shlib): Adjust for new value of load-map-file.
3143         (libc.so): Correct dependencies.
3145         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3146         may not be set anymore.
3148         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3149         Delete libdl-map.  Tweak ld.so link rule to work with changed
3150         variable settings in Makerules.
3151         * iconvdata/Makefile: Tweak build-module to work with changed
3152         variable settings in Makerules.
3154         * db/Makefile: Delete libdb-map.
3155         * hesiod/Makefile: Delete libnss_hesiod-map.
3156         * linuxthreads/Makefile: Delete libpthread-map.
3157         * locale/Makefile: Delete libBrokenLocale-map.
3158         * login/Makefile: Delete libutil-map.
3159         * math/Makefile: Delete libm-map.
3160         * md5-crypt/Makefile: Delete libcrypt-map.
3161         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3162         libnss_nisplus-map, and libnss_compat-map.
3163         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3164         libnss_ldap-map.
3165         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3166         * rt/Makefile: Delete librt-map.
3168 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3170         * configure.in: Instead of substituting `yes' or `no' for whether
3171         --no-whole-archive is available, set @no_whole_archive@ to the
3172         appropriate gcc switch or the empty string.  Likewise for
3173         -fno-exceptions.
3174         * config.make.in: Replace have-no-whole-archive with
3175         no-whole-archive and have-no-exceptions with no-exceptions.
3176         * Makerules: Delete stanzas setting no-whole-archive and
3177         no-exceptions.
3179         * sunrpc/Makefile: Use move-if-change to update generated .h
3180         and .c files.
3182 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3184         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3185         of strchr loop.
3187 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3189         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3190         (__tzfile_compute): Likewise.
3192 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3194         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3195         defines from Linux 2.1.102.
3197 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3199         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3201 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3203         * inet/netinet/in.h: Add defines for multicast.
3204         Reported by Jeremy Hall <jhall@UU.NET>.
3206         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3207         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3208         and unsetenv.  Optimize _LIBC case.
3209         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3210         Define functions with leading __.
3212         * time/tzfile.c: Correct handling of global variables daylight,
3213         timezone, and tzname.
3214         * time/tzset.c: Likewise.
3215         * timezone/Makefile (tests): Add tst-timezone.
3216         * timezone/tst-timezone.c: New file.
3218 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3220         * timezone/asia: Update from tzdata1998d.
3221         * timezone/australasia: Likewise.
3222         * timezone/europe: Likewise.
3224 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3226         * string/string.h: Don't use the optimized versions for the string
3227         functions if optimizing for space.
3229         * stdlib/tst-strtod.c: Add test for -0.0.
3231         * io/ftwtest-sh: Prevent tests from being run by root.
3233         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3234         last addition.  Patch by wkpark@chem.skku.ac.kr.
3236 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3238         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3239         table.
3241 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3243         * iconvdata/gen-8bit.sh: New file.
3244         * iconvdata/gen-8bit-gap.sh: New file.
3245         * iconvdata/gen-8bit-gap-1.sh: New file.
3246         * iconvdata/Makefile (generate-8bit-table): Use shell script
3247         instead of writing the commands directly.
3248         (generate-8bit-gap-table): Likewise.
3249         ($(objpfx)iso8859-7jp.h): Likewise.
3250         (generated headers): Depend on shell script instead of Makefile.
3251         (before-compile): Add $(perl-generated-headers) only if perl is
3252         available.
3253         (headers): Depend on $(perl-generated-headers) only if perl is
3254         available.
3255         (sed-generated-headers): Remove iso8859-7jp.h.
3257 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3259         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3260         (/): Removed.
3262 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3264         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3265         formed charset names to getfct.  Let user override charset
3266         selection by mention charset in locale name.
3268 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3270         * posix/glob.c: Move to ...
3271         * sysdeps/generic/glob.c: ...here.
3272         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3273         elements.
3274         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3275         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3276         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3277         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3278         subdir.
3279         * libc.map [GLIBC_2.1]: Add glob and globfree.
3281 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3283         * sunrpc/Makefile (generated): Restore old list.
3285 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3287         * rt/Makefile (tests): Define only if we have a thread library.
3289         * nis/ypclnt.c: Add: #include <errno.h>.
3291 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3293         * configure.in: Define and substitute RELEASE as well as
3294         VERSION.
3295         * config.make.in: Add RELEASE and VERSION to be substituted.
3296         * Makeconfig: Delete all references to version.mk.
3297         * Make-dist: Likewise.
3298         * MakeTAGS: Likewise.
3299         * elf/Makefile: Likewise.
3301 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3303         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3304         yp_get_default_domain.
3306 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3308         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3309         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3311 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3313         * malloc/malloc.c: Fix for NO_THREADS case.
3315 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3317         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3318         Remove statfs and fstatfs.
3319         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3320         and pwrite as EXTRA.
3321         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3323 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3325         * libc.map: Add capget and capset.
3327 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3329         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3330         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3331         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3332         and Matt McLean <keys@brio.yikes.com>.
3334 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3336         * misc/Makefile (tests): Add tst-mntent.
3337         * misc/tst-mntent.c: New file.
3339 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3341         * autolock.sh: Removed.
3342         * manual/move-if-change: Removed.
3344         * scripts: New directory.
3345         * =__ify: Moved to scripts.
3346         * config.guess: Likewise.
3347         * config.sub: Likewise.
3348         * gen-FAQ.pl: Likewise.
3349         * install-sh: Likewise.
3350         * mkinstalldirs: Likewise.
3351         * move-if-change: Likewise.
3352         * printsources: Likewise.
3353         * rellns.sh: Likewise.
3354         * test-installation.pl: Likewise.
3356         * configure.in: Look in scripts for config.guess, config.sub,
3357         install-sh.
3358         * Makefile: Distribute all above files in their
3359         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3360         * manual/Makefile: Find mkinstalldirs and move-if-change in
3361         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3362         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3363         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3364         * timezone/Makefile: Find rellns-sh in scripts.
3366 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3368         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3369         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3371 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3373         * Makefile (+subdir-inits): Delete variable.
3374         (+init_subdirs): Likewise.
3375         (aux): Likewise.
3376         (before-compile): Likewise.
3377         (libc-init): Delete stanza.
3378         (version-info.h): Delete rule and associated variable.
3379         (distribute): Don't distribute moved files.
3380         * Makerules (interp-obj): It lives in elf now.  Only use it
3381         if $(elf) is set.  Delete rule to build it.
3382         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3383         version.o and version-info.h.  Minor cleanups.
3384         (routines): Add libc-init, sysdep, version.
3385         (generated): Add version-info.h.
3386         * elf/Makefile: Build interp.os.
3388         * interp.c: Moved to elf.
3389         * set-init.c: Moved to csu.
3390         * munch-init.c: Likewise.
3391         * munch.awk: Likewise.
3392         * version.c: Likewise.
3394         * Rules: Unconfuse syntax highlighting with a fake comment.
3396 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3398         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3399         syscalls.
3401 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3403         * iconvdata/Makefile (generated): Set to *-generated-headers
3404         plus gconv-modules.
3405         (tests): Set to iconv-test.
3406         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3407         * posix/Makefile (generated): Set to wordexp-test-result*.
3408         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3409         (generated-dirs): Add rpcsvc.
3410         * libio/Makefile: Clean up.
3412 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3414         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3415         * Makerules: Likewise.
3416         (+depfiles): Also add sysdep-others.
3417         * Rules: Likewise.
3418         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3419         * iconvdata/Makefile (distribute): Add TESTS.
3420         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3421         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3422         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3423         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3424         sysdep-others, not others.
3425         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3428 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3430         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3431         cost_hi and cost_lo.
3432         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3433         Cost parameter and set cost_lo to INT_MAX.
3434         (add_module): Take new parameter and use it to initialize cost_lo.
3435         (read_conf_file): Count modules being loaded and use counter for
3436         new parameter to add_module.
3437         * iconv/gconv_db.c (find_derivation): When look for cost examine
3438         cost_hi and cost_lo.
3440 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3442         * string/bits/string2.h: Don't use unsigned char * unless really
3443         necessary since this disturbs C++.
3444         * sysdeps/i386/i486/bits/string.h: Likewise.
3445         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3447 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3449         * malloc/malloc.c (top_check): Fix last change.
3451 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3453         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3454         Patch by Matt McLean <keys@brio.yikes.com>.
3456 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3458         * Makerules (lib): Put back dependency on lib-noranlib.
3459         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3461 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3463         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3464         test in __pow2 implementation.
3466 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3468         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3469         Still need *FLAGS-.o because we still sometimes build .o files.
3470         * db2/Makefile: Don't build libndbm.a if !build-static.
3472 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3474         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3476 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3478         * configure.in: New test for broken gcc on PowerPC.
3479         * sysdeps/powerpc/atomicity.h: Use result of test.
3480         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3482         * math/libm-test.c: Update many of the epsilon to match actual
3483         performance.
3485         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3486         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3487         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3488         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3490         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3492         * sysdeps/powerpc/elf/libc-start.c: New file.
3493         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3494         * sysdeps/powerpc/elf/start.c: Delete.
3496         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3497         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3499         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3500         few patches.
3502 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3504         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3505         test for integer.
3507         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3508         * sysdeps/libm-i387/e_powl.S: Likewise.
3510 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3512         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3513         (malloc_check, free_check, realloc_check, memalign_check): Use
3514         them to improve overrun checking.  Overruns of a single byte and
3515         corruption of the top chunk are now detected much more reliably.
3517 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3519         * math/libm-test.c (pow_test): Add test for special value from PR
3520         libc/590.
3522 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3524         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3525         including linux/errno.h.
3527 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3529         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3530         Use correct types.
3531         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3532         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3534 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3536         * Makerules (elide-routines.*): Fix assignments.
3537         (do-makelib): Fix typo.
3538         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3539         makefile.
3541 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3543         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3544         $(objpfx)sysd-dirs): Move them...
3545         * Makeconfig: ... here.
3546         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3547         (stubs): Fix circular depedency.
3548         (do-makelib): Clean up.
3549         (lib): Don't depend on lib-noranlib.
3550         ($(objpfx)stamp.oS): Remove special case for empty
3551         static-only-routines.
3552         (elide-routines.o): Add $(static-only-routines).
3553         (elide-routines$o): Define this instead of elide-routines.$o.
3554         * manual/Makefile (stubs): Fix circular dependency.
3556 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3558         * libio/Makefile (routines): Remove duplicate oldiofclose.
3560 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3562         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3564 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3566         * libio/stdio.h: Fix typo in __REDIRECT.
3567         * io/sys/stat.h: Likewise.
3568         Reported by Myles Uyema <myles@uyema.nws.net>.
3570 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3572         * locale/programs/localedef.c (options): Fix help message.
3574 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3576         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3577         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3579 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3581         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3582         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3583         (ptmalloc_init): Use new function in thread_at_fork call.
3584         (thread_atfork_static): Likewise.
3585         Suggested by Wolfram Gloger and Xavier Leroy.
3587 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3589         * signal/signal.h: Move definitions of struct sigstack and
3590         struct sigaltstack into separate file and include it.
3591         * sysdeps/generic/bits/sigstack.h: New file.
3592         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3593         * signal/Makefile (headers): Add bits/sigstack.h.
3595 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3597         * elf/rtld.c (dl_main): Fix check for number of references to
3598         interpreter object.
3600 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3602         * elf/rtld.c (dl_main): Check has_interp after executing platform
3603         specific code.
3605 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3607         * iconvdata/run-iconv-test.sh: Fix typo.
3609 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3611         * Makerules (+depfiles): Add depfiles for $(tests-static).
3612         Simplified.
3614 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3616         * manual/terminal.texi (Special Characters): Fix description of
3617         c_cc indexes.
3619 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3621         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3622         array.
3623         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3624         of c_cc array.
3626 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3628         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3630 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3632         * intl/locale.alias: Update russian entry.
3634 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3636         * Makerules (static-only-routines): Reimplement in terms of
3637         elide-routines.os.
3638         (shared-only-routines): Reimplement in terms of
3639         elide-routines.X [where X is all object-suffixes except .os].
3641         (stubs): Create stubs file inside the subdir.
3642         (common-mostlyclean): Remove stubs file from inside the subdir.
3643         * Makefile (subdir-stubs): Look for stubs files inside the
3644         subdirs.
3645         * manual/Makefile (stubs): Create dummy stubs file inside the
3646         subdir.
3648 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3650         Build speed improvement: make ar less of a bottleneck.
3652         * Makerules (stamp$o): Just record the object list for later
3653         use.
3654         (libc_foo.a): New rule, depends on subdir stamp files; builds
3655         and ranlibs the library from the lists saved in those files.
3657         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3658         (subdirs-stamp-o): Likewise.
3660         (ar-symtab-name): Delete variable.
3661         (lib%.a): Delete target.
3662         (libc_foo.a(bar.%)): Delete target.
3663         (libc_foo.a($(ar-symtab-name))): Delete target.
3665         (objects objs): Just depend on libobjs and extra-objs.
3666         (libobjs): Depend on the stamp files, not the objects.
3667         (extra-objs): New target, just depends on the extra-objs list.
3669         (CREATE_ARFLAGS): Kill the `ar S' hack.
3671         * config.make.in (have-ar-S): Deleted.
3672         * configure.in: Delete test for `ar S'.  Add test to determine
3673         whether ranlib does anything useful.
3675 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3677         * inet/tst-ether_aton.c: Include <stdio.h>.
3679 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3681         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3683         * locale/Makefile (distribute): Add programs/repertoire.h.
3684         (localedef-modules): Add repertoire.
3685         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3686         * locale/programs/repertoire.c: New file.
3687         * locale/programs/repertoire.h: New file.
3688         * locale/programs/charmap.c: Starting fixing character set handling
3689         to handle multi-byte encodings.
3690         * locale/programs/charset.c: Likewise.
3691         * locale/programs/charset.h: Likewise.
3692         * locale/programs/ld-collate.c: Likewise.
3693         * locale/programs/ld-ctype.c: Likewise.
3694         * locale/programs/linereader.c: Likewise.
3695         * locale/programs/localedef.c: Likewise.
3696         * locale/programs/locfile-kw.gperf: Likewise.
3697         * locale/programs/locfile-kw.h: Likewise.
3698         * locale/programs/locfile-token.h: Likewise.
3699         * locale/programs/locfile.h: Likewise.
3700         * locale/programs/stringtrans.c: Likewise.
3702         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3703         path, extended with "/locales/".
3705 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3707         * sysdeps/arm/memset.S: Fix off by one error.
3709         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3710         __syscall_error rather than syscall_error directly.
3712 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3714         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3715         mmap() syscall for ARM.
3717         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3718         binaries.
3720 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3722         * locale/programs/localedef.c: Recognize repertoire-map option.
3724 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3726         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3727         converting non-hex numbers.
3728         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3730 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3732         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3733         check overflow.
3734         * resolv/Makefile (tests): New, add tst-aton.
3735         * resolv/tst-aton.c: New file.
3737 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3739         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3740         semicolon.
3742 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3744         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3745         by letting the later modify the variable computing the total directly.
3746         * wcsmbs/mbsrtowcs.c: Likewise.
3747         * wcsmbs/wcsnrtombs.c: Likewise.
3748         * wcsmbs/wcsrtombs.c: Likewise.
3750         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3751         it is not used.
3752         * wcsmbs/wctoc.c: Likewise.
3754         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3755         * wcsmbs/wcsrtombs.c: Likewise.
3757         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3759 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3761         * iconv/skeleton.c: Correct counting of actually converted
3762         characters.
3764         * intl/localealias.c (read_alias_file): Use unsigned char for
3765         local variables.  Remove unused variable tp.
3766         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3767         for type of codeset.  For loosing Solaris systems.
3768         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3769         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3770         len if not needed.
3771         Patches by Jim Meyering.
3773         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3774         wcsrtombs must put it into initial state.
3776 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3778         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3779         argument of bswap_XX macro.
3781 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3783         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3784         variable name.
3786 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3788         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3789         semun and use stdarg macros to get the value.
3790         * sysdeps/generic/semctl.c: Don't use union semun.
3792         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3794         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3796         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3797         strings.h.
3799         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3800         defines grouping.
3802         * intl/hash-string.h: Don't include values.h.
3804         * inet/Makefile (tests): Add tst-ether_aton.
3805         * inet/tst-ether_aton.c: New file.
3807         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3808         in hex conversion.
3809         * inet/ether_aton.c (ether_aton): Declare result variable static.
3810         Reported by ahyung@unixg.ubc.ca.
3812         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3813         Define macro _SEM_SEMUN_UNDEFINED instead.
3814         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3816         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3817         * stdio-common/Makefile (tests): Add tst-wc-printf.
3819 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3821         * manual/stdio.texi (Variable Arguments Output): Correct variable
3822         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3824 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3826         * intl/dcgettext.c: Remove unneeded definition of
3827         internal_function.
3829 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3831         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3832         instead of do-iconv-test.
3833         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3834         empty.
3836 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3838         * string/string.h: Fix feature test.
3840 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3842         * iconvdata/iso646.c (BODY): Don't use character constants that
3843         depend on signedness of char.
3845 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3847         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3848         (sysdep_routines): Add s_pread64 and s_pwrite64.
3850 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3852         * iconvdata/Makefile (distribute): Remove generated .h files.
3853         * iconvdata/koi8-r.h: Removed.
3854         * iconvdata/latin-greek-1.h: Removed.
3855         * iconvdata/latin-greek.h: Removed.
3857         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3858         * iconvdata/KOI-8: Likewise.
3859         * iconvdata/KOI-8..UTF8: Likewise.
3860         * iconvdata/KOI8-R: Likewise.
3861         * iconvdata/KOI8-R..UTF8: Likewise.
3863 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3865         * streams/Makefile (headers): Add sys/stropts.h.
3866         * streams/sys/stropts.h: New file.
3868 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3870         * sysdeps/unix/sysv/linux/ttyname.c,
3871         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3872         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3874 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3876         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3877         argument of _itoa_word.
3879 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3881         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3882         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3883         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3884         sigprocmask, resp., instead of EXTRA.
3886         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3887         s_pread64 and s_pwrite64.
3889 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3891         * iconvdata/Makefile: Correct rules to generate gap table.
3892         * iconvdata/gap.pl: Simplify.
3894         * iconvdata/TESTS: Name new tests.
3895         * iconvdata/testdata/CP1250: New file.
3896         * iconvdata/testdata/CP1250..UTF8: New file.
3897         * iconvdata/testdata/CP1251: New file.
3898         * iconvdata/testdata/CP1251..UTF8: New file.
3899         * iconvdata/testdata/CP1252: New file.
3900         * iconvdata/testdata/CP1252..UTF8: New file.
3901         * iconvdata/testdata/CP1253: New file.
3902         * iconvdata/testdata/CP1253..UTF8: New file.
3903         * iconvdata/testdata/CP1254: New file.
3904         * iconvdata/testdata/CP1254..UTF8: New file.
3905         * iconvdata/testdata/CP1255: New file.
3906         * iconvdata/testdata/CP1255..UTF8: New file.
3907         * iconvdata/testdata/CP1256: New file.
3908         * iconvdata/testdata/CP1256..UTF8: New file.
3909         * iconvdata/testdata/CP1257: New file.
3910         * iconvdata/testdata/CP1257..UTF8: New file.
3912 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3914         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3915         * iconvdata/iso-2022-kr.c: New file.
3917         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3918         and ISO-2022-KR.
3920 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3922         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3923         iso8859-8 and iso8859-10.
3924         * iconvdata/iso8859-5.c: Change to use gap method.
3925         * iconvdata/iso8859-7.c: Likewise.
3926         * iconvdata/iso8859-8.c: Likewise.
3927         * iconvdata/iso8859-10.c: Likewise.
3929         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3930         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3931         end of the loop.
3932         * iconvdata/iso-2022-jp.c: New file.
3934         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3935         * iconvdata/ksc5601.h: Unify function interfaces.
3936         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3937         * iconvdata/uhc.c: Likewise.
3939         * iconvdata/gb2312.h: Use correct types.
3941         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3942         size elements of data.
3944 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3946         * string/tst-svc.expect: Adapt for change in .input.
3947         * string/tst-svc.input: More tests.
3949 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3951         * iconvdata/Makefile: Add rules for new modules.
3952         * iconvdata/gconv-modules: Likewise.
3953         * iconvdata/cp737.c: New file.
3954         * iconvdata/cp737.h: New file.
3955         * iconvdata/cp775.c: New file.
3956         * iconvdata/cp775.h: New file.
3957         * iconvdata/cp874.c: New file.
3958         * iconvdata/cp874.h: New file.
3960 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3962         * iconvdata/Makefile: Create target directory before generating
3963         headers.
3965 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3967         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3968         __USER_LABEL_PREFIX__.
3969         (__ASMNAME, __ASMNAME2): New macros.
3971 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3973         * elf/dl-load.c: Include sys/param.h for MAX.
3975 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3977         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3978         __ftruncate the strong symbol, and add weak alias.
3979         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3981 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3983         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3984         Patch by Joe Keane <jgk@jgk.org>.
3986         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3987         free()ing.
3989 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3991         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3992         Patch by Thomas Bushnell, n/BSG.
3994 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3996         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3998 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
4000         * iconvdata/Makefile: Put generated headers in build directory.
4002 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
4004         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
4005         strsep as current directory.
4007         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
4008         Java.  Add definitions for unicodelittle implementation.
4009         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
4010         * iconv/gconv_simple.c: Define unicodelittle functions.
4012         * iconv/iconv_prog.c: Make program print information about position
4013         of illegal character in input.
4015         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
4016         comparison of charset name.
4017         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
4018         * iconvdata/ebcdic-at-de-a.c: Likewise.
4019         * iconvdata/ebcdic-at-de.c: Likewise.
4020         * iconvdata/ebcdic-ca-fr.c: Likewise.
4021         * iconvdata/euccn.c: Likewise.
4022         * iconvdata/eucjp.c: Likewise.
4023         * iconvdata/euckr.c: Likewise.
4024         * iconvdata/euctw.c: Likewise.
4025         * iconvdata/hp-roman8.c: Likewise.
4026         * iconvdata/iso6937.c: Likewise.
4027         * iconvdata/iso8859-1.c: Likewise.
4028         * iconvdata/iso8859-10.c: Likewise.
4029         * iconvdata/iso8859-2.c: Likewise.
4030         * iconvdata/iso8859-3.c: Likewise.
4031         * iconvdata/iso8859-4.c: Likewise.
4032         * iconvdata/iso8859-5.c: Likewise.
4033         * iconvdata/iso8859-6.c: Likewise.
4034         * iconvdata/iso8859-7.c: Likewise.
4035         * iconvdata/iso8859-8.c: Likewise.
4036         * iconvdata/iso8859-9.c: Likewise.
4037         * iconvdata/johab.c: Likewise.
4038         * iconvdata/koi-8.c: Likewise.
4039         * iconvdata/koi8-r.c: Likewise.
4040         * iconvdata/latin-greek-1.c: Likewise.
4041         * iconvdata/latin-greek.c: Likewise.
4042         * iconvdata/sjis.c: Likewise.
4043         * iconvdata/t61.c: Likewise.
4044         * iconvdata/uhc.c: Likewise.
4046         * iconvdata/iso646.c: Add support for more ISO 646 variants.
4047         * iconvdata/TESTS: Add tests for ISO646 module.
4048         * iconvdata/gconv-modules: Add new modules.
4049         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
4050         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
4051         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
4052         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
4053         * iconvdata/testdate/DIN_66003: Likewise.
4054         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
4055         * iconvdata/testdate/DS_2089: Likewise.
4056         * iconvdata/testdate/DS_2089..UTF8: Likewise.
4057         * iconvdata/testdate/ES: Likewise.
4058         * iconvdata/testdate/ES..UTF8: Likewise.
4059         * iconvdata/testdate/ES2: Likewise.
4060         * iconvdata/testdate/ES2..UTF8: Likewise.
4061         * iconvdata/testdate/GB_1988-80: Likewise.
4062         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4063         * iconvdata/testdate/IT: Likewise.
4064         * iconvdata/testdate/IT..UTF8: Likewise.
4065         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4066         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4067         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4068         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4069         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4070         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4071         * iconvdata/testdate/KSC5636: Likewise.
4072         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4073         * iconvdata/testdate/MSZ_7795.3: Likewise.
4074         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4075         * iconvdata/testdate/NC_NC00-10: Likewise.
4076         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4077         * iconvdata/testdate/NF_Z_62-010: Likewise.
4078         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4079         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4080         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4081         * iconvdata/testdate/NS_4551-1: Likewise.
4082         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4083         * iconvdata/testdate/NS_4551-2: Likewise.
4084         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4085         * iconvdata/testdate/PT: Likewise.
4086         * iconvdata/testdate/PT..UTF8: Likewise.
4087         * iconvdata/testdate/PT2: Likewise.
4088         * iconvdata/testdate/PT2..UTF8: Likewise.
4089         * iconvdata/testdate/SEN_850200_B: Likewise.
4090         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4091         * iconvdata/testdate/SEN_850200_C: Likewise.
4092         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4094         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4095         * iconvdata/cns11643l1.h: Likewise.
4096         * iconvdata/latin-greek-1.h: Likewise.
4097         * iconvdata/latin-greek.h: Likewise.
4098         * iconvdata/koi8-r.h: Likewise.
4099         * iconvdata/jis0212.h: Likewise.
4100         * iconvdata/gb2312.h: Likewise.
4101         * iconvdata/ksc5601.h: Likewise.
4103         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4105         * iconvdata/Makefile: Add rules for lots of more modules.
4106         * iconvdata/cp1250.c: New file.
4107         * iconvdata/cp1251.c: New file.
4108         * iconvdata/cp1252.c: New file.
4109         * iconvdata/cp1253.c: New file.
4110         * iconvdata/cp1254.c: New file.
4111         * iconvdata/cp1255.c: New file.
4112         * iconvdata/cp1256.c: New file.
4113         * iconvdata/cp1257.c: New file.
4114         * iconvdata/ebcdic-dk-no-a.c: New file.
4115         * iconvdata/ebcdic-dk-no.c: New file.
4116         * iconvdata/ebcdic-es-a.c: New file.
4117         * iconvdata/ebcdic-es-s.c: New file.
4118         * iconvdata/ebcdic-es.c: New file.
4119         * iconvdata/ebcdic-fi-se-a.c: New file.
4120         * iconvdata/ebcdic-fi-se.c: New file.
4121         * iconvdata/ebcdic-fr.c: New file.
4122         * iconvdata/ebcdic-is-friss.c: New file.
4123         * iconvdata/ebcdic-it.c: New file.
4124         * iconvdata/ebcdic-pt.c: New file.
4125         * iconvdata/ebcdic-uk.c: New file.
4126         * iconvdata/ebcdic-us.c: New file.
4127         * iconvdata/ibm037.c: New file.
4128         * iconvdata/ibm038.c: New file.
4129         * iconvdata/ibm1004.c: New file.
4130         * iconvdata/ibm1026.c: New file.
4131         * iconvdata/ibm1047.c: New file.
4132         * iconvdata/ibm256.c: New file.
4133         * iconvdata/ibm273.c: New file.
4134         * iconvdata/ibm274.c: New file.
4135         * iconvdata/ibm275.c: New file.
4136         * iconvdata/ibm277.c: New file.
4137         * iconvdata/ibm278.c: New file.
4138         * iconvdata/ibm280.c: New file.
4139         * iconvdata/ibm281.c: New file.
4140         * iconvdata/ibm284.c: New file.
4141         * iconvdata/ibm285.c: New file.
4142         * iconvdata/ibm290.c: New file.
4143         * iconvdata/ibm297.c: New file.
4144         * iconvdata/ibm420.c: New file.
4145         * iconvdata/ibm423.c: New file.
4146         * iconvdata/ibm424.c: New file.
4147         * iconvdata/ibm437.c: New file.
4148         * iconvdata/ibm500.c: New file.
4149         * iconvdata/ibm850.c: New file.
4150         * iconvdata/ibm851.c: New file.
4151         * iconvdata/ibm852.c: New file.
4152         * iconvdata/ibm855.c: New file.
4153         * iconvdata/ibm857.c: New file.
4154         * iconvdata/ibm860.c: New file.
4155         * iconvdata/ibm861.c: New file.
4156         * iconvdata/ibm862.c: New file.
4157         * iconvdata/ibm863.c: New file.
4158         * iconvdata/ibm864.c: New file.
4159         * iconvdata/ibm865.c: New file.
4160         * iconvdata/ibm868.c: New file.
4161         * iconvdata/ibm869.c: New file.
4162         * iconvdata/ibm870.c: New file.
4163         * iconvdata/ibm871.c: New file.
4164         * iconvdata/ibm875.c: New file.
4165         * iconvdata/ibm880.c: New file.
4166         * iconvdata/ibm891.c: New file.
4167         * iconvdata/ibm903.c: New file.
4168         * iconvdata/ibm904.c: New file.
4169         * iconvdata/ibm905.c: New file.
4170         * iconvdata/ibm918.c: New file.
4172         * locale/iso-4217.def: Update.
4173         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4175         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4176         formats.
4178 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4180         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4181         LD_LIBRARY_PATH.
4183 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4185         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4186         * Makefile: Likewise.
4187         * posix/Makefile: Likewise.
4188         * sysdeps/mach/hurd/Makefile: Likewise.
4190 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4192         * sysdeps/mach/hurd/bits/dirent.h: New file.
4193         * sysdeps/mach/hurd/readdir64.c: New file.
4194         * sysdeps/mach/hurd/readdir64_r.c: New file.
4196 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4198         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4199         dprintf): Synchronize declarations with libio/stdio.h.
4201 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4203         * elf/dlerror.c (dlerror): Don't assume that
4204         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4205         well-protected, so just use it directly.
4207 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4209         * io/ftw.h (ftw): Fix typo.
4211 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4213         * sysdeps/gnu/utmp_file.c: Fix typo.
4215 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4217         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4218         one part of a test fails move on to the next test.
4220 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4222         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4224 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4226         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4227         as pointers, not signed integers.
4229 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4231         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4233 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4235         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4236         asm symbol name of functions.
4237         * include/features.h: Kill redundant test.
4239         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4240         * io/ftw.h: Likewise.
4241         * io/sys/stat.h: Likewise.
4242         * io/sys/statfs.h: Likewise.
4243         * io/sys/statvfs.h: Likewise.
4244         * libio/stdio.h: Likewise.
4245         * resource/sys/resource.h: Likewise.
4246         * rt/aio.h: Likewise.
4248         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4249          __FAVOR_BSD.
4250         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4252         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4253         a dummy library.
4254         * misc/bsd-compat.c: Removed.
4256 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4258         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4259         function declaration.
4260         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4261         and use them in conversion function.
4262         * iconvdata/Makefile (modules): Re-add ISO6446.
4263         * iconvdata/TEST: Add tests for ASCII variants.
4264         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4265         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4266         * iconvdata/testdata/BS_4730: New file.
4267         * iconvdata/testdata/BS_4730..UTF8: New file.
4269 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4271         * iconv/gconv.h (struct gconv_step): Add element stateful.
4272         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4273         to zero for all internal conversions.
4274         * iconv/skeleton.c: Initialize stateful depending on whether or not
4275         RESET_STATE is defined to one or zero respectively.
4276         * stdlib/mblen.c: Use stateful element of currently selected
4277         converter for result if S is NULL.
4278         * stdlib/mbtowc.c: Likewise.
4279         * stdlib/wctomb.c: Likewise.
4281 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4283         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4285         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4287         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4288         character in comparison with uint32_t.
4289         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4290         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4291         Optimize BODY a bit.
4293         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4294         be defined.
4296         * iconv/skeleton.c: Also reset converted counter in case of an error.
4297         Call reset function using correct value for output buffer start.
4299         * iconvdata/Makefile: Re-enable tests.
4301         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4302         value for to-conversion.
4304         * iconvdata/TESTS: Add new third column.
4305         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4306         not ASCII based.
4307         * iconvdata/testdata/suntzus: New file.
4309         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4310         while reading.  Correctly used base.  Little optimization.
4311         (__strtoul_internal): Likewise.
4313         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4314         was wrong.  Use explicit variable.
4316 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4318         * configure.in: Check for awk.
4319         * config.make.in: Add AWK to be substituted.
4321         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4322         * manual/users.texi: Fix typo exposed by above rewrite.
4324         * Makefile: Invoke awk using AWK variable.
4325         * csu/Makefile: Likewise.
4326         * elf/Makefile: Likewise.
4327         * mach/Makefile: Likewise.
4328         * manual/Makefile: Likewise.
4329         * sysdeps/gnu/Makefile: Likewise.
4330         * sysdeps/mach/hurd/Makefile: Likewise.
4331         * sysdeps/unix/Makefile: Likewise.
4332         * timezone/Makefile: Likewise.
4334 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4336         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4337         array index translation.
4338         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4339         these are defined.
4341         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4343         * sysdeps/mach/hurd/errlist.c: New file.
4344         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4345         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4346         semantics, so rename it.
4348 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4350         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4351         conversions.
4353 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4355         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4356         * wcsmbs/wcsnrtombs.c: Likewise.
4358 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4360         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4362         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4364         * time/strftime.c (my_strftime): Initialize pad variable in
4365         declaration.
4367         * iconvdata/big5.c: Don't use character constants in comparisons
4368         with unsigned value.
4370 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4372         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4373         __libc_siglongjmp to GLIBC_2.1.
4375         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4376         __strerror_r.
4378         * iconv/Makefile: Don't run tests now.
4380         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4381         with correct output buffer.
4383         Major rewrite of the low-level gconv functionality.
4384         * iconv/gconv.c: Rewritten.
4385         * iconv/gconv.h: Likewise.
4386         * iconv/gconv_builtin.c: Likewise.
4387         * iconv/gconv_builtin.h: Likewise.
4388         * iconv/gconv_conf.c: Likewise.
4389         * iconv/gconv_int.h: Likewise.
4390         * iconv/gconv_open.c: Likewise.
4391         * iconv/gconv_simple.c: Likewise.
4392         * iconv/iconv.c: Likewise.
4393         * iconvdata/8bit-gap.c: Likewise.
4394         * iconvdata/8bit-generic.c: Likewise.
4395         * iconvdata/Makefile: Likewise.
4396         * iconvdata/big5.c: Likewise.
4397         * iconvdata/cns11643.c: Likewise.
4398         * iconvdata/cns11643.h: Likewise.
4399         * iconvdata/cns11643l1.c: Likewise.
4400         * iconvdata/cns11643l1.h: Likewise.
4401         * iconvdata/ebcdic-at-de-a.c: Likewise.
4402         * iconvdata/ebcdic-at-de.c: Likewise.
4403         * iconvdata/ebcdic-ca-fr.c: Likewise.
4404         * iconvdata/euccn.c: Likewise.
4405         * iconvdata/eucjp.c: Likewise.
4406         * iconvdata/euckr.c: Likewise.
4407         * iconvdata/euctw.c: Likewise.
4408         * iconvdata/gb2312.c: Likewise.
4409         * iconvdata/gb2312.h: Likewise.
4410         * iconvdata/hp-roman8.c: Likewise.
4411         * iconvdata/iso646.c: Likewise.
4412         * iconvdata/iso6937.c: Likewise.
4413         * iconvdata/iso8859-1.c: Likewise.
4414         * iconvdata/iso8859-10.c: Likewise.
4415         * iconvdata/iso8859-2.c: Likewise.
4416         * iconvdata/iso8859-3.c: Likewise.
4417         * iconvdata/iso8859-4.c: Likewise.
4418         * iconvdata/iso8859-5.c: Likewise.
4419         * iconvdata/iso8859-6.c: Likewise.
4420         * iconvdata/iso8859-7.c: Likewise.
4421         * iconvdata/iso8859-8.c: Likewise.
4422         * iconvdata/iso8859-9.c: Likewise.
4423         * iconvdata/jis0201.c: Likewise.
4424         * iconvdata/jis0201.h: Likewise.
4425         * iconvdata/jis0208.c: Likewise.
4426         * iconvdata/jis0208.h: Likewise.
4427         * iconvdata/jis0212.c: Likewise.
4428         * iconvdata/jis0212.h: Likewise.
4429         * iconvdata/johab.c: Likewise.
4430         * iconvdata/koi-8.c: Likewise.
4431         * iconvdata/koi8-r.c: Likewise.
4432         * iconvdata/ksc5601.c: Likewise.
4433         * iconvdata/ksc5601.h: Likewise.
4434         * iconvdata/latin-greek-1.c: Likewise.
4435         * iconvdata/latin-greek.c: Likewise.
4436         * iconvdata/run-iconv-test.sh: Likewise.
4437         * iconvdata/sjis.c: Likewise.
4438         * iconvdata/t61.c: Likewise.
4439         * iconvdata/uhc.c: Likewise.
4440         * wcsmbs/btowc.c: Likewise.
4441         * wcsmbs/mbrtowc.c: Likewise.
4442         * wcsmbs/mbsnrtowcs.c: Likewise.
4443         * wcsmbs/mbsrtowcs.c: Likewise.
4444         * wcsmbs/wcrtomb.c: Likewise.
4445         * wcsmbs/wcsmbsload.c: Likewise.
4446         * wcsmbs/wcsnrtombs.c: Likewise.
4447         * wcsmbs/wcsrtombs.c: Likewise.
4448         * wcsmbs/wctob.c: Likewise.
4449         * iconv/loop.c: New file.
4450         * iconv/skeleton.c: New file.
4452         * stdlib/mblen.c: Handle empty input string correctly.
4453         * stdlib/mbtowc.c: Likewise.
4455         * posix/getopt.c: Various cleanups.
4457         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4458         * sysdeps/i386/bits/setjmp.h: Likewise.
4459         * sysdeps/m68k/bits/setjmp.h: Likewise.
4460         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4461         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4463         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4464         and make longjmp weak alias.
4466 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4468         * iconv/Makefile (routines): Only include gconv_dl if building for
4469         an ELF system - dynamic linking is not available on a.out.
4470         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4471         due to above check.
4472         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4473         routines from gconv_dl.
4475 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4477         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4478         we can compile without libio.
4480 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4482         * sysdeps/mach/hurd/Subdirs: Remove login.
4484 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4486         * db2/compat.h: Include <errno.h>, to make sure we get the
4487         definition of EFTYPE before we define it ourselves.
4489 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4491         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4492         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4493         Fix typo to allow inclusion from sys/ioctl.h again.
4495 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4497         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4499 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4501         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4503 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4505         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4506         Also undefine __strcasestr.
4508 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4510         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4511         aliases do not work with global variables due to copy relocations.
4513 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4515         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4517 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4519         * signal/sighold.c: Include stddef.h for NULL definition.
4520         * signal/sigrelse.c: Likewise.
4521         * sysdeps/posix/sigignore.c: Likewise.
4522         * sysdeps/posix/sigset.c: Likewise.
4523         * sysdeps/posix/waitid.c: Likewise.
4524         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4525         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4526         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4527         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4528         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4530 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4532         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4533         * login/getutent.c (getutxent): Remove alias.
4534         * login/getutent_r.c (setutxent, pututxline, endutxent):
4535         Remove aliases.
4536         * login/getutid.c (getutxid): Remove alias.
4537         * login/getutline.c (getutxline): Remove alias.
4538         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4539         __getutid, __getutline and __pututline.
4540         * login/utmpx.h: Moved to ...
4541         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4542         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4543         and updwtmpx.
4544         * login/updwtmp.c: Moved to ...
4545         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4546         allowing file name transformation.
4547         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4548         additional file name transformation.
4549         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4550         * login/utmp_file.c: Moved to ...
4551         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4552         Generalized by allowing file name transformation.  Do not
4553         print error message.  Library functions should not print them.
4554         Reported by Jim Meyering.
4555         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4556         with additional file name transformation.
4557         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4558         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4559         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4560         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4561         and bits/utmpx.h.
4562         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4563         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4564         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4565         Define if __USE_GNU.
4566         * sysdeps/generic/setutxent.c: New file.
4567         * sysdeps/generic/getutxent.c: New file.
4568         * sysdeps/generic/endutxent.c: New file.
4569         * sysdeps/generic/getutxid.c: New file.
4570         * sysdeps/generic/getutxline.c: New file.
4571         * sysdeps/generic/pututxline.c: New file.
4572         * sysdeps/generic/utmpxname.c: New file.
4573         * sysdeps/generic/updwtmpx.c: New file.
4574         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4575         * sysdeps/generic/bits/utmpx.h: Remove.
4577 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4579         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4580         ~root test.
4582 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4584         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4586 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4588         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4589         variable using _G_stat64.
4590         * libio/fileops.c: Remove macro definition of fstat, it is in the
4591         global header.
4592         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4594 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4596         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4597         <willy@odie.barnet.ac.uk>.
4599 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4601         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4602         required by IPv6 Basic API.
4603         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4604         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4605         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4606         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4608 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4610         Don't name internal representation since it might be different from
4611         the external form (namely on little endian machines).
4612         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4613         UCS4 into references to INTERNAL.
4614         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4615         Add endianess support to UCS functions.  Change references to
4616         UCS4 into references to INTERNAL.
4617         * iconv/gconv_int.h: Change references to UCS4 into references to
4618         INTERNAL.
4619         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4620         * iconvdata/gconv-modules: Change accordingly.
4621         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4623         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4624         overflow.
4625         * iconvdata/8bit-gap.c: Likewise.
4626         * iconvdata/8bit-generic.c: Likewise.
4627         * iconvdata/big5.c: Likewise.
4628         * iconvdata/euccn.c: Likewise.
4629         * iconvdata/eucjp.c: Likewise.
4630         * iconvdata/euckr.c: Likewise.
4631         * iconvdata/euctw.c: Likewise.
4632         * iconvdata/iso646.c: Likewise.
4633         * iconvdata/iso6937.c: Likewise.
4634         * iconvdata/iso8859-1.c: Likewise.
4635         * iconvdata/johab.c: Likewise.
4636         * iconvdata/sjis.c: Likewise.
4637         * iconvdata/t61.c: Likewise.
4638         * iconvdata/uhc.c: Likewise.
4640         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4641         * iconvdata/8bit-generic.c: Likewise.
4643         * iconvdata/TESTS: Add more tests.
4645         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4647 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4649         * iconvdata/Makefile: Better rules to run tests.
4651         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4652         * iconvdata/testdata/ISO-8859-10: Likewise.
4653         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4654         * iconvdata/testdata/ISO-8859-2: Likewise.
4655         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4656         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4657         * iconvdata/testdata/ISO-8859-3: Likewise.
4658         * iconvdata/testdata/ISO-8859-4: Likewise.
4659         * iconvdata/testdata/ISO-8859-5: Likewise.
4660         * iconvdata/testdata/ISO-8859-6: Likewise.
4661         * iconvdata/testdata/ISO-8859-7: Likewise.
4662         * iconvdata/testdata/ISO-8859-8: Likewise.
4663         * iconvdata/testdata/ISO-8859-9: Likewise.
4665 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4667         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4668         intermediate result (if available).
4670         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4671         last change.
4673         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4674         (distribute): Add run-iconv-test.sh and testdata/*.
4676         * stdlib/testmb.c (main): Simplify mbc array handling.
4678 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4680         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4681         return value on overflow.
4683 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4685         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4686         bits.
4688 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4690         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4691         of non-standard function setbuffer.
4693 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4695         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4697 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4699         * iconvdata/Makefile: Add rules to run tests.
4700         * iconvdata/TESTS: New file.
4701         * iconvdata/run-iconv-test.sh: New file.
4702         * iconvdata/testdata/ISO-8859-1: New file.
4704         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4705         not stdout.
4707 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4709         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4710         counter element of step.
4712         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4714         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4715         termination test.
4716         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4717         ACTUALLY.
4718         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4720 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4722         * Makefile: Include makeconfig before defining rule to regenerate
4723         configure files.
4725         * configure.in: Remove restriction on compiling without static
4726         libs.
4728 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4730         * test-skeleton.c: Provide hook for initializing code before the fork.
4731         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4732         removed.
4734         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4735         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4736         * libio/libioP.h: Adopt _IO_cleanup prototype.
4738         * stdlib/Makefile (tests): Add test-canon2.
4739         * stdlib/test-canon2.c: New file.
4740         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4741         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4742         symlink sequences.
4743         (__realpath): Make real function which checks RESOLVED parameter for
4744         not being NULL.
4746 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4748         * catgets/open_catalog.c (__open_catalog): Fix problems with
4749         reading non-files.  Always close file.
4750         Reported by Cristian Gafton <gafton@redhat.com>.
4752         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4754 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4756         * libc.map: Add various low-level I/O functions.
4758 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4760         * string/Makefile (routines): Remove strerror_r.
4761         * string/strerror_r.c: Removed.
4762         * string/strerror.c: Call __strerror_r for doing the real work.
4763         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4764         add weak alias strerror_r.
4765         * sysdeps/mach/_strerror.c: Likewise.
4766         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4767         * elf/dl-error.c (_dl_signal_error): Likewise.
4768         * elf/dl-profile.c (_dl_start_profile): Likewise.
4769         * gmon/gmon.c (write_gmon): Likewise.
4770         * stdio-common/perror.c: Likewise.
4771         * stdio-common/vfprintf.c: Likewise.
4773 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4775         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4776         (sysdep_headers): Add netatalk/at.h.
4778 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4780         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4781         Formatting fixes.
4783 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4785         * posix/regex.c: Rename __re_syntax_options back to
4786         re_syntax_options, aliases do not work with global variables due
4787         to copy relocations.
4788         (regex_compile): Use syntax parameter instead of
4789         re_syntax_options.
4791 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4793         * configure.in: Document that enable-force-install is default.
4795 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4797         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4798         all needed 36 bits.
4799         * sysdeps/posix/mkstemp.c: Likewise.
4801 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4803         * iconvdata/8bit-gap.c: Simplify step data handling.
4804         * iconvdata/8bit-generic.c: Likewise.
4805         * iconvdata/big5.c: Likewise.
4806         * iconvdata/euccn.c: Likewise.
4807         * iconvdata/eucjp.c: Likewise.
4808         * iconvdata/euckr.c: Likewise.
4809         * iconvdata/euctw.c: Likewise.
4810         * iconvdata/iso6937.c: Likewise.
4811         * iconvdata/iso8859-1.c: Likewise.
4812         * iconvdata/jis0208.h: Likewise.
4813         * iconvdata/jis0212.c: Likewise.
4814         * iconvdata/jis0212.h: Likewise.
4815         * iconvdata/johab.c: Likewise.
4816         * iconvdata/ksc5601.h: Likewise.
4817         * iconvdata/sjis.c: Likewise.
4818         * iconvdata/t61.c: Likewise.
4819         * iconvdata/uhc.c: Likewise.
4821 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4823         * manual/texinfo.texi: Updated from last version.
4825 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4827         * iconvdata/cns11643.c: New file.
4828         * iconvdata/cns11643.h: New file.
4829         * iconvdata/cns11643l1.c: New file.
4830         * iconvdata/cns11643l1.h: New file.
4831         * iconvdata/euctw.c: New file.
4832         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4833         * iconvdata/gconv-modules: Likewise.
4835         * iconvdata/eucjp.c: Several bug fixes and improvements.
4836         * iconvdata/gb2312.h: Likewise.
4837         * iconvdata/jis0201.h: Likewise.
4838         * iconvdata/jis0208.h: Likewise.
4839         * iconvdata/jis0212.h: Likewise.
4841 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4843         * iconvdata/eucjp.c: New file.
4844         * iconvdata/euccn.c: New file.
4845         * iconvdata/gb2312.h: New file.
4846         * iconvdata/gb2312.c: New file.
4847         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4848         * iconvdata/gconv-modules: Likewise.
4850         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4852 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4854         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4855         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4856         Patch by Mark Hatle <fray@kernel.crashing.org>.
4858 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4860         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4861         comment.
4862         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4863         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4865 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4867         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4869         * iconvdata/Makefile: Add rules for big5 conversion.
4870         * iconvdata/gconv-modules: Likewise.
4871         * iconvdata/big5.c: New file.
4873         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4874         Patch by Jim Meyering.
4876 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4878         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4880         * rt/lio_listio.c: Correct total counter handling.
4882         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4883         from request queue.
4885         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4886         of signal on exit even more.
4888         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4889         instead of call to pthread_cond_init.
4890         * rt/lio_listio.c (lio_listio): Likewise.
4891         * rt/lio_listio64.c (lio_listio64): Likewise.
4893         * nis/nis_findserv.c: Include sys/socket.h.
4895 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4897         * Makeconfig (rtobjdir): New variable.
4898         (rpath-link): Add rtobjdir and thread directory, if available.
4900         * test-skeleton.c: Add support to remove temporary files.
4901         Always define test_dir.  Improve message about expected signal.
4903         * rt/Makefile (tests): Add tst-aio.
4904         Add rules for tst-aio to be linked with librt and thread library.
4905         * rt/aio_misc.c: Correct fundamental bugs.
4906         * rt/aio_suspend.c: Correct bug in test for available request.
4907         Initialize conditional variable.
4908         * rt/lio_listio.c: Initialize conditional variable.
4909         * rt/lio_listio64.c: Likewise.
4910         * rt/tst-aio.c: New file.
4912         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4913         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4914         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4915         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4916         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4917         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4918         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4920 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4922         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4924 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4926         * elf/dl-load.c (open_path): Use correct name for test whether
4927         directory in load path exists.
4929         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4930         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4931         Patches by Tom Rini <trini@kernel.crashing.org>.
4933         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4934         * wcsmbs/wcstod_l.c: Likewise.
4935         * wcsmbs/wcstold_l.c: Likewise.
4937         * include/byteswap.h: New file.
4939         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4940         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4942         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4943         declaration.  Patch by Richard Henderson.
4945 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4947         * manual/process.texi (SIGCHLD example): Save errno.
4949 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4951         * posix/regex.c: Define regerror really as __regerror.
4952         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4953         regerror and regfree.
4955         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4956         * stdlib/strtod_l.c: Likewise.
4957         * stdlib/strtold_l.c: Likewise.
4959         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4961         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4963         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4964         Patch by Christian Gafton.
4966 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4968         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4969         for if_indextoname.
4971 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4973         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4975         * manual/socket.texi (Interface Naming): Fix typo.
4977 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4979         * manual/examples/filesrv.c (main): Remove filename first.
4981         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4982         ?F_UNIX.
4984         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4985         instead of PF_UNIX.
4987         * manual/examples/filecli.c (main): Use AF_LOCAL
4988         instead of AF_UNIX.
4990 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4992         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4993         signgam weak alias.
4994         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4995         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4996         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4997         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4998         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4999         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
5001         * login/utmp_daemon.c (open_socket): Use __connect not connect.
5003 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5005         * configure.in: Add new option --enable-force-install.  Substitute
5006         force_install.
5007         * config.make.in (force-install): Set from configure.
5008         * Makerules (force-install): New phony target.
5009         * Makeconfig (+force): New variable.
5010         * Makefile: Use it in dependency list of installation targets.
5011         * db/Makefile: Likewise.
5012         * db2/Makefile: Likewise.
5013         * elf/Makefile: Likewise.
5014         * hurd/Makefile: Likewise.
5015         * iconv/Makefile: Likewise.
5016         * iconvdata/Makefile: Likewise.
5017         * intl/Makefile: Likewise.
5018         * localedata/Makefile: Likewise.
5019         * login/Makefile: Likewise.
5020         * po/Makefile: Likewise.
5021         * sunrpc/Makefile: Likewise.
5022         * sysdeps/mach/hurd/Makefile: Likewise.
5023         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
5024         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5025         * timezone/Makefile: Likewise.
5027 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5029         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
5030         alloc_size.  Pass return value of getcwd syscall to realloc.
5032 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5034         * manual/socket.texi: Spelling fixes.
5036 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5038         * elf/dl-load.c (print_search_path): Remove unused variable.
5040 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5042         * login/utmp_file.c: use __ftruncate not ftruncate.
5043         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
5044         for system call and make ftruncate weak alias.
5045         * posix/unistd.h: Add prototype for __ftruncate.
5046         * login/utmp_daemon.c (open_socket): Use __socket not socket.
5047         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
5048         instead of snprintf and readv.
5049         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
5050         snprintf.
5051         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
5052         directly.
5054 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
5056         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
5057         * iconv/gconv_db.c: Use __ protected regex functions.
5058         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
5059         * posix/getopt_init.c: Use __getpid not getpid.
5060         * posix/regex.c: Rename all global functions to start with __ and
5061         make old names weak aliases.
5062         * posix/regex.h: Adopt prototypes for this.
5063         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5064         a weak alias and use __getcwd instead of getcwd.
5065         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5066         * stdlib/strtod.c: Use __btowc instead of btowc.
5067         * stdlib/strtol.c: Likewise.
5068         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5069         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5070         and sys_errlist are weak.
5071         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5072         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5073         * wcsmbs/mbsnrtowcs.c: Likewise.
5074         * wcsmbs/mbsrtowcs.c: Likewise.
5075         * wcsmbs/wcsnrtombs.c: Likewise.
5076         * wcsmbs/wcsrtombs.c: Likewise.
5077         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5078         weak alias.
5079         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5080         * wctype/wctype.c: Define function as __wctype and make wctype
5081         weak alias.
5082         * wctype/wctype.h: Declare __wctype.
5084 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5086         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5088 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5090         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5091         stat64.
5092         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5093         functions.
5094         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5095         for __llseek.
5096         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5097         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5098         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5099         make it a weak alias.
5100         * posix/unistd.h: Declare __lseek64.
5102         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5103         (_IO_file_stat): Fix typo.
5104         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5105         block size from the file.  Use __mempcpy if _LIBC.
5107 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5109         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5110         * wcsmbs/mbrtowc.c: Likewise.
5111         * wcsmbs/mbsnrtowcs.c: Likewise.
5112         * wcsmbs/mbsrtowcs.c: Likewise.
5113         * wcsmbs/wcrtomb.c: Likewise.
5114         * wcsmbs/wcsnrtombs.c: Likewise.
5115         * wcsmbs/wcsrtombs.c: Likewise.
5116         * wcsmbs/wctob.c: Likewise.
5118         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5119         position of next output character correctly.
5120         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5122         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5124         * stdlib/strtod.c: Don't use mbtowc.
5126 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5128         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5129         what we want is smaller than a buffer.
5131 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5133         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5134         this function.
5136 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5138         * configure.in: Recognize --with-headers flag and determine
5139         commandline options to be used in compilation.
5140         * Makeconfig (+includes): Use $(sysincludes).
5141         * config.make.in (sysincludes): Define from SYSINCLUDES.
5142         * glibcbug.in: Use SYSINCLUDES information.
5143         Patches by Zack Weinberg.
5145 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5147         * glibcbug.in: On linux, report version of kernel headers seen
5148         by compiler.
5150 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5152         * libc.map: Add __asprintf to GLIBC_2.1.
5153         * elf/dlerror.c: Use __asprintf, not asprintf.
5154         * libio/stdio.h: Declare __asprintf.
5155         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5156         a weak alias.
5158         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5159         to avoid inclusion from libc_pic.a.
5161         * elf/dl-runtime.c: Undo last patch.
5163         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5165         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5166         as default, use NULL.
5168 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5170         * resolv/Makefile: Include ../Makeconfig - needed for building
5171         static NSS module.
5173 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5175         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5176         static-nss since we don't want hesiod in the static NSS.
5178         * nss/Makefile: Build only nss_files as static.
5180         * nss/function.def: Remove support for service db.
5182 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5184         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5186 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5188         * posix/wordexp-test.c: Make IFS per test-case.
5190 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5192         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5193         ENVIRONMENT.
5195 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5197         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5198         `-print-file-name' to find as and ld.
5200 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5202         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5203         template is wrong.  Remove unused varaible `ignored'.
5205 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5207         * libc.map: Export __libc_sa_len.
5209         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5211 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5213         * iconv/gconv.c: Take care for NULL arguments.
5214         * iconv/gconv_dl.c: Make find_func function global.
5215         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5216         Add prototypes for ASCII conversion functions.
5217         * iconv/gconv_simple.c: Add ASCII conversion functions.
5218         * locale/C-ctype.c: Correct charset name.
5220         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5221         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5222         wcsmbsload.
5223         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5224         * wcsmbs/mbrtowc.c: Likewise.
5225         * wcsmbs/mbsnrtowcs.c: Likewise.
5226         * wcsmbs/mbsrtowcs.c: Likewise.
5227         * wcsmbs/wcrtomb.c: Likewise.
5228         * wcsmbs/wcsnrtombs.c: Likewise.
5229         * wcsmbs/wcsrtombs.c: Likewise.
5230         * wcsmbs/wctob.c: Likewise.
5231         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5232         prototypes for wmemr*.
5233         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5234         * wcsmbs/wcsnlen.c: New file.
5235         * wcsmbs/wcsmbsload.c: New file.
5236         * wcsmbs/wcsmbsload.h: New file.
5238         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5240         * manual/install.texi: Describe some more critical points.
5242         * string/string.h: Add prototype for __strnlen.
5243         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5245         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5246         much less predictable names.
5247         * sysdeps/posix/mkstemp.c: Likewise.
5249 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5251         * manual/libc.texinfo (Top): Change "file namespace" to "local
5252         namespace".
5254         * manual/socket.texi: Change file namespace to local namespace.
5255         (Out-of-Band Data): Remove unneeded variable link.
5256         (Host Address Functions): Use uint32_t consequently and add a
5257         number of clarifications for IPv4/IPv6, classless addresses.
5258         (Internet Namespace): Added some paragraphs about IPv6.
5259         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5261 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5263         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5265         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5266         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5267         (AI_NUMERICHOST): Define.
5268         (getnodebyname): New prototype.
5269         (AI_V4MAPPED, et al.): New constants.
5271         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5272         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5273         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5274         for socket.
5275         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5276         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5278         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5280         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5281         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5282         * socket/Makefile (headers): Add bits/sockunion.h.
5283         * socket/sys/socket.h: Include <bits/sockunion.h>
5284         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5285         <sys/socket.h>, to avoid getting sockaddr_union defined.
5286         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5287         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5288         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5290         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5291         (2.2.x kernels won't have it).
5293 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5295         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5296         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5297         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5298         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5300 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5302         * manual/socket.texi (Socket Addresses): Fix a typo.
5303         (Interface Naming): New section.
5305 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5307         * configure.in: Check for CC using $ac_tool_prefix, to handle
5308         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5309         * config.make.in: Add MIG to be substituted.
5310         * mach/Machrules: Don't define MIG variable.
5312         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5314 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5316         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5317         strdupa to copy rpath.
5319 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5321         * configure.in: Fix gcc version check.
5323         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5324         confusing.
5326 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5328         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5329         of ptsname_r.
5331         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5332         like ttyname_r.
5333         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5334         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5335         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5336         of __ptsname_r accordingly.
5337         * login/openpty.c (openpty): Likewise.
5339 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5341         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5343 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5345         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5347         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5349 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5351         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5352         return value for better error checking.
5354 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5356         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5357         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5359         * elf/elf.h (EM_SPARC64): Remove.
5360         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5361         (HWCAP_SPARC_V9): Add.
5363         * elf/ldsodefs.h (_dl_hwcap): Declare.
5364         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5365         Weaken so dlopen from static progies works.
5366         (WEAKADDR): New macro.
5367         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5368         (LD_SO_PRELOAD): New macro.
5369         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5370         (elf_machine_rela): Weaken _dl_rtld_map.
5372         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5373         to __clone, and remove the later's alias.
5374         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5377         the kernel's structure.
5379         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5380         Sparc needs a custom value of __KERNEL_NCCS.
5382 1998-04-06  Richard Henderson  <rth@cygnus.com>
5384         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5386         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5387         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5389 1998-04-06  Richard Henderson  <rth@cygnus.com>
5391         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5392         as the buffer is not properly aligned.
5393         Reported by Juan Cespedes <cespedes@debian.org>.
5395 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5397         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5398         instead of AF_FILE.
5400 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5402         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5403         and wc*tomb* functions.
5405 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5407         * sysdeps/unix/start.c: Fix typo.
5409 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5411         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5413 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5415         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5416         expressions and using array variables.
5417         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5418         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5419         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5420         * sysdeps/libm-ieee754/e_log.c: Likewise.
5421         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5422         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5423         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5424         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5425         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5426         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5427         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5428         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5429         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5431 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5433         * iconv/gconv.c: Rewrite of the low-level of gconv.
5434         * iconv/gconv.h: Likewise.
5435         * iconv/gconv_builtin.h: Likewise.
5436         * iconv/gconv_close.c: Likewise.
5437         * iconv/gconv_db.: Likewise.
5438         * iconv/gconv_dl.c: Likewise.
5439         * iconv/gconv_int.h: Likewise.
5440         * iconv/gconv_open.c: Likewise.
5441         * iconv/gconv_simple.c: Likewise.
5442         * iconvdata/8bit-gap.c: Adapt for rewrite.
5443         * iconvdata/8bit-generic.c: Likewise.
5444         * iconvdata/euckr.c: Likewise.
5445         * iconvdata/iso646.c: Likewise.
5446         * iconvdata/iso6937.c: Likewise.
5447         * iconvdata/iso8859-1.c: Likewise.
5448         * iconvdata/johab.c: Likewise.
5449         * iconvdata/sjis.c: Likewise.
5450         * iconvdata/t61.c: Likewise.
5451         * iconvdata/uhc.c: Likewise.
5453 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5455         * iconv/gconv_int.h: New file.  Internal header.
5456         * iconv/Makefile (distribute): Add gconv_int.h.
5457         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5458         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5459         * iconv/gconv_close.c: Likewise.
5460         * iconv/gconv_conf.c: Likewise.
5461         * iconv/gconv_db.c: Likewise.
5462         * iconv/gconv_dl.c: Likewise.
5463         * iconv/gconv_int.h: Likewise.
5464         * iconv/gconv_open.c: Likewise.
5465         * iconv/iconv.c: Likewise.
5466         * iconv/iconv_close.c: Likewise.
5467         * iconv/iconv_open.c: Likewise.
5468         * iconv/iconv_prog.c: Likewise.
5470 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5472         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5473         missing braces.
5475 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5477         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5479 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5481         Based on patch from Pat Beirne:
5482         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5483         PIC and non-PIC now.  Correctly negate error number.
5484         (errno): Use `%' not `@' in .type directives.
5486 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5488         * sysdeps/i386/strtok.S: Change to use single exit point.
5489         * sysdeps/i386/i686/strtok.S: Likewise.
5491 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5493         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5494         default.
5496 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5498         * Makerules (installed-libcs): Fix typo.
5500 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5502         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5503         (UHC-routines): Remove ksc5601.
5505 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5507         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5508         introduced in last change.
5510 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5512         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5513         before 2.1.92.
5515 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5517         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5519         * stdlib/isomac.c: Use -isystem instead of -I for system include
5520         dir.
5522 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5524         * resolv/res_comp.c (underscorechar): New.
5525         (middlechar): Allow '_'.
5527 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5529         * intl/explodename.c (stdlib.h): Include that file only if
5530         STDC_HEADERS or _LIBC.
5531         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5532         Patch by Philippe De Muyter <phdm@macqel.be>.
5534 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5536         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5537         (AC_PROG_CHECK_VER): New macro.
5538         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5539         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5541 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5543         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5544         * sysdeps/i386/i686/strtok.S: New file
5545         * sysdeps/i386/i686/strtok_r.S: New file
5547 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5549         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5550         type to __off64_t.
5551         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5552         parameter as __off64_t instead of __off_t.
5553         (ftello): Make alias for ftello64 instead of ftello.  Change
5554         return type to __off64_t.
5556 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5558         * sysdeps/i386/bits/string.h: Fix various typos.
5559         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5561         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5563 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5565         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5566         lchown syscall correctly.  [PR libc/541].
5568 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5570         * localedata/Makefile: Correct testsuite rules.
5572         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5573         * iconvdata/iso646.c: Fix conversion from UCS4.
5575         * elf/ldsodefs.h: Mark internal function with internal_function.
5576         * elf/dl-addr.c: Likewise.
5577         * elf/dl-close.c: Likewise.
5578         * elf/dl-debug.c: Likewise.
5579         * elf/dl-deps.c: Likewise.
5580         * elf/dl-error.c: Likewise.
5581         * elf/dl-fini.c: Likewise.
5582         * elf/dl-init.c: Likewise.
5583         * elf/dl-load.c: Likewise.
5584         * elf/dl-lookup.c: Likewise.
5585         * elf/dl-object.c: Likewise.
5586         * elf/dl-open.c: Likewise.
5587         * elf/dl-profile.c: Likewise.
5588         * elf/dl-reloc.c: Likewise.
5589         * elf/dl-runtime.c: Likewise.
5590         * elf/dl-symbol.c: Likewise.
5591         * elf/dl-version.c: Likewise.
5592         * elf/dlerror.c: Likewise.
5593         * sysdeps/generic/dl-sysdep.c: Likewise.
5594         * sysdeps/i386/dl-machine.h: Likewise.
5595         * intl/finddomain.c: Likewise.
5596         * intl/gettextP.h: Likewise.
5597         * intl/loadmsgcat.c: Likewise.
5599 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5601         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5602         * iconv/gconv_builtin.h: Add definitions for new builtins.
5603         * iconv/gconv.h: Add prototypes for new builtins.
5605         * iconvdata/Makefile (modules): Add ISO646.
5606         Add rules for ISO646 module.
5607         (distribute): Add iso646.c.
5608         * iconvdata/gconv-modules: Add module and alias definition for
5609         ISO646 charsets.
5610         * iconvdata/iso646.c: New file.
5612 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5614         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5615         * iconv/iconv_prog.c: Implement --list option to print available
5616         coded character sets.
5618 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5620         Make fread() read large blocks straight to the user buffer.
5622         * libio/fileops.c (_IO_file_xsgetn): New function.
5623         (_IO_file_jumps): Use it.
5624         * libio/libioP.h: Prototype it.
5626 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5628         * iconv/gconv_conf.c (builtin_aliases): New variable.
5629         (__gconv_read_conf): Add builtin aliases.
5630         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5631         noop macro before including gconv_builtin.h.
5632         * iconv/gconv_builtin.h: Add alias names.
5634         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5635         number of converted bytes correctly.
5637 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5639         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5640         we only wait for a replay.
5642 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5644         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5645         EUC-KR modules.
5647 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5649         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5650         use PLTJMP() rather than explicit (PLT).
5652         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5653         __libc_start_main().
5655         Based on patch from Pat Beirne:
5656         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5657         Always define, not only #ifndef PIC.
5658         (DO_CALL): Pass fifth argument correctly in R4.
5659         (PSEUDO): Correct test for error, call syscall_error through PLT
5660         if PIC.
5662 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5664         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5665         definitions.
5667 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5669         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5670         JOHAB.so.
5672 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5674         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5675         lstat64.
5677 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5679         * manual/Makefile: Use object-suffixes-for-libc instead of
5680         object-suffixes.
5681         * rpm/Makefile (install-lib): Likewise.
5683 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5685         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5687         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5688         `m68*', not only `m68k'.
5690 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5692         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5694         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5695         install lddlibc4.
5697 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5699         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5700         EUC-KR.
5702         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5703         comment.
5705 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5707         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5708         the init stuff.
5710 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5712         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5713         adjtimex syscall.
5714         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5715         adjtimex.
5716         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5718 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5720         * Makerules (install): Change comment for libc.so following the
5721         libc_nonshared changes.
5723 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5725         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5727         * iconvdata/gap.pl: Avoid using %#06x.
5729 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5731         * Makerules: Use $? instead of S^ when invoking ar.
5733 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5735         * db2/compat.h: Allow EFTYPE being defined.
5736         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5737         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5738         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5739         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5740         (__libc_once): Correctly unlock semaphore.
5741         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5742         * sysdeps/unix/bsd/getpt.c: Fix typo.
5743         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5745 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5747         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5748         macros.
5750 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5752         * include/mntent.h: New file.
5754         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5755         * elf/dl-load.c: Rewrite search path handling.
5756         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5757         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5758         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5759         * elf/ldsodefs.h: Add prototype.
5761 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5763         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5765         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5766         function.
5768         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5770         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5771         New function.
5772         (HWCAP_IMPORTANT): New definition.
5774 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5776         * elf/dl-open.c (_dl_open): Fix a typo.
5777         (_dl_global_scope_alloc): Make it static.
5779 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5781         * Makerules: Remove duplicate rules to handle stamp.oS.
5783 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5785         * manual/examples/inetsrv.c (main): Change prototype of
5786         make_socket following change in mkisock.c.
5788         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5789         example host.
5790         (main): Change prototype of init_sockaddr following change in
5791         isockadd.c.
5793         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5794         * manual/examples/isockad.c (init_sockaddr): Likewise.
5796         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5797         lines for clarification.
5798         (make_named_socket): Use strncpy instead of strcpy.
5799         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5801 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5803         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5804         determining libs to remove.
5805         (postclean): Add soversions.mk.
5806         * Makerules (common-mostlyclean): Add tests-static and generated
5807         files.
5809 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5811         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5812         scanning for \0.
5813         (__strncat_g): Add i686 specific code.
5815 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5817         * manual/install.texi (Reporting Bugs): Ask to include section
5818         names in reports.
5820 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5822         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5823         guard against direct inclusion.
5825 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5827         Rework support for libc_nonshared.a:
5828         * Makeconfig (object-suffixes-for-libc): New variable.
5829         * Rules: Remove handling of static-only and shared-only routines.
5830         * Makerules: Handle them here instead.  Use
5831         object-suffixes-for-libc instead of object-suffixes when dealing
5832         with libc objects.
5833         (object-suffixes-for-rules): Remove variable.
5834         (elide-routines.oS): Elide all routines except static-only
5835         routines.
5836         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5837         empty.
5838         (installed-libcs): Remove special case for .oS.
5839         (rmobjs): Likewise.
5841 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5843         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5844         do-tst-rpmatch): New targets.
5845         (test): Use them.
5846         (install-locales): Ignore comment lines.
5848 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5850         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5851         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5852         ($(objpfx)rtldtbl.h): Likewise.
5853         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5855 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5857         * manual/string.texi (Finding Tokens in a String): Extend strsep
5858         description and correct example.
5860 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5862         * manual/socket.texi: Remove misguided explicit line breaks and
5863         fix the formatting problem instead by reformulating the
5864         paragraphs.
5865         * manual/filesys.texi: Likewise.
5866         * manual/conf.texi: Likewise.  Don't typeset table with index
5867         fonts, that looks worse than a minimally overfull line.
5869 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5871         * nscd/Makefile (nscd-modules): Move definition outside of
5872         conditional.
5874         * pwd/Makefile: Use have-thread-library to test for thread
5875         library.
5877 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5879         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5881         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5883 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5885         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5887 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5889         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5891         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5892         Reported by Andreas Jaeger.
5894 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5896         * elf/Makefile: Fix typo.
5897         (distribute): Add dl-librecon.h.
5898         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5899         * elf/ldd.sh.in: Likewise.
5900         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5901         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5902         Use strsep correctly.
5903         (process_envvars): Allow platform specific variables.
5904         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5905         (_dl_load_cache_lookup): Test cache IDs found against
5906         _dl_correct_cache_id.
5907         * sysdeps/generic/dl-librecon.h: New file.
5908         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5910         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5912 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5914         * config.make.in (ldd-rewrite-script): New variable.
5915         * configure.in: Substitute ldd-rewrite-script.
5916         * elf/Makefile: Rewrite rules to generate ldd script.
5917         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5918         * elf/ldd.sh.in: Likewise.
5919         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5920         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5921         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5922         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5923         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5925 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5927         * inet/rcmd.c (iruserok): Remain setuid to the local user
5928         while .rhosts is actually read, to make .rhosts-over-NFS work
5929         (PR libc/524).  Use iruserfopen() for security checks on both
5930         hosts.equiv and .rhosts.  General cleanup.
5931         (iruserfopen): New function, performs careful checking on
5932         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5933         stuff plus hard links to files.
5935 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5937         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5939         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5941 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5943         * sysdeps/i386/i486/bits/string.h: Fix typos.
5945 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5947         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5948         strong alias.
5950         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5952         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5953         Added.  Used by libm.so on alpha.
5955 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5957         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5958         defined.
5960 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5962         * Makerules (object-suffixes-for-rules): Add .oS only for
5963         building shared library.
5964         Add ranlib rule for nonshared library.
5965         (rmobjs): Fix typo.
5967         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5968         into for shared library only.
5969         (CPPFLAGS-.oS): Add -DPIC.
5970         (libtypes): Use $(object-suffixes-for-rules) instead of
5971         $(object-suffixes).
5973 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5975         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5976         and install lddlibc4.
5978 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5980         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5981         hash.
5982         * iconvdata/gaptab.pl: Likewise.
5984 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5986         * Rules: Allow Makefiles to specify test-static for tests which
5987         cannot be linked dynamically.
5988         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5989         tests-static.
5991         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5993         * misc/error.c: Pretty print.
5995 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5997         * Makerules (libc_nonshared-name): Remove variable.
5998         (installed-libcs): Use libc-name instead.
5999         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
6000         dynamic linker.
6002         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
6003         libc.a.  Remove explicit reference to dynamic linker.
6005 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6007         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
6008         to wchar_t.
6009         * iconv/iconv_prog.c: Correctly test for write failure.
6010         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
6011         * iconvdata/gconv-modules: Likewise.
6012         * iconvdata/euckr.c: New file.
6013         * iconvdata/johab.c: New file.
6014         * iconvdata/ksc5601.c: New file.
6015         * iconvdata/ksc5601.h: New file.
6016         * iconvdata/uhc.c: New file.
6017         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
6019         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
6020         * stdio/fopen.c: Correct handling of 'x' flag.
6021         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
6023 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6025         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
6026         * sunrpc/rpcsvc/key_prot.x: Likewise.
6027         * sunrpc/key_prot.c: Likewise.
6029 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
6031         * sysdeps/i386/bits/string.h: Correct things which never worked.
6032         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
6033         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
6035 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
6037         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
6038         defined.  Reported by Thorsten Kukuk.
6040 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
6042         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
6044 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6046         * manual/install.texi (Supported Configurations): Add
6047         arm-linuxaout and arm-none.
6049 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6051         * version.h (VERSION): Bump to 2.0.93.
6053 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
6055         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
6057         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
6059         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6060         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6062 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6064         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6066 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6068         Put the static-only routines in a separate library.
6069         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6070         variables.
6071         (all-object-suffixes): Add .oS.
6072         * Makerules (libc_static-name): New variable.
6073         (installed-libcs): Add libc_nonshared.a.
6074         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6075         (object-suffixes-for-rules): New variable.  Use it instead of
6076         object-suffixes for generating compilation rules.
6077         (rmobjs): Also remove *.oS.
6078         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6079         ($(objpfx)stamp.oS): New target.
6081 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6083         * Makefile (FAQ): Automatically check in regenerated FAQ.
6085 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6087         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6089 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6091         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6092         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6094         * sysdeps/generic/stub_warning: Removed.
6096         * Makefile (distribute): Add include/des.h.
6098         * manual/Makefile (distribute): Change dir-add.texi to
6099         dir-add.texinfo.
6101         * glibcbug.in: Create files safely when mktemp is not available.
6103         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6104         Patch by a sun <asun@saul1.u.washington.edu>.
6106 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6108         * libc.map: Rename getname to getnetname.
6110 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6112         * manual/maint.texi: Use supported platform in examples.
6114         * manual/install.texi: Document some installation tips.
6116 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6118         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6119         Fix a bug so that it returns an error if a numeric parameter is
6120         unset and WRDE_UNDEF is set.
6121         Patch by Andreas Schwab and Tim Waugh.
6122         * posix/wordexp-test.c: Add new new test.
6124 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6126         * posix/regex.c (regex_compile): Last patch wasn't entirely
6127         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6129 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6131         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6133 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6135         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6136         clobbered registers don't appear as operands.
6138 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6140         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6141         Solaris' sake.
6143         * posix/regex.c (regex_compile): Don't allow non-alphabet
6144         characters in character set name.
6146 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6148         * posix/wordexp.c (w_newword): New function.
6149         (do_parse_glob): New function.
6150         (parse_glob): Use do_parse_glob.  Now handles the case where a
6151         variable expansion causes a field-split.
6152         (wordexp): Use w_newword.
6153         (parse_arith): Likewise.
6154         (exec_comm): Likewise.
6155         (parse_comm): Likewise.
6156         (parse_param): Likewise.
6157         (parse_backtick): Likewise.
6159 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6161         * posix/wordexp-tst.sh: Another test.
6163         * posix/wordexp-test.c: Two new tests.
6165         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6166         directly (the code using realloc was buggy).
6167         (parse_param): Fix typo in comment.
6169 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6171         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6173 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6175         * libc.map: Add more rpc auth functions/variables.
6177         * nscd/nscd.c: Add -g option to argp options.
6179 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6181         * configure.in: Be prepared for gcc 2.9.10 and up.
6182         * configure.in: Add missing disabling of quote characters in
6183         compiler version check.  Reported by HJ Lu.
6185 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6187         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6189 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6191         * intl/locale.alias: Fix spelling of romanian.
6193         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6194         (distribute): Remove des.h.
6195         * include/des.h: New file.
6196         * sunrpc/des.h: Moved to ...
6197         * sunrpc/rpc/rpc_des.h: ...here.
6199 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6201         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6202         Fix paren.
6204 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6206         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6207         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6209 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6211         * elf/ldsodesf.h: New file.
6212         * elf/Makefile (distribute): Add ldsodefs.h.
6213         * elf/link.h: Separate internal information in exter header.
6214         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6215         * elf/dl-minimal.c: Likewise.
6216         * sysdeps/generic/dl-sysdep.c: Likewise.
6217         * elf/sprof.c: Likewise.
6218         * elf/dlsym.c: Likewise.
6219         * elf/dlvsym.c: Likewise.
6220         * elf/dlerror.c: Likewise.
6221         * elf/dladdr.c: Likewise.
6222         * elf/dlclose.c: Likewise.
6223         * elf/dlopen.c: Likewise.
6224         * elf/dl-addr.c: Likewise.
6225         * elf/dl-close.c: Likewise.
6226         * elf/dl-debug.c: Likewise.
6227         * elf/dl-deps.c: Likewise.
6228         * elf/dl-error.c: Likewise.
6229         * elf/dl-fini.c: Likewise.
6230         * elf/dl-init.c: Likewise.
6231         * elf/dl-load.c: Likewise.
6232         * elf/dl-lookup.c: Likewise.
6233         * elf/dl-object.c: Likewise.
6234         * elf/dl-open.c: Likewise.
6235         * elf/dl-profile.c: Likewise.
6236         * elf/dl-reloc.c: Likewise.
6237         * elf/dl-runtime.c: Likewise.
6238         * elf/dl-support.c: Likewise.
6239         * elf/dl-symbol.c: Likewise.
6240         * elf/dl-version.c: Likewise.
6241         * sysdeps/generic/dl-cache.c: Likewise.
6242         * sysdeps/generic/libc-start.c: Likewise.
6243         * iconv/gconv_dl.c: Likewise.
6244         * nss/nsswitch.c: Likewise.
6246 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6248         * manual/nss.texi: The database is not called network but networks.
6249         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6251 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6253         * configure.in: Correct test for compiler version.
6254         Check that LD_LIBRARY_PATH doesn't contain current path.
6256 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6258         * elf/dl-close.c (_dl_close): Fix byte count while removing
6259         the shared object from the global scope list and optimize
6260         a little bit.
6262 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6264         * manual/filesys.texi (Scanning Directory Content): Add missing
6265         closing brace.
6266         (Scanning Directory Content): Fix text.
6268 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6270         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6271         explaining difference of -lmcheck and MALLOC_CHECK_.
6273 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6275         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6276         typos in comments.
6278 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6280         * test-skeleton.c (main): Fix test for exit signal.
6282 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6284         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6286 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6288         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6289         appropriate.
6291 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6293         * libc.map: Export __strtok_r.
6295 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6297         * posix/regex.c (re_compile_fastmap): Remove unused variable
6298         num_regs and adjust comment.
6299         Patch by Jim Meyering <meyering@ascend.com>.
6301         * math/math.h (M_*l): Extend long double constants to be usable
6302         for 128 bit floats.  Patch by Richard Henderson.
6304 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6306         * sysdeps/m68k/m68020/wordcopy.S: New file.
6308 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6310         * posix/wordexp.c: Rewrite parse_param.
6311         Patch by Tim Waugh and Andreas Schwab.
6313 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6315         * Rules: Update timestamps on empty object files.
6317 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6319         * manual/filesys.texi (Scanning Directory Content): Add description
6320         of 64 bits scandir function and friends.
6322 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6324         * glibcbug.in: Use mktemp to generate unique file name for
6325         temporary files.
6327         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6328         ptsname_r.  Use cast for execve call.
6330 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6332         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6333         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6334         * io/sys/statvfs.h: New file.
6335         * sysdeps/generic/fstatvfs.h: New file.
6336         * sysdeps/generic/statvfs.h: New file.
6337         * sysdeps/generic/fstatvfs64.h: New file.
6338         * sysdeps/generic/statvfs64.h: New file.
6339         * sysdeps/generic/bits/statvfs.h: New file.
6340         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6341         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6342         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6344         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6345         and f_ffree elements.
6347         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6348         mount options in enum.
6350 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6352         * configure.in: Check for recent egcs/gcc.
6354 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6356         * libc.map: Add alphasort64, scandir64, versionsort64.
6357         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6358         versionsort64.
6359         * dirent/alphasort64.c: New file.
6360         * dirent/scandir64.c: New file.
6361         * dirent/versionsort64.c: New file.
6362         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6363         versionsort.
6364         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6365         old name weak alias.
6366         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6368         * dirent/alphasort.c: Use strcoll instead of strcmp.
6370         * dirent/scandir.c: Optimize a bit.
6372         * dirent/versionsort.c: Pretty print.
6374 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6376         * string/string.h: Add prototype for __strtok_r.
6378 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6380         * posix/Makefile: Fix typo in last change.
6382 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6384         * dirent/dirent.h (scandir): Make argument of select function const.
6385         * dirent/scandir.c (scandir): Likewise.
6386         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6388 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6390         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6391         weak alias.
6392         * sysdeps/i386/strtok_r.c: Likewise.
6394         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6395         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6396         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6397         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6398         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6399         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6401 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6403         * intl/localealias.c: Remove unneeded define for strdup.
6405 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6407         * manual/argp.texi: Adjust for better TeX output.
6408         * manual/arith.texi: Likewise.
6409         * manual/conf.texi: Likewise.
6410         * manual/filesys.texi: Likewise.
6411         * manual/header.texi: Likewise.
6412         * manual/lgpl.texinfo: Likewise.
6413         * manual/math.texi: Likewise.
6414         * manual/message.texi: Likewise.
6415         * manual/pattern.texi: Likewise.
6416         * manual/process.texi: Likewise.
6417         * manual/signal.texi: Likewise.
6418         * manual/socket.texi: Likewise.
6419         * manual/startup.texi: Likewise.
6420         * manual/stdio.texi: Likewise.
6421         * manual/terminal.texi: Likewise.
6422         * manual/examples/rprintf.c: Likewise.
6423         * manual/examples/testopt.c: Likewise.
6424         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6426 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6428         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6429         parameter name after seeing a digit if it's enclosed in braces.
6431 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6433         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6435 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6437         * manual/memory.texi (Heap Consistency Checking): Document
6438         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6440 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6442         * manual/Makefile: Add missing rules.
6444 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6446         * timezone/Makefile (generated): Define to remove all stamp files.
6448         * sysdeps/generic/strsep.c: Also undefine __strsep.
6450         * string/strdup.c: Undefine __strdup and strdup first.
6451         * string/strndup.c: Likewise.
6453         * string/bits/string2.h: Correct strtok_r and strsep.
6454         Add strndup optimization.
6456         * sysdeps/generic/strsep.c: Little optimization.
6458 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6460         * string/bits/string2.h: Add optimization for strdup.
6461         Always define __strsep and __strtok_r and make real names available
6462         when feature select macros are defined.
6464 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6466         * manual/install.texi (Installation): Use i486-linux as example
6467         instead of the unsupported sunos4.
6468         (Reporting Bugs): Mention glibcbug script.
6469         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6471 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6473         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6475         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6477 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6479         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6480         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6482         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6483         netpacket/packet.h.
6485         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6487 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6489         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6490         in enumerator for strict standard compliance.
6491         * sysdeps/generic/bits/resource.h: Likewise.
6493 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6495         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6496         (PLTJMP): New macro.
6498         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6499         longjmp() when floating point enabled.
6500         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6501         * sysdeps/arm/__longjmp.S: Remove floating point code.
6502         * sysdeps/arm/setjmp.S: Likewise.
6504         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6505         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6507         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6508         memset().
6510         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6511         prototype.
6513 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6515         Based on patches from Pat Beirne and Scott Bambrough:
6517         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6519         * sysdeps/arm/bits/fenv.h: New file.
6521         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6522         * sysdeps/arm/elf/setjmp.S: Likewise.
6523         * sysdeps/arm/elf/start.S: Likewise.
6524         * sysdeps/arm/init-first.c: Likewise.
6525         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6526         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6527         comment about floating point to reflect current reality.
6529         * sysdeps/unix/arm/brk.S: Support PIC.
6530         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6531         re-entrant code.
6532         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6533         return; call syscall_error through PLT.
6534         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6536 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6538         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6539         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6542 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6544         * dirent/list.c (test): Return error value.
6545         (main): Exit with error value.
6547         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6549         * Makefile (distribute): Add test-skeleton.c.
6550         * test-skeleton.c: New file.
6551         * dirent/Makefile (tests): Add opendir-tst1.
6552         * dirent/opendir-tst1.c: New file.
6554 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6556         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6557         Optimize memory handling.
6558         * sysdeps/unix/closedir.c: Optmize memory handling.
6560 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6562         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6563         handling.  Optimize a bit.
6565 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6567         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6568         (parse_param): Fold in Andreas' fixes to do with when the end of
6569         the parameter name has been reached, and quoting inside ${...}.
6570         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6571         $((echo);(ls)).
6573 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6575         * manual/maint.texi: Split out installation and contribution
6576         sections to their own appendices.  Misc cleanups.
6577         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6578         * manual/contrib.texi: New file.
6579         * manual/libc.texinfo: Pull in new appendices.
6580         * manual/header.texi: Correct node pointer.
6582 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6584         * manual/process.texi (Process Completion): Clarify return value
6585         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6587 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6589         * posix/wordexp-test.c: Add more tests.
6590         (testit): Fix logic.
6592         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6593         /dev/null instead of closing it, close pipe.  Always chop off all
6594         trailing newlines.  Kill and reap child before returning error.
6595         (w_addword, parse_glob): Fix memory leak.
6596         (wordexp): Fix dangling pointer problem.
6598 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6600         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6602         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6604         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6605         directory index by only the language.
6607 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6609         * posix/wordexp-tst.sh: Store test results in the
6610         ${common_objpfx}posix directory.
6612         * posix/wordexp-test.c: Remove temporary directory afterwards.
6614 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6616         * libc.map: Export internal versions of cancelable functions.
6618 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6620         * Makerules (MAKEFLAGS): Append `r'.
6622 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6624         * Makeconfig: Define have-thread-library, shared-thread-library
6625         and static-thread-library if a thread library is available.  Don't
6626         define rt.
6627         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6628         nscd-routines to nscd-modules.  Use shared-thread-library and
6629         static-thread-library in dependencies.
6630         * rt/Makefile: Only compile librt if have-thread-library is
6631         defined.
6632         * Makefile (subdirs): Always include rt subdir.
6634 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6636         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6638 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6640         * configure.in: Recognize variations for 32 MIPS processors.
6641         Don't assume ELF systems always have .weak, test for .weakext.
6643 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6645         * configure.in: Irix6 is an ELF platform.
6647 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6649         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6650         unmapping the last loaded segment.
6652 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6654         * configure.in: Set base_os for Irix6.
6655         Correct test for .weakext.
6657 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6659         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6660         (new_line) to _dl_debug_message call.
6662 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6664         * posix/wordexp.c (parse_param): Perform field-splitting after
6665         expanding positional parameter.
6667         * posix/wordexp-tst.sh: Test that field-splitting is performed
6668         after expanding positional parameter.
6670         * posix/wordexp.c (parse_param): Fixed memory leak in
6671         field-splitting after parameter expansion.
6673 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6675         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6676         (get_toplvl_escape): Correctly terminate loop at EOF.
6677         Patch by Cristian Gafton <gafton@redhat.com>.
6679 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6681         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6682         (test_strsep): Likewise.  Correct horrible bugs.
6684         * string/bits/string2.h (strcspn): Optimize also reject string of
6685         length 2 and 3.
6686         (strspn): Likewise.
6687         (strpbrk): Likewise.
6688         (strsep): Likewise.  Correct bug with successive separators and
6689         separators at the end of the string.
6690         * sysdeps/generic/strsep.c: Correct bug with successive separators
6691         and separators at the end of the string.
6693 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6695         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6696         etc) now handled, as well as $$ (pid).
6698         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6699         (distribute): Add wordexp-tst.sh.
6701         * posix/wordexp-tst.sh: New file.
6703         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6704         number of positional parameters.  Renamed substitute_length to
6705         seen_hash.
6706         Don't free(env) is env is NULL.
6708 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6710         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6712 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6714         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6715         for output file replacing gmon.out.
6716         Patch by Dean Gaudet <dgaudet@arctic.org>.
6718 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6720         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6721         up namespace.  Optimize finding end of line.
6723 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6725         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6726         securely.  Optimized.
6727         (process_dl_debug): Add ':' to list of separators.  Optimized.
6729 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6731         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6732         isless, islessequal, islessgreater, isunordered): Return zero or
6733         one.
6735 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6737         * posix/wordexp-test.c: More tests.
6738         (main): Set up arena for pathname expansion tests (in a temporary
6739         directory).
6740         (testit): Don't check word count or word vector if return value is
6741         non-zero.
6743         * posix/wordexp.c (exec_comm): Always chop off terminating
6744         linefeed (just like bash does).
6745         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6746         (!env || !*env)".
6747         (parse_param): For assignment inside parameter expansion, use all
6748         expanded words in assignment rather than just the first.
6749         (parse_param): Corrected return value for parameter expansion of
6750         an unset variable when WRDE_UNDEF is in effect.
6751         (parse_dollars): Don't field-split if quoted.
6752         (wordexp): Opening brace character isn't allowed unquoted.
6754 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6756         * elf/dlerror.c: Fix concurrency problems with error string and
6757         number.
6759         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6760         filter/auxiliary are being loaded.
6762 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6764         * elf/dlerror.c (last_object_name): Removed.
6765         (dlerror): Don't use last_object_name.
6766         (_dl_error_run): Omit second argument to _dl_catch_error.
6767         * elf/dl-error.c (struct catch): Remove objname member.
6768         (_dl_signal_error): Construct string including objname when given.
6769         (_dl_catch_error): Remove objname handling.
6770         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6771         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6772         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6773         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6774         * iconv/gconv_dl.c (dlerror_run): Likewise.
6775         [Corrects PR libc/501].
6777 1998-03-12  Matthias Urlichs <smurf@noris.de>
6779         * nscd/nscd.c: Ignore SIGPIPE.
6781 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6783         * nscd/nscd_getgr_r.c: Use __ protected names.
6784         * nscd/nscd_getpw_r.c: Likewise.
6786 1998-03-12  Matthias Urlichs <smurf@noris.de>
6788         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6789         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6790         null bytes are not transmitted.
6792 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6794         * powerpc/syscalls.list: Correct typo.
6795         * alpha/syscalls.list: Likewise.
6796         * mips/syscalls.list: Likewise.
6798 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6800         * socket/sys/socket.h: Add prototype for __socket.
6802 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6804         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6806         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6807         constants.
6809         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6810         definition here.
6811         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6812         definition here.
6814         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6815         AF_* and PF_* constants.
6817         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6819 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6821         * elf/rtld.c: Update help message.
6822         Install link maps for preloaded objects using main_map as loader.
6824         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6825         * elf/dl-profile.c: Likewise.
6827         * elf/dlsym.c: Little optimization.
6828         * elf/dlvsym.c: Likewise.
6830 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6832         * posix/wordexp-test.c: Move test for parameter list at the very
6833         beginning.
6835 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6837         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6838         WRDE_REUSE flag is set.
6839         (parse_param): Allow `*', `@', and numbers in parameter names.
6840         (parse_dollars): Differentiate between arithmetic expansion and a
6841         command substitution that starts immediately with a sub-shell
6842         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6843         (parse_param): Memory allocated with __alloca in a block was
6844         referenced outside that block.  Adjusted to use malloc/free.
6845         (parse_param): Adjusted field-splitting algorithm so that there is
6846         not necessarily a field split at the end of a parameter expansion.
6848 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6850         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6851         don't free words that have already been allocated.
6852         (parse_param): A dollar sign on its own will never have a pattern
6853         associated with it (like "${HOME%%/}" has), so don't try to free it.
6854         (parse_glob): Attempt to glob when an unquoted `[' is found
6855         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6856         (parse_glob): Sorted out quoting in a glob-able word.
6857         (parse_param): Added $* and $@ handling.
6859 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6861         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6862         parsing it.
6864 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6866         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6867         _dl_debug_message.
6869 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6871         * elf/dl-misc.c: Default for debug output should be stderr.
6872         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6873         * elf/dl-lookup.c: reference_name may be NULL or empty.
6875 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6877         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6879 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6881         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6883         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6885 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6887         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6890 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6892         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6893         init stuff.
6895 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6897         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6898         flag.
6900         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6901         syslog daemon.
6902         (closelog_internal): Don't do anything if not connected.
6904 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6906         * libc.map: Add _dl_debug_message.
6907         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6908         before every line.
6909         * elf/fini.c: Correctly use new _dl_debug_message function.
6910         * elf/init.c: Likewise.
6911         * elf/dl-lookup.c: Likewise.
6912         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6913         * elf/dl-load.c: Likewise.  Add more debugging prints.
6914         * elf/dl-reloc.c: Likewise.
6915         * elf/dl-version.c: Likewise.
6916         * elf/dl-support.c: Add variables for debugging.
6917         * elf/rtld.c: Likewise.  Recognize new debug options.
6918         * elf/link.h: Declare new variables.
6920         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6922 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6924         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6925         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6927 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6929         * posix/wordexp-test.c (command_line_test): New function to allow
6930         testing of specific cases from the command-line.
6932 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6934         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6935         * elf/dl-fini.c (_dl_fini): Likewise.
6936         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6938         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6939         symbol in debug message.
6940         (_dl_lookup_versioned_symbol_skip): Likewise.
6942 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6944         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6945         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6946         * manual/filesys/texi: Document this.
6948 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6950         * manual/filesys.texi: Document the change below.
6952 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6954         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6955         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6957 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6959         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6960         instead scope.  If debugging display information about symbol
6961         resolving.
6962         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6963         (_dl_lookup_symbol_skip): Likewise.
6964         (_dl_lookup_versioned_symbol): Likewise.
6965         (_dl_lookup_versioned_symbol_skip): Likewise.
6966         * elf/dl-support.c: Define _dl_debug_symbols.
6967         * elf/link.h: Add declaration for _dl_debug_symbols.
6968         * elf/rtld.c: Define _dl_debug_symbols.
6969         (process_dl_debug): Recognize symbols option.
6971 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6973         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6974         in correct format.
6975         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6976         with correct parameters.
6977         [!PIC]: Initialize __libc_multiple_libcs.
6979 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6981         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6982         * elf/rtld.c (_dl_debug_bindings): Add definition.
6983         (process_dl_debug): Recognize bindings option.  Update help message.
6984         * elf/link.h (struct link_map): Add l_versyms member.
6985         (_dl_debug_bindings): Add declaration.
6986         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6987         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6988         and l_reloc_result.
6989         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6990         (sym_val): Remove a member, add m as link_map.
6991         (do_lookup): Return result appropriately.
6992         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6993         Call do_lookup correctly.
6994         (_dl_lookup_symbol_skip): Likewise.
6995         (_dl_lookup_versioned_symbol): Likewise.
6996         (_dl_lookup_versioned_symbol_skip): Likewise.
6998 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
7000         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
7001         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
7003         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
7004         * libc.map: Add chown to GLIBC_2.1.
7005         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
7006         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
7008 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7010         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
7011         weak alias.
7012         * sysdeps/alpha/ffs.c: Likewise.
7013         * sysdeps/am29k/ffs.c: Likewise.
7014         * sysdeps/i386/ffs.c: Likewise.
7015         * sysdeps/i960/ffs.c: Likewise.
7016         * sysdeps/m68k/ffs.c: Likewise.
7017         * sysdeps/m88k/ffs.c: Likewise.
7018         * sysdeps/powerpc/ffs.c: Likewise.
7019         * sysdeps/rs6000/ffs.c: Likewise.
7020         * sysdeps/vax/ffs.s: Likewise.
7021         * string/string.h: Declare __ffs.
7022         * libc.map: Export it.
7023         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
7024         __builtin_ffs, which is not guaranteed to be namespace clean.
7026 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7028         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
7029         table, which is much more likely to exist than debugging symbols.
7030         (printsym): Remove const.
7031         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
7032         header table.
7034         * libc.map: Export __profile_frequency, used by elf/sprof, to
7035         avoid infinite recursion during startup.
7037 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7039         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
7040         Readd lost negate.
7042         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
7044 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
7046         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
7048 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7050         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
7051         LD_PRELOAD, and LD_VERBOSE.
7052         (dl_main): Use global variables set by process_envvars instead of
7053         calling getenv.
7054         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
7055         LD_LIBRARY_PATH value, this comes with the parameter.
7056         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
7057         ("LD_LIBRARY_PATH") to _dl_init_paths.
7059 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7061         * elf/rtld.c (dl_main): Delay initialization of path structure if
7062         the dynamically linker is invoked implicitly until we read the
7063         dynamic section.
7065 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7067         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7069 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7071         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7072         Linux 2.0 and 2.1.
7074         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7076 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7078         * Makeconfig (nisobjdir): Set to path to nis directory.
7079         (rpath-link): Add nisobjdir.
7080         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7082         * elf/Makefile: Pretty print.
7083         * elf/dl-lookup.c: Include unistd.h.
7084         * elf/dl-runtime.c: Likewise.
7086         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7087         (distribute): Add tst-rpmatch.sh.
7088         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7090         New tests for rpmatch function by
7091         Jochen Hein <jochen.hein@delphi.central.de>.
7092         * localedata/tst-rpmatch.c: New file.
7093         * localedata/tst-rpmatch.sh: New file.
7095         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7096         * localedata/locales/de_AT: Likewise.
7098         * posix/getopt.c: Update contact address.
7099         * posix/getopt1.c: Pretty print.
7101         * sysdeps/generic/libc-start.c: Do most of the initialization now
7102         here instead of in start.S.
7103         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7104         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7106         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7107         profil_counter to be public.
7109 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7111         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7112         (parse_param): Coded parameter length expansion (${#var}).
7113         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7114         (parse_param): Cleaned up (fixed) error handling.
7116         * posix/wordexp-test.c: IFS now includes non-whitespace character
7117         (comma).  Added more tests.
7119 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7121         * elf/link.h: Fix typos.
7122         Reported by Andreas Jaeger.
7124         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7125         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7127 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7129         * argp/argp-help.c: Remove last bits of using gettext instead of
7130         dgettext.
7132 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7134         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7135         __libc_start_main.
7136         * csu/Makefile (routines): Add libc-start.
7137         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7138         * elf/dl-lookup.c: Likewise.
7139         * elf/dl-version.c: Likewise.
7140         * sysdeps/i386/dl-machine.h: Likewise.
7141         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7142         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7143         _dl_sysdep_message macros which use _dl_sysdep_output.
7144         * elf/dl-fini.c: Write out which destructor is called while debugging.
7145         * elf/dl-init.c: Likewise for constructor.
7146         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7147         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7148         _dl_sysdep_message.  Add _dl_sysdep_output.
7149         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7150         this file can be opened.
7151         For LD_DEBUG=libs also set _dl_debug_impcalls.
7152         * sysdeps/generic/dl-cache.c: Include unistd.h.
7153         * sysdeps/generic/libc-start.c: New file.
7154         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7155         * sysdeps/i386/elf/start.S: Don't call main directly, call
7156         __libc_start_main instead.
7158         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7160 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7162         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7164 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7166         * argp/argp.h (struct argp): Add new field domain.
7167         * argp/argp-help.c: Change all gettext calls to dgettext and use
7168         domain field from appropriate argp in call.
7169         * argp/argp-parse.c: Likewise.
7171 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7173         * posix/wordexp-test.c: Change testsuite so that it can run even
7174         for ~root != /root.
7176 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7178         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7180 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7182         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7183         Don't store into global errno if we already store through
7184         __errno_location.
7185         * sysdeps/unix/i386/sysdep.S: Likewise.
7186         * sysdeps/unix/alpha/sysdep.S: Likewise.
7187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7188         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7190         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7191         PIC).
7193 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7195         * sysdeps/generic/sysdep.h (L): Remove definition.
7196         * sysdeps/i386/sysdep.h (L): Define it here instead.
7198 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7200         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7202         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7204 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7206         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7207         declaration style to avoid warnings.
7209 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7211         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7212         "LD_DEBUG".
7214 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7216         * posix/Makefile (tests): Add wordexp-test.
7217         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7218         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7220 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7222         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7223         dependencies.
7225         * elf/link.h (struct r_search_path_elem): Add two new field for
7226         lib path debugging.
7227         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7228         variable accordingly.
7229         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7230         is considered next along with information about load paths.
7231         * sysdeps/generic/dl-cache.c: Likewise.
7232         * elf/dl-support.c: Define _dl_debug_libs.
7233         * elf/genrtldtbl.awk: Add initializers for two new field in
7234         struct r_search_path_elem.
7236 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7238         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7239         * sysdeps/m68k/lshift.S: Likewise.
7240         * sysdeps/m68k/rshift.S: Likewise.
7241         * sysdeps/m68k/sub_n.S: Likewise.
7242         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7243         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7244         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7246         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7247         [_LIBC_REENTRANT]: Don't store into global errno.
7249         * sysdeps/m68k/sysdep.h: New file.
7250         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7251         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7252         (DO_CALL): Change to expect syscall name as argument.
7253         (PSEUDO): Pass syscall_name to DO_CALL.
7254         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7255         errno.
7257 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7259         * elf/rtld.c: Speed up processing of environment variables.  Do
7260         only one run on the environment by avoiding to call getenv.
7261         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7262         function.  Used by patch above.
7264 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7266         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7267         running nscd.
7268         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7269         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7270         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7272 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7274         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7275         module cannot be found.  Reported by Andreas Jaeger.
7277 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7279         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7280         on platforms which default to unsigned chars.
7281         * nscd/nscd_getpw_r.c: Likewise.
7282         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7283         defining it.
7285 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7287         * elf/Makefile (install-bin): Change = to += for sprof to install
7288         ldd also.
7290 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7292         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7294 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7296         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7298 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7300         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7301         that a failure to connect to nscd doesn't change errno.
7303 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7305         * manual/maint.texi (Reporting Bugs): Change
7306         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7308         * locale/iso-4217.def: Likewise
7310 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7312         * manual/texinfo.tex: Updated.
7314 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7316         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7317         value.
7318         * sysdeps/posix/pathconf.c: Likewise.
7319         * posix/getconf.c: Print `undefined' if pathconf returns -1
7320         without setting errno.
7322 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7324         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7325         problem.
7326         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7327         Patches by Elliot Lee <sopwith@cuc.edu>.
7329 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7331         * elf/link.h (struct link_map): Add new field l_reloc_result.
7332         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7333         of relocation for the object to be profiled.
7334         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7335         to NULL.
7336         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7337         array here.
7338         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7339         contains a result from a previous run use this instead of computing
7340         the value again.
7341         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7343 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7345         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7346         offsets into the GOT.
7347         (RTLD_START): Likewise.
7349 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7351         * elf/sprof.c: Cleanup a bit.
7353 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7355         * sysdeps/generic/sysdep.h (L): New. Define.
7357         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7359         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7361         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7362         to have only one exit point for functions.
7363         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7364         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7365         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7366         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7367         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7369 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7371         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7372         reset errno so that errno isn't set to ENOSYS in the first call.
7373         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7374         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7375         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7376         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7378 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7380         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7381         * sysdeps/i386/addmul_1.S: Likewise.
7382         * sysdeps/i386/lshift.S: Likewise.
7383         * sysdeps/i386/mul_1.S: Likewise.
7384         * sysdeps/i386/rshift.S: Likewise.
7385         * sysdeps/i386/sub_n.S: Likewise.
7386         * sysdeps/i386/submul_1.S: Likewise.
7387         * sysdeps/i386/i586/add_n.S: Likewise.
7388         * sysdeps/i386/i586/addmul_1.S: Likewise.
7389         * sysdeps/i386/i586/lshift.S: Likewise.
7390         * sysdeps/i386/i586/mul_1.S: Likewise.
7391         * sysdeps/i386/i586/rshift.S: Likewise.
7392         * sysdeps/i386/i586/sub_n.S: Likewise.
7393         * sysdeps/i386/i586/submul_1.S: Likewise.
7395         * sysdeps/i386/sysdep.h: Extend last change.
7397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7398         to have only one exit point for functions.
7400 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7402         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7403         search.
7405 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7407         * Makerules: Generate libc.so with absolute paths for the used
7408         shared objects.
7410         * config.make.in: Add MAKEINFO definition.
7412 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7414         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7415         (ENTRY): Use STABS_FUN.
7416         (END): Use STABS_FUN_END.
7417         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7419         * elf/Makefile: Add rules to build sprof program.
7420         * elf/sprof.c: New file.
7422 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7424         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7426 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7428         * configure.in: Check for working msgfmt version (from GNU gettext
7429         0.10 or later).
7431 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7433         * configure.in: Avoid //s in sysdirs.
7434         Patch by Roland McGrath.
7436         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7438 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7440         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7441         setting _dl_global_scope for RTLD_GLOBAL.
7443 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7445         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7446         possible lists of object-suffixes are taken care of.
7448 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7450         * timezone/private.h: Update from tzcode1998c.
7451         * timezone/zic.c: Likewise.
7452         * timezone/antarctica: Updated from tzdata1998c.
7453         * timezone/asia: Likewise.
7454         * timezone/australasia: Likewise.
7455         * timezone/europe: Likewise.
7456         * timezone/southamerica: Likewise.
7458 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7460         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7461         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7463 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7465         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7466         Changed type of TWO43, TWO52 from float to double.
7467         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7468         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7469         Changed type of TWO43 from float to double.
7470         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7471         Use __isinff.
7473 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7475         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7476         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7477         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7479 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7481         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7482         kernel_termios.h.
7483         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7484         Clean up random whitespace.
7485         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7486         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7487         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7488         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7490 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7492         * shlib-versions: Match alpha*.
7493         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7494         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7496         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7497         Implement copysign* with and without __ prefix.
7498         Likewise for fabs; use builtin for gcc 2.8.
7499         (floor*): New.
7500         (fdim*): New.
7502         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7503         (R_SPARC*): Match current v9 ABI.
7505         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7507         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7508         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7509         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7510         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7511         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7512         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7513         * sysdeps/unix/grantpt.c (argv): Fix consts.
7514         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7515         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7517 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7519         * misc/syslog.c: Change to allow user the interpretation of the
7520         outcome even with syslog having no return value.
7522 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7524         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7525         that the number of program headers is >0 (which is wrong for the
7526         loader itself).
7528 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7530         * Makefile (distribute): Add README.libm.
7532 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7534         * time/clocktest.c (main): Correct typo: "--" -> "==".
7536 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7538         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7539         inline function.
7540         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7541         inline functions.
7543         * math/libm.map (__atan2): Added.
7545 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7547         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7548         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7550         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7551         bug.
7553 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7555         * manual/arith.texi (Old-style number conversion): Correct
7556         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7558 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7560         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7561         but does not require it.  Handle missing argv[] values gracefully.
7562         * posix/execl.c: Likewise.
7563         * posix/execle.c: Likewise.
7565 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7567         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7568         bit.
7569         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7571 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7573         * libc.map: Add __adjtimex.
7575 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7577         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7578         Remove memset.
7580 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7582         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7583         to 64.
7585         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7587         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7588         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7590         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7591         for shared library.
7593         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7595         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7596         Added adjtimex and old_adjtimex.
7598         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7599         New.
7600         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7601         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7603         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7604         symbols only for shared library.
7605         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7606         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7607         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7608         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7609         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7610         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7611         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7613         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7614         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7615         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7616         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7617         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7618         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7619         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7620         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7622         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7623         rusage pointer.
7625         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7626         New macros.
7627         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7628         timex and __adjtimex, respectively.
7630         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7632         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7634 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7636         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7637         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7639 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7641         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7643 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7645         * Makefile.in: Disable built-in rules.
7647 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7649         * sysdeps/i386/fpu/t_exp.c: Move to ...
7650         * sysdeps/libm-i387/t_exp.c: ... here.
7652 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7654         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7655         from __exp2_deltatable.
7657 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7659         * nis/ypclnt.c (yp_master): Check result of strdup.
7660         Patch by Thorsten Kukuk.
7662 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7664         * nis/ypclnt.c: Give clnt handle after error checking free, change
7665         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7667 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7669         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7670         Patch by Joe Keane <jgk@jgk.org>.
7672         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7673         * misc/fstab.c: Remove casts in fs_type assignments.
7675 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7677         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7678         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7679         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7680         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7681         * sysdeps/powerpc/bits/fenv.h: Likewise.
7682         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7683         * sysdeps/generic/bits/fenv.h: Likewise.
7684         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7685         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7686         * sysdeps/powerpc/test-arith.c (main): Likewise.
7688 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7690         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7691         the comparison macros.
7693 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7695         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7696         (__log2): Fixed return values.
7697         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7699 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7701         * math/math.h (isunordered): Rename local variables to ensure
7702         correct code.  Reported by HJ Lu.
7704 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7706         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7707         isless, islessequal, islessgreater, isunordered): Fix syntax for
7708         fucompip instruction.
7709         (isless, islessequal): Fix logic.
7711 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7713         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7714         (comparisons_test): New tests for comparison macros.
7716 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7718         * Makeconfig: Filter out frame-pointer effecting options when
7719         compiling profiling or debugging code.
7720         * config.h.in (internal_function): Don't define here if PROF is
7721         defined.
7722         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7723         state.
7724         (__monstartup): If calloc fails set error state and mark array as
7725         not allocated.
7726         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7727         to free array if not  successfully allocated.
7729         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7730         Include elf.h to get macro definitions.
7731         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7733 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7735         * elf/ldd.sh.in: Add compatibility for broken old shells.
7736         * elf/ldd.bash.in: Likewise.
7738 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7740         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7742         * time/clocktest.c (main): Check signal return error.
7744 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7746         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7747         "/" and use do-install-program. Reported by Mark M. Kettenis.
7748         (subdir_install):  Likewise.
7750 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7752         * sunrpc/rpc_sample.c: Fix typo.
7754         * nscd/connections.c: Use locale.
7755         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7756           calloc result.
7757         * nscd/nscd.c: Check if init functions fails.
7758         * nscd/nscd_conf.c: Allow disabling of group cache.
7759         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7760         * nscd/pwdcache.c: Fix debug messages.
7762 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7764         * libc.map: Add __monstartup and _mcleanup for profiling support.
7766 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7768         * libc.map: Export __getpagesize, for binary compatibility with
7769         2.0.
7771 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7773         * posix/globtest.sh: Use --library-path instead of
7774         LD_LIBRARY_PATH.
7775         * localedata/sort-test.sh: Likewise.
7776         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7778 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7780         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7781         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7782         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7784         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7785         kernel_sigaction): Define.
7786         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7787         kernel_sigaction): Define.
7789 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7791         * math/libm-test.c: Change epsilons for libm-ieee754.
7793 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7795         * sysdeps/i386/__longjmp.S: Fix race condition.
7796         Reported by Bruno Haible <haible@ilog.fr>.
7798 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7800         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7801         * iconvdata/8bit-gap.c: Likewise.
7802         * iconvdata/8bit-generic.c: Likewise.
7803         * iconvdata/iso6937.c: Likewise.
7804         * iconvdata/iso8859-1.c: Likewise.
7805         * iconvdata/sjis.c: Likewise.
7806         * iconvdata/t61.c: Likewise.
7808 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7810         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7811         feature tests by positive feature tests.
7813 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7815         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7817 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7819         * elf/dlvsym.c (dlvsym_doit): More corrections.
7820         Patch by Andreas Jaeger.
7822 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7824         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7826 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7828         * libc.map: More reordering for GLIBC_2.1 symbols.
7830 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7832         * libc.map: Move some functions from version GLIBC_2.0 to
7833         GLIBC_2.1, reorder declarations.
7835 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7837         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7838         Patch by zab@thebrain.grumblesmurf.net.
7840 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7842         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7843         NIS+ functions with version GLIBC_2.1.
7845 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7847         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7848         with 2.0 binaries.  Reported by Thorsten Kukuk.
7850 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7852         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7854         * elf/dlsym.c (dlsym_doit): Likewise.
7856 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7858         * elf/link.h: Correct typos.
7860         * iconv/iconv_prog.c: Correct typo.
7862 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7864         * iconv/Makefile: Add rules to build and install iconv program.
7865         * iconv/iconv_prog.c: New file.
7867 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7869         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7870         _dl_lookup_symbol_skip call.
7871         * elf/dlvsym.c (dlvsym_doit): Likewise.
7873 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7875         * libio/iovsscanf.c: Do not include errno.h.
7877 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7879         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7880         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7881         pulling in the whole error list.
7882         (__dcgettext, dcgettext): Removed.
7883         * libc.map: Export _strerror_internal.
7885 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7887         * sysdeps/i386/fpu/t_exp.c: New file.
7889 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7891         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7892         everything with version GLIBC_2.1.
7893         * hesiod/libnss_hesiod.map: Likewise.
7895 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7897         * manual/arith.texi (Old-style number conversion): This node is a
7898         section, not a subsection.
7900 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7902         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7904 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7906         * elf/rtld.c (dl_main): Make sure that the library search paths
7907         have been initialized before the first call to _dl_map_object.
7909 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7911         * Makerules (common-generated): Add libc_pic.os.
7913 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7915         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7916         of the executable.
7918 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7920         * sysdeps/m68k/fpu/t_exp.c: New file.
7922 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7924         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7925         to global errno variable anymore.
7927 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7929         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7930         If PRELOADED is nonzero check in case of an SUID application
7931         whether the shared object has the SUID bit set.
7932         Fix some other problems with handling shared objects in system
7933         specific directories.
7934         (_dl_map_object): Also take extra parameter and pass it to open_path.
7935         * elf/link.h (_dl_map_object): Correct prototype and comment.
7936         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7937         * elf/dl-open.c (_dl_open): Likewise.
7938         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7940         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7942 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7944         * math/libm-test.c (modf_test): Add test for 1.5.
7946         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7947         0 to get always an int.
7949 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7951         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7952         version GLIBC_2.1.
7954 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7956         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7957         trying to read another character.
7959 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7961         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7962         name to lowercase.
7964         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7965         name to lowercase, add test for big enough buffer.
7967 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7969         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7970         Make compatible with older kernels.  Patch by Richard Henderson.
7972 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7974         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7976         * localedata/tst-locale.sh: Comment out first test for now.
7978 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7980         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7981         as 1.
7982         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7983         Likewise.
7985         * libio/iogetline.c (_IO_getline_info): Renamed from
7986         _IO_getline.
7987         (_IO_getline): Just call _IO_getline_info.
7989         * libio/libioP.h (_IO_getline_info): New declaration.
7991         * libc.map (_IO_getline_info, __write): Added.
7993 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7995         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7996         const char* to shut up gcc.
7998 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
8000         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
8001         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
8003         * math/math.h: Define M_* constants always as `double' and add new
8004         macros M_*l which are of type `long double'.
8005         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
8006         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
8007         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
8008         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
8009         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
8010         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
8011         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
8012         * math/libm-tst.c: Likewise.
8014         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
8015         define as long double unconditionally.
8017 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8019         * manual/arith.texi (Old-style number conversion): Correct some
8020         typos.
8022 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
8024         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
8025         Restore.
8027         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
8029 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8031         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
8032         on $(rtld-ldscript).
8034         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
8035         starting from 0 not only from `from'.
8036         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
8038 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
8040         * elf/rtld.c (dl_main): Recognize --library-path parameter and
8041         pass value (or NULL) to _dl_init_paths.
8042         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
8043         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
8044         environment variable.
8045         * elf/link.h: Change prototype for _dl_init_paths.
8046         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
8048         * localedata/Makefile (distribute): Add test files.
8050 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8052         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
8053         test1.def, test2.def, test3.def, test4.def}: Simple input files
8054         for localedef. Contributed by Yung-Ching Hsiao
8055         <yhsiao@cae.wisc.edu>.
8057         * localedata/Makefile (tests): Call tst-locale.sh.
8059         * localedata/tst-locale.sh: New file, regression tests for some
8060         localedef problems.
8062 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8064         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8066         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8067         terminated.
8068         * nis/nss_nisplus/nisplus-network.c: Likewise.
8069         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8070         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8071         * nis/nss_nisplus/nisplus-service.c: Likewise.
8073         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8074         and support generating thread safe RPC code.
8075         * sunrpc/rpc_main.c: Add changes.
8076         * sunrpc/rpc_clntout.c: Likewise.
8077         * sunrpc/rpc_cout.c: Likewise.
8078         * sunrpc/rpc_hout.c: Likewise.
8079         * sunrpc/rpc_parse.c: Likewise.
8080         * sunrpc/rpc_sample.c: Likewise.
8081         * sunrpc/rpc_scan.c: Likewise.
8082         * sunrpc/rpc_svcout.c: Likewise.
8083         * sunrpc/rpc_util.c: Likewise.
8084         * sunrpc/rpc_util.h: Add new structs and prototypes.
8085         * sunrpc/proto.h: Remove prototypes for static functions.
8087 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8089         * locale/programs/ld-messages.c (messages_finish): Don't skip
8090         error checking when being quiet.
8091         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8092         (set_class_defaults): Likewise.
8093         * locale/programs/charmap.c (parse_charmap): Likewise.
8094         * locale/programs/ld-collate.c (collate_finish): Likewise.
8095         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8096         * locale/programs/ld-time.c (time_finish): Likewise.
8097         * locale/programs/locfile.c (write_locale_data): Likewise.
8099         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8100         unknown characters and empty ranges.
8101         * locale/programs/ld-collate.c (collate_order_elem): When
8102         processing an ellipsis properly form a linked list in the result
8103         table, fix typo when allocating ordering array.
8104         [PR libc/419]
8106 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8108         * elf/Makefile (ld-map): Define.
8109         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8110         `$(rtld-ldscript)'.
8111         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8112         on $(ld-map).
8113         (rtld-link): Combine the two versions of this definition.  Fixed
8114         to make it work when no symbol versioning is used.
8116 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8118         * Makeconfig (build-program-cmd): Use --library-path parameter to
8119         ld.so instead of environment variable.
8121         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8122         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8124 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8126         * Make-dist: Respect with-cvs setting.
8127         * MakeTAGS (all-pot): Likewise.
8128         * sysdeps/sparc/sparc32/Makefile: Likewise.
8129         * sysdeps/mach/hurd/Makefile: Likewise.
8130         * stdlib/Makefile: Likewise.
8131         * posix/Makefile: Likewise.
8132         * intl/Makefile: Likewise.
8133         * po/Makefile (linguas): Likewise
8135 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8137         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8139 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8141         * libc.map: Add __strcasecmp.
8143         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8144         module.
8146         * nss/getXXent_r.c: If no more module is found don't try to call
8147         setXXent functions but leave unsuccessfully.
8149         * malloc/obstack.h: Cleanups.
8151         * sysdeps/wordsize-32/stdint.h: New file.
8152         * sysdeps/wordsize-64/stdint.h: New file.
8153         * sysdeps/generic/stdint.h: New file.
8154         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8155         * sysdeps/wordsize-64/inttypes.h: Likewise.
8156         * stdlib/Makefile (headers): Add stdint.h.
8158 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8160         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8162 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8164         * timezone: New directory.
8165         * time/README, time/africa, time/antarctica, time/asia,
8166         time/australasia, time/backward, time/checktab.awk,
8167         time/etcetera, time/europe, time/factory, time/ialloc.c,
8168         time/iso3166.tab, time/leapseconds, time/northamerica,
8169         time/pacificnew, time/private.h, time/scheck.c,
8170         time/solar87, time/solar88, time/solar89, time/southamerica,
8171         time/systemv, time/test-tz.c, time/tzfile.h,
8172         time/tzselect.ksh, time/yearistype, time/zdump.c,
8173         time/zic.c, time/zone.tab: Moved to timezone.
8174         * time/tzfile.c: Include tzfile.h from timezone subdir.
8175         * time/tzset.c: Likewise.
8176         * time/Makefile: Cut out all code relating to timezones...
8177         * timezone/Makefile: ...and paste it in here.
8178         * Makefile (subdirs): Add timezone.
8180 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8182         * libc.map (_sys_nerr): Added.
8184         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8185         versioned symbol.
8187 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8189         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8190         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8191         Reported by Craig Metz <cmetz@inner.net>.
8193 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8195         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8196         instead of strcasecmp.
8197         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8199         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8201 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8203         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8204         Patch by Dean Gaudet <dgaudet@arctic.org>.
8206 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8208         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8210 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8212         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8213         with no poll syscall, just include the BSD version.
8214         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8215         kernel without the syscall, include the stub version.
8216         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8217         * sysdeps/generic/getresuid.c: New file.
8218         * sysdeps/generic/getresgid.c: New file.
8220 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8222         * stdio-common/vfscanf.c: Correct last change a bit.
8224 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8226         * elf/Makefile: Don't use --version-script parameter to link ld.so
8227         unconditionally.
8229 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8231         * math/Makefile: Add t_exp.
8232         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8233         constants.
8234         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8235         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8236         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8237         better accuracy.
8238         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8239         algorithm for very large/very small arguments.
8240         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8241         correct algorithm for very large/very small arguments; adjust for
8242         new table.
8243         * sysdeps/libm-ieee754/t_exp.c: New file.
8244         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8246         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8247         back, with comment that explains what breaks when you remove it :-(.
8249         * localedata/xfrm-test.c: Avoid integer overflow.
8251         * stdlib/strfmon.c: char is unsigned, sometimes.
8253         * sysdeps/powerpc/Makefile: Remove quad float support.
8254         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8255         * sysdeps/powerpc/quad_float.h: Likewise.
8256         * sysdeps/powerpc/test-arith.c: Likewise.
8257         * sysdeps/powerpc/test-arithf.c: Likewise.
8259         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8260         * sysdeps/generic/s_exp2f.c: Likewise.
8262         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8263         don't try anything if _SOFT_FLOAT.
8265 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8267         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8268         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8269         * wctype/wctype.c: Likewise.
8270         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8271         changed.  They are incompatible with the _ISxxx values from
8272         <ctype.h> on little endian machines.
8273         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8274         bit number.  This fixes the real bug and restores the integrity of
8275         the ctype locale file.
8276         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8277         * wctype/wcfuncs_l.c: Likewise.
8278         * wctype/wcextra.c: Likewise.
8279         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8280         byte swapping.
8282 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8284         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8285         into .bss segment instead of .common, so that aliases on it work.
8287         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8288         .size directives, put into .bss segment instead of initializing it
8289         to 4.
8291 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8293         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8295         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8296         functions.
8297         Make names without __ weak aliases.
8298         (__libc_release, __libc_version): Make them static.
8300         * include/gnu/libc-version.h: New file.
8301         * Makefile (headers): Add gnu/libc-version.h.
8303 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8305         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8306         and use x for member name.
8307         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8309         * stdlib/drand48.c: Change according to member name change.
8310         * stdlib/drand48_r.c: Likewise.
8311         * stdlib/lcong48_r.c: Likewise.
8312         * stdlib/lrand48.c: Likewise.
8313         * stdlib/lrand48_r.c: Likewise.
8314         * stdlib/mrand48.c: Likewise.
8315         * stdlib/mrand48_r.c: Likewise.
8316         * stdlib/seed48.c: Likewise.
8317         * stdlib/seed48_r.c: Likewise.
8318         * stdlib/srand48_r.c: Likewise.
8320 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8322         * nss/test-netdb.c: Add some more test cases.
8324 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8326         * libio/iovsscanf.c: Undo last change modifying errno.
8328 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8330         * stdio-common/vfscanf.c: Never try to read another character
8331         after EOF.  Don't decrement read_in after EOF, it wasn't
8332         incremented in the first place.
8333         (NEXT_WIDE_CHAR): Set First, not first.
8335 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8337         * db/Makefile ($(inst_libdir)/libndbm.a,
8338         $(inst_libdir)/libndbm.so): New targets.
8339         * db2/Makefile: Likewise.
8341 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8343         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8344         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8346 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8348         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8349         <streambuf.h>.
8350         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8352 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8354         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8355         versioned symbols.
8357 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8359         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8360         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8361         Added for libdl.so.
8363 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8365         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8366         extra syscall.
8368         * grp/Makefile: Fix logic when checking for thread package.
8369         * pwd/Makefile: Likewise.
8371 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8373         * elf/Makefile (rtld-map): Replaced by libc-map.
8375         * elf/rtld.map: Removed.
8377         * libc.map (__libc_enable_secure, _dl_catch_error,
8378         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8379         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8380         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8381         _dl_object_relocation_scope, _dl_relocate_object,
8382         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8383         _r_debug): Added for ld.so.
8385 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8387         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8388         DO_VERSIONING.
8389         * libio/iofdopen.c: Ditto.
8390         * libio/iofopen.c: Ditto.
8391         * libio/oldfileops.c: Ditto.
8393         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8394         version GLIBC_2.1.
8396         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8397         oldsiglist from sysdep_routines and shared-only-routines.
8399         * sysdeps/unix/sysv/linux/errlist.c: New.
8400         * sysdeps/unix/sysv/linux/errlist.h: New.
8401         * sysdeps/unix/sysv/linux/sizes.h: New.
8402         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8403         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8405         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8407         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8408         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8409         directive.
8411         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8413         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8414         (oldsiglist.c): Removed.
8416         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8417         (_sys_siglist): Use SYS_SIGLIST instead.
8418         (_sys_nerr): Use SYS_NERR instead.
8420         * sysdeps/gnu/errlist.c: Rebuilt.
8422 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8424         * elf/Makefile (others-static): New, set to ldconfig.
8425         ($(objpfx)ldconfig): Removed.
8427         * Rules (binaries-all, binaries-static, binaries-shared): New.
8428         Create targets for $(binaries-static) and $(binaries-shared).
8430         * Makeconfig (+link-static, link-libc-static,
8431         link-extra-libs-static): New for static linking.
8433 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8435         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8437         * math/libm-test.c (modf_test): Add one more test for modf.
8439 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8441         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8442         Rename from __libc_have_rt_sigs and leave as COMMON data.
8444 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8446         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8447         of __finite.
8449 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8451         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8453 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8455         * misc/tst-efgcvt.c: Add yet more tests.
8456         * misc/efgcvt_r.c: And correct for these tests again.
8457         Reported by HJ Lu.
8459         * isomac.c: Move to...
8460         * stdlib/isomac.c: ...here.
8461         * Makefile: Move rules for handling isomac...
8462         * stdlib/Makefile: ...to here.
8464 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8466         * misc/tst-efgcvt.c: Add more tests.
8467         * misc/efgcvt_r.c: Correct result for above new tests.
8469 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8471         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8472         NDIGIT <= 0.
8474 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8476         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8477         if the programs weren't built.
8479 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8481         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8482         FE_TONEAREST, soldier on regardless and do the best we can.
8483         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8485 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8487         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8488         _STDIO_H, before including <bits/stdio_lim.h>.
8490         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8492         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8493         exist.
8495         * sysdeps/arm/sys/ucontext.h: New file.
8497 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8499         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8500         that the return value from snprintf() does not count the
8501         terminating NUL as a character.
8503 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8505         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8506         add description for sete[ug]id and general cleanup.
8507         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8509 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8511         * Makefile (parent-clean): Don't remove makefile fragments here.
8512         (postclean): New variable.
8513         (clean): Remove makefile fragments here.
8514         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8515         (generated): Add isomac and isomanc.out.
8516         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8517         avoid-generated is set.
8518         (postclean-generated): Add soversion.mk.
8519         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8520         set.
8521         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8522         avoid-generated is set.
8523         (common-generated): Add libc.so and libc.so$(libc.so-version).
8524         (generated): Add versioned libraries.
8525         (common-mostlyclean): Also remove %.so and %_pic.a.
8526         * csu/Makefile (generated): Add abi-tag.h.
8527         * db2/Makefile (extra-objs): Add getlong.o.
8528         * elf/Makefile (generated): Add ld.so, ldd and
8529         $(rtld-installed-name).
8530         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8531         * malloc/Makefile (generated): Add mtrace.
8532         * po/Makefile: Don't include version.mk, not needed any more.
8533         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8534         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8535         syscall.h -> sys/syscall.h.
8536         (common-generated): Add s-proto.d.
8537         (postclean-generated): Add sysd-syscalls.
8538         * localedata/Makefile (test-output): Add all output files.
8539         (generated): Add test-input and test-output.
8540         (generated-dirs): Add all the dirs.
8542 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8544         * Makefile (test-output, generated, generated-dirs): New
8545         variables.
8547 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8549         * resolv/nss_dns/dns-host.c: Various code cleanups.
8551 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8553         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8554         From Philip Blundell <pb@nexus.co.uk>.
8555         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8557 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8559         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8560         Suggested by debian/sparc porters.
8562 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8564         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8565         for ecvt and fcvt.
8567 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8569         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8570         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8572         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8573         defined even if __USE_POSIX is not defined.
8575 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8577         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8578         to support obsolete tty major numbers correctly.
8580 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8582         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8583         directory first and ignore install error.
8585         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8586         128 from ptyno and fix a typo for the BSD style pty.
8588 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8590         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8591         syscalls.list's.
8593 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8595         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8596         getresuid and getresgid.
8598         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8599         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8601         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8602         s_getres[ug]id.
8604         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8605         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8606         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8607         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8609 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8611         * nscd/grpcache.c: Include <stdlib.h>.
8613 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8615         * stdlib/atoll.c: Fix comments.
8617         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8618         * sysdeps/posix/ttyname_r.c: Ditto.
8620 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8622         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8623         __USE_MISC, independent of __USE_UNIX98.
8625 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8627         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8628         Rename from __libc_have_rt_sigs and leave as COMMON data.
8630 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8632         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8633         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8635         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8636         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8637         version symbols.
8638         * include/libc-symbols.h (symbol_version, default_symbol_version):
8639         Provide asm versions and correct !DO_VERSIONING versions.
8640         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8641         the weak symbol list.
8643         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8644         Rename from __libc_have_rt_sigs and leave as COMMON data.
8645         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8646         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8647         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8649 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8651         * sunrpc/Makefile: Correct dependencies of rpcgen.
8653 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8655         * nscd/Makefile: Fix test for available linuxthreads add-on.
8656         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8658 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8660         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8662 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8664         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8666         * manual/errno.texi (Error Messages): Correct description of
8667         strerror_r.  Pointed out by jonas@bagge.se.
8669 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8671         * manual/socket.texi (Host Address Functions): Clarify description
8672         of inet_network.
8674 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8676         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8677         (grantpt): Delete superfluous cast.
8679 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8681         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8682         elf/ldso_install instead of elf/subdir_install.
8683         (elf/ldso_install): New target.
8685         * elf/Makefile (ldso_install): New target.
8687 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8689         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8690         of 1998-01-06.
8692 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8694         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8695         constant expressions.
8697 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8699         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8700         for __nss_configure_lookup.
8701         (output_hostent): Remove unused variable.
8703 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8705         * string/tst-inlcall.c: Fix format string.
8707 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8709         * inet/netinet/in.h: Rename second parameter of bindresvport to
8710         avoid buggy gcc warning. [PR libc/412]
8712 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8714         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8715         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8717         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8718         Follow POSIX and make tv_sec a time_t.
8719         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8720         new tv64 syscall as well as fall back to tv32.
8721         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8722         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8723         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8724         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8725         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8726         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8727         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8728         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8730         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8731         * include/rpcsvc/nis_tags.h: Likewise.
8732         * include/rpcsvc/nislib.h: Likewise.
8734 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8736         * libc.map: Add _h_errno.
8737         * inet/herrno.c: Make _h_errno weak alias.
8739         * login/Makefile (distribute): Add pty-internal.h.
8741         * nscd/Makefile (distribute): Add all the files missing.
8743         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8744         are available.
8746         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8747         and report status at the end.
8749         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8751         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8752         variable.
8753         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8755         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8757 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8759         * configure.in: Fix --enable-add-ons code.
8761 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8763         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8764         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8765         [PR libc/441]
8767         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8768         occurence in cache.  Reported by Rudolf Leitgeb
8769         <leitgeb@leland.stanford.edu>.
8770         [PR libc/440]
8772 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8774         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8775         that it never is EINTR (which is tested for in _IO_vfscanf).
8777         * Makefile.in: Call sub-make with CVSOPTS.
8779         * elf/Makefile (distribute): Add dl-procinfo.h.
8781         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8783 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8785         * version.h (VERSION): Bump to 2.0.92.
8787 1998-01-31  Phil Blundell  <philb@gnu.org>
8789         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8790         alias for __new_sys_siglist.
8792 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8794         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8795         getgrgid_r.c if thread package is available.
8796         * pwd/Makefile: Likewise.
8797         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8798         * grp/getgrgid_r.c: Likewise.
8799         * pwd/getpwnam_r.c: Likewise.
8800         * pwd/getpwuid_r.c: Likewise.
8802 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8804         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8805         with error to allow user intervention.
8806         * nss/getXXent_r.c: Likewise.
8808 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8810         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8811         AT_PLATFORM string.  Pretty print AT_BASE info.
8813         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8814         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8815         * sysdeps/generic/dl-procinfo.h: New file.
8816         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8818 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8820         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8822         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8823         thread and not pthread_detach.
8825         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8827 1998-01-31  Phil Blundell  <philb@gnu.org>
8829         * configure.in: Add --without-cvs option to suppress automatic
8830         checkin of regenerated files.
8831         * config.make.in: Likewise.
8832         * Makefile: Respect with-cvs setting.
8833         * Makerules: Likewise.
8835         * configure.in: Allow the standalone ARM port to be configured.
8837 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8839         * grp/getgrgid_r.c: Define USE_NSCD.
8840         * grp/getgrnam_r.c: Likewise.
8841         * pwd/getpwuid_r.c: Likewise.
8842         * pwd/getpwnam_r.c: Likewise.
8844         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8846         * nss/getXXbyYY_r.c: Try at first nscd.
8848         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8849         * nscd/connections.c: New file.
8850         * nscd/dbg_log.c: New file.
8851         * nscd/dbg_log.h: New file.
8852         * nscd/grpcache.c: New file.
8853         * nscd/nscd.c: New file.
8854         * nscd/nscd.h: New file.
8855         * nscd/nscd_conf.c: New file.
8856         * nscd/nscd_stat.c: New file.
8857         * nscd/pwdcache.c: New file.
8859         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8860         * nscd/nscd_getpw_r.c: Likewise.
8861         * nscd/nscd_proto.h: New, prototypes for client functions.
8863         * nscd/nscd.conf: New, example for a configuration file.
8864         * nscd/nscd.init: New, example for a startup script.
8866         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8867         avoid deadlocks.
8868         * nscd/getgrnam_r.c: Likewise.
8869         * nscd/getpwnam_r.c: Likewise.
8870         * nscd/getpwuid_r.c: Likewise.
8872 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8874         * intl/Makefile: Use CVSOPTS in cvs invocation.
8875         * po/Makefile: Likewise.
8876         * posix/Makefile: Likewise.
8877         * stdlib/Makefile: Likewise.
8879 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8881         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8882         [PR libc/410]
8883         * misc/Makefile (tests): Add tst-efgcvt.
8884         * misc/tst-efgcvt.c: New file.
8886 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8888         * posix/regex.c: Add some more cleanups by Akim Demaille.
8890 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8892         * signal/signal.h: Revert last change.
8893         * string/strsignal.c: Regard signal number NSGI as illegal.
8894         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8895         members.
8897 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8899         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8900         * Makerules: Use CVSOPTS in cvs invocation.
8901         * Makefile: Likewise.
8902         * MakeTAGS: Likewise.
8903         * Make-dist: Likewise.
8905 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8907         * sysdeps/generic/memmem.c: Correct last change.
8909 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8911         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8912         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8914 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8916         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8917         before using RPC.
8919 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8921         * manual/memory.texi (Heap Consistency Checking): mcheck is
8922         declared in <mcheck.h>.
8923         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8925 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8927         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8928         beginning of haystack.
8930 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8932         * nss/nss_files/files-service.c: Correct last patch.
8934 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8936         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8937         __libc_have_rt_sigs.
8938         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8939         including <bits/setjmp.h>.
8940         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8941         Patch from the Debian glibc/SPARC package.
8943 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8945         * sysdeps/alpha/bzero.S: Fix a typo.
8946         * sysdeps/alpha/htonl.S: Ditto.
8947         * sysdeps/alpha/htons.S: Ditto.
8949 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8951         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8953 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8955         * include/cpio.h: Move to ...
8956         * posix/cpio.h: ...here.
8958         * locale/programs/ld-collate.c: Fix typo.
8960         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8962         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8964         * login/utmp_file.c (pututline_file): Don't always report success
8965         if similar entry is found.  Patch by Mark M. Kettenis.
8967 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8969         * manual/Makefile: Don't try to install the info files if makeinfo
8970         is not available.
8972 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8974         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8975         kernel's network ioctls, rather than using <linux/sockios.h> to
8976         get them.  This way we are sure of maintaining compatibility if
8977         the kernel interface should change.
8979 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8981         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8983 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8985         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8988 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8990         Implement System V pseudoterminal handling.
8992         * login/Makefile
8993         (routines): Add getpt, grantpt, unlockpt, ptsname.
8994         (libutil-routines): Remove pty. Add openpty, forkpty.
8995         (distribute): New internal header pty-internal.h.
8996         (others): Add the helper program, pt_chown.
8997         (install-others): Install it, in $(libexecdir), mode 4755.
8999         * login/pty-internal.h: New file.
9000         * login/openpty.c: New file.
9001         * login/forkpty.c: New file.
9002         * login/programs/pt_chown.c: New file.
9004         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
9005         * stdlib/stdlib.h: Prototype them.
9007         * config.make.in: Define $(libexecdir).
9008         * Makeconfig: Define $(inst_libexecdir).
9010         * sysdeps/generic/pty.c: Removed.
9011         * sysdeps/unix/sysv/linux/pty.c: Removed.
9013         * sysdeps/generic/getpt.c: Stub out.
9014         * sysdeps/generic/grantpt.c: Likewise.
9015         * sysdeps/generic/ptsname.c: Likewise.
9016         * sysdeps/generic/unlockpt.c: Likewise.
9018         * sysdeps/unix/grantpt.c: New file.
9019         * sysdeps/unix/bsd/getpt.c: New file.
9020         * sysdeps/unix/bsd/unlockpt.c: New file.
9021         * sysdeps/unix/sysv/linux/getpt.c: New file.
9022         * sysdeps/unix/sysv/linux/ptsname.c: New file.
9023         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
9025 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
9027         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
9029 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9031         * nss/Makefile (tests): Add rule for test-netdb.c.
9033         * nss/test-netdb.c: New file.
9035 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
9037         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
9038         really kept as a variable.  Patch by Richard Henderson,
9039         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
9041         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
9042         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
9043         entries as not existing.
9045 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9047         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
9048         zero in alternate form with precision of zero, which must produce
9049         "0".  Add braces to avoid ambiguous `else'.
9051 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9053         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
9054         problem with strncpy.
9055         * nis/nss_compat/compat-pwd.c: Likewise.
9056         * nis/nss_compat/comapt-spwd.c: Likewise.
9058 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9060         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9061         by uch@nop.or.jp. [PR libc/437]
9063 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9065         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9067 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9069         * stdio-common/test-popen.c: Include <errno.h>.
9071         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9072         close.
9074         * inet/getnetgrent_r.c: Include <errno.h>.
9076         * db2/db/db_conv.c: Include <string.h> for memcpy.
9078         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9079         so that memcpy is declared.
9081         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9083         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9085 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9087         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9088         overflow while reading line with fgets.
9089         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9091 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9093         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9094         unsigned short, not short.
9095         Reported by Andreas Jaeger.
9097 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9099         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9100         (ccept->accept).
9102         * sysdeps/generic/inttypes.h: Fix spelling.
9104 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9106         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9108         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9110 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9112         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9113         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9114         field for hh modifier.
9115         * stdio-common/vfprint.c: Use is_char field and do not depend in
9116         is_short having the value 2.
9117         Bug reported by Andreas Jaeger.
9119 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9121         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9122         PIC && DO_VERSIONING.
9124 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9126         * Rules: Add rules for $(common-objpfx)dummy$o.
9128 1998-01-26  Richard Henderson  <rth@cygnus.com>
9130         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9131         unimplemented OSF/1 definitions so that they are not accidentally seen.
9133         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9134         of the trampoline function into the macro.
9135         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9136         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9137         kernel 2.1.82 has this fixed.
9139         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9140         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9142 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9144         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9145         support sigaction on kernels > 2.1.7x.
9147 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9149         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9150         if it is empty.
9152         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9153         Patch by David Engel <david@sw.ods.com>.
9155         * configure.in: Fix another typo in --enable-add-ons code.
9157 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9159         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9161 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9163         * nss/nss_files/files-network.c: Correct order of parameters for
9164         getnetbyaddr.
9166 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9168         * db2/Makefile (routines): Add os_alloc.
9169         * db2/db.h: Update from db-2.3.16.
9170         * db2/db_185.h: Likewise.
9171         * db2/db_int.h: Likewise.
9172         * db2/btree/bt_close.c: Likewise.
9173         * db2/btree/bt_cursor.c: Likewise.
9174         * db2/btree/bt_delete.c: Likewise.
9175         * db2/btree/bt_open.c: Likewise.
9176         * db2/btree/bt_page.c: Likewise.
9177         * db2/btree/bt_put.c: Likewise.
9178         * db2/btree/bt_rec.c: Likewise.
9179         * db2/btree/bt_recno.c: Likewise.
9180         * db2/btree/btree_auto.c: Likewise.
9181         * db2/common/db_appinit.c: Likewise.
9182         * db2/common/db_apprec.c: Likewise.
9183         * db2/common/db_err.c: Likewise.
9184         * db2/common/db_region.c: Likewise.
9185         * db2/common/db_shash.c: Likewise.
9186         * db2/db/db.c: Likewise.
9187         * db2/db/db_auto.c: Likewise.
9188         * db2/db/db_conv.c: Likewise.
9189         * db2/db/db_dispatch.c: Likewise.
9190         * db2/db/db_dup.c: Likewise.
9191         * db2/db/db_pr.c: Likewise.
9192         * db2/db/db_rec.c: Likewise.
9193         * db2/db185/db185.c: Likewise.
9194         * db2/dbm/dbm.c: Likewise.
9195         * db2/hash/hash.c: Likewise.
9196         * db2/hash/hash_auto.c: Likewise.
9197         * db2/hash/hash_dup.c: Likewise.
9198         * db2/hash/hash_page.c: Likewise.
9199         * db2/hash/hash_rec.c: Likewise.
9200         * db2/include/btree_ext.h: Likewise.
9201         * db2/include/clib_ext.h: Likewise.
9202         * db2/include/common_ext.h: Likewise.
9203         * db2/include/db.h.src: Likewise.
9204         * db2/include/db_185.h.src: Likewise.
9205         * db2/include/db_am.h: Likewise.
9206         * db2/include/db_ext.h: Likewise.
9207         * db2/include/db_int.h.src: Likewise.
9208         * db2/include/hash_ext.h: Likewise.
9209         * db2/include/lock_ext.h: Likewise.
9210         * db2/include/log.h: Likewise.
9211         * db2/include/log_auto.h: Likewise.
9212         * db2/include/log_ext.h: Likewise.
9213         * db2/include/mp.h: Likewise.
9214         * db2/include/mp_ext.h: Likewise.
9215         * db2/include/mutex_ext.h: Likewise.
9216         * db2/include/os_ext.h: Likewise.
9217         * db2/include/os_func.h: Likewise.
9218         * db2/include/txn_ext.h: Likewise.
9219         * db2/lock/lock.c: Likewise.
9220         * db2/lock/lock_util.c: Likewise.
9221         * db2/log/log.c: Likewise.
9222         * db2/log/log.src: Likewise.
9223         * db2/log/log_archive.c: Likewise.
9224         * db2/log/log_auto.c: Likewise.
9225         * db2/log/log_get.c: Likewise.
9226         * db2/log/log_put.c: Likewise.
9227         * db2/log/log_rec.c: Likewise.
9228         * db2/log/log_register.c: Likewise.
9229         * db2/mp/mp_bh.c: Likewise.
9230         * db2/mp/mp_fget.c: Likewise.
9231         * db2/mp/mp_fopen.c: Likewise.
9232         * db2/mp/mp_fput.c: Likewise.
9233         * db2/mp/mp_pr.c: Likewise.
9234         * db2/mp/mp_sync.c: Likewise.
9235         * db2/mutex/mutex.c: Likewise.
9236         * db2/os/os_alloc.c: Likewise.
9237         * db2/os/os_config.c: Likewise.
9238         * db2/os/os_stat.c: Likewise.
9239         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9240         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9241         * db2/progs/db_load/db_load.c: Likewise.
9242         * db2/progs/db_printlog/db_printlog.c: Likewise.
9243         * db2/progs/db_recover/db_recover.c: Likewise.
9244         * db2/progs/db_stat/db_stat.c: Likewise.
9245         * db2/txn/txn.c: Likewise.
9247         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9248         Unmap memory blocks in reverse order of allocation.
9249         Call munmap with load address added to offset.
9250         Bug reported by Miguel de Icaza.
9252         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9253         up weight array.
9255         * localedata/locales/cs_CZ: Update by Michael Mraka
9256         <michael@informatics.muni.cz>.
9258         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9259         __USE_BSD.
9261         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9262         reading line with fgets.
9263         * nis/nss_compat/compat-pwd.c: Likewise.
9264         * nis/nss_compat/compat-spwd.c: Likewise.
9265         * nss/nss_files/files-XXX.c: Likewise.
9266         * nss/nss_files/files-alias.c: Likewise.
9267         * shadow/fgetspent_r.c: Likewise.
9269         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9271         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9272         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9273         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9275         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9276         FP register content in ucontext_t.
9278 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9280         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9281         calculation.  Patch by Markus Schoder
9282         <Markus.Schoder@dresdner-bank.de>.
9284         * math/libm-test.c (modf_test): Add more tests for modf.
9286         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9287         munlock according to Unix98.
9289 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9291         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9292         AF_INET.
9294 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9296         * sysdeps/posix/ttyname.c: Handle symbolic links.
9297         * sysdeps/posix/ttyname_r.c: Ditto.
9299 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9301         * db2/makedb.c (process_input): Write terminating \0 for value.
9302         (print_database): Simply print value string, don't use length.
9304 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9306         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9307         exit of loop.
9309 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9311         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9312         close all sockets.
9314 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9316         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9317         sigset.
9318         * signal/sighold.c: New file.
9319         * signal/sigrelse.c: New file.
9320         * sysdeps/generic/sigignore.c: New file.
9321         * sysdeps/generic/sigset.c: New file.
9322         * sysdeps/posix/sigignore.c: New file.
9323         * sysdeps/posix/sigset.c: New file.
9324         * signal/signal.h: Add prototypes for new functions.
9326         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9327         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9328         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9329         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9331 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9333         * posix/wordexp.c: Added IFS field-splitting in parameter and
9334         command substitution.  Fixed an IFS-related bug that caused an
9335         infinite loop.
9337 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9339         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9340         and swapcontext.
9341         * stdlib/ucontext.h: Correct prototypes.
9342         * sysdeps/generic/getcontext.c: New file.
9343         * sysdeps/generic/setcontext.c: New file.
9344         * sysdeps/generic/makecontext.c: New file.
9345         * sysdeps/generic/swapcontext.c: New file.
9346         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9348 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9350         * resource/sys/resource.h: Remove #include of ulimit.h which is
9351         not allowed by SUSv2 and not available on other systems.
9352         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9354         * streams/Makefile: New file.
9355         * streams/stropts.h: New file.
9356         * sysdeps/generic/bits/stropts.h: New file.
9357         * sysdeps/generic/isastream.c: New file.
9358         * sysdeps/generic/getmsg.c: New file.
9359         * sysdeps/generic/getpmsg.c: New file.
9360         * sysdeps/generic/putmsg.c: New file.
9361         * sysdeps/generic/putpmsg.c: New file.
9362         * sysdeps/generic/fattach.c: New file.
9363         * sysdeps/generic/fdetach.c: New file.
9364         * sysdeps/unix/inet/Subdirs: Add streams.
9365         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9366         __t_uscalar_t.
9367         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9368         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9369         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9372         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9373         handle small buffers correctly.
9375 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9377         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9378         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9379         and _dl_runtime_profile.
9381 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9383         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9384         * posix/Makefile (headers): Add cpio.h.
9386 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9388         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9389         to routines.
9390         * nis/nis_cache.c: New file.
9391         * nis/nis_cache2.h: New file.
9392         * nis/nis_cache2_xdr.c: New file.
9393         * nis/nis_call.c: Changes for cache2_info parameter.
9394         * nis/nis_checkpoint.c: Likewise.
9395         * nis/nis_intern.h: Likewise.
9396         * nis/nis_mkdir.c: Likewise.
9397         * nis/nis_ping.c: Likewise.
9398         * nis/nis_rmdir.c: Likewise.
9399         * nis/nis_server.c: Likewise.
9400         * nis/nis_util.c: Likewise.
9402 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9404         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9405         return/errnop codes.
9406         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9407         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9408         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9409         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9410         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9411         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9412         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9413         * nis/nss_nisplus/nisplus-service.c: Likewise.
9414         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9416 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9418         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9419         * nis/nss_nis/nis-ethers.c: Likewise.
9420         * nis/nss_nis/nis-grp.c: Likewise.
9421         * nis/nss_nis/nis-hosts.c: Likewise.
9422         * nis/nss_nis/nis-network.c: Likewise.
9423         * nis/nss_nis/nis-proto.c: Likewise.
9424         * nis/nss_nis/nis-hosts.c: Likewise.
9425         * nis/nss_nis/nis-network.c: Likewise.
9426         * nis/nss_nis/nis-proto.c: Likewise.
9427         * nis/nss_nis/nis-publickey.c: Likewise.
9428         * nis/nss_nis/nis-pwd.c: Likewise.
9429         * nis/nss_nis/nis-rpc.c: Likewise.
9430         * nis/nss_nis/nis-service.c: Likewise.
9431         * nis/nss_nis/nis-spwd.c: Likewise.
9433 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9435         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9436         Added to follow latest kernel development.
9438 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9440         * nss/db-Makefile: Handle empty and comment lines better.
9441         ($(VAR_DB)/services.db): Generate entries with missing protocol
9442         value.
9444 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9446         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9447           NULL.
9448           (getservbyname): Allow proto == NULL.
9449           Pointed out by David N. Welton <davidw@gate.cks.com>.
9450           [PR libc/430].
9452 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9454         * nis/nislib/nislib.h: Finally removed.
9456         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9457         C compiler.  From Kaveh Ghazi.
9458         (TYPE_MINIMUM): Define.
9459         (TYPE_MAXIMUM): Define.
9460         (TIME_T_MIN): Use TYPE_MINIMUM.
9461         (TIME_T_MAX): Use TYPE_MAXIMUM.
9462         Patch by Jim Meyering <meyering@ascend.com>.
9464 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9466         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9467         __pread64, __pwrite64, and __getpid.
9469         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9470         versions.
9472 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9474         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9475         cancelable socket functions as __libc_xxx with __xxx as weak
9476         alias.
9477         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9478         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9480         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9481         redefined.
9482         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9483         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9484         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9485         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9487         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9488         and __xxx a weak alias.
9489         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9490         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9491         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9492         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9493         * sysdeps/unix/sysv/linux/send.S: Likewise.
9494         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9495         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9497 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9499         * locale/langinfo.h: Add defines.
9501         * dirent/dirent.h: Add defines for DT_*, check also for
9502         _DIRENT_HAVE_D_TYPE.
9503         Suggested by Roland McGrath.
9505 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9507         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9508         Update from Linux 2.1.73+79.
9510         * README.template: Update information about possible
9511         configurations.
9513         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9514         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9515         [PR libc/417].
9517         * manual/time.texi (Priority): Correct description of
9518         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9519         [PR libc/416].
9521 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9523         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9524         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9526 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9528         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9529         Andreas Jaeger.
9531 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9533         * locale/programs/ld-collate.c: Little optimizations.
9535         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9537         * string/Makefile (tests): Add tst-inlcall.
9538         * string/tst-inlcall.c: New file.
9540         * string/strsignal.c: Add support for real-time signals.
9542         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9543         presense of small buffer.
9545         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9547         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9548         for i686.
9550         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9551         _NSIG + 1.
9553 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9555         * Rules: Add explicit rule for dummy.o; at least one library needs
9556           it and it isn't autogenerated by the default rules.
9558 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9560         * math/libm-test.c: Tweak epsilons.
9562 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9564         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9565         child.
9566         (feenv_mask_test): Likewise.
9568 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9570         * Makeconfig: Don't export CPPFLAGS.
9572 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9574         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9575         message.
9577 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9579         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9580         terminating null in key size.
9582 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9584         * nss/nss_files/files-service.c: Fix allocation size to include
9585         length of PROTO.
9587         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9588         applicable.  Fix return value and error checking.
9589         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9590         unparsable lines.
9591         (DB_LOOKUP): Allocate space for terminating null byte.
9593         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9594         uids specially.
9596         * db2/makedb.c (process_input): Continue processing if a duplicate
9597         key is encountered.
9599 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9601         * time/tzfile.h: Updated from tzcode1998b.
9602         * time/zdump.c: Likewise.
9603         * time/zic.c: Likewise.
9604         * time/africa: Update from tzdata1998b.
9605         * time/antarctica: Likewise.
9606         * time/asia: Likewise.
9607         * time/australasia: Likewise.
9608         * time/etcetera: Likewise.
9609         * time/europe: Likewise.
9610         * time/leapseconds: Likewise.
9611         * time/northamerica: Likewise.
9612         * time/southamerica: Likewise.
9614 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9616         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9617         lookups ignoring case.
9618         * nss/nss_files/files-network.c: Do network lookups ignoring
9619         case.
9620         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9621         case.
9622         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9623         case insensitive comparing.
9624         Patches by Cristian Gafton <gafton@redhat.com>.
9626 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9628         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9629         by Roland McGrath. [PR libc/395]
9631 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9633         * manual/arith.texi (Parsing of Integers): Correct description of
9634         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9635         [PR libc/396]
9637 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9639         * misc/lsearch.c (lsearch): Return a pointer to the new element
9640         if one was "allocated".
9642 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9644         * string/strsignal.c: NSIG is not a valid index into
9645         _sys_siglist.  Don't zap the last character of the "Unknown
9646         signal" message.
9648 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9650         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9651         ellipsis expressions.
9653         * locale/programs/charset.c (insert_char): Correctly insert value
9654         of eliipsis expression.
9656 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9658         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9659         <bits/setjmp.h>.
9660         * sysdeps/powerpc/setjmp.S: Likewise.
9661         Patches by Matt McLean <keys@keys.got.net>.
9663         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9665         * Makefile: Undo last patch.
9666         (distribute): Add test-installation.pl.
9668         * configure.in: Correct handling of --enable-add-ons without parameter.
9669         Correct address of WWW pages.
9671         * libc.map: Add _nl_domain_bindings.
9673         * db2/mutex/tsl_parisc.s: New file.
9675         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9676         and extra-module.mk.
9678         * localedata/Makefile (distribute): New.  Add all the files.
9680         * stdlib/Makefile (headers): Add inttypes.h.
9681         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9682         * sysdeps/generic/inttypes.h: New file.
9683         * sysdeps/generic/strtoimax.c: New file.
9684         * sysdeps/generic/strtoumax.c: New file.
9685         * sysdeps/generic/wcstoimax.c: New file.
9686         * sysdeps/generic/wcstoumax.c: New file.
9687         * sysdeps/wordsize-32/Dist: Removed.
9688         * sysdeps/wordsize-32/Makefile: Removed.
9689         * sysdeps/wordsize-64/Dist: Removed.
9690         * sysdeps/wordsize-64/Makefile: Removed.
9691         * sysdeps/generic/bits/environments.h: New file.
9693         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9694         header is still not correct.
9696         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9697         * posix/unistd.h: Likewise.
9698         * sysdeps/generic/sys/mman.h: Likewise.
9699         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9701         * manual/arith.texi: Change definition of mul macro.
9702         * manual/math.texi: Likewise.
9704         * misc/Makefile (routines): Add mmap64.
9705         * sysdeps/generic/mmap64.c: New file.
9706         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9707         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9708         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9709         aliases to mmap.
9710         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9712         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9714         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9716         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9718         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9719         FOPEN_MAX also when included by limits.h.
9720         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9722         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9723         and netrom/netrom.h.
9724         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9725         oldsiglist to sysdep_routines, not aux.
9726         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9728         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9729         and SOL_NETROM definition.
9731         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9733         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9734         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9736 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9738         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9740         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9741         sa_handler with k_sa_handler.
9742         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9743         strong alias.
9744         Reported by a sun.
9746         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9747         __libc_have_rt_sigs here.
9748         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9749         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9750         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9751         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9753 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9755         * sysdeps/powerpc/atomicity.h: New file.
9756         * sysdeps/mach/powerpc/machine-lock.h: New file.
9758         * Rules: Use -fpic to build anything that might end up in a users'
9759         shared library.
9761         * sysdeps/powerpc/s_fdim.c: New file.
9762         * sysdeps/powerpc/s_fdimf.c: New file.
9763         * sysdeps/powerpc/s_fmax.S: New file.
9764         * sysdeps/powerpc/s_fmaxf.S: New file.
9765         * sysdeps/powerpc/s_fmin.S: New file.
9766         * sysdeps/powerpc/s_fminf.S: New file.
9767         * sysdeps/powerpc/s_llrint.c: Now is for double.
9768         * sysdeps/powerpc/s_llrintf.c: New file.
9769         * sysdeps/powerpc/s_llround.c: Now is for double.
9770         * sysdeps/powerpc/s_llroundf.c: New file.
9771         * sysdeps/powerpc/s_lrint.c: Now is for double.
9772         * sysdeps/powerpc/s_lrintf.S: New file.
9773         * sysdeps/powerpc/s_lround.c: Now is for double.
9774         * sysdeps/powerpc/s_lroundf.c: New file.
9775         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9776         lrintf, fdim, fdimf.
9778         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9779         file directly, use its parent.
9781         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9782         (for the third time).
9784 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9786         * posix/sched.h: timespec is in <time.h>.
9788         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9790 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9792         * configure.in: Stop with error if --disable-static is used when
9793         the shared lib uses this library.
9795         * gen-FAQ.pl: I've perl installed in /usr/bin.
9797         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9799         Fix Unix98 conformance problems in the headers.
9800         * catgets/nl_types.h: Define nl_item.
9801         * grp/grp.h: Define gid_t.
9802         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9803         * include/nl_types.h: New file.
9804         * include/ulimit.h: New file.
9805         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9806         constants in POSIX mode.
9807         * io/utime.h: Get definition for time_t.
9808         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9809         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9810         * libio/stdio.h: Define va_list.  Make snprintf also available is
9811         __USE_UNIX98.  Declare getopt function and variables.
9812         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9813         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9814         * math/math.h: Defined M_* constants as double for Unix98 mode.
9815         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9816         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9817         * posix/regex.h: Define REG_NOSYS.
9818         * posix/wordexp.h: Define WRDE_NOSYS.
9819         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9820         500 for Unix98.
9821         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9822         somewhere else as well.  Define clock_t for Unix98.
9823         * posix/sys/wait.h: Define pid_t.
9824         * pwd/pwd.h: Define gid_t, uid_t.
9825         * resource/Makefile (headers): Add ulimit.h.
9826         * resource/ulimit.h: New file.
9827         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9828         instead of second argument.
9829         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9830         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9831         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9832         * signal/signal.h: Define pid_t.
9833         * string/string.h: Don't declare BSD string functions in POSIX mode.
9834         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9835         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9836         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9837         and POSIX.
9839         * inet/test_ifindex.c: Change test so that it does not fail for
9840         interface aliases.
9842         * locale/programs/locale.c (show_info): Use correct cast sequence
9843         for 64bit machines.
9845         * malloc/malloc.c: __malloc_initialized now signals three states:
9846         uninitialized, initializing, initialized.  Used in mcheck.
9847         * malloc/mcheck.c (mabort): Add '\n' to messages.
9848         (mcheck): Allow installation when malloc is uninitialized or is
9849         just initializing.
9851         * manual/memory.texi: Explain mtrace output a bit more.
9853         * math/libm-test.c: Add more epsilons.
9855         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9857         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9858         instead of strcpy for security.
9859         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9860         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9861         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9863         * nss/digits_dots.c: Pretty print.
9865         * posix/getconf.c (vars): Add symbols for programming environment
9866         recognition.  Recognize --version.
9868         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9869         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9870         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9872         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9873         __need_FOPEN_MAX.
9874         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9875         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9876         __need_FOPEN_MAX.
9878         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9879         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9881         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9882         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9883         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9884         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9885         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9886         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9888         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9889         SCNu*.
9890         * sysdeps/wordsize-64/inttypes.h: Likewise.
9892         * time/africa: Update from tzdata1997j.
9893         * time/antarctica: Likewise.
9894         * time/asia: Likewise.
9895         * time/australasia: Likewise.
9896         * time/backward: Likewise.
9897         * time/etcetera: Likewise.
9898         * time/europe: Likewise.
9899         * time/factory: Likewise.
9900         * time/northamerica: Likewise.
9901         * time/pacificnew: Likewise.
9902         * time/southamerica: Likewise.
9904         * time/tzfile.h: Update from tzcode1997h.
9905         * time/zic.c: Likewise.
9907         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9908         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9909         isw*() functions for Unix98.
9910         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9911         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9912         is defined.
9914 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9916         * locale/duplocale.c: Increase usage_count only if less than
9917         MAX_USAGE_COUNT.
9918         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9919         MAX_USAGE_COUNT.
9920         * locale/setlocale.c: Likewise.
9922 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9924         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9925         dependency to make it easier to install it selectively.
9927         * Makerules (.SUFFIXES): Don't define any suffixes.
9929 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9931         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9932         * sysdeps/generic/statfs64.c: Emulate using statfs.
9933         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9934         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9935         * sysdpes/generic/ftruncate64.c: New file.
9936         * sysdpes/generic/truncate64.c: New file.
9938         * sysdeps/generic/bits/stat.h: Add LFS support.
9939         * sysdeps/generic/bits/statfs.h: Likewise.
9941         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9942         [__USE_FILE_OFFSET64]: Make long long constant.
9943         (RLIM64_INFINITY): Likewise.
9945         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9946         for LFS support.
9947         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9948         * sysdeps/generic/bits/resource.h: Likewise.
9950         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9952         * include/features.h: Don't prevent LFS support from defining BSD
9953         and SYSV things.
9955         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9956         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9957         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9959         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9960         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9961         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9963         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9964         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9965         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9966         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9967         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9968         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9969         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9970         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9971         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9972         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9973         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9974         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9975         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9976         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9977         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9978         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9979         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9980         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9981         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9982         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9984         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9985         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9986         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9987         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9988         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9990         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9991         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9992         [$(subdir)=dirent]: Add getdents64.
9993         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9995         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9997 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9999         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
10001         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
10002         * sysdeps/generic/getrlimit64.c: Likewise.
10003         * sysdeps/generic/setrlimit.c: Likewise.
10004         * sysdeps/generic/setrlimit64.c: Likewise.
10006 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
10008         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
10009         using versioning.
10011         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
10013         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
10015 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10017         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
10018         after the codeset name.
10020 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10022         * libc.map: Add get_kernel_syms.
10024 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10026         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
10027         static.
10028         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
10029         Likewise.  Fix condition.
10031 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10033         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
10035 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10037         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
10038         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
10040 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10042         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
10043         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
10044         instead.  Oops.
10046 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10048         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
10050 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10052         * math/libm-test.c (catanh_test): Change epsilon.
10053         Reported by H.J. Lu.
10055 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
10057         * libc.map (__getpid): Added for linuxthreads.
10059 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10061         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10062         it if gcc uses static variable in DWARF2 unwind information
10063         for exception support.
10065         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10067         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10068         HAVE_DWARF2_UNWIND_INFO_STATIC.
10070         * libc.map (__register_frame*, __deregister_frame*): Make them
10071         global.
10073 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10075         * math/libm-test.c: Add more tests for "normal" values.
10077 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10079         * stdio-common/printf_fphex.c: Fix printing of long double number
10080         with a biased exponent of zero.  Fix rounding.
10082 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10084         * sunrpc/rpc_main.c: Accept new flag -$.
10085         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10087 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10089         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10090         dynamic linker first, in case the interface has changed.
10092 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10094         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10095         order.
10097 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10099         * math/tgmath.h: Check for double first, for architectures where
10100         sizeof (long double) == sizeof (double).
10102 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10104         * math/libm-test.c: New tests for "normal" values added for most
10105         functions.
10107 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10109         * version.h (VERSION): Bump to 2.0.91.
10111         * db2/makedb.c (process_input): Fix typo in message.
10112         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10114         * elf/dynamic-link.h: Pretty print.
10116         * elf/rtld.c: Allow multiple preloading of a shared object.
10118         * include/limits.h: Prevent multiple inclusion.
10120         * malloc/Makefile (headers): Add mcheck.h.
10121         (distribute): Remove it here.
10122         * malloc/mcheck.h: Pretty print.
10123         * malloc/mtrace.c (mallenv): Make `const'.
10124         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10125         are none.
10126         * manual/memory.texi: Update descriptor of malloc hooks.
10128         * posix/Makefile (routines): Add waitid.
10129         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10130         on __id_t.
10131         * posix/sys/wait.h: Define idtype_t type.
10132         Add prototype for waitid.
10133         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10134         * sysdeps/generic/waitid.c: Stub for waitid.
10135         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10136         the __need_siginfo_t defined.
10137         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10138         * sysdeps/generic/bits/types.h: Define __id_t.
10139         Correct definition of __FDMASK.
10140         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10141         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10142         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10144         * sysdeps/posix/waitid.c: New file.
10145         Provided by Zack Weinberg.
10147         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10149         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10150         Add missing parameters.
10152         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10153         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10154         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10155         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10156         initialized.
10158         * sysdeps/i386/dl-machine.h: Little cleanup.
10160         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10161         (__finite): Mark function as const.
10162         Add inline code for __ieee754_atan2.
10164         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10165         (but don't use it now).
10166         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10167         __atan.
10168         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10169         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10170         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10171         real part.
10172         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10173         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10174         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10175         __ieee754_atan2 to base 10.
10176         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10177         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10179         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10180         old_kernel_sigaction.
10182         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10184         * wctype/Makefile (routines): Add wctype_l.
10185         * wctype/wctype.h: Add declaration of __wctype_l.
10186         * wctype/wctype_l.c: New file.
10188 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10190         * locale/C-ctype.c: Correct data for isw* functions.
10191         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10192         byte order.
10193         * wctype/test_wctype.c: Add test for isw* functions.
10194         * wctype/wctype.c: Return value with expected byte order.
10196 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10198         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10200 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10202         * iconvdata/Makefile: Fix a typo.
10204         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10205         oldsiglist for shared library.
10207         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10208         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10210         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10211         sys_siglist, sys_sigabbrev): New file. Make them as the old
10212         version GLIBC_2.0.
10214         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10215         to GLIBC_2.1.
10217 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10219         * libio/iofgets.c (_IO_fgets): Return an error only if there
10220         is a new error.
10221         * libio/iogets.c (_IO_gets): Ditto.
10223 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10225         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10227         * libio/Makefile (routines, shared-only-routines): Add
10228         oldiofdopen.
10230         * libio/fileops.c: Don't use _IO_FILE_complete.
10231         * libio/iofdopen.c: Ditto.
10232         * libio/iofopen.c: Ditto.
10233         * libio/iofopen64.c: Ditto.
10234         * libio/iopopen.c: Ditto.
10235         * libio/iovdprintf.c: Ditto.
10237         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10239         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10240         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10242         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10243         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10245         * libio/libio.h (_IO_FILE): Add more fields.
10246         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10247         one if _IO_USE_OLD_IO_FILE is defined
10248         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10249         them _IO_FILE_complete.
10251         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10252         to adjust vtable.
10253         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10254         _IO_JUMPS.
10255         (_IO_FILE_complete): Commented out.
10257         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10258         * libio/oldiofclose.c: Ditto.
10259         * libio/oldiofopen.c: Ditto.
10260         * libio/oldstdfiles.c: Ditto.
10262         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10263         for the old _IO_FILE.
10265         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10266         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10267         and stderr.
10269         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10270         and remove INAME.
10272         * libio/stdio.c (stdin, stdout, stdin): Don't use
10273         _IO_FILE_complete.
10275         * libio/oldiofdopen.c: New.
10277         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10278         hp->_vtable_offset to 0.
10280 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10282         * libc.map (_IO_file_open): Added.
10284         * libio/libioP.h (_IO_file_open): Declared.
10286         * libio/fileops.c (_IO_file_open): New.
10287         (_IO_file_fopen): Call _IO_file_open ().
10289         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10290         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10292 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10294         * signal/signal.h: Fix selection of signal semantics to match
10295         comment.
10297 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10299         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10300         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10301         rt_sigreturn.
10302         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10303         [$(subdir)=signal]: Remove rt_sigreturn.
10304         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10305         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10306         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10308 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10310         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10311         declarations.
10313 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10315         * iconvdata/extra-module.mk: Expand extra-objs now.
10317 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10319         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10320         inline functions by feature tests to avoid warning about missing
10321         prototype declarations.
10323 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10325         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10326         return code for non existent +name entries.
10327         * nis/nss_compat/compat-pwd.c: Likewise.
10328         * nis/nss_compat/compat-spwd.c: Likewise.
10330 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10332         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10333         (EIO): Likewise.
10334         (ENOSPC): Likewise.
10335         (EEXIST): Likewise.
10336         (__errno_location): Likewise.
10338         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10340         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10342 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10344         * sunrpc/publickey.c: Use new NSS interface.
10346 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10348         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10350 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10352         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10353         value, to match spirit of the standard.
10354         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10355         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10356         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10358 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10360         * manual/signal.texi (Signal Stack): Remove spurious @item.
10362 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10364         * rt/aio.h: Remove double semicolon.
10366         * rt/librt.map: Add aio_init.
10368 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10370         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10371         * Makefile (subdirs): Replace rt by $(rt).
10373         * shlib-versions: Use version .2 for NSS modules.
10375         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10376         argument.
10377         * pwd/fgetpwent_r.c: Likewise.
10378         * spwd/fgetspent_r.c: Likewise.
10379         * spwd/sgetspent_r.c: Likewise.
10380         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10381         Store error number in *ERRNOP.  Little optimization.
10382         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10383         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10384         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10385         (__internal_getnetgrent_r): New argument.
10386         Call __internal_setnetgrent_reuse with new argument.
10387         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10388         * inet/netgroup.h: Add argument to prototypes.
10389         * nis/nisplus-parser.h: Likewise.
10390         * nis/nss_compat/compat-grp.c: Change everything to store error
10391         code through provided pointer and not use errno.
10392         * nis/nss_compat/compat-pwd.c: Likewise.
10393         * nis/nss_compat/compat-spwd.c: Likewise.
10394         * nis/nss_nis/nis-alias.c: Likewise.
10395         * nis/nss_nis/nis-ethers.c: Likewise.
10396         * nis/nss_nis/nis-grp.c: Likewise.
10397         * nis/nss_nis/nis-hosts.c: Likewise.
10398         * nis/nss_nis/nis-netgrp.c: Likewise.
10399         * nis/nss_nis/nis-network.c: Likewise.
10400         * nis/nss_nis/nis-proto.c: Likewise.
10401         * nis/nss_nis/nis-publickey.c: Likewise.
10402         * nis/nss_nis/nis-pwd.c: Likewise.
10403         * nis/nss_nis/nis-rpc.c: Likewise.
10404         * nis/nss_nis/nis-service.c: Likewise.
10405         * nis/nss_nis/nis-spwd.c: Likewise.
10406         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10407         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10408         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10409         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10410         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10411         * nis/nss_nisplus/nisplus-network.c: Likewise.
10412         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10413         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10414         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10415         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10416         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10417         * nis/nss_nisplus/nisplus-service.c: Likewise.
10418         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10419         * nss/nss_db/db-XXX.c: Likewise.
10420         * nss/nss_db/db-alias.c: Likewise.
10421         * nss/nss_db/db-netgrp.c: Likewise.
10422         * nss/nss_files/files-XXX.c: Likewise
10423         * nss/nss_files/files-alias.c: Likewise
10424         * nss/nss_files/files-netgrp.c: Likewise
10425         * nss/nss_files/files-parse.c: Likewise
10426         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10427         parameter of get functions.
10428         * nss/getXXent_r.c: Likewise.
10430         * localedata/tst-fmon.c: Print debug info if test fails.
10432         * rt/Makefile (routines): Add aio_notify.
10433         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10434         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10435         * rt/aio_fsync.c: Likewise.
10436         * rt/aio_misc.c: Likewise.
10437         * rt/aio_misc.h: Likewise.
10438         * rt/aio_read.c: Likewise.
10439         * rt/aio_read64.c: Likewise.
10440         * rt/aio_suspend.c: Likewise.
10441         * rt/aio_write.c: Likewise.
10442         * rt/aio_write64.c: Likewise.
10443         * rt/lio_listio.c: Likewise.
10444         * rt/lio_listio64.c: Likewise.
10445         * rt/aio_notify.c: New file.
10447         * sysdeps/generic/bits/sigset.h: Pretty print.
10449         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10450         really defined as __pwrite.
10452         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10453         instead of pread64.
10454         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10456         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10457         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10458         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10459         size in syscall.
10460         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10461         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10462         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10463         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10464         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10465         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10466         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10467         for ACT being NULL.
10468         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10469         RT signals.
10470         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10471         __NR_pread is not defined.
10472         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10473         __NR_pwrite is not defined.
10475 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10477         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10478         handle for /etc/group back in some more cases.
10479         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10480         handle for /etc/passwd back in some more cases.
10481         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10482         handle for /etc/shadow back in some more cases.
10484 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10486         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10487         beyound its size.
10488         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10489         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10491 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10493         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10494         handling.  Don't use macros, we need functions.  Use inline functions
10495         for optimization.
10496         * sysdeps/wordsize-64/inttypes.h: Likewise.
10497         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10498         and wcstoumax.
10499         * sysdeps/wordsize-64/Makefile: Likewise.
10500         * sysdeps/wordsize-32/Dist: Likewise.
10501         * sysdeps/wordsize-64/Dist: Likewise.
10502         * sysdeps/wordsize-32/strtoimax.c: New file.
10503         * sysdeps/wordsize-32/strtoumax.c: New file.
10504         * sysdeps/wordsize-32/wcstoimax.c: New file.
10505         * sysdeps/wordsize-32/wcstoumax.c: New file.
10506         * sysdeps/wordsize-64/strtoimax.c: New file.
10507         * sysdeps/wordsize-64/strtoumax.c: New file.
10508         * sysdeps/wordsize-64/wcstoimax.c: New file.
10509         * sysdeps/wordsize-64/wcstoumax.c: New file.
10511 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10513         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10514         that transparent union works.
10515         * sysdeps/generic/wait4.c (__wait4): Likewise.
10516         * sysdeps/generic/wait.c (__wait): Likewise.
10518         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10519         size_t.
10521         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10522         long, to match prototype.
10524         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10525         have mremap() yet.
10527         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10529         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10531         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10533         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10534         __rlim_t.
10536         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10538         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10540         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10541         __S_IFLNK.
10543         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10544         <bits/stdio_lim.h>.
10545         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10547 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10549         * posix/sys/wait.h: Don't use transparent unions in C++.
10551 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10553         * time/time.h: Add strfxtime.
10555         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10556         sysv_signal, strfxtime, pread64, pwrite64.
10558 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10560         Alpha changes for EGCS:
10561         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10562         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10563         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10564         (_start): Likewise.
10565         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10567 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10569         The kernel expects the arguments in a different order.
10570         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10571         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10573         * FAQ.in: New file.
10574         * gen-FAQ.pl: New file.
10575         * Makefile (FAQ): Add rule to generate from FAQ.in.
10577         * iconvdata/Makefile: Treat libJIS like the other modules.
10579         * rt/librt.map: New file.
10581         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10582         inclusion.
10583         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10584         comment.
10586 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10588         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10589         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10590         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10591         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10593 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10595         * string/bits/string2.h: Fix spellings.
10597         * string/string.h: Fix spellings.
10599 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10601         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10602         declaration to __syscall_rt_sigaction.
10604         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10605         non-existant <sigcontext.h>.
10607 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10609         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10610         typo.
10612 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10614         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10616         * Makeconfig (shared-thread-library): Correct spelling.
10618         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10619         <asm/pci.h>.
10621 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10623         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10624         constants from Linux headers. Pointed out by
10625         csmall@scooter.o.i.net. [PR libc/369]
10627 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10629         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10631 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10633         * configure.in: If --enable-add-ons is given without an
10634         argument, set the addons list to all subdirs with a configure
10635         script.
10637 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10639         * Makeconfig: Add shared-thread-library variable.
10641         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10642         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10643         here.
10644         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10645         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10646         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10647         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10648         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10649         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10650         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10651         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10652         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10653         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10654         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10655         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10656         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10657         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10658         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10659         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10660         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10661         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10662         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10663         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10664         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10665         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10666         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10667         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10668         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10670         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10671         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10672         * signal/Makefile (headers): Add bits/siginfo.h.
10673         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10674         (distribute): Add testrtsig.h.
10675         * signal/allocrtsig.c: New file.
10676         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10677         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10678         __libc_current_sigrtmax.
10679         * sysdeps/generic/sigqueue.c: New file.
10680         * sysdeps/generic/sigtimedwait.c: New file.
10681         * sysdeps/generic/sigwaitinfo.c: New file.
10682         * sysdeps/generic/testrtsig.h: New file.
10683         * sysdeps/generic/bits/siginfo.h: New file.
10684         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10685         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10686         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10687         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10688         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10689         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10690         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10691         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10692         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10693         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10694         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10695         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10696         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10697         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10698         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10699         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10700         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10701         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10702         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10703         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10704         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10705         and _POSIX_REALTIME_SIGNALS.
10706         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10707         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10708         update _NSIG.
10709         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10710         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10711         definitions.
10713         * Makefile (subdirs): Add rt.
10714         * shlib-versions: Add entry for librt.
10715         * rt/Makefile: New file.
10716         * rt/aio.h: New file.
10717         * rt/aio_cancel.c: New file.
10718         * rt/aio_error.c: New file.
10719         * rt/aio_fsync.c: New file.
10720         * rt/aio_misc.c: New file.
10721         * rt/aio_misc.h: New file.
10722         * rt/aio_read.c: New file.
10723         * rt/aio_read64.c: New file.
10724         * rt/aio_return.c: New file.
10725         * rt/aio_suspend.c: New file.
10726         * rt/aio_write.c: New file.
10727         * rt/aio_write64.c: New file.
10728         * rt/lio_listio.c: New file.
10729         * rt/lio_listio64.c: New file.
10730         * sysdeps/generic/aio_sigqueue.c: New file.
10731         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10732         * sysdeps/unix/sysv/linux/Dist: Add new files
10733         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10734         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10735         rt_sigqueueinfo, rt_sigaction.
10737         * posix/Makefile (headers): Add bits/environments.h.
10738         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10739         and _CS_LFS_CFLAGS on 64bit platforms.
10740         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10741         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10742         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10743         compilation modules.
10744         * sysdeps/wordsize-32/bits/environments.h: New file.
10745         * sysdeps/wordsize-64/bits/environments.h: New file.
10747         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10748         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10749         __libc_pid.
10750         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10751         0xf00baa.
10753         * string/string.h: Add declaration of __strverscmp.
10754         * string/strverscmp.c: Rename function ot __strverscmp and make old
10755         name weak alias.
10757         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10758         * sysdeps/generic/enbl-secure.c: Likewise.
10759         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10761         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10763         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10765 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10767         * posix/sys/wait.h: Use __transparent_union__ instead of
10768         transparent_union.  Reported by Roland McGrath.
10770 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10772         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10773         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10774         [PR libc/366].
10776         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10778         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10780 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10782         * grp/initgroups.c: Increase buffer if it is too small.
10784 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10786         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10787         fields, this is no ISO C.  Reported by Andreas Jaeger.
10789 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10791         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10793 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10795         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10796         _SYS_UTSNAME_H not _UTSNAME_H.
10798 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10800         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10801         computing s_scale.
10803 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10805         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10806         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10807         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10809         * math/libm-test.c (csqrt_test): Add testcase.
10811 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10813         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10814         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10815         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10817 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10819         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10821 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10823         * math/libm-test.c (acos_test): Add more tests.
10824         (asin_test): Likewise.
10825         (atan_test): Likewise.
10826         (exp_test): Likewise.
10827         (sin_test): Likewise.
10828         (sqrt_test): Likewise.
10829         (cpow_test): Likewise.
10830         (csqrt_test): Likewise.
10831         (cexp_test): Correct typo in gcc version test.
10833 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10835         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10836         <bits/setjmp.h>.
10837         * sysdeps/arm/setjmp.S: Likewise.
10839         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10841 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10843         * stdio/stdio.h: Add prototype for tmpfile64().
10845 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10847         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10848         prototype to keep in step with libio version.
10850         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10852 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10854         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10855         cross-compiling.
10857 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10859         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10860         load GOT ptr before jumping to _exit.
10861         Reported by Xavier Leroy.
10863 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10865         * Makefile (subdirs): Add iconvdata and localedata.
10867         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10869         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10871         * iconvdata/8bit-gap.c: New file.
10872         * iconvdata/8bit-generic.c: Renamed from ...
10873         * iconvdata/iso8859-generic.c: ...this.
10874         * iconvdata/configure: Removed.
10875         * iconvdata/Makefile: Add new modules and better rules.
10876         * iconvdata/iso6937.c: Minor bug fixes.
10877         * iconvdata/iso8859-1.c: Likewise.
10878         * iconvdata/t61.c: Likewise.
10879         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10880         Minor bug fixes.
10881         * iconvdata/iso8859-3.c: Likewise.
10882         * iconvdata/iso8859-4.c: Likewise.
10883         * iconvdata/iso8859-5.c: Likewise.
10884         * iconvdata/iso8859-6.c: Likewise.
10885         * iconvdata/iso8859-7.c: Likewise.
10886         * iconvdata/iso8859-8.c: Likewise.
10887         * iconvdata/iso8859-9.c: Likewise.
10888         * iconvdata/iso8859-10.c: Likewise.
10889         * iconvdata/ebcdic-at-de-a.c: New file.
10890         * iconvdata/ebcdic-at-de.c: New file.
10891         * iconvdata/ebcdic-ca-fr.c: New file.
10892         * iconvdata/hp-roman8.c: New file.
10893         * iconvdata/koi-8.c: New file.
10894         * iconvdata/koi8-r.c: New file.
10895         * iconvdata/koi8-h.c: New file.
10896         * iconvdata/latin-greek-1.c: New file.
10897         * iconvdata/latin-greek-1.h: New file.
10898         * iconvdata/latin-greek.c: New file.
10899         * iconvdata/latin-greek.h: New file.
10900         * iconvdata/jis0201.c: New file.
10901         * iconvdata/jis0201.h: New file.
10902         * iconvdata/jis0208.c: New file.
10903         * iconvdata/jis0208.h: New file.
10904         * iconvdata/jis0212.c: New file.
10905         * iconvdata/jis0212.h: New file.
10906         * iconvdata/sjis.c: New file.
10907         * iconvdata/gap.pl: New file.  Script to generate table header.
10908         * iconvdata/gaptab.pl: New file.
10909         * iconvdata/gconv-modules: Add info about new modules.
10911         * locale/programs/charmap.c: Also examine alias names given in charmap
10912         files.
10914         * localedata/*: Add to here from add-on.  We need the information
10915         to generate tables for iconv.
10917         Update from db-2.3.14.
10918         * db2/Makefile: Updated.
10919         * db2/config.h: Likewise.
10920         * db2/db.h: Likewise.
10921         * db2/db_int.h: Likewise.
10922         * db2/btree/bt_cursor.c: Likewise.
10923         * db2/btree/bt_delete.c: Likewise.
10924         * db2/btree/bt_put.c: Likewise.
10925         * db2/btree/bt_search.c: Likewise.
10926         * db2/btree/bt_split.c: Likewise.
10927         * db2/btree/btree_auto.c: Likewise.
10928         * db2/common/db_appinit.c: Likewise.
10929         * db2/common/db_apprec.c: Likewise.
10930         * db2/common/db_err.c: Likewise.
10931         * db2/common/db_region.c: Likewise.
10932         * db2/db/db_auto.c: Likewise.
10933         * db2/db/db_dispatch.c: Likewise.
10934         * db2/db/db_ret.c: Likewise.
10935         * db2/dbm/dbm.c: Likewise.
10936         * db2/hash/hash_auto.c: Likewise.
10937         * db2/include/btree_ext.h: Likewise.
10938         * db2/include/common_ext.h: Likewise.
10939         * db2/include/db.h.src: Likewise.
10940         * db2/include/db_cxx.h: Likewise.
10941         * db2/include/db_ext.h: Likewise.
10942         * db2/include/db_int.h.src: Likewise.
10943         * db2/include/lock.h: Likewise.
10944         * db2/include/log.h: Likewise.
10945         * db2/include/mp.h: Likewise.
10946         * db2/include/mp_ext.h: Likewise.
10947         * db2/include/os_ext.h: Likewise.
10948         * db2/include/os_func.h: Likewise.
10949         * db2/lock/lock.c: Likewise.
10950         * db2/lock/lock_deadlock.c: Likewise.
10951         * db2/log/log.c: Likewise.
10952         * db2/log/log_archive.c: Likewise.
10953         * db2/log/log_auto.c: Likewise.
10954         * db2/log/log_get.c: Likewise.
10955         * db2/log/log_put.c: Likewise.
10956         * db2/mp/mp_bh.c: Likewise.
10957         * db2/mp/mp_fget.c: Likewise.
10958         * db2/mp/mp_fopen.c: Likewise.
10959         * db2/mp/mp_fput.c: Likewise.
10960         * db2/mp/mp_fset.c: Likewise.
10961         * db2/mp/mp_open.c: Likewise.
10962         * db2/mp/mp_pr.c: Likewise.
10963         * db2/mp/mp_region.c: Likewise.
10964         * db2/mp/mp_sync.c: Likewise.
10965         * db2/mutex/README: Likewise.
10966         * db2/mutex/mutex.c: Likewise.
10967         * db2/os/os_open.c: Likewise.
10968         * db2/os/os_func.c: Removed.
10969         * db2/os/os_config.c: New file.
10970         * db2/os/os_spin.c: New file.
10971         * db2/txn/txn.c: Likewise.
10972         * db2/txn/txn_auto.c: Likewise.
10974 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10976         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10977         __typeof for C++ since this fails for class members.
10978         Reported by Neal Becker <neal@ctd.comsat.com>.
10980 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10982         * configure.in: Check for a working makeinfo (3.11 or better).
10983         * config.make.in: Add MAKEINFO to be substituted.
10984         * manual/Makefile: Don't update info if makeinfo is too old.
10986 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10988         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10989         * sysdeps/alpha/__longjmp.S: Likewise.
10990         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10991         not <bits/termios.h>.
10993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10994         __llseek and make llseek and lseek64 weak aliases.
10995         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10996         Patches by a sun <asun@zoology.washington.edu>.
10998 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
11000         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
11001         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11002         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11003         * misc/sys/syslog.h: Clean up BSD header.
11005 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11007         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
11009         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
11010         for ctan(+-inf,x).
11011         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
11012         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
11014         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
11015         csqrt (-1), ctanh(i*pi/4).
11017 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11019         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
11021 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
11023         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
11025 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11027         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
11029 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
11031         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
11032         and use.  Define GETCWD_RETURN_TYPE instead and use it.
11033         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
11034         of GETCWD_STORYGE_CLASS and put the return type and the
11035         `internal_function' in the right order for gcc 2.7.2.
11037 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11039         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
11040         incompatible with Linux 2.1.x.  Packages using modules
11041         (e.g. modutils) should/do provide their own version.  Suggested by
11042         Richard Henderson.
11044         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
11046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11047         [$(subdir)=socket]: Remove sys/module.h.
11049 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
11051         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
11052         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
11054         * iconv/gconv_close.c: Correct freeing of descriptor data.
11055         * iconv/gconv_simple.c: Return correct error values for illegal or
11056         incomplete characters.
11058         * Makefile (iconvdata/%): Special goal to simplify iconvdata
11059         development.
11060         * iconvdata/Makefile: New file.
11061         * iconvdata/configure: Likewise.
11062         * iconvdata/extra-module.mk: Likewise.
11063         * iconvdata/gconv-modules: Likewise.
11064         * iconvdata/iso6937.c: Likewise.
11065         * iconvdata/iso8859-1.c: Likewise.
11066         * iconvdata/iso8859-10.c: Likewise.
11067         * iconvdata/iso8859-10.h: Likewise.
11068         * iconvdata/iso8859-2.c: Likewise.
11069         * iconvdata/iso8859-2.h: Likewise.
11070         * iconvdata/iso8859-3.c: Likewise.
11071         * iconvdata/iso8859-3.h: Likewise.
11072         * iconvdata/iso8859-4.c: Likewise.
11073         * iconvdata/iso8859-4.h: Likewise.
11074         * iconvdata/iso8859-5.c: Likewise.
11075         * iconvdata/iso8859-5.h: Likewise.
11076         * iconvdata/iso8859-6.c: Likewise.
11077         * iconvdata/iso8859-6.h: Likewise.
11078         * iconvdata/iso8859-7.c: Likewise.
11079         * iconvdata/iso8859-7.h: Likewise.
11080         * iconvdata/iso8859-8.c: Likewise.
11081         * iconvdata/iso8859-8.h: Likewise.
11082         * iconvdata/iso8859-9.c: Likewise.
11083         * iconvdata/iso8859-9.h: Likewise.
11084         * iconvdata/iso8859-generic.c: Likewise.
11085         * iconvdata/t61.c: Likewise.
11087         * string/Makefile (routines): Add strcasestr.
11088         * string/string.h: Add prototype for strcasestr.
11089         * sysdeps/generic/strcasestr.c: New file.
11090         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11091         * wcsmbs/wcrtomb.c: Likewise.
11092         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11093         * wcsmbs/wcsnrtombs.c: Likewise.
11094         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11095         partial character is read.
11096         * wcsmbs/wcsrtombs.c: Likewise.
11097         * wcsmbs/wmemrtombs.c: Likewise.
11098         * wcsmbs/wmemrtowcs.c: Likewise.
11100         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11101         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11102         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11103         * sysdeps/i386/elf/setjmp.S: Likewise.
11104         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11105         <bits/termios.h>.
11107         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11108         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11110         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11111         * sysvipc/sys/ipc.h: Likewise.
11112         * sysvipc/sys/msg.h: Likewise.
11113         * sysvipc/sys/sem.h: Likewise.
11114         * sysvipc/sys/shm.h: Likewise.
11116         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11117         used directly.
11118         * sysdeps/alpha/bits/setjmp.h: Likewise.
11119         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11120         * sysdeps/arm/bits/endian.h: Likewise.
11121         * sysdeps/arm/bits/setjmp.h: Likewise.
11122         * sysdeps/generic/bits/byteswap.h: Likewise.
11123         * sysdeps/generic/bits/confname.h: Likewise.
11124         * sysdeps/generic/bits/dirent.h: Likewise.
11125         * sysdeps/generic/bits/dlfcn.h: Likewise.
11126         * sysdeps/generic/bits/endian.h: Likewise.
11127         * sysdeps/generic/bits/fenv.h: Likewise.
11128         * sysdeps/generic/bits/huge_val.h: Likewise.
11129         * sysdeps/generic/bits/in.h: Likewise.
11130         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11131         * sysdeps/generic/bits/ioctls.h: Likewise.
11132         * sysdeps/generic/bits/ipc.h: Likewise.
11133         * sysdeps/generic/bits/msq.h: Likewise.
11134         * sysdeps/generic/bits/poll.h: Likewise.
11135         * sysdeps/generic/bits/resource.h: Likewise.
11136         * sysdeps/generic/bits/sched.h: Likewise.
11137         * sysdeps/generic/bits/sem.h: Likewise.
11138         * sysdeps/generic/bits/setjmp.h: Likewise.
11139         * sysdeps/generic/bits/shm.h: Likewise.
11140         * sysdeps/generic/bits/sigaction.h: Likewise.
11141         * sysdeps/generic/bits/sigcontext.h: Likewise.
11142         * sysdeps/generic/bits/socket.h: Likewise.
11143         * sysdeps/generic/bits/stat.h: Likewise.
11144         * sysdeps/generic/bits/statfs.h: Likewise.
11145         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11146         * sysdeps/generic/bits/termios.h: Likewise.
11147         * sysdeps/generic/bits/time.h: Likewise.
11148         * sysdeps/generic/bits/uio.h: Likewise.
11149         * sysdeps/generic/bits/utmp.h: Likewise.
11150         * sysdeps/generic/bits/utmpx.h: Likewise.
11151         * sysdeps/generic/bits/utsname.h: Likewise.
11152         * sysdeps/generic/bits/waitflags.h: Likewise.
11153         * sysdeps/generic/bits/waitstatus.h: Likewise.
11154         * sysdeps/gnu/bits/utmp.h: Likewise.
11155         * sysdeps/gnu/bits/utmpx.h: Likewise.
11156         * sysdeps/i386/bits/byteswap.h: Likewise.
11157         * sysdeps/i386/bits/endian.h: Likewise.
11158         * sysdeps/i386/bits/huge_val.h: Likewise.
11159         * sysdeps/i386/bits/setjmp.h: Likewise.
11160         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11161         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11162         * sysdeps/m68k/bits/byteswap.h: Likewise.
11163         * sysdeps/m68k/bits/endian.h: Likewise.
11164         * sysdeps/m68k/bits/setjmp.h: Likewise.
11165         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11166         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11167         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11168         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11169         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11170         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11171         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11172         * sysdeps/mips/bits/dlfcn.h: Likewise.
11173         * sysdeps/mips/bits/endian.h: Likewise.
11174         * sysdeps/mips/bits/setjmp.h: Likewise.
11175         * sysdeps/mips/dec/bits/endian.h: Likewise.
11176         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11177         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11178         * sysdeps/mips/p40/bits/endian.h: Likewise.
11179         * sysdeps/powerpc/bits/endian.h: Likewise.
11180         * sysdeps/powerpc/bits/fenv.h: Likewise.
11181         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11182         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11183         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11184         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11185         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11186         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11187         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11188         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11189         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11190         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11191         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11192         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11193         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11194         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11195         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11196         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11197         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11198         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11199         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11200         * sysdeps/unix/common/bits/dirent.h: Likewise.
11201         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11202         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11203         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11204         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11205         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11206         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11207         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11208         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11209         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11210         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11211         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11212         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11213         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11214         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11215         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11216         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11217         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11218         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11219         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11220         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11221         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11222         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11223         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11224         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11225         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11226         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11227         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11228         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11229         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11230         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11231         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11232         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11233         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11234         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11235         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11236         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11237         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11238         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11239         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11240         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11241         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11242         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11243         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11244         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11245         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11246         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11247         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11248         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11249         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11250         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11251         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11252         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11253         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11254         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11255         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11256         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11257         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11258         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11259         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11260         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11261         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11262         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11263         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11264         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11265         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11266         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11267         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11268         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11269         * sysdeps/vax/bits/huge_val.h: Likewise.
11270         * sysdeps/vax/bits/setjmp.h: Likewise.
11271         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11272         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11274 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11276         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11278 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11280         * strftime.c (strftime):
11281         No longer any need to undef or declare if emacs is defined.
11282         (my_strftime): When checking a -1 returned by mktime, don't blow up
11283         if localtime_r returns NULL.
11285 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11287         * README.template: Fix spelling.
11289 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11291         * configure.in: Enhance --enable-add-ons description a wee bit.
11293 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11295         * glibcbug.in: Add more information of build environment and flags.
11297 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11299         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11300         it into ENOENT.
11302 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11304         * elf/dl-support.c: Call __libc_init_secure to make sure
11305         __libc_enable_secure is defined early.
11306         * sysdeps/generic/enbl-secure.c: Change function name to
11307         __libc_init_secure and make it global instead of a constructor.
11309         * iconv/gconv.c: Fix lots of bugs.
11310         * iconv/gconv.h: Likewise.
11311         * iconv/gconv_builtin.h: Likewise.
11312         * iconv/gconv_close.c: Likewise.
11313         * iconv/gconv_conf.c: Likewise.
11314         * iconv/gconv_db.c: Likewise.
11315         * iconv/gconv_dl.c: Likewise.
11316         * iconv/gconv_open.c: Likewise.
11317         * iconv/gconv_simple.c: Likewise.
11318         * iconv/iconv.c: Likewise.
11319         * iconv/iconv_close.c: Likewise.
11320         * iconv/iconv_open.c: Likewise.
11322         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11323         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11324         * wcsmbs/wmemrtombs.c: New file.
11325         * wcsmbs/wmemrtowcs.c: New file.
11327 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11329         * iconv/gconv_simple.c: Fix lots of bugs.
11330         * iconv/iconv_open.c: Normalize names before passing them to
11331         __gconv_open.
11333         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11335         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11336         * stdio-common/test-popen.c: Add test for above change.
11338         * math/libm-test.c: Print test results also using %a format,
11339         specified in PRINTF_XEXPR macro.
11340         * math/test-double.c: Define PRINTF_XEXPR.
11341         * math/test-float.c: Likewise.
11342         * math/test-ldouble.c: Likewise.
11343         * math/test-idouble.c: Likewise.
11344         * math/test-ifloat.c: Likewise.
11345         * math/test-ildoubl.c: Likewise.
11347         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11348         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11349         FP number format.
11351         * stdlib/strtod.c: Little code cleanup.
11353         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11354         compiling in math subdir.
11356         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11357         instead of __LIBC_M81_MATH_INLINES.
11358         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11359         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11360         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11361         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11362         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11363         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11364         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11365         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11366         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11367         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11368         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11369         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11370         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11371         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11372         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11373         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11374         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11375         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11376         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11377         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11378         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11379         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11380         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11381         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11382         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11383         __LIBC_INTERNAL_MATH_INLINES is defined.
11385         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11386         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11387         Define __signbit inline functions and __ieee754_sqrt which can be
11388         used if the ompiler is fixed.
11390         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11392 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11394         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11395         sysdeps/generic in the whole dep file, not only in the first line.
11397 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11399         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11401 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11403         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11404         place.
11406 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11408         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11409         is non-empty.
11411 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11413         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11414         return value.
11416 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11418         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11419         readlink succeeds but the return value is too long.
11421         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11423 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11425         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11426         __remqu for Alpha.
11428 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11430         * sysdeps/generic/sys/ucontext.h: Stub context file.
11432         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11434         * manual/Makefile (distribute): Add stdio-fp.c.
11436         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11438         * db2/Makefile (distribute): Add include/os_func.h, README and
11439         mutex/tsl_parisc.s.
11441         * hesiod/Makefile (distribute): Add README.hesiod.
11443 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11445         * iconv/gconv.c: Correctly call transformation function.
11447         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11449 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11451         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11452         wrong results for e.g. remquo (3,2, &x)).
11453         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11454         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11456 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11458         * configure.in (ld --version-script): Test if the same symbol
11459         maybe defined in all versions (needed by recent changes to
11460         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11461         if versioning is not supported/enabled.
11462         (bash test): Correct test case.
11464         * math/libm-test.c: Added counting/reporting of number of test cases.
11466         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11467         use awk instead.
11469         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11471 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11473         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11475 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11477         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11478         Replace revoke call by use of REVOKE.
11479         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11480         empty and #include generic version.
11481         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11483 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11485         * libc.map: Add socket functions with __libc_* names.
11486         Reported by Andreas Jaeger.
11488 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11490         * libc.map: Tidy up (remove duplicates, sort entries).
11492 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11494         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11496 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11498         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11499         again after successful call.
11500         Patch by Marc Lehmann <pcg@goof.com>.
11502 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11504         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11505         as some hosts need this to declare localtime_r properly.
11507 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11509         * libc.map: Add iconv_open, iconv, and iconv_close.
11511 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11513         * iconv/Makefile: New file.
11514         * iconv/gconv.c: New file.
11515         * iconv/gconv.h: New file.
11516         * iconv/gconv_builtin.c: New file.
11517         * iconv/gconv_builtin.h: New file.
11518         * iconv/gconv_close.c: New file.
11519         * iconv/gconv_conf.c: New file.
11520         * iconv/gconv_db.c: New file.
11521         * iconv/gconv_dl.c: New file.
11522         * iconv/gconv_open.c: New file.
11523         * iconv/gconv_simple.c: New file.
11524         * iconv/iconv.c: New file.
11525         * iconv/iconv.h: New file.
11526         * iconv/iconv_close.c: New file.
11527         * iconv/iconv_open.c: New file.
11528         * include/gconv.h: New file.
11530         * Makeconfig: Define gconvdir.
11531         * Makefile (subdirs): Add iconv.
11533         * string/bits/string2.h: Add optimization for strtok_r.
11535         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11536         for NULL.
11537         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11538         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11540         * configure.in: Correct test for bash2.
11541         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11543         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11544         (CFLAGS-locfile.c): Likewise.
11545         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11547         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11548         non-existing entry if the table is full.
11550         * posix/regex.h: Pretty print.
11552         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11554         * sysdeps/posix/ctermid.c: Simplify a bit.
11556         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11558 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11560         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11561         <sys/types.h> instead of <asm/types.h>.
11563 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11565         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11567 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11569         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11570         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11571         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11572         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11573         fclose): Added to GLIBC_2.1.
11575         * libio/Makefile (routines, shared-only-routines): Add
11576         oldiofclose.  Remove oldfreopen.
11578         * libio/freopen.c (freopen): When PIC is defined, call
11579         _IO_old_freopen () for old stdio.
11581         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11582         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11583         for GLIBC_2.1.
11585         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11586         instead of _IO_file_close_it.
11588         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11589         to _IO_2_1_stdxxx_.
11590         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11591         is defined.
11593         * libio/libioP.h (_IO_old_do_flush): New.
11595         * libio/oldfileops.c (_IO_old_file_close_it,
11596         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11597         Call _IO_old_do_flush () instead of _IO_do_flush ().
11598         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11599         _IO_do_write ().
11601         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11602         instead of _IO_file_init ().
11603         Bind old symbols to version GLIBC_2.0.
11605         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11606         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11607         _IO_stdxxx_.
11608         (_IO_check_libio): New function in .init.
11610         * libio/oldiofclose.c: New file.
11612         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11613         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11614         (DEF_STDFILE): Don't use default_symbol_version.
11616         * libio/stdio.c (stdin, stdout, stderr): Set to
11617         _IO_2_1_stdxxx_._
11618         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11619         stdxxx.
11621         * csu/Makefile (distribute): Add init.c.
11622         (extra-objs): Add init.o for ELF.
11623         (start-installed-name): Add $(objpfx)init.o.
11625         * csu/init.c: New file.
11627 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11629         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11630         definition as the default.
11632 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11634         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11636 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11638         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11639         (PR 351).
11641 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11643         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11644         to preserve condition codes on function call.
11646 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11648         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11650 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11652         * math/libm-test.c (asin_test): Add epsilon for float.
11653         (tan_test): Add epsilon for float.
11654         (log1p_test): Add epsilon for float.
11655         (inverse_functions): Add epsilons.
11657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11658         net/if_packet.h.
11660         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11662 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11664         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11665         variable, since $(object-suffixes) is not defined yet.
11667 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11669         * db2/Makefile (distribute): db185/db185_int.src ->
11670         db185/db185_int.h.
11672 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11674         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11675         exactly one.
11677 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11679         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11680         name.
11681         * sysdeps/generic/e_acosl.c: Likewise.
11682         * sysdeps/generic/e_asinl.c: Likewise.
11683         * sysdeps/generic/e_atan2l.c: Likewise.
11684         * sysdeps/generic/e_expl.c: Likewise.
11685         * sysdeps/generic/e_fmodl.c: Likewise.
11686         * sysdeps/generic/e_j0l.c: Likewise.
11687         * sysdeps/generic/e_j1l.c: Likewise.
11688         * sysdeps/generic/e_jnl.c: Likewise.
11689         * sysdeps/generic/e_lgammal_r.c: Likewise.
11690         * sysdeps/generic/e_log10l.c: Likewise.
11691         * sysdeps/generic/e_logl.c: Likewise.
11692         * sysdeps/generic/e_powl.c: Likewise.
11693         * sysdeps/generic/e_sqrtl.c: Likewise.
11694         * sysdeps/generic/e_exp2l.c: Likewise.
11696 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11698         * Make-dist (+sysdep-names): Remove extra paren.
11699         * Makefile (distribute): Add stub-tag.h.
11700         * elf/Makefile (distribute): Add atomicity.h.
11701         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11703         [$(subdir)=socket]: Add net/if_packet.h.
11704         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11705         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11706         net/if_packet.h, scsi/sg.h.
11708 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11710         * Makefile (install): Quote $(CC) expansion.
11712 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11714         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11715         working /proc cwd and no restrictions on path length.  Following
11716         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11718 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11720         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11721         * nis/nss_compat/compat-pwd.c: Likewise.
11722         * nis/nss_compat/compat-spwd.c: Likewise.
11724 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11726         * sysdeps/libm-i387/s_fdim.S: New file.
11727         * sysdeps/libm-i387/s_fdimf.S: New file.
11728         * sysdeps/libm-i387/s_fdiml.S: New file.
11729         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11730         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11731         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11733 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11735         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11736         pointer to unsigned char.
11738 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11740         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11742         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11744         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11746 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11748         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11749         ilogb(0/NaN).
11750         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11751         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11753 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11755         * sysdeps/libm-i387/s_fmin.S: New file.
11756         * sysdeps/libm-i387/s_fminf.S: New file.
11757         * sysdeps/libm-i387/s_fminl.S: New file.
11758         * sysdeps/libm-i387/s_fmax.S: New file.
11759         * sysdeps/libm-i387/s_fmaxf.S: New file.
11760         * sysdeps/libm-i387/s_fmaxl.S: New file.
11761         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11762         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11763         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11764         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11765         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11766         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11768 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11770         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11771         * sysdeps/unix/sysv/linux/send.S: Likewise.
11772         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11773         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11774         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11775         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11776         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11777         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11778         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11780 See ChangeLog.7 for earlier changes.