Update.
[glibc.git] / ChangeLog
bloba6b2ae30547946b3e0c9631d5691f25b03349bdd
1 1998-07-22  Ulrich Drepper  <drepper@cygnus.com>
3         * Makefile (headers2_0): Add sigstack.h.
5         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.
7 1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>
9         * libio/fileops.c (_IO_file_sync): Don't lock stream here.
10         Reported by Thorsten Kukuk.
12         * string/strcoll.c: Correct problem with empty strings.
13         * string/strxfrm.c: Likewise.
14         Reported by vbzoli@hbrt.hu [PR libc/719].
16 1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
18         * sysdeps/posix/tempname.c: Use the random-name generator
19         already used by mktemp/mkstemp.  Honor TMPDIR.
21 1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
23         * hurd/Makefile (routines): Remove cthreads.
24         * sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.
26         * sysdeps/unix/sysv/linux/i386/Dist: Add missing files.
28         * manual/Makefile (distribute): Add summary.texi.
30 1998-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
32         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Fix typo.
34 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
36         * configure.in: Correct expression to match gcc version.
38         * configure.in: Move test for available port after machine
39         variable is defined.
41 1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
43         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
44         message, copy the buffer and resize it to what the kernel
45         wants to see.  Bug found and analyzed by Thorsten Kukuk
46         <kukuk@weber-eb.uni-paderborn.de>
48 1998-07-20  Jose M. Moya  <josem@gnu.org>
50         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
51         value.
53 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
55         * sysdeps/mach/hurd/getdomain.c: New file.
56         * sysdeps/mach/hurd/setdomain.c: New file.
58 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
60         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
61         a weak alias.
63 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
65         * libio/libioP.h: Use __PMT in typedef.
66         * libio/strfile.h: Likewise.
68 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
70         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
71         buffer is too small.
72         Reported by John Levon <j_levon@ncc.co.uk>.
74 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
76         * shlib-versions: Remove definition for libSegFault.
78         * memory.texi: Comment out the relocating allocator description.
79         * manual/signal.texi: Remove reference to relocating allocator.
80         * manual/top-menu.texi: Regenerated.
82         * posix/fnmatch.c: Implement [: :] and change to recognize
83         ^ as negation only when not _POSIXLY_CORRECT.
85         * sysdeps/generic/glob.c: Add several optimizations.
87         * posix/glob.h: Undefine __PMT to prevent warnings.
88         Reported by Roland McGrath.
90         * posix/regex.c: Define namespace macros only for _LIBC.
92         * sysdeps/arm/dl-machine.h: Fix typo.
94         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
95         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
96         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
97         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
98         sigpending, sigqueue, and sigtimedwait.
99         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
101         * timezone/leapseconds: Update from tzdata1998f.
103 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
105         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
106         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
107         * libio/stdio.h: Fix typo.
109 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
111         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
112         magic memobj port arg parsing stuff.  Fix it someday when we are ready
113         to really use it.
114         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
115         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
117 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
119         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
121 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
123         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
124         a weak alias.
125         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
126         * sysdeps/generic/sigsuspend.c: Likewise.
128 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
130         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
132 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
134         * Makerules (map-file): Don't use $(wildcard) to find the
135         generated version script, instead look in $(version-maps).
136         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
137         is used.
138         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
139         if versioning is used.  Don't use $(wildcard) to find the
140         generated version script, instead look in $(verson-maps).
142 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
144         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
145         unused function handle.
146         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
147         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
148         * debug/catchsegv.sh: Fix argument processing, quoting and various
149         typos.  Put the crash info always in the current directory.  Find
150         program in $PATH if it contains no directory component.
151         * Makerules (install-lib.so-versioned,
152         install-lib.so-unversioned): New variables.
153         (install-lib-nosubdir): Depend on unversioned libs in
154         slibdir, not libdir.
156 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
158         * Make-dist (+tsrcs): Remove references to %-map variables and
159         *.map files.  Add Versions in subdirs.
160         * Makerules (distinfo-vars): Don't write out %-map variables.
162 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
164         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
165         Include <paths.h> instead.
166         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
167         * sysdeps/unix/sysv/linux/paths.h: Likewise.
168         Reported by Dale Scheetz <dwarf@polaris.net>.
170 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
172         * catgets/open_catalog.c: Strictly check whether catalog file is
173         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
175 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
177         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
179         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
181 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
183         * debug/catchsegv.sh: Fix several stupid bugs.
185         * shlib-versions: Define version for libSegFault.
186         * debug/Makefile: Replace shared lib version number while rewriting.
188 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
190         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
191         Suggested by Roland McGrath.
193 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
195         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
196         generation to control environment.
198 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
200         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
201         Patch by John Tobey <jtobey@banta-im.com>.
203         * manual/llio.texi: Document readv/writev and mmap functions.
204         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
206 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
208         * manual/Makefile (texis): Depend on texis.awk.
209         (nonexamples): Filter out add-on chapters.
210         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
211         (stamp-summary): Depend on $(texis) except summary.texi.
212         ($(inst_infodir)/libc.info): Simplify command.
213         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
214         Fix the generation of the detailed node listing to make it
215         complete again.
216         * manual/math.texi: Fix signature of lgamma_r.
218 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
220         * debug/Makefile (distribute): Add sigcontextinfo.h.
221         Add rules to generate and install catchsegv.
222         * debug/catchsegv.sh: New file.
224 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
226         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
227         port instead of a Mach memory object.
228         (__open): Likewise.
229         (__libc_read): New function.
230         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
231         object.
233 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
235         * debug/Makefile (routines): Add backtracesymsfd.
236         Add rules to generate libSegFault.
237         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
238         * debug/execinfo.h: Declare backtrace_symbols_fd.
239         * sysdeps/generic/backtracesymsfd.c: New file.
240         * sysdeps/generic/elf/backtracesymsfd.c: New file.
241         * sysdeps/generic/segfault.c: New file.
242         * sysdeps/generic/sigcontextinfo.h: New file.
243         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
245         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
247 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
249         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
250         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
252 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
254         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
255         * assert/assert-perr.c: Likewise.
256         * assert/assert.c: Likewise.
257         * gconv_conf.c: Likewise.
258         * libio/iofputs_u.c: Likewise.
259         * malloc/mtrace.c: Likewise.
260         * malloc/obstack.c: Likewise.
261         * misc/error.c: Likewise.
262         * misc/syslog.c: Likewise.
263         * stdio-common/asprintf.c: Likewise.
264         * stdio-common/dprintf.c: Likewise.
265         * stdio-common/getw.c: Likewise.
266         * stdio-common/putw.c: Likewise.
267         * stdio-common/snprintf.c: Likewise.
268         * stdio-common/sprintf.c: Likewise.
269         * stdio-common/sscanf.c: Likewise.
270         * sunrpc/svc_simple.c: Likewise.
271         * sysdeps/generic/abort.c: Likewise.
273         * rt/aio_cancel.c: Don't define ECANCELED here.
274         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
276 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
278         * argp/argp-fmtstream.c: Unify names of used global functions.
279         * argp/argp-help.c: Likewise.
280         * assert/assert-perr.c: Likewise
281         * assert/assert.c: Likewise
282         * dirent/scandir.c: Likewise
283         * dirent/scandir64.c: Likewise
284         * dirent/versionsort.c: Likewise
285         * dirent/versionsort64.c: Likewise
286         * gmon/bb_exit_func.c: Likewise.
287         * gmon/gmon.c: Likewise.
288         * grp/initgroups.c: Likewise.
289         * iconv/gconv_conf.c: Likewise.
290         * inet/getnameinfo.c: Likewise.
291         * inet/getnetgrent_r.c: Likewise.
292         * inet/inet_ntoa.c: Likewise.
293         * inet/rcmd.c: Likewise.
294         * inet/rexec.c: Likewise.
295         * inet/ruserpass.c: Likewise.
296         * io/fts.c: Likewise.
297         * io/ftw.c: Likewise.
298         * io/ftw64.c: Likewise.
299         * io/getdirname.c: Likewise.
300         * io/getwd.c: Likewise.
301         * io/lockf.c: Likewise.
302         * libio/iofdopen.c: Likewise.
303         * libio/iopopen.c: Likewise.
304         * login/utmp_daemon.c: Likewise.
305         * malloc/mtrace.c: Likewise.
306         * malloc/obstack.c
307         * misc/daemon.c: Likewise.
308         * misc/efgcvt_r.c: Likewise.
309         * misc/err.c: Likewise.
310         * misc/error.c: Likewise.
311         * misc/fstab.c: Likewise.
312         * misc/getpass.c: Likewise.
313         * misc/getttyent.c: Likewise.
314         * misc/mntent_r.c: Likewise.
315         * misc/search.h: Likewise.
316         * misc/syslog.c: Likewise.
317         * nscd/nscd_getgr_r.c: Likewise.
318         * nscd/nscd_getpw_r.c: Likewise.
319         * posix/getpgrp.c: Likewise.
320         * posix/wordexp.c: Likewise.
321         * pwd/fgetpwent_r.c: Likewise.
322         * pwd/getpw.c: Likewise.
323         * resolv/herror.c: Likewise.
324         * resolv/res_init.c: Likewise.
325         * shadow/fgetspent_r.c: Likewise.
326         * shadow/lckpwdf.c: Likewise.
327         * signal/sigrelse.c: Likewise.
328         * stdio-common/asprintf.c: Likewise.
329         * stdio-common/dprintf.c: Likewise.
330         * stdio-common/getw.c: Likewise.
331         * stdio-common/putw.c: Likewise.
332         * stdio-common/snprintf.c: Likewise.
333         * stdio-common/sprintf.c: Likewise.
334         * stdio-common/sscanf.c: Likewise.
335         * stdlib/lrand48_r.c: Likewise.
336         * stdlib/mrand48_r.c: Likewise.
337         * string/argz-replace.c: Likewise.
338         * string/envz.c: Likewise.
339         * sunrpc/auth_des.c: Likewise.
340         * sunrpc/auth_unix.c: Likewise.
341         * sunrpc/bindrsvprt.c: Likewise.
342         * sunrpc/clnt_gen.c: Likewise.
343         * sunrpc/clnt_perr.c: Likewise.
344         * sunrpc/clnt_simp.c: Likewise.
345         * sunrpc/clnt_tcp.c: Likewise.
346         * sunrpc/clnt_udp.c: Likewise.
347         * sunrpc/get_myaddr.c: Likewise.
348         * sunrpc/key_call.c: Likewise.
349         * sunrpc/netname.c: Likewise.
350         * sunrpc/openchild.c: Likewise.
351         * sunrpc/pmap_rmt.c: Likewise.
352         * sunrpc/rpc_dtable.c: Likewise.
353         * sunrpc/rtime.c: Likewise.
354         * sunrpc/svc_run.c: Likewise.
355         * sunrpc/svc_simple.c: Likewise.
356         * sunrpc/svc_tcp.c: Likewise.
357         * sunrpc/svc_udp.c: Likewise.
358         * sunrpc/svcauth_des.c: Likewise.
359         * sunrpc/xdr_array.c: Likewise.
360         * sunrpc/xdr_rec.c: Likewise.
361         * sunrpc/xdr_ref.c: Likewise.
362         * sunrpc/xdr_stdio.c: Likewise.
363         * sysdeps/generic/abort.c: Likewise.
364         * sysdeps/generic/dl-sysdep.c: Likewise.
365         * sysdeps/generic/fstatfs64.c: Likewise.
366         * sysdeps/generic/ftruncate64.c: Likewise.
367         * sysdeps/generic/getrlimit64.c: Likewise.
368         * sysdeps/generic/glob.c: Likewise.
369         * sysdeps/generic/prof-freq.c: Likewise.
370         * sysdeps/generic/putenv.c: Likewise.
371         * sysdeps/generic/statfs64.c: Likewise.
372         * sysdeps/generic/ttyname_r.c: Likewise.
373         * sysdeps/generic/utmp_file.c: Likewise.
374         * sysdeps/generic/vlimit.c: Likewise.
375         * sysdeps/generic/vtimes.c: Likewise.
376         * sysdeps/posix/cuserid.c: Likewise.
377         * sysdeps/posix/euidaccess.c: Likewise.
378         * sysdeps/posix/mkstemp.c: Likewise.
379         * sysdeps/posix/mktemp.c: Likewise.
380         * sysdeps/posix/pread.c: Likewise.
381         * sysdeps/posix/pread64.c: Likewise.
382         * sysdeps/posix/profil.c: Likewise.
383         * sysdeps/posix/pwrite.c: Likewise.
384         * sysdeps/posix/pwrite64.c: Likewise.
385         * sysdeps/posix/sigblock.c: Likewise.
386         * sysdeps/posix/sigpause.c: Likewise.
387         * sysdeps/posix/ttyname.c: Likewise.
388         * sysdeps/posix/ttyname_r.c: Likewise.
389         * sysdeps/posix/waitid.c: Likewise.
390         * sysdeps/unix/getlogin_r.c: Likewise.
391         * sysdeps/unix/grantpt.c: Likewise.
392         * sysdeps/unix/rewinddir.c: Likewise.
393         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
394         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
395         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
396         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
397         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
398         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
399         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
400         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
401         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
402         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
403         * sysvipc/sys/shm.h: Likewise.
404         * time/ctime_r.c: Likewise.
405         * time/strptime.c: Likewise.
406         * wcsmbs/mbrlen.c: Likewise.
407         * wcsmbs/wcsdup.c: Likewise.
408         * wcsmbs/wcsxfrm.c: Likewise.
409         * wctype/wcfuncs.c: Likewise.
411         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
412         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
413         * sysdeps/unix/sysv/linux/bind.S: Likewise.
414         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
415         * sysdeps/unix/sysv/linux/listen.S: Likewise.
416         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
417         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
418         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
420         * grp/fgetgrent_r.c: Use explicit locking of the stream.
422         * elf/Makefile (rtld-routines): Add dl-environ.
423         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
424         to...
425         * sysdeps/generic/dl-environ.c: here.  New file.
427         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
428         * libio/Versions: Add fputs_unlocked.
429         * libio/iofputs_u.c: New file.
430         * libio/stdio.h: Add prototype for fputs_unlocked.
432         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
433         * sunrpc/rpc/clnt.h: Likewise.
434         * sunrpc/rpc/pmap_clnt.h: Likewise.
435         * sunrpc/rpc/svc.h: Likewise.
436         * sunrpc/rpc/xdr.h: Likewise.
438         * sysdeps/i386/memchr.S: Correct for more strict gas.
439         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
440         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
441         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
442         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
444 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
446         * configure.in: Change message for binutils version from
447         2.8.1.0.17->2.8.1.0.23.
449 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
451         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
452         Patch by John Tobey <jtobey@banta-im.com>.
454 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
456         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
457         instead of sysconf.
459 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
461         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
462         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
463         (conv_error): Likewise.
464         (input_error): Likewise.
465         (memory_error): Likewise.
467 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
469         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
470         implementation.  Include <entry.h>.  Replace references to symbol
471         _start with macro ENTRY_POINT.
472         (__libc_uid): Remove.
473         (__libc_multiple_libcs): New variable.
474         (__libc_stack_end): New variable.
475         (_dl_hwcap_mask): New variable.
476         (_dl_important_hwcaps): New function.
477         (_dl_show_auxv): Mark internal.
479 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
481         * mach/Makefile: Create target directory before generating
482         mach-syscalls.mk.
483         * mach/Machrules: Invoke awk using AWK variable.  Create target
484         directory before generating server stubs.
486 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
488         * wcsmbs/wcslen.c (__wcslen): Fix comment.
490         * configure.in: Allow egcs-2.92.
492 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
494         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
495         chapter files.  Exorcise the chapters, chapters-incl mess.
496         Support inserting doc chapters from add-on modules.
497         (chapters): New variable.
498         (add-chapters): New variable.
499         (appendices): New variable.
500         (libc.texinfo): New target.
501         (clean): Fix bugs.
502         (realclean): Fix bugs.
504         * manual/texis.awk: New file.
505         * manual/libc-texinfo.sh: New file.
506         * manual/libc-texinfo.in: New file.
508         * manual/conf.texi (top @node): Remove next pointer.
509         * manual/lang.texi (top @node): Remove prev pointer.
511         * manual/job.texi (top @node): Add explicit pointers.
512         * manual/message.texi (top @node): Add explicit pointers.
513         * manual/nss.texi (top @node): Add explicit pointers.
514         * manual/process.texi (top @node): Add explicit pointers.
515         * manual/startup.texi (top @node): Add explicit pointers.
516         * manual/terminal.texi (top @node): Add explicit pointers.
517         * manual/users.texi (top @node): Add explicit pointers.
519         * manual/arith.texi: Add %MENU% tag.
520         * manual/conf.texi: Add %MENU% tag.
521         * manual/contrib.texi: Add %MENU% tag.
522         * manual/ctype.texi: Add %MENU% tag.
523         * manual/errno.texi: Add %MENU% tag.
524         * manual/filesys.texi: Add %MENU% tag.
525         * manual/header.texi: Add %MENU% tag.
526         * manual/install.texi: Add %MENU% tag.
527         * manual/intro.texi: Add %MENU% tag.
528         * manual/io.texi: Add %MENU% tag.
529         * manual/job.texi: Add %MENU% tag.
530         * manual/lang.texi: Add %MENU% tag.
531         * manual/llio.texi: Add %MENU% tag.
532         * manual/locale.texi: Add %MENU% tag.
533         * manual/maint.texi: Add %MENU% tag.
534         * manual/math.texi: Add %MENU% tag.
535         * manual/mbyte.texi: Add %MENU% tag.
536         * manual/memory.texi: Add %MENU% tag.
537         * manual/message.texi: Add %MENU% tag.
538         * manual/nss.texi: Add %MENU% tag.
539         * manual/pattern.texi: Add %MENU% tag.
540         * manual/pipe.texi: Add %MENU% tag.
541         * manual/process.texi: Add %MENU% tag.
542         * manual/search.texi: Add %MENU% tag.
543         * manual/setjmp.texi: Add %MENU% tag.
544         * manual/signal.texi: Add %MENU% tag.
545         * manual/socket.texi: Add %MENU% tag.
546         * manual/startup.texi: Add %MENU% tag.
547         * manual/stdio.texi: Add %MENU% tag.
548         * manual/string.texi: Add %MENU% tag.
549         * manual/sysinfo.texi: Add %MENU% tag.
550         * manual/terminal.texi: Add %MENU% tag.
551         * manual/time.texi: Add %MENU% tag.
552         * manual/users.texi: Add %MENU% tag.
554 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
556         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
557         Update.
559 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
561         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
562         style declaration to avoid warning.
563         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
565 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
567         * elf/rtld.c (process_dl_debug): Add missing continue.
569 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
571         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
572         code needs it.
574 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
576         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
577         sysd-dirs-done.
578         * Makerules: Don't generate version maps too early.
579         ($(common-objpfx)sysd-versions): Force regeneration if the list of
580         subdirs has changed.
582 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
584         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
586 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
588         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
589         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
590         return value.
592 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
594         * elf/dl-open.c (dl_open_worker): New function.
595         (_dl_open): Call it to do the actual work while catching errors.
596         * elf/dl-close.c (_dl_close): Only call termination function if
597         the initialisation function was called.
599 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
601         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
602         Reported by Felix von Leitner <leitner@amdiv.de>.
604 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
606         * Make-dist (+sysdep-tsrcs): Add Versions.
608 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
610         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
611         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
612         * sysdeps/powerpc/Versions: New file.
613         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
614         and __errno_location.
615         * misc/Versions: Add brk and sbrk.
616         * posix/Versions: Add environ, __environ and _environ.
617         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
619 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
621         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
622         Patch by Zack Weinberg.
624 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
626         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
627         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
628         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
630 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
632         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
634 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
636         * posix/unistd.h: Simplify #ifdefs.
638         * libio/libio.h: Undo last change due to possible C++ problems.
639         * libio/fileops.h: Likewise.
641 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
643         * grp/grp.h: Define gid_t also for __USE_XOPEN.
644         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
645         * io/utime.h: Define time_t also for __USE_XOPEN.
646         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
647         Define *_t types except for pid_t also for __USE_XOPEN.
648         Define S_* macros also for __USE_XOPEN.
649         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
650         THOUSEP also for __USE_XOPEN.
651         * math/math.c: Define M_* macros also for __USE_XOPEN.
652         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
653         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
654         defined.
655         * posix/glob.h: Likewise for GLOB_NOSYS.
656         * posix/regex.h: Likewise for REG_NOSYS.
657         * posix/wordexp.h: Likewise for WRDE_NOSYS.
658         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
659         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
660         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
661         * signal/signal.h: Define pid_t also for __USE_XOPEN.
662         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
663         for __USE_POSIX199309.
664         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
665         constants also for __USE_XOPEN.
666         * wcsmbs/wchar.h: For XPG4 include wctype.h.
668         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
669         * locale/setlocale.c (new_composite_name): Likewise for last_len.
671         * libio/stdio.h: Don't declare fclose_unlocked.
673         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
675 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
677         * stdio/stdio.h: Add prototypes for fflush_unlocked,
678         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
679         fgets_unlocked, fread_unlocked, fwrite_unlocked,
680         clearerr_unlocked, feof_unlocked, ferror_unlocked,
681         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
682         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
683         prototype for getopt.
684         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
685         * stdio/feof.c (feof_unlocked): Weak alias for feof.
686         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
687         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
688         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
689         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
690         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
691         * stdio/fread.c (fread_unlocked): Weak alias for fread.
692         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
693         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
694         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
695         * stdio/putc.c (putc_unlocked): Weak alias for putc.
696         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
697         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
698         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
699         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
700         getc_unlocked, getchar_unlocked, putc_unlocked and
701         putchar_unlocked.
703         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
704         from here ...
705         * stdio-common/Versions: ... to here.
707 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
709         * Makerules (versioning): Correct typo.
711 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
713         * elf/Versions: Add _dl_mcount_wrapper_check.
714         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
715         _dl_mcount_wrapper_check.
716         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
718         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
719         internal_function.
720         * elf/ldsodefs.h: Likewise.
722         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
724         * libio/stdio.h: Make sure va_list is defined for X/Open.
725         Define P_tmpdir for X/Open.
727         * posix/regex.h: Fix typo.
729         * posix/unistd.h: Define intptr_t if not already happened.
730         Add pthread_atfork prototype.
731         * sysdeps/generic/bits/types.h: Define __intptr_t.
732         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
733         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
734         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
735         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
736         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
737         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
738         * sysdeps/wordsize-64/stdint.h: Likewise.
740         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
742         * signal/Makefile (headers): Add bits/sigthread.h.
743         * signal/signal.h: Include bits/sigthread.h.
744         * sysdeps/generic/bits/sigthread.h: New file.
746         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
748         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
749         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
750         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
751         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
753         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
755         * elf/rtld.c: Remove preloading and loadpath variables in SUID
756         programs.
757         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
758         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
759         names.
761         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
763         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
764         Remove O_READ and O_WRITE definition.
766         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
767         and RLIM_SAVED_CUR.
769         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
771 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
773         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
774         scripts directory.  Pass move-if-change to awk.
775         (common-generated): Add $(version-maps) and sysd-versions.
776         * versions.awk: Moved to...
777         * scripts/versions.awk: ... here.  Use move-if-change to void
778         touching unchanged files.  Print "version-maps = ..." instead of
779         "all-version-maps = ..." and without $(common-objpfx).  Explain
780         expected variable names.
781         * Makefile (distribute): Updated.
783 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
785         * misc/getttyent.c (getttyent): Don't return with locked stream.
786         * misc/mntent_r.c (__getmntent_r): Likewise.
788 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
790         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
791         if stream is line buffered.
792         (_io_file_overflow): Likewise.
793         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
794         streams writing '\n' flushes the string.
796 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
798         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
799         * elf/dl-support.c: Define it here...
800         * elf/rtld.c: ...and here.
802 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
804         * grp/initgroups.c: Handle directives from nsswitch.conf file.
806 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
808         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
809         __ino64_t definition.
810         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
811         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
813         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
814         script if lddlibc4 failed.
815         Reported by B. D. Elliott <bde@accessone.com>.
817 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
819         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
820         Improve generated strings a bit.
822 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
824         * posix/Makefile (generated): Remove $(objpfx) from the names.
826 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
828         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
829         format string.
831         * libio/iofread_u.c: Include <stdio.h> for prototype.
832         * libio/iofwrite_u.c: Likewise.
834 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
836         * db2/Versions: New file.
838 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
840         * Makefile (lib-noranlib): Don't depend on sysd-versions.
841         ($(common-objpfx)sysd-versions): Remove rule.
842         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
843         Pass name of Versions.def file to script and redirect output to
844         target.  Include it and make all generated version maps depend on
845         it.
846         * versions.awk: Print out variable definition containing all
847         generated version maps.  Print error messages to stderr.  Remove
848         temp file.
850 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
852         * posix/annexc.c (check_header): Terminate macro name before
853         comparing.
854         (get_null_defines): Allow builtin macros with parameters.
855         (fmt, testfmt): Add -D_LIBC.
856         * posix/Makefile: Remove bogus duplicate include directories from
857         annexc test command.
859 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
861         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
862         password scheme.
863         (_nss_nis_getpwnam_r): Likewise.
864         (_nss_nis_getpwuid_r): Likewise.
866 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
868         * libio/Versions: Move symbols whose source lives in
869         stdio-common to ...
870         * stdio-common/Versions: ... here.
871         * stdio/Versions: Add missing symbols.
873 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
875         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
876         __syscall_sendmsg.
877         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
878         __syscall_recvmsg.
879         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
880         and make __recvmsg and recvmsg weak aliases.
881         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
882         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
883         and __syscall_sendmsg.
885 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
887         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
888         stream.
889         * inet/ruserpass.c (token): Likewise.
890         * nss/nsswitch.c (nss_parse_file): Likewise.
891         * intl/localealias.c: Likewise.  Also for ferror.
892         * time/getdate.c (__getdate_r): Likewise.
894         * libio/Makefile (routines): Add iofgets_u.
895         * libio/iofgets_u.c: New file.
896         * libio/Versions: Add fgets_unlocked.
897         * libio/stdio.h: Add prototype for fgets_unlocked.
899         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
900         * misc/getusershell.c (initshells): Likewise.
901         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
902         fgets_unlocked.
903         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
904         * resolv/res_init.c (res_init): Likewise.
905         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
907 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
909         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
910         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
912 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
914         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
915         _unlocked functions.
917         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
918         is a private FILE.
920 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
922         * csu/Makefile: Build crt files in lib pass.
923         * db2/Makefile (distribute): Add mutex/sco.cc.
924         * mach/Machrules: Don't generate .udeps files if no_deps is set.
925         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
926         s-proto.d if avoid-generated is set.
928         * sysdeps/alpha/Dist: List only one file per line.
929         * sysdeps/generic/Dist: Likewise.
930         * sysdeps/m68k/fpu/switch/Dist: Likewise.
931         * sysdeps/sparc/sparc32/Dist: Likewise.
932         * sysdeps/unix/Dist: Likewise.
933         * sysdeps/unix/sysv/irix4/Dist: Likewise.
935         * sysdeps/mach/hurd/i386/Dist: New file.
936         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
937         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
938         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
941 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
943         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
944         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
946         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
948         * time/tzfile.c (decode): Optimize by using bswap_32.
949         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
950         __tzname array values.
951         (__tzfile_compute): Correct setting of __tzname array values.
952         * time/tzset.c (__tzstring): Clean up a bit.
954 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
956         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
958 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
960         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
961         that fd can be bigger than FD_SETSIZE.
963 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
965         * nscd/grpcache.c: Include <unistd.h>.
966         * nscd/pwdcache.c: Likewise.
968         * nis/nis_modify.c: Include <string.h>.
969         * nis/nis_add.c: Likewise.
970         * nis/nis_checkpoint.c: Likewise.
971         * posix/runptests.c: Likewise.
972         * sysdeps/generic/statvfs64.c: Likewise.
973         * sysdeps/generic/fstatvfs64.c: Likewise.
975 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
977         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
978         to match data from Unicode.
979         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
981 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
983         * stdio-common/printf.h: Define printf_function and
984         printf_arginfo_function types using __PMT not __P.
985         Reported by Marc Lehmann.
987 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
989         * assert/test-assert.c: New test.
990         * assert/test-assert-perr.c: New test.
991         * assert/Makefile (tests): Add test-assert and test-assert-perr.
993 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
995         BSD-style SCM_CREDS support.
997         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
998         SCM_CREDS.
999         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
1000         visible SCM_CREDS packet to what the kernel wants.
1001         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
1002         SCM_CREDS packet output by kernel to what users want.
1004         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
1005         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
1006         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
1007         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
1009         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
1010         __sendmsg and __recvmsg to sysdep_routines.
1011         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
1013 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1015         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
1016         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
1017         * nscd/nscd.c: Check, if pthread_create fails.
1019 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1021         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
1022         format strings.
1023         * stdio-common/bug1.c (main): Likewise.
1024         * stdio-common/bug5.c (main): Likewise.
1025         * stdio-common/tstgetln.c (main): Likewise.
1026         * elf/sprof.c (generate_call_graph): Likewise.
1027         (load_shobj): Likewise.
1028         * posix/runptests.c (main): Likewise.
1029         * string/tst-strlen.c (main): Likewise.
1031         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
1032         variable q3.
1033         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1035 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1037         * wctype/Versions: Add __towctrans.
1038         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1040 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1042         * grp/initgroups.c (compat_call): Only call dynamically loaded
1043         functions if they are really present.
1045 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1047         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1048         #ifdef that contains __BEGIN_DECLS.
1050 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1052         * libio/iofwrite.c: Fix return value when size == 0.
1054 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1056         * posix/Makefile (distribute): Add annexc.c.
1057         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1059 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1062         bits/pthreadtypes.h here, and do not clobber headers.
1064         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1066 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1068         * timezone/tst-timezone.c: Add tests for tzname variable.
1070 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1072         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1073         rule that lists all of them as targets.
1074         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1075         fragment that defines $(vers-libs) based on contents of that file;
1076         then include it.
1077         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1078         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1079         Predicate all this on avoid-generated unset as well as versioning.
1081 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1083         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1085 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1087         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1088         a copy.
1089         * Makefile: Add rules to generate map files.
1090         (distribute): Remove libc.map, add Versions.def and versions.awk.
1091         * Makerules: Change rules to find map files on common-objpfx.
1092         * elf/Makefile: Likewise.
1093         * md5-crypt/Makefile: Likewise.
1094         * nis/Makefile (libnsl-map): Remove.
1095         * Versions.def: New file.
1096         * versions.awk: New file.
1097         * argp/Versions: New file.
1098         * assert/Versions: New file.
1099         * catgets/Versions: New file.
1100         * csu/Versions: New file.
1101         * ctype/Versions: New file.
1102         * db/Versions: New file.
1103         * debug/Versions: New file.
1104         * dirent/Versions: New file.
1105         * elf/Versions: New file.
1106         * gmon/Versions: New file.
1107         * grp/Versions: New file.
1108         * hesiod/Versions: New file.
1109         * hurd/Versions: New file.
1110         * iconv/Versions: New file.
1111         * inet/Versions: New file.
1112         * intl/Versions: New file.
1113         * io/Versions: New file.
1114         * libio/Versions: New file.
1115         * linuxthreads/Versions: New file.
1116         * locale/Versions: New file.
1117         * login/Versions: New file.
1118         * malloc/Versions: New file.
1119         * math/Versions: New file.
1120         * md5-crypt/Versions: New file.
1121         * misc/Versions: New file.
1122         * nis/Versions: New file.
1123         * nss/Versions: New file.
1124         * posix/Versions: New file.
1125         * pwd/Versions: New file.
1126         * resolv/Versions: New file.
1127         * resource/Versions: New file.
1128         * rt/Versions: New file.
1129         * setjmp/Versions: New file.
1130         * shadow/Versions: New file.
1131         * signal/Versions: New file.
1132         * socket/Versions: New file.
1133         * stdio/Versions: New file.
1134         * stdio-common/Versions: New file.
1135         * stdlib/Versions: New file.
1136         * streams/Versions: New file.
1137         * string/Versions: New file.
1138         * sunrpc/Versions: New file.
1139         * sysdeps/alpha/Versions: New file.
1140         * sysdeps/alpha/fpu/Versions: New file.
1141         * sysdeps/i386/Versions: New file.
1142         * sysdeps/sparc/Versions: New file.
1143         * sysdeps/unix/sysv/Versions: New file.
1144         * sysdeps/unix/sysv/linux/Versions: New file.
1145         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1146         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1147         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1148         * sysvipc/Versions: New file.
1149         * termios/Versions: New file.
1150         * time/Versions: New file.
1151         * wcsmbs/Versions: New file.
1152         * wctype/Versions: New file.
1153         * libc.map: Removed.
1154         * db/libdb.map: Removed.
1155         * elf/libdl.map: Removed.
1156         * hesiod/libnss_hesiod.map: Removed.
1157         * hurd/libhurduser.map: Removed.
1158         * hurd/libmachuser.map: Removed.
1159         * linuxthreads/libpthread.map: Removed.
1160         * locale/libBrokenLocale.map: Removed.
1161         * login/libutil.map: Removed.
1162         * math/libm.map: Removed.
1163         * md5-crypt/libcrypt.map: Removed.
1164         * nis/libnsl.map: Removed.
1165         * nis/libnsl_compat.map: Removed.
1166         * nis/libnss_nis.map: Removed.
1167         * nis/libnss_nisplus.map: Removed.
1168         * nss/libnss_db.map: Removed.
1169         * nss/libnss_files.map: Removed.
1170         * resolv/libnss_dns.map: Removed.
1171         * resolv/libresolv.map: Removed.
1172         * rt/librt.map: Removed.
1174         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1175         Fix typos.
1177         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1178         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1180         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1181         correct size.
1183 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1185         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1186         in comment.
1188         * nscd/nscd.c: Include unistd.h.
1190 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1192         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1193         became cleverer.
1195 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1197         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1199 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1201         * scripts/test-installation.pl: Include <stdio.h> in test program
1202         to make it strictly conforming.
1204 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1206         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1207         not a strong alias.
1208         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1209         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1210         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1211         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1213 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1215         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1216         not a strong alias.
1218 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1220         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1221         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1222         bits/pthreadtypes.h.
1224 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1226         * include/aio.h: New file.
1227         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1228         (tests): Build and run annexc program.
1229         * posix/annexc.c: New file.
1230         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1231         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1232         * rt/aio_misc.c: Include limits.h.
1233         * rt/aio_notify.c: Include errno.h.
1234         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1235         Define size_t.
1236         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1237         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1238         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1239         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1240         kernel doesn't do this.
1241         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1242         __USE_LARGEFILE64 is defined.
1243         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1244         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1245         if requested.
1246         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1248         * stdlib/isomac.c: Avoid include_next warning.
1250 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1252         * argp/argp.h: Use __PMT instead of __P for function pointer.
1253         * iconv/gconv.h: Likewise.
1254         * io/fts.h: Likewise.
1255         * io/ftw.h: Likewise.
1256         * libio/libio.h: Likewise.
1257         * malloc/mcheck.h: Likewise.
1258         * misc/search.h: Likewise.
1259         * posix/glob.h: Likewise.
1260         * resolv/resolv.h: Likewise.
1261         * signal/signal.h: Likewise.
1262         * stdlib/stdlib.h: Likewise.
1263         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1264         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1266 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1268         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1270 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1272         * posix/wordexp.c (parse_param): Fix memory leak.
1274 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1276         * libc.map: Export _IO_ftrylockfile.
1278 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1280         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1281         __get[pu]id.
1283 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1285         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1287         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1288         same search list twice.
1290 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1292         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1293         used to optimize loop/select.
1295 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1297         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1298         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1299         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1300         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1301         * sysdeps/arm/init-first.c: Likewise.
1302         * posix/getopt_init.c: Don't use __libc_pid.
1303         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1304         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1305         * libc.map: Remove __libc_uid and __libc_pid.
1307 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1309         * sunrpc/rtime.c (rtime): Use poll instead of select.
1311 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1313         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1314         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1315         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1316         Patches from FreeBSD current.
1318 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1320         * nscd/connections.c (handle_new_request): Handle POLLHUP
1321         correctly.
1322         (close_sockets): Correct parameter to dbg_log.
1324 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1326         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1327         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1328         (elf_machine_fixup_plt): Likewise.
1329         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1330         _dl_pagesize not set, use system call to always get correct answer.
1331         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1332         (__syscall_getpagesize): Add
1334 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1336         * resolv/res_send.c (res_send): Fix typo.
1338 1998-06-25  Andi Kleen <ak@muc.de>
1340         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1341         * resolv/res_send.c (res_send): Likewise.
1343 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1345         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1346         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1348 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1350         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1351         * math/atest-exp2.c (exp_mpn, main): Likewise.
1352         * math/atest-sincos.c (main): Likewise.
1354         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1355         base handling away from strtoul.  Always reset errno.
1357         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1359         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1360         _dl_profile_map if _dl_name_match_p.
1361         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1362         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1364         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1365         as early-clobber.
1367         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1368         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1369         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1371 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1373         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1375 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1377         * nis/nis_call.c: Don't copy server structure.
1378         * nis/nis_intern.h: Remove unused entries.
1379         * nis/nis_table.c: Rewrite __create_ib_request.
1381 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1383         * configure.in: Check for -fexceptions.
1384         * config.make.in: Define exceptions, not no-exceptions.
1385         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1386         __P to use throw().
1387         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1388         $(exceptions).
1389         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1390         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1391         lfind, and lsearch prototpypes.
1392         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1394 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1396         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1398 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1400         * Makefile (remove-old-headers): Make phony.
1402         * configure.in: Substitute @old_glibc_headers@.
1404 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1406         * libc.map: Remove __libc_uid.
1408 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1410         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1411         typos.
1413 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1415         * libc.map: Add Alpha-specific io function from protected namespace.
1417 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1419         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1420         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1421         CPPFLAGS.
1423         * libc.map: Export __sigaction.
1425 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1427         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1428         (from Linux 2.1.107).
1430 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1432         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1433         position when file was opened here.
1434         Reported by Howard Chu <hyc@platinum.com>.
1436         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1437         undefined in a second inclusion.
1439 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1441         * sysdeps/mach/hurd/i386/Makefile: New file.
1442         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1443         __libc_init_secure.
1444         (_hurd_stack_setup): Renamed
1445         from __libc_init_first.
1446         (__libc_init_first): New function.
1447         * sysdeps/mach/hurd/i386/static-start.S: New file.
1449 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1451         * sysdeps/mach/hurd/i386/init-first.c
1453 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1455         * grp/initgroups.c: Use _CALL_DL_FCT.
1457 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1459         * elf/rtld.c (process_dl_debug): Add missing continue.
1461 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1463         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1465 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1467         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1469 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1471         * config.make.in: Remove LDAP support.
1472         * nss/Makefile: Likewise.
1474 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1476         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1477         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1478         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1479         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1481 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1483         * mach/Makefile: Change `mv' invocations to `mv -f'.
1484         * mach/Machrules: Likewise.
1486 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1488         * config.make.in (old-glibc-headers): Add it.
1490         * configure.in: Add test for glibc 2.0.x headers.
1492         * Makefile (headers2_0): New variable - contains so far only
1493         Linux/Intel glibc 2.0.x headers.
1494         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1495         (install): Depend on remove-old-headers.
1497 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1499         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1500         make ftruncate a weak alias.
1501         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1502         __ftruncate.
1503         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1504         (truncate): Fix function defenition to match prototype.
1506 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1508         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1509         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1511 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1513         * sysdeps/generic/glob.c: Make it possible to include glob.h
1514         before loading glob.c.
1515         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1517 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1519         * nscd/connections.c: Use poll() instead of select().
1521 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1523         * sysdeps/generic/Dist: Fix typo.
1525 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1527         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1528         * nis/nis_addmember.c: Likewise.
1529         * nis/nis_call.c: Likewise.
1530         * nis/nis_creategroup.c: Likewise.
1531         * nis/nis_destroygroup.c: Likewise.
1532         * nis/nis_findserv.c: Likewise.
1533         * nis/nis_ismember.c: Likewise.
1534         * nis/nis_print.c: Likewise.
1535         * nis/nis_print_group_entry.c: Likewise.
1536         * nis/nis_removemember.c: Likewise.
1537         * nis/nis_verifygroup.c: Likewise.
1538         * nis/ypclnt.c: Likewise.
1540         * nis/nis_file.c: Close file handles.
1542         * nis/nis_callback.c: Fix typo.
1544 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1546         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1547         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1548         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1549         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1550         * nis/nss_nis/nis-initgroups.c: Likewise.
1551         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1552         __nss_lookup_function and make it public.
1553         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1554         module if exists, else use old method.
1556 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1558         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1559         definition.
1560         * nss/getXXent_r.c (set_function, end_function, get_function):
1561         Likewise.  Reported by Thorsten Kukuk.
1563         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1565 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1567         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1568         1998-06-16 and distribute kernel_termios.h.
1570         * nis/Makefile (distribute): Add nis_xdr.h.
1572 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1574         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1575         kernels that don't have sigaltstack.
1577 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1579         * sysdeps/generic/bits/sem.h: Don't define union semun.
1581         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1583         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1584         here.
1585         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1586         definition here.
1588 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1590         * signal/signal.h: Add prototype for __sigaltstack.
1591         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1592         Remove sigstack entry.
1593         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1594         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1596         * sysdeps/i386/backtrace.c: Add casts.
1598 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1600         * intl/dcgettext.c: use complete type name.
1601         * intl/hash-string.h: Likewise.
1603         * intl/localealias.c: Undo patch from 1998-04-29.
1604         * intl/l10nflist.c: Likewise.
1605         * intl/loadinfo.h: Likewise.
1607 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1609         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1611 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1613         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1614         _dl_mcount, _dl_mcount_wrapper.
1615         * elf/Makefile (routines): Add dl-profstub.
1616         * elf/dl-profstub.c: New file.
1617         * elf/dl-support.c: Don't define _dl_profile_map.
1618         * elf/rtld.c: Likewise.
1619         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1620         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1621         Define _CALL_DL_FCT.
1622         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1623         loaded object.
1624         * iconv/gconv_db.c: Likewise.
1625         * iconv/skeleton.c: Likewise.
1626         * nss/getXXbyYY_r.c: Likewise.
1627         * nss/getXXent_r.c: Likewise.
1628         * nss/nsswitch.c: Likewise.
1630 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1632         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1633         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1634         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1636 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1638         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1639         longestdbl.
1641 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1643         * iconvdata/Makefile (modules): Add MACINTOSH.
1644         (MACINTOSH-routines): New variable.
1645         (distribute): Add macintosh.c.
1646         (awk-generated-headers): Add macintosh.h.
1647         Add rule for macintosh.h generation.
1648         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1649         * iconvdata/macintosh.c: New file.
1651 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1653         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1655         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1656         only should happen for cy != 0.
1658         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1659         glob.h.
1661 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1663         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1664         to compare stack addresses.
1666 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1668         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1669         defining prototypes.
1671 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1673         * sysdeps/sparc/sparc32/dl-machine.h
1674         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1675         flushes as the kernel will emulate it when the underlying cpu does
1676         not implement flush.
1678         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1679         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1681         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1682         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1683         trampoline code.
1685         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1686         (__clone): Branch to label .Lerror not __clone_syscall_error.
1687         (.Lerror): Fixup EINVAL setting.
1688         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1689         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1690         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1691         (__syscall_getgroups, __syscall_setgroups): Add.
1693         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1694         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1695         around sa_mask data.
1697 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1699         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1701         * string/Makefile: Make sure test-ffs does not use builtins.
1703 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1705         * sunrpc/svc.c: Check for NULL pointer.
1707         * nis/libnsl.map: Add public NIS+ xdr functions.
1709         * nis/rpcsvc/nis_callback.h: New file.
1710         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1711         * nis/nis_xdr.h: ... here.
1713         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1714         pointers, use NIS+ defines where possible.
1715         * nis/nis_cache.c: Likewise.
1716         * nis/nis_cache2_xdr.c: Likewise.
1717         * nis/nis_call.c: Likewise.
1718         * nis/nis_checkpoint.c: Likewise.
1719         * nis/nis_clone_dir.c: Likewise.
1720         * nis/nis_clone_obj.c: Likewise.
1721         * nis/nis_clone_res.c: Likewise.
1722         * nis/nis_creategroup.c: Likewise.
1723         * nis/nis_file.c: Likewise.
1724         * nis/nis_free.c: Likewise.
1725         * nis/nis_getservlist.c: Likewise.
1726         * nis/nis_local_names.c: likewise.
1727         * nis/nis_lookup.c: Likewise.
1728         * nis/nis_mkdir.c: Likewise.
1729         * nis/nis_modify.c: Likewise.
1730         * nis/nis_ping.c: Likewise.
1731         * nis/nis_print.c: Likewise.
1732         * nis/nis_remove.c: Likewise.
1733         * nis/nis_removemember.c: Likewise.
1734         * nis/nis_rmdir.c: Likewise.
1735         * nis/nis_server.c: Likewise.
1736         * nis/nis_table.c: Likewise.
1737         * nis/nis_util.c: Likewise.
1738         * nis/nis_verifygroup.c: Likewise.
1739         * nis/nis_xdr.c: Likewise.
1740         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1741         * nis/nis_xdr.c: ... to here.
1743 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1745         * iconvdata/ksc5601.h: Clean up a bit.
1747 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1749         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1750         and process incoming data.
1751         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1752         fragments as invalid.
1753         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1755 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1757         Removal of duplicates like "the the".
1758         * manual/time.texi (TZ Variable): Likewise.
1759         * manual/users.texi (Manipulating the Database): Likewise.
1760         * manual/sysinfo.texi (Filesystem handling): Likewise.
1761         * manual/signal.texi (Signaling Yourself): Likewise.
1762         * manual/message.texi (Message Translation): Likewise.
1763         (Common Usage): Likewise.
1764         * manual/llio.texi: Likewise.
1765         * manual/arith.texi (Old-style number conversion): Likewise.
1766         * manual/argp.texi (Argp): Likewise.
1767         (Argp Parsers): Likewise.
1768         (Argp Help Filtering): Likewise.
1770         * hesiod/README.hesiod: Correct typo.
1772         * manual/llio.texi: Correct typos.
1773         * manual/sysinfo.texi: Likewise.
1775 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1777         * rt/aio.h: Rename __op to __operation for g++.
1779 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1781         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1782         script.
1783         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1784         * iconvdata/gen-8bit.sh: Clean up sed script.
1786         * iconvdata/Makefile: Remove all PERL conditionals; build all
1787         the modules all the time.  Export AWK.
1788         (gen-8bit-gap): Delete setting of PERL.
1789         (gen-8bit-gap-1): Likewise.
1790         (perl-generated-headers): Renamed awk-generated-headers.
1792         * iconvdata/gap.pl: Removed.
1793         * iconvdata/gaptab.pl: Removed.
1794         * iconvdata/gap.awk: New file.
1795         * iconvdata/gaptab.awk: New file.
1797 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1799         * sysdeps/generic/Dist: Add errno-loc.c.
1801         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1802         __new_* functions.
1804 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1806         * stdio-common/bug12.c: New test for fread()/fseek().
1807         * stdio-common/Makefile (tests): Add bug12.
1809 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1811         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1812         constant.
1813         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1814         * debug/execinfo.h: Update declaration.
1816 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1818         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1819         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1820         * debug/execinfo.h: Update declaration.
1822 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1824         * manual/llio.texi: Fix spelling.
1825         * manual/sysinfo.texi: Fix spelling.
1827 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1829         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1830         alias for old name.  Put this on __libc_subfreeres.
1831         * misc/search.h: Declare it.
1833 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1835         * string/bits/string2.h (strcmp): Add missing parens around macro
1836         parameters.
1838 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1840         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1842         * manual/filesys.texi: Document LFS functions.
1843         * manual/llio.texi: Likewise.
1844         * manual/stdio.texi: Likewise.
1845         * manual/time.texi: Likewise.
1847         * manual/llio.texi: Document AIO functions.
1849         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1850         * sysdeps/generic/setrlimit.c: Likewise.
1851         * sysdeps/generic/setrlimit64.c: Likewise.
1852         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1853         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1855 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1857         * sysdeps/generic/getenv.c: Fix last change.
1859 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1861         * sysdeps/generic/backtrace.c: Provide generic implementation.
1863 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1865         * configure.in: Give visual feedback of the default directories we
1866         added.
1868 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1870         * io/fts.c (fts_build): Define oflag only if needed.
1872 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1874         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1876 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1878         * libc.map: Don't export argp's fmtstream handling functions.
1880         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1881         * manual/llio.texi: Document more LFS functions and start documenting
1882         the AIO functions.
1884 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1886         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1887         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1888         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1889         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1891 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1893         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1894         makes it easier to undump emacs.
1895         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1896         for when the endianness can't be determined.
1898 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1900         * nss/Makefile: Add files publickey database support.
1901         * nss/libnss_files.map: Export the required functions.
1902         * nss/nss_files/files-key.c: Implement it.
1903         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1905 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1907         * iconv/gconv_builtin.h: Add aliases for CORBA.
1908         * iconvdata/gconv-modules: Likewise.
1910 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1912         * math/libm-test.c (main): Call exp10_test.
1913         (exp10_test): New function which tests exp10.
1915 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1917         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1918         sigstack.
1920         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1921         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1922         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1924 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1926         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1927         in the variable, not its GOT slot.
1929 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1931         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1932         inline.
1933         * sysdeps/m68k/fpu/e_exp10.c: New file.
1934         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1935         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1937         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1938         _dl_profile_map only if the name matches.
1939         (_dl_start_user): Remember stack address.
1940         * sysdeps/m68k/elf/start.S: Pass new argument to
1941         __libc_start_user.
1943         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1944         definition.
1945         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1946         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1947         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1948         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1949         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1951 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1953         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1954         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1955         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1956         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1957         prototypes.
1958         * sysdeps/libm-i387/e_exp10.S: New file.
1959         * sysdeps/libm-i387/e_exp10f.S: New file.
1960         * sysdeps/libm-i387/e_exp10l.S: New file.
1961         * sysdeps/libm-ieee754/e_exp10.c: New file.
1962         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1963         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1964         * sysdeps/libm-ieee754/w_exp10.c: New file.
1965         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1966         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1967         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1969 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1971         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1972         sys/elf.h and sys/reg.h.
1973         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1974         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1975         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1976         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1978         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1979         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1981 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1983         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1984         __data member only for gcc.  Reported by ak@muc.de.
1986         * misc/mntent.h: Undo last patch.
1987         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1988         * misc/tst/mntent.c: Adjust code for this change.
1990         * io/fts.c: Updated from a slightly more recent BSD version.
1991         * io/fts.h: Likewise.
1993         * libc.map: Add __libc_stack_end.
1995         * db2/Makefile (routines): Add lock_region.
1996         * db2/config.h: Update from db-2.4.14.
1997         * db2/db.h: Likewise.
1998         * db2/db_185.h: Likewise.
1999         * db2/db_int.h: Likewise.
2000         * db2/btree/bt_close.c: Likewise.
2001         * db2/btree/bt_compare.c: Likewise.
2002         * db2/btree/bt_conv.c: Likewise.
2003         * db2/btree/bt_cursor.c: Likewise.
2004         * db2/btree/bt_delete.c: Likewise.
2005         * db2/btree/bt_open.c: Likewise.
2006         * db2/btree/bt_page.c: Likewise.
2007         * db2/btree/bt_put.c: Likewise.
2008         * db2/btree/bt_rec.c: Likewise.
2009         * db2/btree/bt_recno.c: Likewise.
2010         * db2/btree/bt_rsearch.c: Likewise.
2011         * db2/btree/bt_search.c: Likewise.
2012         * db2/btree/bt_split.c: Likewise.
2013         * db2/btree/bt_stat.c: Likewise.
2014         * db2/btree/btree.src: Likewise.
2015         * db2/btree/btree_auto.c: Likewise.
2016         * db2/clib/getlong.c: Likewise.
2017         * db2/common/db_appinit.c: Likewise.
2018         * db2/common/db_apprec.c: Likewise.
2019         * db2/common/db_byteorder.c: Likewise.
2020         * db2/common/db_err.c: Likewise.
2021         * db2/common/db_log2.c: Likewise.
2022         * db2/common/db_region.c: Likewise.
2023         * db2/common/db_salloc.c: Likewise.
2024         * db2/common/db_shash.c: Likewise.
2025         * db2/db/db.c: Likewise.
2026         * db2/db/db.src: Likewise.
2027         * db2/db/db_auto.c: Likewise.
2028         * db2/db/db_conv.c: Likewise.
2029         * db2/db/db_dispatch.c: Likewise.
2030         * db2/db/db_dup.c: Likewise.
2031         * db2/db/db_overflow.c: Likewise.
2032         * db2/db/db_pr.c: Likewise.
2033         * db2/db/db_rec.c: Likewise.
2034         * db2/db/db_ret.c: Likewise.
2035         * db2/db/db_thread.c: Likewise.
2036         * db2/db185/db185.c: Likewise.
2037         * db2/db185/db185_int.h: Likewise.
2038         * db2/dbm/dbm.c: Likewise.
2039         * db2/hash/hash.c: Likewise.
2040         * db2/hash/hash.src: Likewise.
2041         * db2/hash/hash_auto.c: Likewise.
2042         * db2/hash/hash_conv.c: Likewise.
2043         * db2/hash/hash_debug.c: Likewise.
2044         * db2/hash/hash_dup.c: Likewise.
2045         * db2/hash/hash_func.c: Likewise.
2046         * db2/hash/hash_page.c: Likewise.
2047         * db2/hash/hash_rec.c: Likewise.
2048         * db2/hash/hash_stat.c: Likewise.
2049         * db2/include/btree.h: Likewise.
2050         * db2/include/btree_ext.h: Likewise.
2051         * db2/include/clib_ext.h: Likewise.
2052         * db2/include/common_ext.h: Likewise.
2053         * db2/include/cxx_int.h: Likewise.
2054         * db2/include/db.h.src: Likewise.
2055         * db2/include/db_185.h.src: Likewise.
2056         * db2/include/db_am.h: Likewise.
2057         * db2/include/db_auto.h: Likewise.
2058         * db2/include/db_cxx.h: Likewise.
2059         * db2/include/db_dispatch.h: Likewise.
2060         * db2/include/db_ext.h: Likewise.
2061         * db2/include/db_int.h.src: Likewise.
2062         * db2/include/db_page.h: Likewise.
2063         * db2/include/db_shash.h: Likewise.
2064         * db2/include/db_swap.h: Likewise.
2065         * db2/include/hash.h: Likewise.
2066         * db2/include/hash_ext.h: Likewise.
2067         * db2/include/lock.h: Likewise.
2068         * db2/include/lock_ext.h: Likewise.
2069         * db2/include/log.h: Likewise.
2070         * db2/include/log_ext.h: Likewise.
2071         * db2/include/mp.h: Likewise.
2072         * db2/include/mp_ext.h: Likewise.
2073         * db2/include/mutex_ext.h: Likewise.
2074         * db2/include/os_ext.h: Likewise.
2075         * db2/include/os_func.h: Likewise.
2076         * db2/include/queue.h: Likewise.
2077         * db2/include/shqueue.h: Likewise.
2078         * db2/include/txn.h: Likewise.
2079         * db2/lock/lock.c: Likewise.
2080         * db2/lock/lock_conflict.c: Likewise.
2081         * db2/lock/lock_deadlock.c: Likewise.
2082         * db2/lock/lock_region.c: Likewise.
2083         * db2/lock/lock_util.c: Likewise.
2084         * db2/log/log.c: Likewise.
2085         * db2/log/log.src: Likewise.
2086         * db2/log/log_archive.c: Likewise.
2087         * db2/log/log_auto.c: Likewise.
2088         * db2/log/log_compare.c: Likewise.
2089         * db2/log/log_findckp.c: Likewise.
2090         * db2/log/log_get.c: Likewise.
2091         * db2/log/log_put.c: Likewise.
2092         * db2/log/log_rec.c: Likewise.
2093         * db2/log/log_register.c: Likewise.
2094         * db2/mp/mp_bh.c: Likewise.
2095         * db2/mp/mp_fget.c: Likewise.
2096         * db2/mp/mp_fopen.c: Likewise.
2097         * db2/mp/mp_fput.c: Likewise.
2098         * db2/mp/mp_fset.c: Likewise.
2099         * db2/mp/mp_open.c: Likewise.
2100         * db2/mp/mp_pr.c: Likewise.
2101         * db2/mp/mp_region.c: Likewise.
2102         * db2/mp/mp_sync.c: Likewise.
2103         * db2/mutex/68020.gcc: Likewise.
2104         * db2/mutex/mutex.c: Likewise.
2105         * db2/mutex/parisc.gcc: Likewise.
2106         * db2/mutex/parisc.hp: Likewise.
2107         * db2/mutex/sco.cc: Likewise.
2108         * db2/os/os_abs.c: Likewise.
2109         * db2/os/os_alloc.c: Likewise.
2110         * db2/os/os_config.c: Likewise.
2111         * db2/os/os_dir.c: Likewise.
2112         * db2/os/os_fid.c: Likewise.
2113         * db2/os/os_fsync.c: Likewise.
2114         * db2/os/os_map.c: Likewise.
2115         * db2/os/os_oflags.c: Likewise.
2116         * db2/os/os_open.c: Likewise.
2117         * db2/os/os_rpath.c: Likewise.
2118         * db2/os/os_rw.c: Likewise.
2119         * db2/os/os_seek.c: Likewise.
2120         * db2/os/os_sleep.c: Likewise.
2121         * db2/os/os_spin.c: Likewise.
2122         * db2/os/os_stat.c: Likewise.
2123         * db2/os/os_unlink.c: Likewise.
2124         * db2/progs/db_archive/db_archive.c: Likewise.
2125         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2126         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2127         * db2/progs/db_dump/db_dump.c: Likewise.
2128         * db2/progs/db_dump185/db_dump185.c: Likewise.
2129         * db2/progs/db_load/db_load.c: Likewise.
2130         * db2/progs/db_printlog/db_printlog.c: Likewise.
2131         * db2/progs/db_recover/db_recover.c: Likewise.
2132         * db2/progs/db_stat/db_stat.c: Likewise.
2133         * db2/txn/txn.c: Likewise.
2134         * db2/txn/txn.src: Likewise.
2135         * db2/txn/txn_auto.c: Likewise.
2136         * db2/txn/txn_rec.c: Likewise.
2138         * elf/rtld.c: Move definition of __libc_stack_end to ...
2139         * sysdeps/generic/dl-sysdep.h: ...here.
2141         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2142         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2143         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2145         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2146         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2147         before following it.
2149 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2151         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2152         from mntent correctly.
2154 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2156         * sunrpc/Makefile (generated): Correct typo.
2158 1998-06-04  Philip Blundell  <philb@gnu.org>
2160         * elf/elf.h (EM_ARM, et al.): New definitions.
2161         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2163 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2165         * localedata/SUPPORTED: Add sk_SK.
2166         * localedata/locales/sk_SK: New file.
2168 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2170         * Makeconfig (subdirs): Add debug.
2171         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2172         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2173         backtrace_symbols.
2174         * sysdeps/generic/backtrace.c: New file.
2175         * sysdeps/generic/backtracesyms.c: New file.
2176         * sysdeps/generic/elf/backtracesyms.c: New file.
2177         * sysdeps/i386/backtrace.c: New file.
2178         * debug/Makefile: New file.
2179         * debug/backtrace-tst.c: New file.
2180         * debug/execinfo.h: New file.
2182 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2184         * elf/sprof.c: Implement call graph profiling.
2186         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2188 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2190         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2191         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2192         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2193         Noticed by Jake Garver <garver@valkyrie.net>.
2195 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2197         * libio/genops.c (__underflow): Read character from read pointer
2198         as unsigned.
2199         (__uflow): Likewise.
2201 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2203         * libc.map: Add _dl_profile.
2204         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2205         this to ELF_DYNAMIC_RELOCATE.
2206         Always allocate array for relocation result if LD_PROFILE is defined.
2207         * elf/ldsodefs.h: Adjust prototypes.
2208         * elf/dl-open.c (_dl_open): Call relocation function with extra
2209         argument.
2210         * elf/rtld.c: Likewise.
2211         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2212         Correct loop condition.
2213         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2214         consider_profile to runtime setup function.
2215         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2216         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2218         * elf/dl-support.c: Define __libc_stack_end.
2219         * elf/rtld.c: Likewise.
2220         * sysdeps/generic/libc-start.c: Store last stack address in
2221         __libc_stack_end.
2222         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2223         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2225         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2226         Include <stdint.h>, not <inttypes.h>.
2228         * elf/sprof.c: Implement flat profiling.
2230         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2231         _IO_funlockfile explicitly.
2232         * libio/fileops.c: Likewise.
2233         * libio/fputc.c: Likewise.
2234         * libio/freopen.c: Likewise.
2235         * libio/freopen64.c: Likewise.
2236         * libio/fseek.c: Likewise.
2237         * libio/fseeko.c: Likewise.
2238         * libio/fseeko64.c: Likewise.
2239         * libio/ftello.c: Likewise.
2240         * libio/ftello64.c: Likewise.
2241         * libio/getc.c: Likewise.
2242         * libio/getchar.c: Likewise.
2243         * libio/iofclose.c: Likewise.
2244         * libio/iofflush.c: Likewise.
2245         * libio/iofgetpos.c: Likewise.
2246         * libio/iofgetpos64.c: Likewise.
2247         * libio/iofgets.c: Likewise.
2248         * libio/iofputs.c: Likewise.
2249         * libio/iofread.c: Likewise.
2250         * libio/iofsetpos.c: Likewise.
2251         * libio/iofsetpos64.c: Likewise.
2252         * libio/ioftell.c: Likewise.
2253         * libio/iofwrite.c: Likewise.
2254         * libio/iogetdelim.c: Likewise.
2255         * libio/iogets.c: Likewise.
2256         * libio/ioputs.c: Likewise.
2257         * libio/ioseekoff.c: Likewise.
2258         * libio/ioseekpos.c: Likewise.
2259         * libio/iosetbuffer.c: Likewise.
2260         * libio/iosetvbuf.c: Likewise.
2261         * libio/ioungetc.c: Likewise.
2262         * libio/iovsprintf.c: Likewise.
2263         * libio/iovsscanf.c: Likewise.
2264         * libio/oldfileops.c: Likewise.
2265         * libio/oldiofclose.c: Likewise.
2266         * libio/peekc.c: Likewise.
2267         * libio/putc.c: Likewise.
2268         * libio/putchar.c: Likewise.
2269         * libio/rewind.c: Likewise.
2271         * malloc/mtrace.c: Pretty print.
2273         * misc/mntent.h (struct mentent): Make string elements const char *.
2275         * nis/nis_printf.c: Optimize I/O a little bit.
2277         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2278         * sysdeps/generic/sigset-cvt-mask.h: New file.
2279         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2280         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2281         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2282         sigset-cvt-mask.h to do the dirty work.
2283         Patches by Joe Keane.
2285         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2288         syscall_error label in case of PIC anonymous.
2289         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2290         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2291         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2292         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2293         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2294         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2295         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2297 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2299         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2300         we cannot declare the struct element as const.
2301         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2302         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2304 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2306         * manual/Makefile: Include ../Makeconfig earlier.
2307         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2308         exist.
2309         (dir-add.texinfo): Remove useless $(SHELL).
2311 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2313         * Makefile (others): Build programs from install-bin.
2314         * configure.in: Modify config.make only if is was just created and
2315         move that command to second argument of AC_OUTPUT.  Add command to
2316         set config_vars in config.status.
2318 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2320         * malloc/Makefile (address-width): Fix conditional.
2322 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2324         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2325         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2326         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2327         version GLIBC_2.1.
2329 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2331         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2332         (Floating Point Parameters): Likewise.
2334 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2336         * hurd/Makefile (routines): Add cthreads.
2338 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2340         * login/login.c (login): Let pututline take care of finding the
2341         positin to insert the UTMP entry.  This corrects a bug where ssh
2342         was not reusing UTMP entries marked as DEAD_PROCESS.
2343         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2345 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2347         * login/Makefile (tests): New variable, add tst-utmp and
2348         tst-utmpx.
2349         * login/tst-utmp.c: New file.
2350         * login/tst-utmpx.c: New file.
2352 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2354         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2355         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2356         but need sys_err.
2358 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2360         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2361         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2363 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2365         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2366         make __read a weak alias.  Use ANSI-style function definition.
2367         * sysdeps/mach/hurd/write.c: Likewise.
2369 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2371         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2372         _sys_errlist.
2374 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2376         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2377         Renamed from librtld.so.
2379 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2381         * libc.map: Remove _IO_getline_info which was erroneously
2382         introduced in section GLIBC_2.0.
2383         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2385 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2387         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2388         created a weak alias.
2389         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2391 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2393         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2394         ftruncate function, and create a weak alias to ftruncate.
2396 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2398         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2399         * inet/getnetgrent_r.c: Likewise.
2400         * nss/getXXbyYY_r.c: Likewise.
2401         * nss/getXXent_r.c: Likewise.
2402         * pwd/fgetpwent_r.c: Likewise.
2403         * shadow/sgetspent_r.c: Likewise.
2404         * shadow/fgetspent_r.c: Likewise.
2405         * sunrpc/publickey.c: Likewise.
2407 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2409         * hurd/libhurduser.map: New file.
2410         * mach/libmachuser.map: Likewise.
2412         * libc.map: Add Hurd-specific functions to version 2.1.
2413         Add __flshfp and __fillbf.
2415 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2417         * manual/signal.texi (Basic Signal Handling): Fix typo.
2418         * manual/errno.texi (Error Codes): Likewise.
2420 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2422         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2423         instead of <sys/socket.h>.
2424         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2426         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2427         Finally make it working.
2428         Patch by Mark Hatle <fray@kernel.crashing.org>.
2430 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2432         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2433         a Solaris 2.6 bug.
2435 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2437         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2438         used by ARM systems.
2439         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2440         FE_EXCEPT_SHIFT.
2441         * sysdeps/arm/bits/fenv.h: Deleted.
2442         * sysdeps/arm/fpu/ieee754.h: New file.
2443         * sysdeps/arm/gmp-mparam.h: New file.
2444         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2445         implementation.
2447 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2449         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2451         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2452         of ((unused)).  Reported by Bruno Haible.
2454 1998-05-31  Philip Blundell  <philb@gnu.org>
2456         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2457         referring to errno and _errno.
2459         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2461         * sysdeps/i386/fpu_control.h: Fix typo.
2463         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2464         (_JMPBUF_UNWINDS): Added.
2465         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2467 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2469         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2470         order to build header files, not `generated'.
2472         * Rules (before-compile): New target which depends on all
2473         $(before-compile) files.
2475 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2477         * nis/nis_call.c: Make directory search faster.
2479         * nis/nis_callback.c: Insert public key of user in callback data.
2481         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2483         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2485         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2487         * nis/nis_intern.h: Remove duplicated prototype.
2489 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2491         * sunrpc/auth_des.c: Move prototypes from here ...
2492         * sunrpc/rpc/auth.h: ... to here.
2494         * sunrpc/clnt_tcp.c: Add more control flags.
2495         * sunrpc/clnt_udp.c: Likewise.
2497         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2498         domainname.
2500         * sunrpc/rpc/clnt.h: Document, which control flags are not
2501         implementable.
2503         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2505 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2507         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2508         files crash the program.
2510         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2511         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2512         Reported by Deborah Wallach <kerr@pa.dec.com>.
2514 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2516         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2517         on whether this is a stable release or not (keeps snapshot bug
2518         reports out of the database).
2520         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2521         * sysdeps/arm/sysdep.h: Likewise.
2522         * sysdeps/i386/sysdep.h: Likewise.
2523         * sysdeps/m68k/sysdep.h: Likewise.
2524         * sysdeps/mach/mips/sysdep.h: Likewise.
2525         * sysdeps/mach/sys/reboot.h: Likewise.
2526         * sysdeps/mach/sysdep.h: Likewise.
2527         * sysdeps/unix/alpha/sysdep.h: Likewise.
2528         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2529         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2530         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2531         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2532         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2533         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2534         * sysdeps/unix/i386/sysdep.h: Likewise.
2535         * sysdeps/unix/mips/sysdep.h: Likewise.
2536         * sysdeps/unix/sparc/sysdep.h: Likewise.
2537         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2538         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2540         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2541         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2544         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2546 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2548         * mach/Machrules: Use $(move-if-change).
2550 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2552         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2553         * Makerules (lib%.so): Depend on $(+interp).
2554         (libc.so): Add interp.os to list of dependencies.
2555         (interp-obj): Remove variable.
2556         * mach/Machrules (+interp): Define to empty since libhurduser and
2557         libmachuser don't need to have the interpreter set.
2559 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2561         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2563         * resolv/gethnamaddr.c: Likewise.
2565         * resolv/res_comp.c: Likewise.
2567 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2569         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2570         so that transparent union works.
2572 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2574         * manual/texinfo.tex: Update to last available version.
2576         * timezone/africa: Update from tzdata1998e.
2577         * timezone/antarctica: Likewise.
2578         * timezone/asia: Likewise.
2579         * timezone/australasia: Likewise.
2580         * timezone/europe: Likewise.
2581         * timezone/iso3166.tab: Likewise.
2582         * timezone/northamerica: Likewise.
2583         * timezone/tzselect.ksh: Likewise.
2584         * timezone/zone.tab: Likewise.
2586 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2588         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2589         Reported by Matt McLean <keys@brio.yikes.com>.
2591 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2593         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2594         do-gencat-test.  Use automatic variables.
2595         ($(objpfx)de.msg): Fix reference to po file.
2597 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2599         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2600         $(move-if-change).
2602 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2604         * intl/dcgettext.c: Fix typo.
2606 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2608         * configure.in: Allow more make versions e.g 3.76.90.
2610 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2612         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2614         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2615         for Hurd.  Patch by Mark Kettenis.
2617 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2619          * mach/Machrules (+preinit, +postinit): Define these variables to
2620          empty because libhurduser and libmachuser don't need startup
2621          files.
2623 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2625          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2626          instead of a raw bitmask.
2628 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2630         * Makeconfig (rpath-dirs): New variable.
2631         (rpath-link): Use it.
2632         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2633         (db-objpfx): Removed.
2634         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2635         * md5-crypt/Makefile: Likewise.
2636         * sysdeps/mach/hurd/Makefile: Likewise.
2638         * Makeconfig (move-if-change): New variable.
2639         * iconvdata/Makefile (move-if-change): Removed.
2640         * manual/Makefile (move-if-change): Set only if undefined, use
2641         local script by default.
2642         * sunrpc/Makefile (move-if-change): Removed.
2643         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2644         $(move-if-change).
2646          * elf/Makefile: Remove all references to obsolete file
2647          $(objpfx)rtldtbl.h.
2648          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2650 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2652         * elf/dl-close.c (_dl_close): Add debugging message.
2654 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2656         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2657         to get Linux version and not gcc version.
2658         Reported by Alan Curry <pacman@cqc.com>.
2660 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2662         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2663         pointers - return unknown error message instead.
2664         Reported by Alan Curry <pacman@cqc.com>.
2666 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2668         * iconvdata/Makefile (modules, sed-generated-headers,
2669         perl-generated-headers): ibm424.h is perl generated.  Make
2670         necessary modifications to compile without perl.
2672 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2674         * hesiod/hesiod.c (read_config_file): Fix typo.
2676 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2678         * version.h: Bump VERSION.
2680         * csu/Makefile (distribute): Add munch-tmpl.c.
2682 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2684         * nis/nis_defaults.c: Fix buffer problems and typos.
2686 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2688         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2689         Patch by Fred Fish.
2691 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2693         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2694         overwriting bugs.
2696         * libio/strops.c (_IO_str_underflow): Read newly available
2697         character from buffer as unsigned.
2699 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2701         * catgets/Makefile (distribute): Add xopen-msg.h.
2702         (generated): Add de.msg and de.cat.
2703         (tests): Add do-gencat-test.
2704         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2705         * catgets/xopen-msg.h: New file.
2707 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2709         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2710         functions.  Optimize filename creation a bit.
2712 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2714         * stdlib/random_r.c: Help gcc to optimize the code.
2715         Patch by Joe Keane <jgk@jgk.org>.
2717 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2719         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2720         tsearch calls.
2722 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2724         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2725         it.
2727 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2729         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2730         * wcsmbs/wcsrtombs.c: Likewise.
2732         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2733         * wcsmbs/wcsmbs-tst1.c: New file.
2735         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2737         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2738         as 1.
2740         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2741         weak.
2743 1998-05-21  Philip Blundell  <philb@gnu.org>
2745         * sysdeps/arm/fpu_control.h: Replace stub file with real
2746         implementation.
2747         * sysdeps/arm/fpu/bits/fenv.h: New file.
2748         * sysdeps/arm/fpu/fesetround.c: Likewise.
2749         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2750         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2751         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2752         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2753         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2754         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2756 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2758         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2759         read instead of mmap.
2761 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2763         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2764         directly instead of include_next.  Add missing semicolons.
2765         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2766         Add missing semicolons.
2768 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2770         * iconvdata/gconv-modules: Add more aliases to please java
2771         environments.
2773 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2775         * stdio-common/vfprintf.c (process_arg): Fix typo.
2777         * iconvdata/TESTS: New tests for EUC-KR.
2779         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2780         * iconvdata/testdata/EUC-KR: New file.
2782 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2784         * math/libm-test.c (hypot_test): Fix a typo.
2786 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2788         * stdio-common/vfprintf.c: When precision is specified for %ls or
2789         %S handle it correctly.
2791 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2793         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2794         the" in one line - fixed it.
2795         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2796         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2797         * posix/unistd.h: Likewise
2799 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2801         * Makeconfig (rpath-link): Add resolvobjdir.
2802         (resolvobjdir): New variable.
2803         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2805 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2807         * elf/dl-close.c: Call shared object terminators at the right time.
2808         Patch by Philippe Troin <phil@fifi.org>.
2810 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2812         * Make-dist (+tsrcs): Also add *.map for every member of
2813         $(extra-libs).
2815         * Makefile (distribute): Don't distribute scripts/printsources and
2816         scripts/=__ify.  Distribute FAQ.in.
2817         (rpm/%): Don't pass subdirs to sub-make.
2819         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2820         instead of $(no_deps).
2822 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2824         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2825         (KNOWN_VALUE, STORE_VALUE): Do it right.
2826         (setenv): Remove unused variable.
2828 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2830         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2831         (CFLAGS-zdump.c): Add $(tz-cflags).
2833         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2834         return type.
2836 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2838         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2839         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2840         if use_localtime.
2841         * time/tzset.c: Update prototype of __tzfile_compute.
2842         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2843         tm_zone and tm_offset here if __use_tzfile.
2845 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2847         * Makerules: Install libc.a even if there are no object file.
2849 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2851         * Makerules (do-makelib): Don't force creating library from
2852         scratch, which is faster and gets correct behaviour if $(subdirs)
2853         is incomplete.
2855 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2857         * Makerules (do-stamp): Make it work when building in source
2858         directory.
2860 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2862         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2863         inhibit-rpath.
2864         * elf/dl-support.c: Likewise.
2865         * elf/ldsodefs.h: Likewise.
2866         * elf/rtld.c: Likewise.
2867         * iconvdata/run-iconv-test.sh: Likewise.
2869 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2871         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2872         variable using the value.
2873         * elf/ldsodefs.h: Declare _dl_ignore_path.
2874         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2875         object against list in _dl_ignore_path and ignore RPATH if on the list.
2876         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2877         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2878         to make sure we get the correct helper libraries loaded.
2880         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2881         "RPATH" string in call to fillin_rpath instead.
2882         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2884 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2886         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2887         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2889 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2891         * manual/terminal.texi (I/O Queues): Fix typo.
2893         * manual/stdio.texi (Closing Streams): Fix grammar.
2895         * manual/arith.texi (Absolute Value): Correct typo.
2896         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2898 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2900         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2901         LD_PROFILE_OUTPUT in SUID binaries.
2902         * intl/dcgettext.c: In SUID binaries don't let language part of
2903         locale value contain path elements.
2904         * intl/explodename.h: Define new function _nl_find_language.
2905         * intl/loadinfo.h: Declare _nl_find_language.
2906         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2907         language part it drop the value is path element is contained.
2909         * locale/setlocale.c: Fix typo.
2911 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2913         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2915         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2917         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2918         log, not a byte-count.
2920         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2921         a.out compatibility.
2923 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2925         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2926         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2927         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2928         * posix/unistd.h: Likewise.
2929         * math/math.h: Likewise.
2930         * manual/users.texi (Manipulating the Database): Likewise.
2931         * manual/signal.texi (Job Control Signals): Likewise.
2932         * manual/message.texi (The gencat program): Likewise.
2933         * manual/filesys.texi (Hard Links): Likewise.
2934         * manual/math.texi (SVID Random): Likewise.
2935         * manual/llio.texi (Waiting for I/O): Likewise.
2936         * manual/io.texi (File Name Errors): Likewise.
2937         * manual/conf.texi (String Parameters): Likewise.
2938         * manual/arith.texi (Infinity): Likewise.
2939         * malloc/malloc.c: Likewise.
2940         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2941         * csu/Makefile: Likewise.
2943 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2945         * manual/memory.texi: Add back accidently removed line.
2947 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2949         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2950         (timeout_handler): New function.
2951         (LOCK_FILE, UNLOCK_FILE): New macros.
2952         Implement file locking with timeout.
2953         (getutent_r_file, internal_getut_r, getutline_r_file,
2954         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2955         locking.
2957 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2959         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2960         directory.
2962 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2964         * rpm/Makefile: Delete inclusion of version.mk.
2966 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2968         * libc.map: Add all libio functions needed libstdc++ with version
2969         2.0, sort entries.
2971 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2973         * iconvdata/Makefile (generated): Add *.stmp files.
2975 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2977         * timezone/Makefile (testdata, build-testdata): New variables, use
2978         them in rules for test data.
2979         ($(objpfx)tst-timezone.out): Depend on test data.
2980         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2981         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2982         New rules to build test data.
2983         (tst-timezone-ENV): Pass TZDIR to point to test data.
2985 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2987         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2988         (the designation sequence is disturbing).
2990 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2992         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2993         * sunrpc/xdr_rec.c: Likewise.
2995 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2997         * posix/Makefile (tests): Add runptests.
2998         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2999         (before-compile): Add ptestcases.h.
3000         (ptestscases.h): Add rule to generate from PTESTS.
3001         * posix/runptests.c: New file.
3002         * posix/PTESTS: New file.
3003         * posix/PTESTS2C.sed: New file.
3005 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3007         * iconv/loop.c: Let user add code to use and set paramaters.
3009         * iconvdata/iso-2022-kr.c: Correct to-loop.
3011         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
3012         point to output buffer.
3014         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
3015         hanja.
3017         * iconvdata/TESTS: Add ISO-2022-KR test.
3018         * iconvdata/testdata/ISO-2022-KR: New file.
3020 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
3022         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
3023         and internal_use.
3024         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
3025         and internal_use.
3026         * wcsmbs/btowc.c: Likewise.
3027         * wcsmbs/mbrtowcs.c: Likewise.
3028         * wcsmbs/mbsnrtowcs.c: Likewise.
3029         * wcsmbs/mbsrtowcs.c: Likewise.
3030         * wcsmbs/wcrtomb.c: Likewise.
3031         * wcsmbs/wcsnrtombs.c: Likewise.
3032         * wcsmbs/wcsrtombs.c: Likewise.
3033         * wcsmbs/wctob.c: Likewise.
3034         * iconv/skeleton.c: Increment invocation_counter.
3035         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3036         sequence first.
3038         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3039         * iconvdata/iso-2022-jp.c: Likewise.
3040         * iconvdata/iso646.c: Likewise.
3042         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3044 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3046         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3048         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3049         overwriting existing values if it fits.
3051 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3053         * posix/wordexp-test.c: Avoid duplicate messages.
3055         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3056         tsearch.  Correctly interpret values returned by those functions.
3057         (unsetenv): Store pointer to string, not pointer to string pointer.
3059         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3060         DST information and offset in them.
3061         * time/tzset.c (__tz_convert): Pass extra parameters to
3062         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3064 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3066         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3067         stamp files to avoid unnecessary recompilation.
3068         (gen-8bit-gap-table): Likewise.
3069         (move-if-change): New variable.
3070         (all generated .h rules): Change to be .stmp rules.
3071         (%.h): New rule; depend on %.stmp; no commands.
3072         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3073         gen-8bit-gap-1.sh.
3075 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3077         * Makerules (libc-map): Deleted.
3078         (load-map-file): Set to the appropriate compiler switch, not
3079         just the file name.  If libfoo-map is not set, look for a
3080         libfoo.map in the current directory and $(..).
3081         (map-file): New variable, contains just the mapfile name.
3082         (build-shlib): Adjust for new value of load-map-file.
3083         (libc.so): Correct dependencies.
3085         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3086         may not be set anymore.
3088         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3089         Delete libdl-map.  Tweak ld.so link rule to work with changed
3090         variable settings in Makerules.
3091         * iconvdata/Makefile: Tweak build-module to work with changed
3092         variable settings in Makerules.
3094         * db/Makefile: Delete libdb-map.
3095         * hesiod/Makefile: Delete libnss_hesiod-map.
3096         * linuxthreads/Makefile: Delete libpthread-map.
3097         * locale/Makefile: Delete libBrokenLocale-map.
3098         * login/Makefile: Delete libutil-map.
3099         * math/Makefile: Delete libm-map.
3100         * md5-crypt/Makefile: Delete libcrypt-map.
3101         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3102         libnss_nisplus-map, and libnss_compat-map.
3103         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3104         libnss_ldap-map.
3105         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3106         * rt/Makefile: Delete librt-map.
3108 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3110         * configure.in: Instead of substituting `yes' or `no' for whether
3111         --no-whole-archive is available, set @no_whole_archive@ to the
3112         appropriate gcc switch or the empty string.  Likewise for
3113         -fno-exceptions.
3114         * config.make.in: Replace have-no-whole-archive with
3115         no-whole-archive and have-no-exceptions with no-exceptions.
3116         * Makerules: Delete stanzas setting no-whole-archive and
3117         no-exceptions.
3119         * sunrpc/Makefile: Use move-if-change to update generated .h
3120         and .c files.
3122 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3124         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3125         of strchr loop.
3127 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3129         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3130         (__tzfile_compute): Likewise.
3132 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3134         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3135         defines from Linux 2.1.102.
3137 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3139         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3141 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3143         * inet/netinet/in.h: Add defines for multicast.
3144         Reported by Jeremy Hall <jhall@UU.NET>.
3146         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3147         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3148         and unsetenv.  Optimize _LIBC case.
3149         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3150         Define functions with leading __.
3152         * time/tzfile.c: Correct handling of global variables daylight,
3153         timezone, and tzname.
3154         * time/tzset.c: Likewise.
3155         * timezone/Makefile (tests): Add tst-timezone.
3156         * timezone/tst-timezone.c: New file.
3158 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3160         * timezone/asia: Update from tzdata1998d.
3161         * timezone/australasia: Likewise.
3162         * timezone/europe: Likewise.
3164 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3166         * string/string.h: Don't use the optimized versions for the string
3167         functions if optimizing for space.
3169         * stdlib/tst-strtod.c: Add test for -0.0.
3171         * io/ftwtest-sh: Prevent tests from being run by root.
3173         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3174         last addition.  Patch by wkpark@chem.skku.ac.kr.
3176 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3178         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3179         table.
3181 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3183         * iconvdata/gen-8bit.sh: New file.
3184         * iconvdata/gen-8bit-gap.sh: New file.
3185         * iconvdata/gen-8bit-gap-1.sh: New file.
3186         * iconvdata/Makefile (generate-8bit-table): Use shell script
3187         instead of writing the commands directly.
3188         (generate-8bit-gap-table): Likewise.
3189         ($(objpfx)iso8859-7jp.h): Likewise.
3190         (generated headers): Depend on shell script instead of Makefile.
3191         (before-compile): Add $(perl-generated-headers) only if perl is
3192         available.
3193         (headers): Depend on $(perl-generated-headers) only if perl is
3194         available.
3195         (sed-generated-headers): Remove iso8859-7jp.h.
3197 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3199         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3200         (/): Removed.
3202 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3204         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3205         formed charset names to getfct.  Let user override charset
3206         selection by mention charset in locale name.
3208 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3210         * posix/glob.c: Move to ...
3211         * sysdeps/generic/glob.c: ...here.
3212         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3213         elements.
3214         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3215         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3216         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3217         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3218         subdir.
3219         * libc.map [GLIBC_2.1]: Add glob and globfree.
3221 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3223         * sunrpc/Makefile (generated): Restore old list.
3225 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3227         * rt/Makefile (tests): Define only if we have a thread library.
3229         * nis/ypclnt.c: Add: #include <errno.h>.
3231 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3233         * configure.in: Define and substitute RELEASE as well as
3234         VERSION.
3235         * config.make.in: Add RELEASE and VERSION to be substituted.
3236         * Makeconfig: Delete all references to version.mk.
3237         * Make-dist: Likewise.
3238         * MakeTAGS: Likewise.
3239         * elf/Makefile: Likewise.
3241 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3243         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3244         yp_get_default_domain.
3246 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3248         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3249         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3251 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3253         * malloc/malloc.c: Fix for NO_THREADS case.
3255 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3257         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3258         Remove statfs and fstatfs.
3259         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3260         and pwrite as EXTRA.
3261         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3263 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3265         * libc.map: Add capget and capset.
3267 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3269         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3270         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3271         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3272         and Matt McLean <keys@brio.yikes.com>.
3274 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3276         * misc/Makefile (tests): Add tst-mntent.
3277         * misc/tst-mntent.c: New file.
3279 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3281         * autolock.sh: Removed.
3282         * manual/move-if-change: Removed.
3284         * scripts: New directory.
3285         * =__ify: Moved to scripts.
3286         * config.guess: Likewise.
3287         * config.sub: Likewise.
3288         * gen-FAQ.pl: Likewise.
3289         * install-sh: Likewise.
3290         * mkinstalldirs: Likewise.
3291         * move-if-change: Likewise.
3292         * printsources: Likewise.
3293         * rellns.sh: Likewise.
3294         * test-installation.pl: Likewise.
3296         * configure.in: Look in scripts for config.guess, config.sub,
3297         install-sh.
3298         * Makefile: Distribute all above files in their
3299         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3300         * manual/Makefile: Find mkinstalldirs and move-if-change in
3301         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3302         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3303         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3304         * timezone/Makefile: Find rellns-sh in scripts.
3306 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3308         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3309         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3311 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3313         * Makefile (+subdir-inits): Delete variable.
3314         (+init_subdirs): Likewise.
3315         (aux): Likewise.
3316         (before-compile): Likewise.
3317         (libc-init): Delete stanza.
3318         (version-info.h): Delete rule and associated variable.
3319         (distribute): Don't distribute moved files.
3320         * Makerules (interp-obj): It lives in elf now.  Only use it
3321         if $(elf) is set.  Delete rule to build it.
3322         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3323         version.o and version-info.h.  Minor cleanups.
3324         (routines): Add libc-init, sysdep, version.
3325         (generated): Add version-info.h.
3326         * elf/Makefile: Build interp.os.
3328         * interp.c: Moved to elf.
3329         * set-init.c: Moved to csu.
3330         * munch-init.c: Likewise.
3331         * munch.awk: Likewise.
3332         * version.c: Likewise.
3334         * Rules: Unconfuse syntax highlighting with a fake comment.
3336 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3338         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3339         syscalls.
3341 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3343         * iconvdata/Makefile (generated): Set to *-generated-headers
3344         plus gconv-modules.
3345         (tests): Set to iconv-test.
3346         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3347         * posix/Makefile (generated): Set to wordexp-test-result*.
3348         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3349         (generated-dirs): Add rpcsvc.
3350         * libio/Makefile: Clean up.
3352 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3354         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3355         * Makerules: Likewise.
3356         (+depfiles): Also add sysdep-others.
3357         * Rules: Likewise.
3358         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3359         * iconvdata/Makefile (distribute): Add TESTS.
3360         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3361         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3362         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3363         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3364         sysdep-others, not others.
3365         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3366         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3368 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3370         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3371         cost_hi and cost_lo.
3372         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3373         Cost parameter and set cost_lo to INT_MAX.
3374         (add_module): Take new parameter and use it to initialize cost_lo.
3375         (read_conf_file): Count modules being loaded and use counter for
3376         new parameter to add_module.
3377         * iconv/gconv_db.c (find_derivation): When look for cost examine
3378         cost_hi and cost_lo.
3380 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3382         * string/bits/string2.h: Don't use unsigned char * unless really
3383         necessary since this disturbs C++.
3384         * sysdeps/i386/i486/bits/string.h: Likewise.
3385         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3387 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3389         * malloc/malloc.c (top_check): Fix last change.
3391 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3393         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3394         Patch by Matt McLean <keys@brio.yikes.com>.
3396 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3398         * Makerules (lib): Put back dependency on lib-noranlib.
3399         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3401 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3403         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3404         test in __pow2 implementation.
3406 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3408         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3409         Still need *FLAGS-.o because we still sometimes build .o files.
3410         * db2/Makefile: Don't build libndbm.a if !build-static.
3412 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3414         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3416 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3418         * configure.in: New test for broken gcc on PowerPC.
3419         * sysdeps/powerpc/atomicity.h: Use result of test.
3420         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3422         * math/libm-test.c: Update many of the epsilon to match actual
3423         performance.
3425         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3426         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3427         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3428         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3430         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3432         * sysdeps/powerpc/elf/libc-start.c: New file.
3433         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3434         * sysdeps/powerpc/elf/start.c: Delete.
3436         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3437         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3439         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3440         few patches.
3442 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3444         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3445         test for integer.
3447         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3448         * sysdeps/libm-i387/e_powl.S: Likewise.
3450 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3452         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3453         (malloc_check, free_check, realloc_check, memalign_check): Use
3454         them to improve overrun checking.  Overruns of a single byte and
3455         corruption of the top chunk are now detected much more reliably.
3457 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3459         * math/libm-test.c (pow_test): Add test for special value from PR
3460         libc/590.
3462 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3464         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3465         including linux/errno.h.
3467 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3469         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3470         Use correct types.
3471         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3472         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3474 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3476         * Makerules (elide-routines.*): Fix assignments.
3477         (do-makelib): Fix typo.
3478         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3479         makefile.
3481 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3483         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3484         $(objpfx)sysd-dirs): Move them...
3485         * Makeconfig: ... here.
3486         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3487         (stubs): Fix circular depedency.
3488         (do-makelib): Clean up.
3489         (lib): Don't depend on lib-noranlib.
3490         ($(objpfx)stamp.oS): Remove special case for empty
3491         static-only-routines.
3492         (elide-routines.o): Add $(static-only-routines).
3493         (elide-routines$o): Define this instead of elide-routines.$o.
3494         * manual/Makefile (stubs): Fix circular dependency.
3496 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3498         * libio/Makefile (routines): Remove duplicate oldiofclose.
3500 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3502         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3504 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3506         * libio/stdio.h: Fix typo in __REDIRECT.
3507         * io/sys/stat.h: Likewise.
3508         Reported by Myles Uyema <myles@uyema.nws.net>.
3510 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3512         * locale/programs/localedef.c (options): Fix help message.
3514 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3516         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3517         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3519 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3521         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3522         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3523         (ptmalloc_init): Use new function in thread_at_fork call.
3524         (thread_atfork_static): Likewise.
3525         Suggested by Wolfram Gloger and Xavier Leroy.
3527 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3529         * signal/signal.h: Move definitions of struct sigstack and
3530         struct sigaltstack into separate file and include it.
3531         * sysdeps/generic/bits/sigstack.h: New file.
3532         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3533         * signal/Makefile (headers): Add bits/sigstack.h.
3535 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3537         * elf/rtld.c (dl_main): Fix check for number of references to
3538         interpreter object.
3540 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3542         * elf/rtld.c (dl_main): Check has_interp after executing platform
3543         specific code.
3545 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3547         * iconvdata/run-iconv-test.sh: Fix typo.
3549 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3551         * Makerules (+depfiles): Add depfiles for $(tests-static).
3552         Simplified.
3554 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3556         * manual/terminal.texi (Special Characters): Fix description of
3557         c_cc indexes.
3559 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3561         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3562         array.
3563         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3564         of c_cc array.
3566 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3568         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3570 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3572         * intl/locale.alias: Update russian entry.
3574 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3576         * Makerules (static-only-routines): Reimplement in terms of
3577         elide-routines.os.
3578         (shared-only-routines): Reimplement in terms of
3579         elide-routines.X [where X is all object-suffixes except .os].
3581         (stubs): Create stubs file inside the subdir.
3582         (common-mostlyclean): Remove stubs file from inside the subdir.
3583         * Makefile (subdir-stubs): Look for stubs files inside the
3584         subdirs.
3585         * manual/Makefile (stubs): Create dummy stubs file inside the
3586         subdir.
3588 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3590         Build speed improvement: make ar less of a bottleneck.
3592         * Makerules (stamp$o): Just record the object list for later
3593         use.
3594         (libc_foo.a): New rule, depends on subdir stamp files; builds
3595         and ranlibs the library from the lists saved in those files.
3597         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3598         (subdirs-stamp-o): Likewise.
3600         (ar-symtab-name): Delete variable.
3601         (lib%.a): Delete target.
3602         (libc_foo.a(bar.%)): Delete target.
3603         (libc_foo.a($(ar-symtab-name))): Delete target.
3605         (objects objs): Just depend on libobjs and extra-objs.
3606         (libobjs): Depend on the stamp files, not the objects.
3607         (extra-objs): New target, just depends on the extra-objs list.
3609         (CREATE_ARFLAGS): Kill the `ar S' hack.
3611         * config.make.in (have-ar-S): Deleted.
3612         * configure.in: Delete test for `ar S'.  Add test to determine
3613         whether ranlib does anything useful.
3615 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3617         * inet/tst-ether_aton.c: Include <stdio.h>.
3619 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3621         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3623         * locale/Makefile (distribute): Add programs/repertoire.h.
3624         (localedef-modules): Add repertoire.
3625         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3626         * locale/programs/repertoire.c: New file.
3627         * locale/programs/repertoire.h: New file.
3628         * locale/programs/charmap.c: Starting fixing character set handling
3629         to handle multi-byte encodings.
3630         * locale/programs/charset.c: Likewise.
3631         * locale/programs/charset.h: Likewise.
3632         * locale/programs/ld-collate.c: Likewise.
3633         * locale/programs/ld-ctype.c: Likewise.
3634         * locale/programs/linereader.c: Likewise.
3635         * locale/programs/localedef.c: Likewise.
3636         * locale/programs/locfile-kw.gperf: Likewise.
3637         * locale/programs/locfile-kw.h: Likewise.
3638         * locale/programs/locfile-token.h: Likewise.
3639         * locale/programs/locfile.h: Likewise.
3640         * locale/programs/stringtrans.c: Likewise.
3642         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3643         path, extended with "/locales/".
3645 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3647         * sysdeps/arm/memset.S: Fix off by one error.
3649         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3650         __syscall_error rather than syscall_error directly.
3652 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3654         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3655         mmap() syscall for ARM.
3657         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3658         binaries.
3660 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3662         * locale/programs/localedef.c: Recognize repertoire-map option.
3664 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3666         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3667         converting non-hex numbers.
3668         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3670 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3672         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3673         check overflow.
3674         * resolv/Makefile (tests): New, add tst-aton.
3675         * resolv/tst-aton.c: New file.
3677 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3679         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3680         semicolon.
3682 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3684         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3685         by letting the later modify the variable computing the total directly.
3686         * wcsmbs/mbsrtowcs.c: Likewise.
3687         * wcsmbs/wcsnrtombs.c: Likewise.
3688         * wcsmbs/wcsrtombs.c: Likewise.
3690         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3691         it is not used.
3692         * wcsmbs/wctoc.c: Likewise.
3694         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3695         * wcsmbs/wcsrtombs.c: Likewise.
3697         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3699 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3701         * iconv/skeleton.c: Correct counting of actually converted
3702         characters.
3704         * intl/localealias.c (read_alias_file): Use unsigned char for
3705         local variables.  Remove unused variable tp.
3706         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3707         for type of codeset.  For loosing Solaris systems.
3708         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3709         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3710         len if not needed.
3711         Patches by Jim Meyering.
3713         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3714         wcsrtombs must put it into initial state.
3716 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3718         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3719         argument of bswap_XX macro.
3721 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3723         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3724         variable name.
3726 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3728         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3729         semun and use stdarg macros to get the value.
3730         * sysdeps/generic/semctl.c: Don't use union semun.
3732         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3734         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3736         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3737         strings.h.
3739         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3740         defines grouping.
3742         * intl/hash-string.h: Don't include values.h.
3744         * inet/Makefile (tests): Add tst-ether_aton.
3745         * inet/tst-ether_aton.c: New file.
3747         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3748         in hex conversion.
3749         * inet/ether_aton.c (ether_aton): Declare result variable static.
3750         Reported by ahyung@unixg.ubc.ca.
3752         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3753         Define macro _SEM_SEMUN_UNDEFINED instead.
3754         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3756         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3757         * stdio-common/Makefile (tests): Add tst-wc-printf.
3759 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3761         * manual/stdio.texi (Variable Arguments Output): Correct variable
3762         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3764 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3766         * intl/dcgettext.c: Remove unneeded definition of
3767         internal_function.
3769 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3771         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3772         instead of do-iconv-test.
3773         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3774         empty.
3776 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3778         * string/string.h: Fix feature test.
3780 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3782         * iconvdata/iso646.c (BODY): Don't use character constants that
3783         depend on signedness of char.
3785 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3788         (sysdep_routines): Add s_pread64 and s_pwrite64.
3790 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3792         * iconvdata/Makefile (distribute): Remove generated .h files.
3793         * iconvdata/koi8-r.h: Removed.
3794         * iconvdata/latin-greek-1.h: Removed.
3795         * iconvdata/latin-greek.h: Removed.
3797         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3798         * iconvdata/KOI-8: Likewise.
3799         * iconvdata/KOI-8..UTF8: Likewise.
3800         * iconvdata/KOI8-R: Likewise.
3801         * iconvdata/KOI8-R..UTF8: Likewise.
3803 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3805         * streams/Makefile (headers): Add sys/stropts.h.
3806         * streams/sys/stropts.h: New file.
3808 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3810         * sysdeps/unix/sysv/linux/ttyname.c,
3811         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3812         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3814 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3816         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3817         argument of _itoa_word.
3819 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3821         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3822         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3823         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3824         sigprocmask, resp., instead of EXTRA.
3826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3827         s_pread64 and s_pwrite64.
3829 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3831         * iconvdata/Makefile: Correct rules to generate gap table.
3832         * iconvdata/gap.pl: Simplify.
3834         * iconvdata/TESTS: Name new tests.
3835         * iconvdata/testdata/CP1250: New file.
3836         * iconvdata/testdata/CP1250..UTF8: New file.
3837         * iconvdata/testdata/CP1251: New file.
3838         * iconvdata/testdata/CP1251..UTF8: New file.
3839         * iconvdata/testdata/CP1252: New file.
3840         * iconvdata/testdata/CP1252..UTF8: New file.
3841         * iconvdata/testdata/CP1253: New file.
3842         * iconvdata/testdata/CP1253..UTF8: New file.
3843         * iconvdata/testdata/CP1254: New file.
3844         * iconvdata/testdata/CP1254..UTF8: New file.
3845         * iconvdata/testdata/CP1255: New file.
3846         * iconvdata/testdata/CP1255..UTF8: New file.
3847         * iconvdata/testdata/CP1256: New file.
3848         * iconvdata/testdata/CP1256..UTF8: New file.
3849         * iconvdata/testdata/CP1257: New file.
3850         * iconvdata/testdata/CP1257..UTF8: New file.
3852 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3854         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3855         * iconvdata/iso-2022-kr.c: New file.
3857         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3858         and ISO-2022-KR.
3860 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3862         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3863         iso8859-8 and iso8859-10.
3864         * iconvdata/iso8859-5.c: Change to use gap method.
3865         * iconvdata/iso8859-7.c: Likewise.
3866         * iconvdata/iso8859-8.c: Likewise.
3867         * iconvdata/iso8859-10.c: Likewise.
3869         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3870         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3871         end of the loop.
3872         * iconvdata/iso-2022-jp.c: New file.
3874         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3875         * iconvdata/ksc5601.h: Unify function interfaces.
3876         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3877         * iconvdata/uhc.c: Likewise.
3879         * iconvdata/gb2312.h: Use correct types.
3881         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3882         size elements of data.
3884 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3886         * string/tst-svc.expect: Adapt for change in .input.
3887         * string/tst-svc.input: More tests.
3889 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3891         * iconvdata/Makefile: Add rules for new modules.
3892         * iconvdata/gconv-modules: Likewise.
3893         * iconvdata/cp737.c: New file.
3894         * iconvdata/cp737.h: New file.
3895         * iconvdata/cp775.c: New file.
3896         * iconvdata/cp775.h: New file.
3897         * iconvdata/cp874.c: New file.
3898         * iconvdata/cp874.h: New file.
3900 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3902         * iconvdata/Makefile: Create target directory before generating
3903         headers.
3905 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3907         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3908         __USER_LABEL_PREFIX__.
3909         (__ASMNAME, __ASMNAME2): New macros.
3911 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3913         * elf/dl-load.c: Include sys/param.h for MAX.
3915 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3917         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3918         __ftruncate the strong symbol, and add weak alias.
3919         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3921 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3923         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3924         Patch by Joe Keane <jgk@jgk.org>.
3926         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3927         free()ing.
3929 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3931         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3932         Patch by Thomas Bushnell, n/BSG.
3934 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3936         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3938 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3940         * iconvdata/Makefile: Put generated headers in build directory.
3942 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3944         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3945         strsep as current directory.
3947         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3948         Java.  Add definitions for unicodelittle implementation.
3949         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3950         * iconv/gconv_simple.c: Define unicodelittle functions.
3952         * iconv/iconv_prog.c: Make program print information about position
3953         of illegal character in input.
3955         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3956         comparison of charset name.
3957         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3958         * iconvdata/ebcdic-at-de-a.c: Likewise.
3959         * iconvdata/ebcdic-at-de.c: Likewise.
3960         * iconvdata/ebcdic-ca-fr.c: Likewise.
3961         * iconvdata/euccn.c: Likewise.
3962         * iconvdata/eucjp.c: Likewise.
3963         * iconvdata/euckr.c: Likewise.
3964         * iconvdata/euctw.c: Likewise.
3965         * iconvdata/hp-roman8.c: Likewise.
3966         * iconvdata/iso6937.c: Likewise.
3967         * iconvdata/iso8859-1.c: Likewise.
3968         * iconvdata/iso8859-10.c: Likewise.
3969         * iconvdata/iso8859-2.c: Likewise.
3970         * iconvdata/iso8859-3.c: Likewise.
3971         * iconvdata/iso8859-4.c: Likewise.
3972         * iconvdata/iso8859-5.c: Likewise.
3973         * iconvdata/iso8859-6.c: Likewise.
3974         * iconvdata/iso8859-7.c: Likewise.
3975         * iconvdata/iso8859-8.c: Likewise.
3976         * iconvdata/iso8859-9.c: Likewise.
3977         * iconvdata/johab.c: Likewise.
3978         * iconvdata/koi-8.c: Likewise.
3979         * iconvdata/koi8-r.c: Likewise.
3980         * iconvdata/latin-greek-1.c: Likewise.
3981         * iconvdata/latin-greek.c: Likewise.
3982         * iconvdata/sjis.c: Likewise.
3983         * iconvdata/t61.c: Likewise.
3984         * iconvdata/uhc.c: Likewise.
3986         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3987         * iconvdata/TESTS: Add tests for ISO646 module.
3988         * iconvdata/gconv-modules: Add new modules.
3989         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3990         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3991         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3992         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3993         * iconvdata/testdate/DIN_66003: Likewise.
3994         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3995         * iconvdata/testdate/DS_2089: Likewise.
3996         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3997         * iconvdata/testdate/ES: Likewise.
3998         * iconvdata/testdate/ES..UTF8: Likewise.
3999         * iconvdata/testdate/ES2: Likewise.
4000         * iconvdata/testdate/ES2..UTF8: Likewise.
4001         * iconvdata/testdate/GB_1988-80: Likewise.
4002         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
4003         * iconvdata/testdate/IT: Likewise.
4004         * iconvdata/testdate/IT..UTF8: Likewise.
4005         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
4006         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
4007         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
4008         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
4009         * iconvdata/testdate/JUS_I.B1.002: Likewise.
4010         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
4011         * iconvdata/testdate/KSC5636: Likewise.
4012         * iconvdata/testdate/KSC5636..UTF8: Likewise.
4013         * iconvdata/testdate/MSZ_7795.3: Likewise.
4014         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
4015         * iconvdata/testdate/NC_NC00-10: Likewise.
4016         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
4017         * iconvdata/testdate/NF_Z_62-010: Likewise.
4018         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
4019         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
4020         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
4021         * iconvdata/testdate/NS_4551-1: Likewise.
4022         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
4023         * iconvdata/testdate/NS_4551-2: Likewise.
4024         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
4025         * iconvdata/testdate/PT: Likewise.
4026         * iconvdata/testdate/PT..UTF8: Likewise.
4027         * iconvdata/testdate/PT2: Likewise.
4028         * iconvdata/testdate/PT2..UTF8: Likewise.
4029         * iconvdata/testdate/SEN_850200_B: Likewise.
4030         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
4031         * iconvdata/testdate/SEN_850200_C: Likewise.
4032         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
4034         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4035         * iconvdata/cns11643l1.h: Likewise.
4036         * iconvdata/latin-greek-1.h: Likewise.
4037         * iconvdata/latin-greek.h: Likewise.
4038         * iconvdata/koi8-r.h: Likewise.
4039         * iconvdata/jis0212.h: Likewise.
4040         * iconvdata/gb2312.h: Likewise.
4041         * iconvdata/ksc5601.h: Likewise.
4043         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4045         * iconvdata/Makefile: Add rules for lots of more modules.
4046         * iconvdata/cp1250.c: New file.
4047         * iconvdata/cp1251.c: New file.
4048         * iconvdata/cp1252.c: New file.
4049         * iconvdata/cp1253.c: New file.
4050         * iconvdata/cp1254.c: New file.
4051         * iconvdata/cp1255.c: New file.
4052         * iconvdata/cp1256.c: New file.
4053         * iconvdata/cp1257.c: New file.
4054         * iconvdata/ebcdic-dk-no-a.c: New file.
4055         * iconvdata/ebcdic-dk-no.c: New file.
4056         * iconvdata/ebcdic-es-a.c: New file.
4057         * iconvdata/ebcdic-es-s.c: New file.
4058         * iconvdata/ebcdic-es.c: New file.
4059         * iconvdata/ebcdic-fi-se-a.c: New file.
4060         * iconvdata/ebcdic-fi-se.c: New file.
4061         * iconvdata/ebcdic-fr.c: New file.
4062         * iconvdata/ebcdic-is-friss.c: New file.
4063         * iconvdata/ebcdic-it.c: New file.
4064         * iconvdata/ebcdic-pt.c: New file.
4065         * iconvdata/ebcdic-uk.c: New file.
4066         * iconvdata/ebcdic-us.c: New file.
4067         * iconvdata/ibm037.c: New file.
4068         * iconvdata/ibm038.c: New file.
4069         * iconvdata/ibm1004.c: New file.
4070         * iconvdata/ibm1026.c: New file.
4071         * iconvdata/ibm1047.c: New file.
4072         * iconvdata/ibm256.c: New file.
4073         * iconvdata/ibm273.c: New file.
4074         * iconvdata/ibm274.c: New file.
4075         * iconvdata/ibm275.c: New file.
4076         * iconvdata/ibm277.c: New file.
4077         * iconvdata/ibm278.c: New file.
4078         * iconvdata/ibm280.c: New file.
4079         * iconvdata/ibm281.c: New file.
4080         * iconvdata/ibm284.c: New file.
4081         * iconvdata/ibm285.c: New file.
4082         * iconvdata/ibm290.c: New file.
4083         * iconvdata/ibm297.c: New file.
4084         * iconvdata/ibm420.c: New file.
4085         * iconvdata/ibm423.c: New file.
4086         * iconvdata/ibm424.c: New file.
4087         * iconvdata/ibm437.c: New file.
4088         * iconvdata/ibm500.c: New file.
4089         * iconvdata/ibm850.c: New file.
4090         * iconvdata/ibm851.c: New file.
4091         * iconvdata/ibm852.c: New file.
4092         * iconvdata/ibm855.c: New file.
4093         * iconvdata/ibm857.c: New file.
4094         * iconvdata/ibm860.c: New file.
4095         * iconvdata/ibm861.c: New file.
4096         * iconvdata/ibm862.c: New file.
4097         * iconvdata/ibm863.c: New file.
4098         * iconvdata/ibm864.c: New file.
4099         * iconvdata/ibm865.c: New file.
4100         * iconvdata/ibm868.c: New file.
4101         * iconvdata/ibm869.c: New file.
4102         * iconvdata/ibm870.c: New file.
4103         * iconvdata/ibm871.c: New file.
4104         * iconvdata/ibm875.c: New file.
4105         * iconvdata/ibm880.c: New file.
4106         * iconvdata/ibm891.c: New file.
4107         * iconvdata/ibm903.c: New file.
4108         * iconvdata/ibm904.c: New file.
4109         * iconvdata/ibm905.c: New file.
4110         * iconvdata/ibm918.c: New file.
4112         * locale/iso-4217.def: Update.
4113         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4115         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4116         formats.
4118 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4120         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4121         LD_LIBRARY_PATH.
4123 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4125         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4126         * Makefile: Likewise.
4127         * posix/Makefile: Likewise.
4128         * sysdeps/mach/hurd/Makefile: Likewise.
4130 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4132         * sysdeps/mach/hurd/bits/dirent.h: New file.
4133         * sysdeps/mach/hurd/readdir64.c: New file.
4134         * sysdeps/mach/hurd/readdir64_r.c: New file.
4136 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4138         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4139         dprintf): Synchronize declarations with libio/stdio.h.
4141 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4143         * elf/dlerror.c (dlerror): Don't assume that
4144         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4145         well-protected, so just use it directly.
4147 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4149         * io/ftw.h (ftw): Fix typo.
4151 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4153         * sysdeps/gnu/utmp_file.c: Fix typo.
4155 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4157         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4158         one part of a test fails move on to the next test.
4160 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4162         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4164 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4166         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4167         as pointers, not signed integers.
4169 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4171         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4173 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4175         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4176         asm symbol name of functions.
4177         * include/features.h: Kill redundant test.
4179         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4180         * io/ftw.h: Likewise.
4181         * io/sys/stat.h: Likewise.
4182         * io/sys/statfs.h: Likewise.
4183         * io/sys/statvfs.h: Likewise.
4184         * libio/stdio.h: Likewise.
4185         * resource/sys/resource.h: Likewise.
4186         * rt/aio.h: Likewise.
4188         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4189          __FAVOR_BSD.
4190         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4192         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4193         a dummy library.
4194         * misc/bsd-compat.c: Removed.
4196 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4198         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4199         function declaration.
4200         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4201         and use them in conversion function.
4202         * iconvdata/Makefile (modules): Re-add ISO6446.
4203         * iconvdata/TEST: Add tests for ASCII variants.
4204         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4205         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4206         * iconvdata/testdata/BS_4730: New file.
4207         * iconvdata/testdata/BS_4730..UTF8: New file.
4209 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4211         * iconv/gconv.h (struct gconv_step): Add element stateful.
4212         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4213         to zero for all internal conversions.
4214         * iconv/skeleton.c: Initialize stateful depending on whether or not
4215         RESET_STATE is defined to one or zero respectively.
4216         * stdlib/mblen.c: Use stateful element of currently selected
4217         converter for result if S is NULL.
4218         * stdlib/mbtowc.c: Likewise.
4219         * stdlib/wctomb.c: Likewise.
4221 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4223         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4225         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4227         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4228         character in comparison with uint32_t.
4229         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4230         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4231         Optimize BODY a bit.
4233         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4234         be defined.
4236         * iconv/skeleton.c: Also reset converted counter in case of an error.
4237         Call reset function using correct value for output buffer start.
4239         * iconvdata/Makefile: Re-enable tests.
4241         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4242         value for to-conversion.
4244         * iconvdata/TESTS: Add new third column.
4245         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4246         not ASCII based.
4247         * iconvdata/testdata/suntzus: New file.
4249         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4250         while reading.  Correctly used base.  Little optimization.
4251         (__strtoul_internal): Likewise.
4253         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4254         was wrong.  Use explicit variable.
4256 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4258         * configure.in: Check for awk.
4259         * config.make.in: Add AWK to be substituted.
4261         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4262         * manual/users.texi: Fix typo exposed by above rewrite.
4264         * Makefile: Invoke awk using AWK variable.
4265         * csu/Makefile: Likewise.
4266         * elf/Makefile: Likewise.
4267         * mach/Makefile: Likewise.
4268         * manual/Makefile: Likewise.
4269         * sysdeps/gnu/Makefile: Likewise.
4270         * sysdeps/mach/hurd/Makefile: Likewise.
4271         * sysdeps/unix/Makefile: Likewise.
4272         * timezone/Makefile: Likewise.
4274 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4276         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4277         array index translation.
4278         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4279         these are defined.
4281         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4283         * sysdeps/mach/hurd/errlist.c: New file.
4284         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4285         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4286         semantics, so rename it.
4288 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4290         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4291         conversions.
4293 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4295         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4296         * wcsmbs/wcsnrtombs.c: Likewise.
4298 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4300         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4302         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4304         * time/strftime.c (my_strftime): Initialize pad variable in
4305         declaration.
4307         * iconvdata/big5.c: Don't use character constants in comparisons
4308         with unsigned value.
4310 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4312         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4313         __libc_siglongjmp to GLIBC_2.1.
4315         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4316         __strerror_r.
4318         * iconv/Makefile: Don't run tests now.
4320         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4321         with correct output buffer.
4323         Major rewrite of the low-level gconv functionality.
4324         * iconv/gconv.c: Rewritten.
4325         * iconv/gconv.h: Likewise.
4326         * iconv/gconv_builtin.c: Likewise.
4327         * iconv/gconv_builtin.h: Likewise.
4328         * iconv/gconv_conf.c: Likewise.
4329         * iconv/gconv_int.h: Likewise.
4330         * iconv/gconv_open.c: Likewise.
4331         * iconv/gconv_simple.c: Likewise.
4332         * iconv/iconv.c: Likewise.
4333         * iconvdata/8bit-gap.c: Likewise.
4334         * iconvdata/8bit-generic.c: Likewise.
4335         * iconvdata/Makefile: Likewise.
4336         * iconvdata/big5.c: Likewise.
4337         * iconvdata/cns11643.c: Likewise.
4338         * iconvdata/cns11643.h: Likewise.
4339         * iconvdata/cns11643l1.c: Likewise.
4340         * iconvdata/cns11643l1.h: Likewise.
4341         * iconvdata/ebcdic-at-de-a.c: Likewise.
4342         * iconvdata/ebcdic-at-de.c: Likewise.
4343         * iconvdata/ebcdic-ca-fr.c: Likewise.
4344         * iconvdata/euccn.c: Likewise.
4345         * iconvdata/eucjp.c: Likewise.
4346         * iconvdata/euckr.c: Likewise.
4347         * iconvdata/euctw.c: Likewise.
4348         * iconvdata/gb2312.c: Likewise.
4349         * iconvdata/gb2312.h: Likewise.
4350         * iconvdata/hp-roman8.c: Likewise.
4351         * iconvdata/iso646.c: Likewise.
4352         * iconvdata/iso6937.c: Likewise.
4353         * iconvdata/iso8859-1.c: Likewise.
4354         * iconvdata/iso8859-10.c: Likewise.
4355         * iconvdata/iso8859-2.c: Likewise.
4356         * iconvdata/iso8859-3.c: Likewise.
4357         * iconvdata/iso8859-4.c: Likewise.
4358         * iconvdata/iso8859-5.c: Likewise.
4359         * iconvdata/iso8859-6.c: Likewise.
4360         * iconvdata/iso8859-7.c: Likewise.
4361         * iconvdata/iso8859-8.c: Likewise.
4362         * iconvdata/iso8859-9.c: Likewise.
4363         * iconvdata/jis0201.c: Likewise.
4364         * iconvdata/jis0201.h: Likewise.
4365         * iconvdata/jis0208.c: Likewise.
4366         * iconvdata/jis0208.h: Likewise.
4367         * iconvdata/jis0212.c: Likewise.
4368         * iconvdata/jis0212.h: Likewise.
4369         * iconvdata/johab.c: Likewise.
4370         * iconvdata/koi-8.c: Likewise.
4371         * iconvdata/koi8-r.c: Likewise.
4372         * iconvdata/ksc5601.c: Likewise.
4373         * iconvdata/ksc5601.h: Likewise.
4374         * iconvdata/latin-greek-1.c: Likewise.
4375         * iconvdata/latin-greek.c: Likewise.
4376         * iconvdata/run-iconv-test.sh: Likewise.
4377         * iconvdata/sjis.c: Likewise.
4378         * iconvdata/t61.c: Likewise.
4379         * iconvdata/uhc.c: Likewise.
4380         * wcsmbs/btowc.c: Likewise.
4381         * wcsmbs/mbrtowc.c: Likewise.
4382         * wcsmbs/mbsnrtowcs.c: Likewise.
4383         * wcsmbs/mbsrtowcs.c: Likewise.
4384         * wcsmbs/wcrtomb.c: Likewise.
4385         * wcsmbs/wcsmbsload.c: Likewise.
4386         * wcsmbs/wcsnrtombs.c: Likewise.
4387         * wcsmbs/wcsrtombs.c: Likewise.
4388         * wcsmbs/wctob.c: Likewise.
4389         * iconv/loop.c: New file.
4390         * iconv/skeleton.c: New file.
4392         * stdlib/mblen.c: Handle empty input string correctly.
4393         * stdlib/mbtowc.c: Likewise.
4395         * posix/getopt.c: Various cleanups.
4397         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4398         * sysdeps/i386/bits/setjmp.h: Likewise.
4399         * sysdeps/m68k/bits/setjmp.h: Likewise.
4400         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4401         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4403         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4404         and make longjmp weak alias.
4406 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4408         * iconv/Makefile (routines): Only include gconv_dl if building for
4409         an ELF system - dynamic linking is not available on a.out.
4410         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4411         due to above check.
4412         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4413         routines from gconv_dl.
4415 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4417         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4418         we can compile without libio.
4420 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4422         * sysdeps/mach/hurd/Subdirs: Remove login.
4424 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4426         * db2/compat.h: Include <errno.h>, to make sure we get the
4427         definition of EFTYPE before we define it ourselves.
4429 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4431         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4432         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4433         Fix typo to allow inclusion from sys/ioctl.h again.
4435 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4437         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4439 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4441         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4443 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4445         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4446         Also undefine __strcasestr.
4448 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4450         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4451         aliases do not work with global variables due to copy relocations.
4453 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4455         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4457 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4459         * signal/sighold.c: Include stddef.h for NULL definition.
4460         * signal/sigrelse.c: Likewise.
4461         * sysdeps/posix/sigignore.c: Likewise.
4462         * sysdeps/posix/sigset.c: Likewise.
4463         * sysdeps/posix/waitid.c: Likewise.
4464         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4465         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4466         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4467         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4468         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4470 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4472         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4473         * login/getutent.c (getutxent): Remove alias.
4474         * login/getutent_r.c (setutxent, pututxline, endutxent):
4475         Remove aliases.
4476         * login/getutid.c (getutxid): Remove alias.
4477         * login/getutline.c (getutxline): Remove alias.
4478         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4479         __getutid, __getutline and __pututline.
4480         * login/utmpx.h: Moved to ...
4481         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4482         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4483         and updwtmpx.
4484         * login/updwtmp.c: Moved to ...
4485         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4486         allowing file name transformation.
4487         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4488         additional file name transformation.
4489         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4490         * login/utmp_file.c: Moved to ...
4491         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4492         Generalized by allowing file name transformation.  Do not
4493         print error message.  Library functions should not print them.
4494         Reported by Jim Meyering.
4495         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4496         with additional file name transformation.
4497         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4498         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4499         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4500         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4501         and bits/utmpx.h.
4502         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4503         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4504         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4505         Define if __USE_GNU.
4506         * sysdeps/generic/setutxent.c: New file.
4507         * sysdeps/generic/getutxent.c: New file.
4508         * sysdeps/generic/endutxent.c: New file.
4509         * sysdeps/generic/getutxid.c: New file.
4510         * sysdeps/generic/getutxline.c: New file.
4511         * sysdeps/generic/pututxline.c: New file.
4512         * sysdeps/generic/utmpxname.c: New file.
4513         * sysdeps/generic/updwtmpx.c: New file.
4514         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4515         * sysdeps/generic/bits/utmpx.h: Remove.
4517 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4519         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4520         ~root test.
4522 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4524         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4526 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4528         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4529         variable using _G_stat64.
4530         * libio/fileops.c: Remove macro definition of fstat, it is in the
4531         global header.
4532         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4534 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4536         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4537         <willy@odie.barnet.ac.uk>.
4539 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4541         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4542         required by IPv6 Basic API.
4543         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4544         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4545         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4546         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4548 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4550         Don't name internal representation since it might be different from
4551         the external form (namely on little endian machines).
4552         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4553         UCS4 into references to INTERNAL.
4554         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4555         Add endianess support to UCS functions.  Change references to
4556         UCS4 into references to INTERNAL.
4557         * iconv/gconv_int.h: Change references to UCS4 into references to
4558         INTERNAL.
4559         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4560         * iconvdata/gconv-modules: Change accordingly.
4561         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4563         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4564         overflow.
4565         * iconvdata/8bit-gap.c: Likewise.
4566         * iconvdata/8bit-generic.c: Likewise.
4567         * iconvdata/big5.c: Likewise.
4568         * iconvdata/euccn.c: Likewise.
4569         * iconvdata/eucjp.c: Likewise.
4570         * iconvdata/euckr.c: Likewise.
4571         * iconvdata/euctw.c: Likewise.
4572         * iconvdata/iso646.c: Likewise.
4573         * iconvdata/iso6937.c: Likewise.
4574         * iconvdata/iso8859-1.c: Likewise.
4575         * iconvdata/johab.c: Likewise.
4576         * iconvdata/sjis.c: Likewise.
4577         * iconvdata/t61.c: Likewise.
4578         * iconvdata/uhc.c: Likewise.
4580         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4581         * iconvdata/8bit-generic.c: Likewise.
4583         * iconvdata/TESTS: Add more tests.
4585         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4587 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4589         * iconvdata/Makefile: Better rules to run tests.
4591         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4592         * iconvdata/testdata/ISO-8859-10: Likewise.
4593         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4594         * iconvdata/testdata/ISO-8859-2: Likewise.
4595         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4596         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4597         * iconvdata/testdata/ISO-8859-3: Likewise.
4598         * iconvdata/testdata/ISO-8859-4: Likewise.
4599         * iconvdata/testdata/ISO-8859-5: Likewise.
4600         * iconvdata/testdata/ISO-8859-6: Likewise.
4601         * iconvdata/testdata/ISO-8859-7: Likewise.
4602         * iconvdata/testdata/ISO-8859-8: Likewise.
4603         * iconvdata/testdata/ISO-8859-9: Likewise.
4605 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4607         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4608         intermediate result (if available).
4610         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4611         last change.
4613         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4614         (distribute): Add run-iconv-test.sh and testdata/*.
4616         * stdlib/testmb.c (main): Simplify mbc array handling.
4618 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4620         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4621         return value on overflow.
4623 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4625         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4626         bits.
4628 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4630         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4631         of non-standard function setbuffer.
4633 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4635         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4637 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4639         * iconvdata/Makefile: Add rules to run tests.
4640         * iconvdata/TESTS: New file.
4641         * iconvdata/run-iconv-test.sh: New file.
4642         * iconvdata/testdata/ISO-8859-1: New file.
4644         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4645         not stdout.
4647 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4649         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4650         counter element of step.
4652         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4654         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4655         termination test.
4656         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4657         ACTUALLY.
4658         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4660 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4662         * Makefile: Include makeconfig before defining rule to regenerate
4663         configure files.
4665         * configure.in: Remove restriction on compiling without static
4666         libs.
4668 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4670         * test-skeleton.c: Provide hook for initializing code before the fork.
4671         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4672         removed.
4674         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4675         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4676         * libio/libioP.h: Adopt _IO_cleanup prototype.
4678         * stdlib/Makefile (tests): Add test-canon2.
4679         * stdlib/test-canon2.c: New file.
4680         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4681         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4682         symlink sequences.
4683         (__realpath): Make real function which checks RESOLVED parameter for
4684         not being NULL.
4686 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4688         * catgets/open_catalog.c (__open_catalog): Fix problems with
4689         reading non-files.  Always close file.
4690         Reported by Cristian Gafton <gafton@redhat.com>.
4692         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4694 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4696         * libc.map: Add various low-level I/O functions.
4698 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4700         * string/Makefile (routines): Remove strerror_r.
4701         * string/strerror_r.c: Removed.
4702         * string/strerror.c: Call __strerror_r for doing the real work.
4703         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4704         add weak alias strerror_r.
4705         * sysdeps/mach/_strerror.c: Likewise.
4706         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4707         * elf/dl-error.c (_dl_signal_error): Likewise.
4708         * elf/dl-profile.c (_dl_start_profile): Likewise.
4709         * gmon/gmon.c (write_gmon): Likewise.
4710         * stdio-common/perror.c: Likewise.
4711         * stdio-common/vfprintf.c: Likewise.
4713 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4715         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4716         (sysdep_headers): Add netatalk/at.h.
4718 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4720         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4721         Formatting fixes.
4723 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4725         * posix/regex.c: Rename __re_syntax_options back to
4726         re_syntax_options, aliases do not work with global variables due
4727         to copy relocations.
4728         (regex_compile): Use syntax parameter instead of
4729         re_syntax_options.
4731 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4733         * configure.in: Document that enable-force-install is default.
4735 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4737         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4738         all needed 36 bits.
4739         * sysdeps/posix/mkstemp.c: Likewise.
4741 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4743         * iconvdata/8bit-gap.c: Simplify step data handling.
4744         * iconvdata/8bit-generic.c: Likewise.
4745         * iconvdata/big5.c: Likewise.
4746         * iconvdata/euccn.c: Likewise.
4747         * iconvdata/eucjp.c: Likewise.
4748         * iconvdata/euckr.c: Likewise.
4749         * iconvdata/euctw.c: Likewise.
4750         * iconvdata/iso6937.c: Likewise.
4751         * iconvdata/iso8859-1.c: Likewise.
4752         * iconvdata/jis0208.h: Likewise.
4753         * iconvdata/jis0212.c: Likewise.
4754         * iconvdata/jis0212.h: Likewise.
4755         * iconvdata/johab.c: Likewise.
4756         * iconvdata/ksc5601.h: Likewise.
4757         * iconvdata/sjis.c: Likewise.
4758         * iconvdata/t61.c: Likewise.
4759         * iconvdata/uhc.c: Likewise.
4761 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4763         * manual/texinfo.texi: Updated from last version.
4765 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4767         * iconvdata/cns11643.c: New file.
4768         * iconvdata/cns11643.h: New file.
4769         * iconvdata/cns11643l1.c: New file.
4770         * iconvdata/cns11643l1.h: New file.
4771         * iconvdata/euctw.c: New file.
4772         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4773         * iconvdata/gconv-modules: Likewise.
4775         * iconvdata/eucjp.c: Several bug fixes and improvements.
4776         * iconvdata/gb2312.h: Likewise.
4777         * iconvdata/jis0201.h: Likewise.
4778         * iconvdata/jis0208.h: Likewise.
4779         * iconvdata/jis0212.h: Likewise.
4781 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4783         * iconvdata/eucjp.c: New file.
4784         * iconvdata/euccn.c: New file.
4785         * iconvdata/gb2312.h: New file.
4786         * iconvdata/gb2312.c: New file.
4787         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4788         * iconvdata/gconv-modules: Likewise.
4790         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4792 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4794         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4795         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4796         Patch by Mark Hatle <fray@kernel.crashing.org>.
4798 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4800         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4801         comment.
4802         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4803         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4805 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4807         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4809         * iconvdata/Makefile: Add rules for big5 conversion.
4810         * iconvdata/gconv-modules: Likewise.
4811         * iconvdata/big5.c: New file.
4813         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4814         Patch by Jim Meyering.
4816 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4818         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4820         * rt/lio_listio.c: Correct total counter handling.
4822         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4823         from request queue.
4825         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4826         of signal on exit even more.
4828         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4829         instead of call to pthread_cond_init.
4830         * rt/lio_listio.c (lio_listio): Likewise.
4831         * rt/lio_listio64.c (lio_listio64): Likewise.
4833         * nis/nis_findserv.c: Include sys/socket.h.
4835 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4837         * Makeconfig (rtobjdir): New variable.
4838         (rpath-link): Add rtobjdir and thread directory, if available.
4840         * test-skeleton.c: Add support to remove temporary files.
4841         Always define test_dir.  Improve message about expected signal.
4843         * rt/Makefile (tests): Add tst-aio.
4844         Add rules for tst-aio to be linked with librt and thread library.
4845         * rt/aio_misc.c: Correct fundamental bugs.
4846         * rt/aio_suspend.c: Correct bug in test for available request.
4847         Initialize conditional variable.
4848         * rt/lio_listio.c: Initialize conditional variable.
4849         * rt/lio_listio64.c: Likewise.
4850         * rt/tst-aio.c: New file.
4852         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4853         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4854         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4855         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4856         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4857         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4858         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4860 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4862         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4864 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4866         * elf/dl-load.c (open_path): Use correct name for test whether
4867         directory in load path exists.
4869         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4870         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4871         Patches by Tom Rini <trini@kernel.crashing.org>.
4873         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4874         * wcsmbs/wcstod_l.c: Likewise.
4875         * wcsmbs/wcstold_l.c: Likewise.
4877         * include/byteswap.h: New file.
4879         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4880         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4882         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4883         declaration.  Patch by Richard Henderson.
4885 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4887         * manual/process.texi (SIGCHLD example): Save errno.
4889 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4891         * posix/regex.c: Define regerror really as __regerror.
4892         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4893         regerror and regfree.
4895         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4896         * stdlib/strtod_l.c: Likewise.
4897         * stdlib/strtold_l.c: Likewise.
4899         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4901         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4903         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4904         Patch by Christian Gafton.
4906 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4908         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4909         for if_indextoname.
4911 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4913         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4915         * manual/socket.texi (Interface Naming): Fix typo.
4917 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4919         * manual/examples/filesrv.c (main): Remove filename first.
4921         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4922         ?F_UNIX.
4924         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4925         instead of PF_UNIX.
4927         * manual/examples/filecli.c (main): Use AF_LOCAL
4928         instead of AF_UNIX.
4930 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4932         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4933         signgam weak alias.
4934         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4935         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4936         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4937         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4938         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4939         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4941         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4943 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4945         * configure.in: Add new option --enable-force-install.  Substitute
4946         force_install.
4947         * config.make.in (force-install): Set from configure.
4948         * Makerules (force-install): New phony target.
4949         * Makeconfig (+force): New variable.
4950         * Makefile: Use it in dependency list of installation targets.
4951         * db/Makefile: Likewise.
4952         * db2/Makefile: Likewise.
4953         * elf/Makefile: Likewise.
4954         * hurd/Makefile: Likewise.
4955         * iconv/Makefile: Likewise.
4956         * iconvdata/Makefile: Likewise.
4957         * intl/Makefile: Likewise.
4958         * localedata/Makefile: Likewise.
4959         * login/Makefile: Likewise.
4960         * po/Makefile: Likewise.
4961         * sunrpc/Makefile: Likewise.
4962         * sysdeps/mach/hurd/Makefile: Likewise.
4963         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4964         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4965         * timezone/Makefile: Likewise.
4967 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4969         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4970         alloc_size.  Pass return value of getcwd syscall to realloc.
4972 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4974         * manual/socket.texi: Spelling fixes.
4976 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4978         * elf/dl-load.c (print_search_path): Remove unused variable.
4980 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4982         * login/utmp_file.c: use __ftruncate not ftruncate.
4983         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4984         for system call and make ftruncate weak alias.
4985         * posix/unistd.h: Add prototype for __ftruncate.
4986         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4987         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4988         instead of snprintf and readv.
4989         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4990         snprintf.
4991         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4992         directly.
4994 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4996         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4997         * iconv/gconv_db.c: Use __ protected regex functions.
4998         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4999         * posix/getopt_init.c: Use __getpid not getpid.
5000         * posix/regex.c: Rename all global functions to start with __ and
5001         make old names weak aliases.
5002         * posix/regex.h: Adopt prototypes for this.
5003         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
5004         a weak alias and use __getcwd instead of getcwd.
5005         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
5006         * stdlib/strtod.c: Use __btowc instead of btowc.
5007         * stdlib/strtol.c: Likewise.
5008         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
5009         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
5010         and sys_errlist are weak.
5011         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
5012         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
5013         * wcsmbs/mbsnrtowcs.c: Likewise.
5014         * wcsmbs/mbsrtowcs.c: Likewise.
5015         * wcsmbs/wcsnrtombs.c: Likewise.
5016         * wcsmbs/wcsrtombs.c: Likewise.
5017         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
5018         weak alias.
5019         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
5020         * wctype/wctype.c: Define function as __wctype and make wctype
5021         weak alias.
5022         * wctype/wctype.h: Declare __wctype.
5024 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
5026         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
5028 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5030         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
5031         stat64.
5032         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
5033         functions.
5034         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5035         for __llseek.
5036         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5037         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5038         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5039         make it a weak alias.
5040         * posix/unistd.h: Declare __lseek64.
5042         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5043         (_IO_file_stat): Fix typo.
5044         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5045         block size from the file.  Use __mempcpy if _LIBC.
5047 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5049         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5050         * wcsmbs/mbrtowc.c: Likewise.
5051         * wcsmbs/mbsnrtowcs.c: Likewise.
5052         * wcsmbs/mbsrtowcs.c: Likewise.
5053         * wcsmbs/wcrtomb.c: Likewise.
5054         * wcsmbs/wcsnrtombs.c: Likewise.
5055         * wcsmbs/wcsrtombs.c: Likewise.
5056         * wcsmbs/wctob.c: Likewise.
5058         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5059         position of next output character correctly.
5060         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5062         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5064         * stdlib/strtod.c: Don't use mbtowc.
5066 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5068         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5069         what we want is smaller than a buffer.
5071 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5073         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5074         this function.
5076 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5078         * configure.in: Recognize --with-headers flag and determine
5079         commandline options to be used in compilation.
5080         * Makeconfig (+includes): Use $(sysincludes).
5081         * config.make.in (sysincludes): Define from SYSINCLUDES.
5082         * glibcbug.in: Use SYSINCLUDES information.
5083         Patches by Zack Weinberg.
5085 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5087         * glibcbug.in: On linux, report version of kernel headers seen
5088         by compiler.
5090 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5092         * libc.map: Add __asprintf to GLIBC_2.1.
5093         * elf/dlerror.c: Use __asprintf, not asprintf.
5094         * libio/stdio.h: Declare __asprintf.
5095         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5096         a weak alias.
5098         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5099         to avoid inclusion from libc_pic.a.
5101         * elf/dl-runtime.c: Undo last patch.
5103         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5105         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5106         as default, use NULL.
5108 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5110         * resolv/Makefile: Include ../Makeconfig - needed for building
5111         static NSS module.
5113 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5115         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5116         static-nss since we don't want hesiod in the static NSS.
5118         * nss/Makefile: Build only nss_files as static.
5120         * nss/function.def: Remove support for service db.
5122 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5124         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5126 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5128         * posix/wordexp-test.c: Make IFS per test-case.
5130 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5132         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5133         ENVIRONMENT.
5135 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5137         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5138         `-print-file-name' to find as and ld.
5140 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5142         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5143         template is wrong.  Remove unused varaible `ignored'.
5145 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5147         * libc.map: Export __libc_sa_len.
5149         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5151 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5153         * iconv/gconv.c: Take care for NULL arguments.
5154         * iconv/gconv_dl.c: Make find_func function global.
5155         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5156         Add prototypes for ASCII conversion functions.
5157         * iconv/gconv_simple.c: Add ASCII conversion functions.
5158         * locale/C-ctype.c: Correct charset name.
5160         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5161         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5162         wcsmbsload.
5163         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5164         * wcsmbs/mbrtowc.c: Likewise.
5165         * wcsmbs/mbsnrtowcs.c: Likewise.
5166         * wcsmbs/mbsrtowcs.c: Likewise.
5167         * wcsmbs/wcrtomb.c: Likewise.
5168         * wcsmbs/wcsnrtombs.c: Likewise.
5169         * wcsmbs/wcsrtombs.c: Likewise.
5170         * wcsmbs/wctob.c: Likewise.
5171         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5172         prototypes for wmemr*.
5173         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5174         * wcsmbs/wcsnlen.c: New file.
5175         * wcsmbs/wcsmbsload.c: New file.
5176         * wcsmbs/wcsmbsload.h: New file.
5178         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5180         * manual/install.texi: Describe some more critical points.
5182         * string/string.h: Add prototype for __strnlen.
5183         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5185         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5186         much less predictable names.
5187         * sysdeps/posix/mkstemp.c: Likewise.
5189 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5191         * manual/libc.texinfo (Top): Change "file namespace" to "local
5192         namespace".
5194         * manual/socket.texi: Change file namespace to local namespace.
5195         (Out-of-Band Data): Remove unneeded variable link.
5196         (Host Address Functions): Use uint32_t consequently and add a
5197         number of clarifications for IPv4/IPv6, classless addresses.
5198         (Internet Namespace): Added some paragraphs about IPv6.
5199         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5201 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5203         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5205         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5206         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5207         (AI_NUMERICHOST): Define.
5208         (getnodebyname): New prototype.
5209         (AI_V4MAPPED, et al.): New constants.
5211         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5212         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5213         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5214         for socket.
5215         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5216         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5218         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5220         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5221         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5222         * socket/Makefile (headers): Add bits/sockunion.h.
5223         * socket/sys/socket.h: Include <bits/sockunion.h>
5224         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5225         <sys/socket.h>, to avoid getting sockaddr_union defined.
5226         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5227         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5228         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5230         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5231         (2.2.x kernels won't have it).
5233 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5235         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5236         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5237         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5238         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5240 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5242         * manual/socket.texi (Socket Addresses): Fix a typo.
5243         (Interface Naming): New section.
5245 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5247         * configure.in: Check for CC using $ac_tool_prefix, to handle
5248         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5249         * config.make.in: Add MIG to be substituted.
5250         * mach/Machrules: Don't define MIG variable.
5252         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5254 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5256         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5257         strdupa to copy rpath.
5259 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5261         * configure.in: Fix gcc version check.
5263         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5264         confusing.
5266 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5268         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5269         of ptsname_r.
5271         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5272         like ttyname_r.
5273         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5274         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5275         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5276         of __ptsname_r accordingly.
5277         * login/openpty.c (openpty): Likewise.
5279 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5281         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5283 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5285         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5287         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5289 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5291         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5292         return value for better error checking.
5294 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5296         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5297         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5299         * elf/elf.h (EM_SPARC64): Remove.
5300         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5301         (HWCAP_SPARC_V9): Add.
5303         * elf/ldsodefs.h (_dl_hwcap): Declare.
5304         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5305         Weaken so dlopen from static progies works.
5306         (WEAKADDR): New macro.
5307         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5308         (LD_SO_PRELOAD): New macro.
5309         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5310         (elf_machine_rela): Weaken _dl_rtld_map.
5312         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5313         to __clone, and remove the later's alias.
5314         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5316         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5317         the kernel's structure.
5319         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5320         Sparc needs a custom value of __KERNEL_NCCS.
5322 1998-04-06  Richard Henderson  <rth@cygnus.com>
5324         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5326         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5327         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5329 1998-04-06  Richard Henderson  <rth@cygnus.com>
5331         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5332         as the buffer is not properly aligned.
5333         Reported by Juan Cespedes <cespedes@debian.org>.
5335 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5337         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5338         instead of AF_FILE.
5340 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5342         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5343         and wc*tomb* functions.
5345 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5347         * sysdeps/unix/start.c: Fix typo.
5349 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5351         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5353 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5355         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5356         expressions and using array variables.
5357         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5358         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5359         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5360         * sysdeps/libm-ieee754/e_log.c: Likewise.
5361         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5362         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5363         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5364         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5365         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5366         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5367         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5368         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5369         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5371 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5373         * iconv/gconv.c: Rewrite of the low-level of gconv.
5374         * iconv/gconv.h: Likewise.
5375         * iconv/gconv_builtin.h: Likewise.
5376         * iconv/gconv_close.c: Likewise.
5377         * iconv/gconv_db.: Likewise.
5378         * iconv/gconv_dl.c: Likewise.
5379         * iconv/gconv_int.h: Likewise.
5380         * iconv/gconv_open.c: Likewise.
5381         * iconv/gconv_simple.c: Likewise.
5382         * iconvdata/8bit-gap.c: Adapt for rewrite.
5383         * iconvdata/8bit-generic.c: Likewise.
5384         * iconvdata/euckr.c: Likewise.
5385         * iconvdata/iso646.c: Likewise.
5386         * iconvdata/iso6937.c: Likewise.
5387         * iconvdata/iso8859-1.c: Likewise.
5388         * iconvdata/johab.c: Likewise.
5389         * iconvdata/sjis.c: Likewise.
5390         * iconvdata/t61.c: Likewise.
5391         * iconvdata/uhc.c: Likewise.
5393 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5395         * iconv/gconv_int.h: New file.  Internal header.
5396         * iconv/Makefile (distribute): Add gconv_int.h.
5397         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5398         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5399         * iconv/gconv_close.c: Likewise.
5400         * iconv/gconv_conf.c: Likewise.
5401         * iconv/gconv_db.c: Likewise.
5402         * iconv/gconv_dl.c: Likewise.
5403         * iconv/gconv_int.h: Likewise.
5404         * iconv/gconv_open.c: Likewise.
5405         * iconv/iconv.c: Likewise.
5406         * iconv/iconv_close.c: Likewise.
5407         * iconv/iconv_open.c: Likewise.
5408         * iconv/iconv_prog.c: Likewise.
5410 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5412         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5413         missing braces.
5415 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5417         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5419 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5421         Based on patch from Pat Beirne:
5422         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5423         PIC and non-PIC now.  Correctly negate error number.
5424         (errno): Use `%' not `@' in .type directives.
5426 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5428         * sysdeps/i386/strtok.S: Change to use single exit point.
5429         * sysdeps/i386/i686/strtok.S: Likewise.
5431 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5433         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5434         default.
5436 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5438         * Makerules (installed-libcs): Fix typo.
5440 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5442         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5443         (UHC-routines): Remove ksc5601.
5445 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5447         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5448         introduced in last change.
5450 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5452         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5453         before 2.1.92.
5455 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5457         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5459         * stdlib/isomac.c: Use -isystem instead of -I for system include
5460         dir.
5462 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5464         * resolv/res_comp.c (underscorechar): New.
5465         (middlechar): Allow '_'.
5467 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5469         * intl/explodename.c (stdlib.h): Include that file only if
5470         STDC_HEADERS or _LIBC.
5471         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5472         Patch by Philippe De Muyter <phdm@macqel.be>.
5474 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5476         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5477         (AC_PROG_CHECK_VER): New macro.
5478         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5479         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5481 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5483         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5484         * sysdeps/i386/i686/strtok.S: New file
5485         * sysdeps/i386/i686/strtok_r.S: New file
5487 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5489         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5490         type to __off64_t.
5491         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5492         parameter as __off64_t instead of __off_t.
5493         (ftello): Make alias for ftello64 instead of ftello.  Change
5494         return type to __off64_t.
5496 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5498         * sysdeps/i386/bits/string.h: Fix various typos.
5499         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5501         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5503 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5505         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5506         lchown syscall correctly.  [PR libc/541].
5508 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5510         * localedata/Makefile: Correct testsuite rules.
5512         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5513         * iconvdata/iso646.c: Fix conversion from UCS4.
5515         * elf/ldsodefs.h: Mark internal function with internal_function.
5516         * elf/dl-addr.c: Likewise.
5517         * elf/dl-close.c: Likewise.
5518         * elf/dl-debug.c: Likewise.
5519         * elf/dl-deps.c: Likewise.
5520         * elf/dl-error.c: Likewise.
5521         * elf/dl-fini.c: Likewise.
5522         * elf/dl-init.c: Likewise.
5523         * elf/dl-load.c: Likewise.
5524         * elf/dl-lookup.c: Likewise.
5525         * elf/dl-object.c: Likewise.
5526         * elf/dl-open.c: Likewise.
5527         * elf/dl-profile.c: Likewise.
5528         * elf/dl-reloc.c: Likewise.
5529         * elf/dl-runtime.c: Likewise.
5530         * elf/dl-symbol.c: Likewise.
5531         * elf/dl-version.c: Likewise.
5532         * elf/dlerror.c: Likewise.
5533         * sysdeps/generic/dl-sysdep.c: Likewise.
5534         * sysdeps/i386/dl-machine.h: Likewise.
5535         * intl/finddomain.c: Likewise.
5536         * intl/gettextP.h: Likewise.
5537         * intl/loadmsgcat.c: Likewise.
5539 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5541         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5542         * iconv/gconv_builtin.h: Add definitions for new builtins.
5543         * iconv/gconv.h: Add prototypes for new builtins.
5545         * iconvdata/Makefile (modules): Add ISO646.
5546         Add rules for ISO646 module.
5547         (distribute): Add iso646.c.
5548         * iconvdata/gconv-modules: Add module and alias definition for
5549         ISO646 charsets.
5550         * iconvdata/iso646.c: New file.
5552 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5554         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5555         * iconv/iconv_prog.c: Implement --list option to print available
5556         coded character sets.
5558 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5560         Make fread() read large blocks straight to the user buffer.
5562         * libio/fileops.c (_IO_file_xsgetn): New function.
5563         (_IO_file_jumps): Use it.
5564         * libio/libioP.h: Prototype it.
5566 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5568         * iconv/gconv_conf.c (builtin_aliases): New variable.
5569         (__gconv_read_conf): Add builtin aliases.
5570         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5571         noop macro before including gconv_builtin.h.
5572         * iconv/gconv_builtin.h: Add alias names.
5574         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5575         number of converted bytes correctly.
5577 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5579         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5580         we only wait for a replay.
5582 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5584         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5585         EUC-KR modules.
5587 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5589         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5590         use PLTJMP() rather than explicit (PLT).
5592         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5593         __libc_start_main().
5595         Based on patch from Pat Beirne:
5596         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5597         Always define, not only #ifndef PIC.
5598         (DO_CALL): Pass fifth argument correctly in R4.
5599         (PSEUDO): Correct test for error, call syscall_error through PLT
5600         if PIC.
5602 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5604         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5605         definitions.
5607 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5609         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5610         JOHAB.so.
5612 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5614         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5615         lstat64.
5617 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5619         * manual/Makefile: Use object-suffixes-for-libc instead of
5620         object-suffixes.
5621         * rpm/Makefile (install-lib): Likewise.
5623 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5625         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5627         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5628         `m68*', not only `m68k'.
5630 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5632         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5634         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5635         install lddlibc4.
5637 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5639         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5640         EUC-KR.
5642         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5643         comment.
5645 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5647         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5648         the init stuff.
5650 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5652         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5653         adjtimex syscall.
5654         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5655         adjtimex.
5656         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5658 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5660         * Makerules (install): Change comment for libc.so following the
5661         libc_nonshared changes.
5663 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5665         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5667         * iconvdata/gap.pl: Avoid using %#06x.
5669 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5671         * Makerules: Use $? instead of S^ when invoking ar.
5673 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5675         * db2/compat.h: Allow EFTYPE being defined.
5676         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5677         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5678         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5679         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5680         (__libc_once): Correctly unlock semaphore.
5681         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5682         * sysdeps/unix/bsd/getpt.c: Fix typo.
5683         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5685 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5687         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5688         macros.
5690 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5692         * include/mntent.h: New file.
5694         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5695         * elf/dl-load.c: Rewrite search path handling.
5696         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5697         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5698         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5699         * elf/ldsodefs.h: Add prototype.
5701 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5703         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5705         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5706         function.
5708         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5710         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5711         New function.
5712         (HWCAP_IMPORTANT): New definition.
5714 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5716         * elf/dl-open.c (_dl_open): Fix a typo.
5717         (_dl_global_scope_alloc): Make it static.
5719 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5721         * Makerules: Remove duplicate rules to handle stamp.oS.
5723 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5725         * manual/examples/inetsrv.c (main): Change prototype of
5726         make_socket following change in mkisock.c.
5728         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5729         example host.
5730         (main): Change prototype of init_sockaddr following change in
5731         isockadd.c.
5733         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5734         * manual/examples/isockad.c (init_sockaddr): Likewise.
5736         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5737         lines for clarification.
5738         (make_named_socket): Use strncpy instead of strcpy.
5739         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5741 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5743         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5744         determining libs to remove.
5745         (postclean): Add soversions.mk.
5746         * Makerules (common-mostlyclean): Add tests-static and generated
5747         files.
5749 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5751         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5752         scanning for \0.
5753         (__strncat_g): Add i686 specific code.
5755 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5757         * manual/install.texi (Reporting Bugs): Ask to include section
5758         names in reports.
5760 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5762         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5763         guard against direct inclusion.
5765 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5767         Rework support for libc_nonshared.a:
5768         * Makeconfig (object-suffixes-for-libc): New variable.
5769         * Rules: Remove handling of static-only and shared-only routines.
5770         * Makerules: Handle them here instead.  Use
5771         object-suffixes-for-libc instead of object-suffixes when dealing
5772         with libc objects.
5773         (object-suffixes-for-rules): Remove variable.
5774         (elide-routines.oS): Elide all routines except static-only
5775         routines.
5776         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5777         empty.
5778         (installed-libcs): Remove special case for .oS.
5779         (rmobjs): Likewise.
5781 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5783         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5784         do-tst-rpmatch): New targets.
5785         (test): Use them.
5786         (install-locales): Ignore comment lines.
5788 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5790         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5791         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5792         ($(objpfx)rtldtbl.h): Likewise.
5793         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5795 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5797         * manual/string.texi (Finding Tokens in a String): Extend strsep
5798         description and correct example.
5800 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5802         * manual/socket.texi: Remove misguided explicit line breaks and
5803         fix the formatting problem instead by reformulating the
5804         paragraphs.
5805         * manual/filesys.texi: Likewise.
5806         * manual/conf.texi: Likewise.  Don't typeset table with index
5807         fonts, that looks worse than a minimally overfull line.
5809 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5811         * nscd/Makefile (nscd-modules): Move definition outside of
5812         conditional.
5814         * pwd/Makefile: Use have-thread-library to test for thread
5815         library.
5817 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5819         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5821         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5823 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5825         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5827 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5829         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5831         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5832         Reported by Andreas Jaeger.
5834 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5836         * elf/Makefile: Fix typo.
5837         (distribute): Add dl-librecon.h.
5838         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5839         * elf/ldd.sh.in: Likewise.
5840         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5841         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5842         Use strsep correctly.
5843         (process_envvars): Allow platform specific variables.
5844         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5845         (_dl_load_cache_lookup): Test cache IDs found against
5846         _dl_correct_cache_id.
5847         * sysdeps/generic/dl-librecon.h: New file.
5848         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5850         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5852 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5854         * config.make.in (ldd-rewrite-script): New variable.
5855         * configure.in: Substitute ldd-rewrite-script.
5856         * elf/Makefile: Rewrite rules to generate ldd script.
5857         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5858         * elf/ldd.sh.in: Likewise.
5859         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5860         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5861         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5862         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5863         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5865 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5867         * inet/rcmd.c (iruserok): Remain setuid to the local user
5868         while .rhosts is actually read, to make .rhosts-over-NFS work
5869         (PR libc/524).  Use iruserfopen() for security checks on both
5870         hosts.equiv and .rhosts.  General cleanup.
5871         (iruserfopen): New function, performs careful checking on
5872         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5873         stuff plus hard links to files.
5875 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5877         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5879         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5881 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5883         * sysdeps/i386/i486/bits/string.h: Fix typos.
5885 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5887         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5888         strong alias.
5890         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5892         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5893         Added.  Used by libm.so on alpha.
5895 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5897         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5898         defined.
5900 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5902         * Makerules (object-suffixes-for-rules): Add .oS only for
5903         building shared library.
5904         Add ranlib rule for nonshared library.
5905         (rmobjs): Fix typo.
5907         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5908         into for shared library only.
5909         (CPPFLAGS-.oS): Add -DPIC.
5910         (libtypes): Use $(object-suffixes-for-rules) instead of
5911         $(object-suffixes).
5913 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5915         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5916         and install lddlibc4.
5918 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5920         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5921         hash.
5922         * iconvdata/gaptab.pl: Likewise.
5924 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5926         * Rules: Allow Makefiles to specify test-static for tests which
5927         cannot be linked dynamically.
5928         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5929         tests-static.
5931         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5933         * misc/error.c: Pretty print.
5935 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5937         * Makerules (libc_nonshared-name): Remove variable.
5938         (installed-libcs): Use libc-name instead.
5939         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5940         dynamic linker.
5942         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5943         libc.a.  Remove explicit reference to dynamic linker.
5945 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5947         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5948         to wchar_t.
5949         * iconv/iconv_prog.c: Correctly test for write failure.
5950         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5951         * iconvdata/gconv-modules: Likewise.
5952         * iconvdata/euckr.c: New file.
5953         * iconvdata/johab.c: New file.
5954         * iconvdata/ksc5601.c: New file.
5955         * iconvdata/ksc5601.h: New file.
5956         * iconvdata/uhc.c: New file.
5957         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5959         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5960         * stdio/fopen.c: Correct handling of 'x' flag.
5961         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5963 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5965         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5966         * sunrpc/rpcsvc/key_prot.x: Likewise.
5967         * sunrpc/key_prot.c: Likewise.
5969 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5971         * sysdeps/i386/bits/string.h: Correct things which never worked.
5972         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5973         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5975 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5977         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5978         defined.  Reported by Thorsten Kukuk.
5980 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5982         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5984 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5986         * manual/install.texi (Supported Configurations): Add
5987         arm-linuxaout and arm-none.
5989 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5991         * version.h (VERSION): Bump to 2.0.93.
5993 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5995         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5997         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5999         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
6000         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
6002 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6004         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
6006 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6008         Put the static-only routines in a separate library.
6009         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
6010         variables.
6011         (all-object-suffixes): Add .oS.
6012         * Makerules (libc_static-name): New variable.
6013         (installed-libcs): Add libc_nonshared.a.
6014         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
6015         (object-suffixes-for-rules): New variable.  Use it instead of
6016         object-suffixes for generating compilation rules.
6017         (rmobjs): Also remove *.oS.
6018         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
6019         ($(objpfx)stamp.oS): New target.
6021 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
6023         * Makefile (FAQ): Automatically check in regenerated FAQ.
6025 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6027         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
6029 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6031         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
6032         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
6034         * sysdeps/generic/stub_warning: Removed.
6036         * Makefile (distribute): Add include/des.h.
6038         * manual/Makefile (distribute): Change dir-add.texi to
6039         dir-add.texinfo.
6041         * glibcbug.in: Create files safely when mktemp is not available.
6043         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6044         Patch by a sun <asun@saul1.u.washington.edu>.
6046 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6048         * libc.map: Rename getname to getnetname.
6050 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6052         * manual/maint.texi: Use supported platform in examples.
6054         * manual/install.texi: Document some installation tips.
6056 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6058         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6059         Fix a bug so that it returns an error if a numeric parameter is
6060         unset and WRDE_UNDEF is set.
6061         Patch by Andreas Schwab and Tim Waugh.
6062         * posix/wordexp-test.c: Add new new test.
6064 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6066         * posix/regex.c (regex_compile): Last patch wasn't entirely
6067         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6069 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6071         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6073 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6075         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6076         clobbered registers don't appear as operands.
6078 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6080         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6081         Solaris' sake.
6083         * posix/regex.c (regex_compile): Don't allow non-alphabet
6084         characters in character set name.
6086 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6088         * posix/wordexp.c (w_newword): New function.
6089         (do_parse_glob): New function.
6090         (parse_glob): Use do_parse_glob.  Now handles the case where a
6091         variable expansion causes a field-split.
6092         (wordexp): Use w_newword.
6093         (parse_arith): Likewise.
6094         (exec_comm): Likewise.
6095         (parse_comm): Likewise.
6096         (parse_param): Likewise.
6097         (parse_backtick): Likewise.
6099 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6101         * posix/wordexp-tst.sh: Another test.
6103         * posix/wordexp-test.c: Two new tests.
6105         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6106         directly (the code using realloc was buggy).
6107         (parse_param): Fix typo in comment.
6109 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6111         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6113 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6115         * libc.map: Add more rpc auth functions/variables.
6117         * nscd/nscd.c: Add -g option to argp options.
6119 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6121         * configure.in: Be prepared for gcc 2.9.10 and up.
6122         * configure.in: Add missing disabling of quote characters in
6123         compiler version check.  Reported by HJ Lu.
6125 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6127         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6129 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6131         * intl/locale.alias: Fix spelling of romanian.
6133         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6134         (distribute): Remove des.h.
6135         * include/des.h: New file.
6136         * sunrpc/des.h: Moved to ...
6137         * sunrpc/rpc/rpc_des.h: ...here.
6139 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6141         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6142         Fix paren.
6144 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6146         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6147         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6149 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6151         * elf/ldsodesf.h: New file.
6152         * elf/Makefile (distribute): Add ldsodefs.h.
6153         * elf/link.h: Separate internal information in exter header.
6154         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6155         * elf/dl-minimal.c: Likewise.
6156         * sysdeps/generic/dl-sysdep.c: Likewise.
6157         * elf/sprof.c: Likewise.
6158         * elf/dlsym.c: Likewise.
6159         * elf/dlvsym.c: Likewise.
6160         * elf/dlerror.c: Likewise.
6161         * elf/dladdr.c: Likewise.
6162         * elf/dlclose.c: Likewise.
6163         * elf/dlopen.c: Likewise.
6164         * elf/dl-addr.c: Likewise.
6165         * elf/dl-close.c: Likewise.
6166         * elf/dl-debug.c: Likewise.
6167         * elf/dl-deps.c: Likewise.
6168         * elf/dl-error.c: Likewise.
6169         * elf/dl-fini.c: Likewise.
6170         * elf/dl-init.c: Likewise.
6171         * elf/dl-load.c: Likewise.
6172         * elf/dl-lookup.c: Likewise.
6173         * elf/dl-object.c: Likewise.
6174         * elf/dl-open.c: Likewise.
6175         * elf/dl-profile.c: Likewise.
6176         * elf/dl-reloc.c: Likewise.
6177         * elf/dl-runtime.c: Likewise.
6178         * elf/dl-support.c: Likewise.
6179         * elf/dl-symbol.c: Likewise.
6180         * elf/dl-version.c: Likewise.
6181         * sysdeps/generic/dl-cache.c: Likewise.
6182         * sysdeps/generic/libc-start.c: Likewise.
6183         * iconv/gconv_dl.c: Likewise.
6184         * nss/nsswitch.c: Likewise.
6186 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6188         * manual/nss.texi: The database is not called network but networks.
6189         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6191 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6193         * configure.in: Correct test for compiler version.
6194         Check that LD_LIBRARY_PATH doesn't contain current path.
6196 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6198         * elf/dl-close.c (_dl_close): Fix byte count while removing
6199         the shared object from the global scope list and optimize
6200         a little bit.
6202 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6204         * manual/filesys.texi (Scanning Directory Content): Add missing
6205         closing brace.
6206         (Scanning Directory Content): Fix text.
6208 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6210         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6211         explaining difference of -lmcheck and MALLOC_CHECK_.
6213 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6215         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6216         typos in comments.
6218 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6220         * test-skeleton.c (main): Fix test for exit signal.
6222 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6224         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6226 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6228         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6229         appropriate.
6231 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6233         * libc.map: Export __strtok_r.
6235 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6237         * posix/regex.c (re_compile_fastmap): Remove unused variable
6238         num_regs and adjust comment.
6239         Patch by Jim Meyering <meyering@ascend.com>.
6241         * math/math.h (M_*l): Extend long double constants to be usable
6242         for 128 bit floats.  Patch by Richard Henderson.
6244 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6246         * sysdeps/m68k/m68020/wordcopy.S: New file.
6248 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6250         * posix/wordexp.c: Rewrite parse_param.
6251         Patch by Tim Waugh and Andreas Schwab.
6253 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6255         * Rules: Update timestamps on empty object files.
6257 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6259         * manual/filesys.texi (Scanning Directory Content): Add description
6260         of 64 bits scandir function and friends.
6262 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6264         * glibcbug.in: Use mktemp to generate unique file name for
6265         temporary files.
6267         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6268         ptsname_r.  Use cast for execve call.
6270 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6272         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6273         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6274         * io/sys/statvfs.h: New file.
6275         * sysdeps/generic/fstatvfs.h: New file.
6276         * sysdeps/generic/statvfs.h: New file.
6277         * sysdeps/generic/fstatvfs64.h: New file.
6278         * sysdeps/generic/statvfs64.h: New file.
6279         * sysdeps/generic/bits/statvfs.h: New file.
6280         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6281         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6282         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6284         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6285         and f_ffree elements.
6287         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6288         mount options in enum.
6290 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6292         * configure.in: Check for recent egcs/gcc.
6294 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6296         * libc.map: Add alphasort64, scandir64, versionsort64.
6297         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6298         versionsort64.
6299         * dirent/alphasort64.c: New file.
6300         * dirent/scandir64.c: New file.
6301         * dirent/versionsort64.c: New file.
6302         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6303         versionsort.
6304         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6305         old name weak alias.
6306         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6308         * dirent/alphasort.c: Use strcoll instead of strcmp.
6310         * dirent/scandir.c: Optimize a bit.
6312         * dirent/versionsort.c: Pretty print.
6314 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6316         * string/string.h: Add prototype for __strtok_r.
6318 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6320         * posix/Makefile: Fix typo in last change.
6322 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6324         * dirent/dirent.h (scandir): Make argument of select function const.
6325         * dirent/scandir.c (scandir): Likewise.
6326         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6328 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6330         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6331         weak alias.
6332         * sysdeps/i386/strtok_r.c: Likewise.
6334         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6335         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6336         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6337         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6338         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6339         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6341 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6343         * intl/localealias.c: Remove unneeded define for strdup.
6345 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6347         * manual/argp.texi: Adjust for better TeX output.
6348         * manual/arith.texi: Likewise.
6349         * manual/conf.texi: Likewise.
6350         * manual/filesys.texi: Likewise.
6351         * manual/header.texi: Likewise.
6352         * manual/lgpl.texinfo: Likewise.
6353         * manual/math.texi: Likewise.
6354         * manual/message.texi: Likewise.
6355         * manual/pattern.texi: Likewise.
6356         * manual/process.texi: Likewise.
6357         * manual/signal.texi: Likewise.
6358         * manual/socket.texi: Likewise.
6359         * manual/startup.texi: Likewise.
6360         * manual/stdio.texi: Likewise.
6361         * manual/terminal.texi: Likewise.
6362         * manual/examples/rprintf.c: Likewise.
6363         * manual/examples/testopt.c: Likewise.
6364         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6366 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6368         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6369         parameter name after seeing a digit if it's enclosed in braces.
6371 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6373         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6375 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6377         * manual/memory.texi (Heap Consistency Checking): Document
6378         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6380 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6382         * manual/Makefile: Add missing rules.
6384 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6386         * timezone/Makefile (generated): Define to remove all stamp files.
6388         * sysdeps/generic/strsep.c: Also undefine __strsep.
6390         * string/strdup.c: Undefine __strdup and strdup first.
6391         * string/strndup.c: Likewise.
6393         * string/bits/string2.h: Correct strtok_r and strsep.
6394         Add strndup optimization.
6396         * sysdeps/generic/strsep.c: Little optimization.
6398 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6400         * string/bits/string2.h: Add optimization for strdup.
6401         Always define __strsep and __strtok_r and make real names available
6402         when feature select macros are defined.
6404 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6406         * manual/install.texi (Installation): Use i486-linux as example
6407         instead of the unsupported sunos4.
6408         (Reporting Bugs): Mention glibcbug script.
6409         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6411 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6413         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6415         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6417 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6419         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6420         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6422         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6423         netpacket/packet.h.
6425         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6427 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6429         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6430         in enumerator for strict standard compliance.
6431         * sysdeps/generic/bits/resource.h: Likewise.
6433 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6435         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6436         (PLTJMP): New macro.
6438         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6439         longjmp() when floating point enabled.
6440         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6441         * sysdeps/arm/__longjmp.S: Remove floating point code.
6442         * sysdeps/arm/setjmp.S: Likewise.
6444         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6445         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6447         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6448         memset().
6450         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6451         prototype.
6453 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6455         Based on patches from Pat Beirne and Scott Bambrough:
6457         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6459         * sysdeps/arm/bits/fenv.h: New file.
6461         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6462         * sysdeps/arm/elf/setjmp.S: Likewise.
6463         * sysdeps/arm/elf/start.S: Likewise.
6464         * sysdeps/arm/init-first.c: Likewise.
6465         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6466         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6467         comment about floating point to reflect current reality.
6469         * sysdeps/unix/arm/brk.S: Support PIC.
6470         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6471         re-entrant code.
6472         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6473         return; call syscall_error through PLT.
6474         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6476 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6478         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6479         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6482 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6484         * dirent/list.c (test): Return error value.
6485         (main): Exit with error value.
6487         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6489         * Makefile (distribute): Add test-skeleton.c.
6490         * test-skeleton.c: New file.
6491         * dirent/Makefile (tests): Add opendir-tst1.
6492         * dirent/opendir-tst1.c: New file.
6494 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6496         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6497         Optimize memory handling.
6498         * sysdeps/unix/closedir.c: Optmize memory handling.
6500 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6502         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6503         handling.  Optimize a bit.
6505 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6507         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6508         (parse_param): Fold in Andreas' fixes to do with when the end of
6509         the parameter name has been reached, and quoting inside ${...}.
6510         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6511         $((echo);(ls)).
6513 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6515         * manual/maint.texi: Split out installation and contribution
6516         sections to their own appendices.  Misc cleanups.
6517         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6518         * manual/contrib.texi: New file.
6519         * manual/libc.texinfo: Pull in new appendices.
6520         * manual/header.texi: Correct node pointer.
6522 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6524         * manual/process.texi (Process Completion): Clarify return value
6525         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6527 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6529         * posix/wordexp-test.c: Add more tests.
6530         (testit): Fix logic.
6532         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6533         /dev/null instead of closing it, close pipe.  Always chop off all
6534         trailing newlines.  Kill and reap child before returning error.
6535         (w_addword, parse_glob): Fix memory leak.
6536         (wordexp): Fix dangling pointer problem.
6538 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6540         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6542         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6544         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6545         directory index by only the language.
6547 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6549         * posix/wordexp-tst.sh: Store test results in the
6550         ${common_objpfx}posix directory.
6552         * posix/wordexp-test.c: Remove temporary directory afterwards.
6554 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6556         * libc.map: Export internal versions of cancelable functions.
6558 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6560         * Makerules (MAKEFLAGS): Append `r'.
6562 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6564         * Makeconfig: Define have-thread-library, shared-thread-library
6565         and static-thread-library if a thread library is available.  Don't
6566         define rt.
6567         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6568         nscd-routines to nscd-modules.  Use shared-thread-library and
6569         static-thread-library in dependencies.
6570         * rt/Makefile: Only compile librt if have-thread-library is
6571         defined.
6572         * Makefile (subdirs): Always include rt subdir.
6574 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6576         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6578 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6580         * configure.in: Recognize variations for 32 MIPS processors.
6581         Don't assume ELF systems always have .weak, test for .weakext.
6583 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6585         * configure.in: Irix6 is an ELF platform.
6587 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6589         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6590         unmapping the last loaded segment.
6592 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6594         * configure.in: Set base_os for Irix6.
6595         Correct test for .weakext.
6597 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6599         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6600         (new_line) to _dl_debug_message call.
6602 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6604         * posix/wordexp.c (parse_param): Perform field-splitting after
6605         expanding positional parameter.
6607         * posix/wordexp-tst.sh: Test that field-splitting is performed
6608         after expanding positional parameter.
6610         * posix/wordexp.c (parse_param): Fixed memory leak in
6611         field-splitting after parameter expansion.
6613 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6615         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6616         (get_toplvl_escape): Correctly terminate loop at EOF.
6617         Patch by Cristian Gafton <gafton@redhat.com>.
6619 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6621         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6622         (test_strsep): Likewise.  Correct horrible bugs.
6624         * string/bits/string2.h (strcspn): Optimize also reject string of
6625         length 2 and 3.
6626         (strspn): Likewise.
6627         (strpbrk): Likewise.
6628         (strsep): Likewise.  Correct bug with successive separators and
6629         separators at the end of the string.
6630         * sysdeps/generic/strsep.c: Correct bug with successive separators
6631         and separators at the end of the string.
6633 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6635         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6636         etc) now handled, as well as $$ (pid).
6638         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6639         (distribute): Add wordexp-tst.sh.
6641         * posix/wordexp-tst.sh: New file.
6643         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6644         number of positional parameters.  Renamed substitute_length to
6645         seen_hash.
6646         Don't free(env) is env is NULL.
6648 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6650         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6652 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6654         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6655         for output file replacing gmon.out.
6656         Patch by Dean Gaudet <dgaudet@arctic.org>.
6658 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6660         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6661         up namespace.  Optimize finding end of line.
6663 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6665         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6666         securely.  Optimized.
6667         (process_dl_debug): Add ':' to list of separators.  Optimized.
6669 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6671         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6672         isless, islessequal, islessgreater, isunordered): Return zero or
6673         one.
6675 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6677         * posix/wordexp-test.c: More tests.
6678         (main): Set up arena for pathname expansion tests (in a temporary
6679         directory).
6680         (testit): Don't check word count or word vector if return value is
6681         non-zero.
6683         * posix/wordexp.c (exec_comm): Always chop off terminating
6684         linefeed (just like bash does).
6685         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6686         (!env || !*env)".
6687         (parse_param): For assignment inside parameter expansion, use all
6688         expanded words in assignment rather than just the first.
6689         (parse_param): Corrected return value for parameter expansion of
6690         an unset variable when WRDE_UNDEF is in effect.
6691         (parse_dollars): Don't field-split if quoted.
6692         (wordexp): Opening brace character isn't allowed unquoted.
6694 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6696         * elf/dlerror.c: Fix concurrency problems with error string and
6697         number.
6699         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6700         filter/auxiliary are being loaded.
6702 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6704         * elf/dlerror.c (last_object_name): Removed.
6705         (dlerror): Don't use last_object_name.
6706         (_dl_error_run): Omit second argument to _dl_catch_error.
6707         * elf/dl-error.c (struct catch): Remove objname member.
6708         (_dl_signal_error): Construct string including objname when given.
6709         (_dl_catch_error): Remove objname handling.
6710         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6711         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6712         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6713         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6714         * iconv/gconv_dl.c (dlerror_run): Likewise.
6715         [Corrects PR libc/501].
6717 1998-03-12  Matthias Urlichs <smurf@noris.de>
6719         * nscd/nscd.c: Ignore SIGPIPE.
6721 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6723         * nscd/nscd_getgr_r.c: Use __ protected names.
6724         * nscd/nscd_getpw_r.c: Likewise.
6726 1998-03-12  Matthias Urlichs <smurf@noris.de>
6728         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6729         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6730         null bytes are not transmitted.
6732 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6734         * powerpc/syscalls.list: Correct typo.
6735         * alpha/syscalls.list: Likewise.
6736         * mips/syscalls.list: Likewise.
6738 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6740         * socket/sys/socket.h: Add prototype for __socket.
6742 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6744         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6746         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6747         constants.
6749         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6750         definition here.
6751         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6752         definition here.
6754         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6755         AF_* and PF_* constants.
6757         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6759 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6761         * elf/rtld.c: Update help message.
6762         Install link maps for preloaded objects using main_map as loader.
6764         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6765         * elf/dl-profile.c: Likewise.
6767         * elf/dlsym.c: Little optimization.
6768         * elf/dlvsym.c: Likewise.
6770 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6772         * posix/wordexp-test.c: Move test for parameter list at the very
6773         beginning.
6775 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6777         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6778         WRDE_REUSE flag is set.
6779         (parse_param): Allow `*', `@', and numbers in parameter names.
6780         (parse_dollars): Differentiate between arithmetic expansion and a
6781         command substitution that starts immediately with a sub-shell
6782         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6783         (parse_param): Memory allocated with __alloca in a block was
6784         referenced outside that block.  Adjusted to use malloc/free.
6785         (parse_param): Adjusted field-splitting algorithm so that there is
6786         not necessarily a field split at the end of a parameter expansion.
6788 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6790         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6791         don't free words that have already been allocated.
6792         (parse_param): A dollar sign on its own will never have a pattern
6793         associated with it (like "${HOME%%/}" has), so don't try to free it.
6794         (parse_glob): Attempt to glob when an unquoted `[' is found
6795         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6796         (parse_glob): Sorted out quoting in a glob-able word.
6797         (parse_param): Added $* and $@ handling.
6799 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6801         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6802         parsing it.
6804 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6806         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6807         _dl_debug_message.
6809 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6811         * elf/dl-misc.c: Default for debug output should be stderr.
6812         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6813         * elf/dl-lookup.c: reference_name may be NULL or empty.
6815 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6817         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6819 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6821         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6823         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6825 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6827         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6830 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6832         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6833         init stuff.
6835 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6837         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6838         flag.
6840         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6841         syslog daemon.
6842         (closelog_internal): Don't do anything if not connected.
6844 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6846         * libc.map: Add _dl_debug_message.
6847         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6848         before every line.
6849         * elf/fini.c: Correctly use new _dl_debug_message function.
6850         * elf/init.c: Likewise.
6851         * elf/dl-lookup.c: Likewise.
6852         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6853         * elf/dl-load.c: Likewise.  Add more debugging prints.
6854         * elf/dl-reloc.c: Likewise.
6855         * elf/dl-version.c: Likewise.
6856         * elf/dl-support.c: Add variables for debugging.
6857         * elf/rtld.c: Likewise.  Recognize new debug options.
6858         * elf/link.h: Declare new variables.
6860         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6862 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6864         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6865         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6867 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6869         * posix/wordexp-test.c (command_line_test): New function to allow
6870         testing of specific cases from the command-line.
6872 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6874         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6875         * elf/dl-fini.c (_dl_fini): Likewise.
6876         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6878         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6879         symbol in debug message.
6880         (_dl_lookup_versioned_symbol_skip): Likewise.
6882 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6884         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6885         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6886         * manual/filesys/texi: Document this.
6888 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6890         * manual/filesys.texi: Document the change below.
6892 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6894         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6895         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6897 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6899         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6900         instead scope.  If debugging display information about symbol
6901         resolving.
6902         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6903         (_dl_lookup_symbol_skip): Likewise.
6904         (_dl_lookup_versioned_symbol): Likewise.
6905         (_dl_lookup_versioned_symbol_skip): Likewise.
6906         * elf/dl-support.c: Define _dl_debug_symbols.
6907         * elf/link.h: Add declaration for _dl_debug_symbols.
6908         * elf/rtld.c: Define _dl_debug_symbols.
6909         (process_dl_debug): Recognize symbols option.
6911 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6913         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6914         in correct format.
6915         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6916         with correct parameters.
6917         [!PIC]: Initialize __libc_multiple_libcs.
6919 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6921         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6922         * elf/rtld.c (_dl_debug_bindings): Add definition.
6923         (process_dl_debug): Recognize bindings option.  Update help message.
6924         * elf/link.h (struct link_map): Add l_versyms member.
6925         (_dl_debug_bindings): Add declaration.
6926         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6927         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6928         and l_reloc_result.
6929         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6930         (sym_val): Remove a member, add m as link_map.
6931         (do_lookup): Return result appropriately.
6932         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6933         Call do_lookup correctly.
6934         (_dl_lookup_symbol_skip): Likewise.
6935         (_dl_lookup_versioned_symbol): Likewise.
6936         (_dl_lookup_versioned_symbol_skip): Likewise.
6938 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6940         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6941         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6943         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6944         * libc.map: Add chown to GLIBC_2.1.
6945         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6946         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6948 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6950         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6951         weak alias.
6952         * sysdeps/alpha/ffs.c: Likewise.
6953         * sysdeps/am29k/ffs.c: Likewise.
6954         * sysdeps/i386/ffs.c: Likewise.
6955         * sysdeps/i960/ffs.c: Likewise.
6956         * sysdeps/m68k/ffs.c: Likewise.
6957         * sysdeps/m88k/ffs.c: Likewise.
6958         * sysdeps/powerpc/ffs.c: Likewise.
6959         * sysdeps/rs6000/ffs.c: Likewise.
6960         * sysdeps/vax/ffs.s: Likewise.
6961         * string/string.h: Declare __ffs.
6962         * libc.map: Export it.
6963         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6964         __builtin_ffs, which is not guaranteed to be namespace clean.
6966 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6968         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6969         table, which is much more likely to exist than debugging symbols.
6970         (printsym): Remove const.
6971         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6972         header table.
6974         * libc.map: Export __profile_frequency, used by elf/sprof, to
6975         avoid infinite recursion during startup.
6977 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6979         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6980         Readd lost negate.
6982         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6984 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6986         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6988 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6990         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6991         LD_PRELOAD, and LD_VERBOSE.
6992         (dl_main): Use global variables set by process_envvars instead of
6993         calling getenv.
6994         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6995         LD_LIBRARY_PATH value, this comes with the parameter.
6996         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6997         ("LD_LIBRARY_PATH") to _dl_init_paths.
6999 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
7001         * elf/rtld.c (dl_main): Delay initialization of path structure if
7002         the dynamically linker is invoked implicitly until we read the
7003         dynamic section.
7005 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
7007         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
7009 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7011         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
7012         Linux 2.0 and 2.1.
7014         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
7016 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
7018         * Makeconfig (nisobjdir): Set to path to nis directory.
7019         (rpath-link): Add nisobjdir.
7020         Patch by Sven Verdoolaege <skimo@kotnet.org>.
7022         * elf/Makefile: Pretty print.
7023         * elf/dl-lookup.c: Include unistd.h.
7024         * elf/dl-runtime.c: Likewise.
7026         * localedata/Makefile (test-srcs): Add tst-rpmatch.
7027         (distribute): Add tst-rpmatch.sh.
7028         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
7030         New tests for rpmatch function by
7031         Jochen Hein <jochen.hein@delphi.central.de>.
7032         * localedata/tst-rpmatch.c: New file.
7033         * localedata/tst-rpmatch.sh: New file.
7035         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7036         * localedata/locales/de_AT: Likewise.
7038         * posix/getopt.c: Update contact address.
7039         * posix/getopt1.c: Pretty print.
7041         * sysdeps/generic/libc-start.c: Do most of the initialization now
7042         here instead of in start.S.
7043         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7044         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7046         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7047         profil_counter to be public.
7049 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7051         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7052         (parse_param): Coded parameter length expansion (${#var}).
7053         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7054         (parse_param): Cleaned up (fixed) error handling.
7056         * posix/wordexp-test.c: IFS now includes non-whitespace character
7057         (comma).  Added more tests.
7059 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7061         * elf/link.h: Fix typos.
7062         Reported by Andreas Jaeger.
7064         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7065         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7067 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7069         * argp/argp-help.c: Remove last bits of using gettext instead of
7070         dgettext.
7072 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7074         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7075         __libc_start_main.
7076         * csu/Makefile (routines): Add libc-start.
7077         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7078         * elf/dl-lookup.c: Likewise.
7079         * elf/dl-version.c: Likewise.
7080         * sysdeps/i386/dl-machine.h: Likewise.
7081         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7082         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7083         _dl_sysdep_message macros which use _dl_sysdep_output.
7084         * elf/dl-fini.c: Write out which destructor is called while debugging.
7085         * elf/dl-init.c: Likewise for constructor.
7086         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7087         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7088         _dl_sysdep_message.  Add _dl_sysdep_output.
7089         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7090         this file can be opened.
7091         For LD_DEBUG=libs also set _dl_debug_impcalls.
7092         * sysdeps/generic/dl-cache.c: Include unistd.h.
7093         * sysdeps/generic/libc-start.c: New file.
7094         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7095         * sysdeps/i386/elf/start.S: Don't call main directly, call
7096         __libc_start_main instead.
7098         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7100 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7102         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7104 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7106         * argp/argp.h (struct argp): Add new field domain.
7107         * argp/argp-help.c: Change all gettext calls to dgettext and use
7108         domain field from appropriate argp in call.
7109         * argp/argp-parse.c: Likewise.
7111 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7113         * posix/wordexp-test.c: Change testsuite so that it can run even
7114         for ~root != /root.
7116 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7118         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7120 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7122         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7123         Don't store into global errno if we already store through
7124         __errno_location.
7125         * sysdeps/unix/i386/sysdep.S: Likewise.
7126         * sysdeps/unix/alpha/sysdep.S: Likewise.
7127         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7128         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7130         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7131         PIC).
7133 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7135         * sysdeps/generic/sysdep.h (L): Remove definition.
7136         * sysdeps/i386/sysdep.h (L): Define it here instead.
7138 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7140         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7142         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7144 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7146         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7147         declaration style to avoid warnings.
7149 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7151         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7152         "LD_DEBUG".
7154 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7156         * posix/Makefile (tests): Add wordexp-test.
7157         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7158         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7160 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7162         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7163         dependencies.
7165         * elf/link.h (struct r_search_path_elem): Add two new field for
7166         lib path debugging.
7167         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7168         variable accordingly.
7169         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7170         is considered next along with information about load paths.
7171         * sysdeps/generic/dl-cache.c: Likewise.
7172         * elf/dl-support.c: Define _dl_debug_libs.
7173         * elf/genrtldtbl.awk: Add initializers for two new field in
7174         struct r_search_path_elem.
7176 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7178         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7179         * sysdeps/m68k/lshift.S: Likewise.
7180         * sysdeps/m68k/rshift.S: Likewise.
7181         * sysdeps/m68k/sub_n.S: Likewise.
7182         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7183         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7184         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7186         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7187         [_LIBC_REENTRANT]: Don't store into global errno.
7189         * sysdeps/m68k/sysdep.h: New file.
7190         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7191         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7192         (DO_CALL): Change to expect syscall name as argument.
7193         (PSEUDO): Pass syscall_name to DO_CALL.
7194         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7195         errno.
7197 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7199         * elf/rtld.c: Speed up processing of environment variables.  Do
7200         only one run on the environment by avoiding to call getenv.
7201         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7202         function.  Used by patch above.
7204 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7206         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7207         running nscd.
7208         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7209         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7210         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7212 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7214         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7215         module cannot be found.  Reported by Andreas Jaeger.
7217 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7219         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7220         on platforms which default to unsigned chars.
7221         * nscd/nscd_getpw_r.c: Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7223         defining it.
7225 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7227         * elf/Makefile (install-bin): Change = to += for sprof to install
7228         ldd also.
7230 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7232         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7234 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7236         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7238 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7240         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7241         that a failure to connect to nscd doesn't change errno.
7243 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7245         * manual/maint.texi (Reporting Bugs): Change
7246         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7248         * locale/iso-4217.def: Likewise
7250 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7252         * manual/texinfo.tex: Updated.
7254 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7256         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7257         value.
7258         * sysdeps/posix/pathconf.c: Likewise.
7259         * posix/getconf.c: Print `undefined' if pathconf returns -1
7260         without setting errno.
7262 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7264         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7265         problem.
7266         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7267         Patches by Elliot Lee <sopwith@cuc.edu>.
7269 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7271         * elf/link.h (struct link_map): Add new field l_reloc_result.
7272         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7273         of relocation for the object to be profiled.
7274         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7275         to NULL.
7276         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7277         array here.
7278         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7279         contains a result from a previous run use this instead of computing
7280         the value again.
7281         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7283 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7285         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7286         offsets into the GOT.
7287         (RTLD_START): Likewise.
7289 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7291         * elf/sprof.c: Cleanup a bit.
7293 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7295         * sysdeps/generic/sysdep.h (L): New. Define.
7297         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7299         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7301         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7302         to have only one exit point for functions.
7303         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7304         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7305         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7306         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7307         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7309 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7311         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7312         reset errno so that errno isn't set to ENOSYS in the first call.
7313         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7314         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7315         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7316         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7318 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7320         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7321         * sysdeps/i386/addmul_1.S: Likewise.
7322         * sysdeps/i386/lshift.S: Likewise.
7323         * sysdeps/i386/mul_1.S: Likewise.
7324         * sysdeps/i386/rshift.S: Likewise.
7325         * sysdeps/i386/sub_n.S: Likewise.
7326         * sysdeps/i386/submul_1.S: Likewise.
7327         * sysdeps/i386/i586/add_n.S: Likewise.
7328         * sysdeps/i386/i586/addmul_1.S: Likewise.
7329         * sysdeps/i386/i586/lshift.S: Likewise.
7330         * sysdeps/i386/i586/mul_1.S: Likewise.
7331         * sysdeps/i386/i586/rshift.S: Likewise.
7332         * sysdeps/i386/i586/sub_n.S: Likewise.
7333         * sysdeps/i386/i586/submul_1.S: Likewise.
7335         * sysdeps/i386/sysdep.h: Extend last change.
7337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7338         to have only one exit point for functions.
7340 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7342         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7343         search.
7345 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7347         * Makerules: Generate libc.so with absolute paths for the used
7348         shared objects.
7350         * config.make.in: Add MAKEINFO definition.
7352 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7354         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7355         (ENTRY): Use STABS_FUN.
7356         (END): Use STABS_FUN_END.
7357         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7359         * elf/Makefile: Add rules to build sprof program.
7360         * elf/sprof.c: New file.
7362 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7364         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7366 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7368         * configure.in: Check for working msgfmt version (from GNU gettext
7369         0.10 or later).
7371 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7373         * configure.in: Avoid //s in sysdirs.
7374         Patch by Roland McGrath.
7376         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7378 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7380         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7381         setting _dl_global_scope for RTLD_GLOBAL.
7383 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7385         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7386         possible lists of object-suffixes are taken care of.
7388 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7390         * timezone/private.h: Update from tzcode1998c.
7391         * timezone/zic.c: Likewise.
7392         * timezone/antarctica: Updated from tzdata1998c.
7393         * timezone/asia: Likewise.
7394         * timezone/australasia: Likewise.
7395         * timezone/europe: Likewise.
7396         * timezone/southamerica: Likewise.
7398 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7400         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7401         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7403 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7405         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7406         Changed type of TWO43, TWO52 from float to double.
7407         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7408         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7409         Changed type of TWO43 from float to double.
7410         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7411         Use __isinff.
7413 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7415         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7416         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7417         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7419 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7421         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7422         kernel_termios.h.
7423         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7424         Clean up random whitespace.
7425         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7426         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7428         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7430 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7432         * shlib-versions: Match alpha*.
7433         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7434         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7436         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7437         Implement copysign* with and without __ prefix.
7438         Likewise for fabs; use builtin for gcc 2.8.
7439         (floor*): New.
7440         (fdim*): New.
7442         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7443         (R_SPARC*): Match current v9 ABI.
7445         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7447         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7448         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7449         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7450         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7451         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7452         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7453         * sysdeps/unix/grantpt.c (argv): Fix consts.
7454         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7455         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7457 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7459         * misc/syslog.c: Change to allow user the interpretation of the
7460         outcome even with syslog having no return value.
7462 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7464         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7465         that the number of program headers is >0 (which is wrong for the
7466         loader itself).
7468 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7470         * Makefile (distribute): Add README.libm.
7472 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7474         * time/clocktest.c (main): Correct typo: "--" -> "==".
7476 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7478         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7479         inline function.
7480         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7481         inline functions.
7483         * math/libm.map (__atan2): Added.
7485 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7487         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7488         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7490         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7491         bug.
7493 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7495         * manual/arith.texi (Old-style number conversion): Correct
7496         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7498 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7500         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7501         but does not require it.  Handle missing argv[] values gracefully.
7502         * posix/execl.c: Likewise.
7503         * posix/execle.c: Likewise.
7505 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7507         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7508         bit.
7509         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7511 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7513         * libc.map: Add __adjtimex.
7515 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7517         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7518         Remove memset.
7520 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7522         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7523         to 64.
7525         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7527         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7528         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7530         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7531         for shared library.
7533         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7535         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7536         Added adjtimex and old_adjtimex.
7538         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7539         New.
7540         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7541         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7543         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7544         symbols only for shared library.
7545         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7546         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7547         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7548         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7549         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7550         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7551         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7553         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7554         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7555         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7556         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7557         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7558         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7559         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7560         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7562         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7563         rusage pointer.
7565         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7566         New macros.
7567         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7568         timex and __adjtimex, respectively.
7570         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7572         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7574 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7576         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7577         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7579 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7581         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7583 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7585         * Makefile.in: Disable built-in rules.
7587 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7589         * sysdeps/i386/fpu/t_exp.c: Move to ...
7590         * sysdeps/libm-i387/t_exp.c: ... here.
7592 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7594         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7595         from __exp2_deltatable.
7597 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7599         * nis/ypclnt.c (yp_master): Check result of strdup.
7600         Patch by Thorsten Kukuk.
7602 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7604         * nis/ypclnt.c: Give clnt handle after error checking free, change
7605         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7607 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7609         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7610         Patch by Joe Keane <jgk@jgk.org>.
7612         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7613         * misc/fstab.c: Remove casts in fs_type assignments.
7615 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7617         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7618         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7619         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7620         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7621         * sysdeps/powerpc/bits/fenv.h: Likewise.
7622         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7623         * sysdeps/generic/bits/fenv.h: Likewise.
7624         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7625         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7626         * sysdeps/powerpc/test-arith.c (main): Likewise.
7628 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7630         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7631         the comparison macros.
7633 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7635         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7636         (__log2): Fixed return values.
7637         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7639 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7641         * math/math.h (isunordered): Rename local variables to ensure
7642         correct code.  Reported by HJ Lu.
7644 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7646         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7647         isless, islessequal, islessgreater, isunordered): Fix syntax for
7648         fucompip instruction.
7649         (isless, islessequal): Fix logic.
7651 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7653         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7654         (comparisons_test): New tests for comparison macros.
7656 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7658         * Makeconfig: Filter out frame-pointer effecting options when
7659         compiling profiling or debugging code.
7660         * config.h.in (internal_function): Don't define here if PROF is
7661         defined.
7662         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7663         state.
7664         (__monstartup): If calloc fails set error state and mark array as
7665         not allocated.
7666         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7667         to free array if not  successfully allocated.
7669         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7670         Include elf.h to get macro definitions.
7671         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7673 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7675         * elf/ldd.sh.in: Add compatibility for broken old shells.
7676         * elf/ldd.bash.in: Likewise.
7678 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7680         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7682         * time/clocktest.c (main): Check signal return error.
7684 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7686         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7687         "/" and use do-install-program. Reported by Mark M. Kettenis.
7688         (subdir_install):  Likewise.
7690 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7692         * sunrpc/rpc_sample.c: Fix typo.
7694         * nscd/connections.c: Use locale.
7695         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7696           calloc result.
7697         * nscd/nscd.c: Check if init functions fails.
7698         * nscd/nscd_conf.c: Allow disabling of group cache.
7699         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7700         * nscd/pwdcache.c: Fix debug messages.
7702 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7704         * libc.map: Add __monstartup and _mcleanup for profiling support.
7706 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7708         * libc.map: Export __getpagesize, for binary compatibility with
7709         2.0.
7711 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7713         * posix/globtest.sh: Use --library-path instead of
7714         LD_LIBRARY_PATH.
7715         * localedata/sort-test.sh: Likewise.
7716         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7718 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7720         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7721         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7722         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7724         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7725         kernel_sigaction): Define.
7726         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7727         kernel_sigaction): Define.
7729 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7731         * math/libm-test.c: Change epsilons for libm-ieee754.
7733 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7735         * sysdeps/i386/__longjmp.S: Fix race condition.
7736         Reported by Bruno Haible <haible@ilog.fr>.
7738 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7740         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7741         * iconvdata/8bit-gap.c: Likewise.
7742         * iconvdata/8bit-generic.c: Likewise.
7743         * iconvdata/iso6937.c: Likewise.
7744         * iconvdata/iso8859-1.c: Likewise.
7745         * iconvdata/sjis.c: Likewise.
7746         * iconvdata/t61.c: Likewise.
7748 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7750         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7751         feature tests by positive feature tests.
7753 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7755         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7757 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7759         * elf/dlvsym.c (dlvsym_doit): More corrections.
7760         Patch by Andreas Jaeger.
7762 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7764         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7766 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7768         * libc.map: More reordering for GLIBC_2.1 symbols.
7770 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7772         * libc.map: Move some functions from version GLIBC_2.0 to
7773         GLIBC_2.1, reorder declarations.
7775 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7777         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7778         Patch by zab@thebrain.grumblesmurf.net.
7780 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7782         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7783         NIS+ functions with version GLIBC_2.1.
7785 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7787         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7788         with 2.0 binaries.  Reported by Thorsten Kukuk.
7790 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7792         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7794         * elf/dlsym.c (dlsym_doit): Likewise.
7796 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7798         * elf/link.h: Correct typos.
7800         * iconv/iconv_prog.c: Correct typo.
7802 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7804         * iconv/Makefile: Add rules to build and install iconv program.
7805         * iconv/iconv_prog.c: New file.
7807 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7809         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7810         _dl_lookup_symbol_skip call.
7811         * elf/dlvsym.c (dlvsym_doit): Likewise.
7813 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7815         * libio/iovsscanf.c: Do not include errno.h.
7817 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7819         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7820         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7821         pulling in the whole error list.
7822         (__dcgettext, dcgettext): Removed.
7823         * libc.map: Export _strerror_internal.
7825 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7827         * sysdeps/i386/fpu/t_exp.c: New file.
7829 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7831         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7832         everything with version GLIBC_2.1.
7833         * hesiod/libnss_hesiod.map: Likewise.
7835 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7837         * manual/arith.texi (Old-style number conversion): This node is a
7838         section, not a subsection.
7840 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7842         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7844 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7846         * elf/rtld.c (dl_main): Make sure that the library search paths
7847         have been initialized before the first call to _dl_map_object.
7849 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7851         * Makerules (common-generated): Add libc_pic.os.
7853 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7855         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7856         of the executable.
7858 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7860         * sysdeps/m68k/fpu/t_exp.c: New file.
7862 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7864         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7865         to global errno variable anymore.
7867 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7869         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7870         If PRELOADED is nonzero check in case of an SUID application
7871         whether the shared object has the SUID bit set.
7872         Fix some other problems with handling shared objects in system
7873         specific directories.
7874         (_dl_map_object): Also take extra parameter and pass it to open_path.
7875         * elf/link.h (_dl_map_object): Correct prototype and comment.
7876         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7877         * elf/dl-open.c (_dl_open): Likewise.
7878         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7880         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7882 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7884         * math/libm-test.c (modf_test): Add test for 1.5.
7886         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7887         0 to get always an int.
7889 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7891         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7892         version GLIBC_2.1.
7894 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7896         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7897         trying to read another character.
7899 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7901         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7902         name to lowercase.
7904         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7905         name to lowercase, add test for big enough buffer.
7907 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7909         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7910         Make compatible with older kernels.  Patch by Richard Henderson.
7912 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7914         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7916         * localedata/tst-locale.sh: Comment out first test for now.
7918 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7920         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7921         as 1.
7922         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7923         Likewise.
7925         * libio/iogetline.c (_IO_getline_info): Renamed from
7926         _IO_getline.
7927         (_IO_getline): Just call _IO_getline_info.
7929         * libio/libioP.h (_IO_getline_info): New declaration.
7931         * libc.map (_IO_getline_info, __write): Added.
7933 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7935         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7936         const char* to shut up gcc.
7938 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7940         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7941         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7943         * math/math.h: Define M_* constants always as `double' and add new
7944         macros M_*l which are of type `long double'.
7945         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7946         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7947         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7948         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7949         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7950         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7951         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7952         * math/libm-tst.c: Likewise.
7954         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7955         define as long double unconditionally.
7957 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7959         * manual/arith.texi (Old-style number conversion): Correct some
7960         typos.
7962 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7964         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7965         Restore.
7967         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7969 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7971         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7972         on $(rtld-ldscript).
7974         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7975         starting from 0 not only from `from'.
7976         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7978 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7980         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7981         pass value (or NULL) to _dl_init_paths.
7982         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7983         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7984         environment variable.
7985         * elf/link.h: Change prototype for _dl_init_paths.
7986         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7988         * localedata/Makefile (distribute): Add test files.
7990 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7992         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7993         test1.def, test2.def, test3.def, test4.def}: Simple input files
7994         for localedef. Contributed by Yung-Ching Hsiao
7995         <yhsiao@cae.wisc.edu>.
7997         * localedata/Makefile (tests): Call tst-locale.sh.
7999         * localedata/tst-locale.sh: New file, regression tests for some
8000         localedef problems.
8002 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8004         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
8006         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
8007         terminated.
8008         * nis/nss_nisplus/nisplus-network.c: Likewise.
8009         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8010         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8011         * nis/nss_nisplus/nisplus-service.c: Likewise.
8013         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
8014         and support generating thread safe RPC code.
8015         * sunrpc/rpc_main.c: Add changes.
8016         * sunrpc/rpc_clntout.c: Likewise.
8017         * sunrpc/rpc_cout.c: Likewise.
8018         * sunrpc/rpc_hout.c: Likewise.
8019         * sunrpc/rpc_parse.c: Likewise.
8020         * sunrpc/rpc_sample.c: Likewise.
8021         * sunrpc/rpc_scan.c: Likewise.
8022         * sunrpc/rpc_svcout.c: Likewise.
8023         * sunrpc/rpc_util.c: Likewise.
8024         * sunrpc/rpc_util.h: Add new structs and prototypes.
8025         * sunrpc/proto.h: Remove prototypes for static functions.
8027 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8029         * locale/programs/ld-messages.c (messages_finish): Don't skip
8030         error checking when being quiet.
8031         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
8032         (set_class_defaults): Likewise.
8033         * locale/programs/charmap.c (parse_charmap): Likewise.
8034         * locale/programs/ld-collate.c (collate_finish): Likewise.
8035         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8036         * locale/programs/ld-time.c (time_finish): Likewise.
8037         * locale/programs/locfile.c (write_locale_data): Likewise.
8039         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8040         unknown characters and empty ranges.
8041         * locale/programs/ld-collate.c (collate_order_elem): When
8042         processing an ellipsis properly form a linked list in the result
8043         table, fix typo when allocating ordering array.
8044         [PR libc/419]
8046 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8048         * elf/Makefile (ld-map): Define.
8049         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8050         `$(rtld-ldscript)'.
8051         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8052         on $(ld-map).
8053         (rtld-link): Combine the two versions of this definition.  Fixed
8054         to make it work when no symbol versioning is used.
8056 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8058         * Makeconfig (build-program-cmd): Use --library-path parameter to
8059         ld.so instead of environment variable.
8061         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8062         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8064 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8066         * Make-dist: Respect with-cvs setting.
8067         * MakeTAGS (all-pot): Likewise.
8068         * sysdeps/sparc/sparc32/Makefile: Likewise.
8069         * sysdeps/mach/hurd/Makefile: Likewise.
8070         * stdlib/Makefile: Likewise.
8071         * posix/Makefile: Likewise.
8072         * intl/Makefile: Likewise.
8073         * po/Makefile (linguas): Likewise
8075 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8077         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8079 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8081         * libc.map: Add __strcasecmp.
8083         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8084         module.
8086         * nss/getXXent_r.c: If no more module is found don't try to call
8087         setXXent functions but leave unsuccessfully.
8089         * malloc/obstack.h: Cleanups.
8091         * sysdeps/wordsize-32/stdint.h: New file.
8092         * sysdeps/wordsize-64/stdint.h: New file.
8093         * sysdeps/generic/stdint.h: New file.
8094         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8095         * sysdeps/wordsize-64/inttypes.h: Likewise.
8096         * stdlib/Makefile (headers): Add stdint.h.
8098 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8100         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8102 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8104         * timezone: New directory.
8105         * time/README, time/africa, time/antarctica, time/asia,
8106         time/australasia, time/backward, time/checktab.awk,
8107         time/etcetera, time/europe, time/factory, time/ialloc.c,
8108         time/iso3166.tab, time/leapseconds, time/northamerica,
8109         time/pacificnew, time/private.h, time/scheck.c,
8110         time/solar87, time/solar88, time/solar89, time/southamerica,
8111         time/systemv, time/test-tz.c, time/tzfile.h,
8112         time/tzselect.ksh, time/yearistype, time/zdump.c,
8113         time/zic.c, time/zone.tab: Moved to timezone.
8114         * time/tzfile.c: Include tzfile.h from timezone subdir.
8115         * time/tzset.c: Likewise.
8116         * time/Makefile: Cut out all code relating to timezones...
8117         * timezone/Makefile: ...and paste it in here.
8118         * Makefile (subdirs): Add timezone.
8120 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8122         * libc.map (_sys_nerr): Added.
8124         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8125         versioned symbol.
8127 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8129         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8130         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8131         Reported by Craig Metz <cmetz@inner.net>.
8133 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8135         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8136         instead of strcasecmp.
8137         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8139         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8141 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8143         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8144         Patch by Dean Gaudet <dgaudet@arctic.org>.
8146 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8148         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8150 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8152         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8153         with no poll syscall, just include the BSD version.
8154         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8155         kernel without the syscall, include the stub version.
8156         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8157         * sysdeps/generic/getresuid.c: New file.
8158         * sysdeps/generic/getresgid.c: New file.
8160 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8162         * stdio-common/vfscanf.c: Correct last change a bit.
8164 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8166         * elf/Makefile: Don't use --version-script parameter to link ld.so
8167         unconditionally.
8169 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8171         * math/Makefile: Add t_exp.
8172         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8173         constants.
8174         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8175         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8176         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8177         better accuracy.
8178         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8179         algorithm for very large/very small arguments.
8180         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8181         correct algorithm for very large/very small arguments; adjust for
8182         new table.
8183         * sysdeps/libm-ieee754/t_exp.c: New file.
8184         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8186         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8187         back, with comment that explains what breaks when you remove it :-(.
8189         * localedata/xfrm-test.c: Avoid integer overflow.
8191         * stdlib/strfmon.c: char is unsigned, sometimes.
8193         * sysdeps/powerpc/Makefile: Remove quad float support.
8194         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8195         * sysdeps/powerpc/quad_float.h: Likewise.
8196         * sysdeps/powerpc/test-arith.c: Likewise.
8197         * sysdeps/powerpc/test-arithf.c: Likewise.
8199         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8200         * sysdeps/generic/s_exp2f.c: Likewise.
8202         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8203         don't try anything if _SOFT_FLOAT.
8205 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8207         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8208         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8209         * wctype/wctype.c: Likewise.
8210         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8211         changed.  They are incompatible with the _ISxxx values from
8212         <ctype.h> on little endian machines.
8213         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8214         bit number.  This fixes the real bug and restores the integrity of
8215         the ctype locale file.
8216         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8217         * wctype/wcfuncs_l.c: Likewise.
8218         * wctype/wcextra.c: Likewise.
8219         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8220         byte swapping.
8222 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8224         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8225         into .bss segment instead of .common, so that aliases on it work.
8227         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8228         .size directives, put into .bss segment instead of initializing it
8229         to 4.
8231 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8233         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8235         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8236         functions.
8237         Make names without __ weak aliases.
8238         (__libc_release, __libc_version): Make them static.
8240         * include/gnu/libc-version.h: New file.
8241         * Makefile (headers): Add gnu/libc-version.h.
8243 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8245         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8246         and use x for member name.
8247         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8249         * stdlib/drand48.c: Change according to member name change.
8250         * stdlib/drand48_r.c: Likewise.
8251         * stdlib/lcong48_r.c: Likewise.
8252         * stdlib/lrand48.c: Likewise.
8253         * stdlib/lrand48_r.c: Likewise.
8254         * stdlib/mrand48.c: Likewise.
8255         * stdlib/mrand48_r.c: Likewise.
8256         * stdlib/seed48.c: Likewise.
8257         * stdlib/seed48_r.c: Likewise.
8258         * stdlib/srand48_r.c: Likewise.
8260 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8262         * nss/test-netdb.c: Add some more test cases.
8264 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8266         * libio/iovsscanf.c: Undo last change modifying errno.
8268 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8270         * stdio-common/vfscanf.c: Never try to read another character
8271         after EOF.  Don't decrement read_in after EOF, it wasn't
8272         incremented in the first place.
8273         (NEXT_WIDE_CHAR): Set First, not first.
8275 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8277         * db/Makefile ($(inst_libdir)/libndbm.a,
8278         $(inst_libdir)/libndbm.so): New targets.
8279         * db2/Makefile: Likewise.
8281 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8283         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8284         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8286 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8288         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8289         <streambuf.h>.
8290         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8292 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8294         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8295         versioned symbols.
8297 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8299         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8300         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8301         Added for libdl.so.
8303 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8305         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8306         extra syscall.
8308         * grp/Makefile: Fix logic when checking for thread package.
8309         * pwd/Makefile: Likewise.
8311 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8313         * elf/Makefile (rtld-map): Replaced by libc-map.
8315         * elf/rtld.map: Removed.
8317         * libc.map (__libc_enable_secure, _dl_catch_error,
8318         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8319         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8320         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8321         _dl_object_relocation_scope, _dl_relocate_object,
8322         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8323         _r_debug): Added for ld.so.
8325 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8327         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8328         DO_VERSIONING.
8329         * libio/iofdopen.c: Ditto.
8330         * libio/iofopen.c: Ditto.
8331         * libio/oldfileops.c: Ditto.
8333         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8334         version GLIBC_2.1.
8336         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8337         oldsiglist from sysdep_routines and shared-only-routines.
8339         * sysdeps/unix/sysv/linux/errlist.c: New.
8340         * sysdeps/unix/sysv/linux/errlist.h: New.
8341         * sysdeps/unix/sysv/linux/sizes.h: New.
8342         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8343         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8345         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8347         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8348         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8349         directive.
8351         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8353         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8354         (oldsiglist.c): Removed.
8356         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8357         (_sys_siglist): Use SYS_SIGLIST instead.
8358         (_sys_nerr): Use SYS_NERR instead.
8360         * sysdeps/gnu/errlist.c: Rebuilt.
8362 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8364         * elf/Makefile (others-static): New, set to ldconfig.
8365         ($(objpfx)ldconfig): Removed.
8367         * Rules (binaries-all, binaries-static, binaries-shared): New.
8368         Create targets for $(binaries-static) and $(binaries-shared).
8370         * Makeconfig (+link-static, link-libc-static,
8371         link-extra-libs-static): New for static linking.
8373 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8375         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8377         * math/libm-test.c (modf_test): Add one more test for modf.
8379 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8381         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8382         Rename from __libc_have_rt_sigs and leave as COMMON data.
8384 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8386         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8387         of __finite.
8389 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8391         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8393 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8395         * misc/tst-efgcvt.c: Add yet more tests.
8396         * misc/efgcvt_r.c: And correct for these tests again.
8397         Reported by HJ Lu.
8399         * isomac.c: Move to...
8400         * stdlib/isomac.c: ...here.
8401         * Makefile: Move rules for handling isomac...
8402         * stdlib/Makefile: ...to here.
8404 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8406         * misc/tst-efgcvt.c: Add more tests.
8407         * misc/efgcvt_r.c: Correct result for above new tests.
8409 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8411         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8412         NDIGIT <= 0.
8414 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8416         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8417         if the programs weren't built.
8419 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8421         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8422         FE_TONEAREST, soldier on regardless and do the best we can.
8423         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8425 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8427         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8428         _STDIO_H, before including <bits/stdio_lim.h>.
8430         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8432         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8433         exist.
8435         * sysdeps/arm/sys/ucontext.h: New file.
8437 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8439         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8440         that the return value from snprintf() does not count the
8441         terminating NUL as a character.
8443 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8445         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8446         add description for sete[ug]id and general cleanup.
8447         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8449 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8451         * Makefile (parent-clean): Don't remove makefile fragments here.
8452         (postclean): New variable.
8453         (clean): Remove makefile fragments here.
8454         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8455         (generated): Add isomac and isomanc.out.
8456         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8457         avoid-generated is set.
8458         (postclean-generated): Add soversion.mk.
8459         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8460         set.
8461         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8462         avoid-generated is set.
8463         (common-generated): Add libc.so and libc.so$(libc.so-version).
8464         (generated): Add versioned libraries.
8465         (common-mostlyclean): Also remove %.so and %_pic.a.
8466         * csu/Makefile (generated): Add abi-tag.h.
8467         * db2/Makefile (extra-objs): Add getlong.o.
8468         * elf/Makefile (generated): Add ld.so, ldd and
8469         $(rtld-installed-name).
8470         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8471         * malloc/Makefile (generated): Add mtrace.
8472         * po/Makefile: Don't include version.mk, not needed any more.
8473         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8474         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8475         syscall.h -> sys/syscall.h.
8476         (common-generated): Add s-proto.d.
8477         (postclean-generated): Add sysd-syscalls.
8478         * localedata/Makefile (test-output): Add all output files.
8479         (generated): Add test-input and test-output.
8480         (generated-dirs): Add all the dirs.
8482 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8484         * Makefile (test-output, generated, generated-dirs): New
8485         variables.
8487 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8489         * resolv/nss_dns/dns-host.c: Various code cleanups.
8491 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8493         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8494         From Philip Blundell <pb@nexus.co.uk>.
8495         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8497 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8499         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8500         Suggested by debian/sparc porters.
8502 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8504         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8505         for ecvt and fcvt.
8507 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8509         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8510         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8512         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8513         defined even if __USE_POSIX is not defined.
8515 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8517         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8518         to support obsolete tty major numbers correctly.
8520 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8522         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8523         directory first and ignore install error.
8525         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8526         128 from ptyno and fix a typo for the BSD style pty.
8528 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8530         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8531         syscalls.list's.
8533 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8535         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8536         getresuid and getresgid.
8538         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8539         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8541         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8542         s_getres[ug]id.
8544         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8545         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8546         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8547         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8549 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8551         * nscd/grpcache.c: Include <stdlib.h>.
8553 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8555         * stdlib/atoll.c: Fix comments.
8557         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8558         * sysdeps/posix/ttyname_r.c: Ditto.
8560 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8562         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8563         __USE_MISC, independent of __USE_UNIX98.
8565 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8567         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8568         Rename from __libc_have_rt_sigs and leave as COMMON data.
8570 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8572         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8573         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8575         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8576         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8577         version symbols.
8578         * include/libc-symbols.h (symbol_version, default_symbol_version):
8579         Provide asm versions and correct !DO_VERSIONING versions.
8580         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8581         the weak symbol list.
8583         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8584         Rename from __libc_have_rt_sigs and leave as COMMON data.
8585         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8586         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8587         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8589 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8591         * sunrpc/Makefile: Correct dependencies of rpcgen.
8593 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8595         * nscd/Makefile: Fix test for available linuxthreads add-on.
8596         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8598 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8600         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8602 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8604         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8606         * manual/errno.texi (Error Messages): Correct description of
8607         strerror_r.  Pointed out by jonas@bagge.se.
8609 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8611         * manual/socket.texi (Host Address Functions): Clarify description
8612         of inet_network.
8614 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8616         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8617         (grantpt): Delete superfluous cast.
8619 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8621         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8622         elf/ldso_install instead of elf/subdir_install.
8623         (elf/ldso_install): New target.
8625         * elf/Makefile (ldso_install): New target.
8627 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8629         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8630         of 1998-01-06.
8632 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8634         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8635         constant expressions.
8637 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8639         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8640         for __nss_configure_lookup.
8641         (output_hostent): Remove unused variable.
8643 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8645         * string/tst-inlcall.c: Fix format string.
8647 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8649         * inet/netinet/in.h: Rename second parameter of bindresvport to
8650         avoid buggy gcc warning. [PR libc/412]
8652 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8654         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8655         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8657         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8658         Follow POSIX and make tv_sec a time_t.
8659         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8660         new tv64 syscall as well as fall back to tv32.
8661         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8662         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8663         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8664         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8665         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8666         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8667         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8668         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8670         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8671         * include/rpcsvc/nis_tags.h: Likewise.
8672         * include/rpcsvc/nislib.h: Likewise.
8674 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8676         * libc.map: Add _h_errno.
8677         * inet/herrno.c: Make _h_errno weak alias.
8679         * login/Makefile (distribute): Add pty-internal.h.
8681         * nscd/Makefile (distribute): Add all the files missing.
8683         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8684         are available.
8686         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8687         and report status at the end.
8689         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8691         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8692         variable.
8693         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8694         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8697 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8699         * configure.in: Fix --enable-add-ons code.
8701 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8703         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8704         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8705         [PR libc/441]
8707         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8708         occurence in cache.  Reported by Rudolf Leitgeb
8709         <leitgeb@leland.stanford.edu>.
8710         [PR libc/440]
8712 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8714         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8715         that it never is EINTR (which is tested for in _IO_vfscanf).
8717         * Makefile.in: Call sub-make with CVSOPTS.
8719         * elf/Makefile (distribute): Add dl-procinfo.h.
8721         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8723 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8725         * version.h (VERSION): Bump to 2.0.92.
8727 1998-01-31  Phil Blundell  <philb@gnu.org>
8729         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8730         alias for __new_sys_siglist.
8732 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8734         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8735         getgrgid_r.c if thread package is available.
8736         * pwd/Makefile: Likewise.
8737         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8738         * grp/getgrgid_r.c: Likewise.
8739         * pwd/getpwnam_r.c: Likewise.
8740         * pwd/getpwuid_r.c: Likewise.
8742 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8744         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8745         with error to allow user intervention.
8746         * nss/getXXent_r.c: Likewise.
8748 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8750         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8751         AT_PLATFORM string.  Pretty print AT_BASE info.
8753         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8754         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8755         * sysdeps/generic/dl-procinfo.h: New file.
8756         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8758 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8760         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8762         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8763         thread and not pthread_detach.
8765         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8767 1998-01-31  Phil Blundell  <philb@gnu.org>
8769         * configure.in: Add --without-cvs option to suppress automatic
8770         checkin of regenerated files.
8771         * config.make.in: Likewise.
8772         * Makefile: Respect with-cvs setting.
8773         * Makerules: Likewise.
8775         * configure.in: Allow the standalone ARM port to be configured.
8777 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8779         * grp/getgrgid_r.c: Define USE_NSCD.
8780         * grp/getgrnam_r.c: Likewise.
8781         * pwd/getpwuid_r.c: Likewise.
8782         * pwd/getpwnam_r.c: Likewise.
8784         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8786         * nss/getXXbyYY_r.c: Try at first nscd.
8788         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8789         * nscd/connections.c: New file.
8790         * nscd/dbg_log.c: New file.
8791         * nscd/dbg_log.h: New file.
8792         * nscd/grpcache.c: New file.
8793         * nscd/nscd.c: New file.
8794         * nscd/nscd.h: New file.
8795         * nscd/nscd_conf.c: New file.
8796         * nscd/nscd_stat.c: New file.
8797         * nscd/pwdcache.c: New file.
8799         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8800         * nscd/nscd_getpw_r.c: Likewise.
8801         * nscd/nscd_proto.h: New, prototypes for client functions.
8803         * nscd/nscd.conf: New, example for a configuration file.
8804         * nscd/nscd.init: New, example for a startup script.
8806         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8807         avoid deadlocks.
8808         * nscd/getgrnam_r.c: Likewise.
8809         * nscd/getpwnam_r.c: Likewise.
8810         * nscd/getpwuid_r.c: Likewise.
8812 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8814         * intl/Makefile: Use CVSOPTS in cvs invocation.
8815         * po/Makefile: Likewise.
8816         * posix/Makefile: Likewise.
8817         * stdlib/Makefile: Likewise.
8819 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8821         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8822         [PR libc/410]
8823         * misc/Makefile (tests): Add tst-efgcvt.
8824         * misc/tst-efgcvt.c: New file.
8826 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8828         * posix/regex.c: Add some more cleanups by Akim Demaille.
8830 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8832         * signal/signal.h: Revert last change.
8833         * string/strsignal.c: Regard signal number NSGI as illegal.
8834         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8835         members.
8837 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8839         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8840         * Makerules: Use CVSOPTS in cvs invocation.
8841         * Makefile: Likewise.
8842         * MakeTAGS: Likewise.
8843         * Make-dist: Likewise.
8845 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8847         * sysdeps/generic/memmem.c: Correct last change.
8849 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8851         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8852         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8854 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8856         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8857         before using RPC.
8859 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8861         * manual/memory.texi (Heap Consistency Checking): mcheck is
8862         declared in <mcheck.h>.
8863         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8865 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8867         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8868         beginning of haystack.
8870 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8872         * nss/nss_files/files-service.c: Correct last patch.
8874 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8876         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8877         __libc_have_rt_sigs.
8878         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8879         including <bits/setjmp.h>.
8880         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8881         Patch from the Debian glibc/SPARC package.
8883 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8885         * sysdeps/alpha/bzero.S: Fix a typo.
8886         * sysdeps/alpha/htonl.S: Ditto.
8887         * sysdeps/alpha/htons.S: Ditto.
8889 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8891         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8893 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8895         * include/cpio.h: Move to ...
8896         * posix/cpio.h: ...here.
8898         * locale/programs/ld-collate.c: Fix typo.
8900         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8902         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8904         * login/utmp_file.c (pututline_file): Don't always report success
8905         if similar entry is found.  Patch by Mark M. Kettenis.
8907 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8909         * manual/Makefile: Don't try to install the info files if makeinfo
8910         is not available.
8912 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8914         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8915         kernel's network ioctls, rather than using <linux/sockios.h> to
8916         get them.  This way we are sure of maintaining compatibility if
8917         the kernel interface should change.
8919 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8921         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8923 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8925         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8928 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8930         Implement System V pseudoterminal handling.
8932         * login/Makefile
8933         (routines): Add getpt, grantpt, unlockpt, ptsname.
8934         (libutil-routines): Remove pty. Add openpty, forkpty.
8935         (distribute): New internal header pty-internal.h.
8936         (others): Add the helper program, pt_chown.
8937         (install-others): Install it, in $(libexecdir), mode 4755.
8939         * login/pty-internal.h: New file.
8940         * login/openpty.c: New file.
8941         * login/forkpty.c: New file.
8942         * login/programs/pt_chown.c: New file.
8944         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8945         * stdlib/stdlib.h: Prototype them.
8947         * config.make.in: Define $(libexecdir).
8948         * Makeconfig: Define $(inst_libexecdir).
8950         * sysdeps/generic/pty.c: Removed.
8951         * sysdeps/unix/sysv/linux/pty.c: Removed.
8953         * sysdeps/generic/getpt.c: Stub out.
8954         * sysdeps/generic/grantpt.c: Likewise.
8955         * sysdeps/generic/ptsname.c: Likewise.
8956         * sysdeps/generic/unlockpt.c: Likewise.
8958         * sysdeps/unix/grantpt.c: New file.
8959         * sysdeps/unix/bsd/getpt.c: New file.
8960         * sysdeps/unix/bsd/unlockpt.c: New file.
8961         * sysdeps/unix/sysv/linux/getpt.c: New file.
8962         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8963         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8965 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8967         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8969 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8971         * nss/Makefile (tests): Add rule for test-netdb.c.
8973         * nss/test-netdb.c: New file.
8975 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8977         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8978         really kept as a variable.  Patch by Richard Henderson,
8979         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8981         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8982         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8983         entries as not existing.
8985 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8987         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8988         zero in alternate form with precision of zero, which must produce
8989         "0".  Add braces to avoid ambiguous `else'.
8991 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8993         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8994         problem with strncpy.
8995         * nis/nss_compat/compat-pwd.c: Likewise.
8996         * nis/nss_compat/comapt-spwd.c: Likewise.
8998 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9000         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
9001         by uch@nop.or.jp. [PR libc/437]
9003 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9005         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
9007 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9009         * stdio-common/test-popen.c: Include <errno.h>.
9011         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
9012         close.
9014         * inet/getnetgrent_r.c: Include <errno.h>.
9016         * db2/db/db_conv.c: Include <string.h> for memcpy.
9018         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
9019         so that memcpy is declared.
9021         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
9023         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
9025 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9027         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
9028         overflow while reading line with fgets.
9029         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
9031 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
9033         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
9034         unsigned short, not short.
9035         Reported by Andreas Jaeger.
9037 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9039         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9040         (ccept->accept).
9042         * sysdeps/generic/inttypes.h: Fix spelling.
9044 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9046         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9048         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9050 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9052         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9053         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9054         field for hh modifier.
9055         * stdio-common/vfprint.c: Use is_char field and do not depend in
9056         is_short having the value 2.
9057         Bug reported by Andreas Jaeger.
9059 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9061         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9062         PIC && DO_VERSIONING.
9064 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9066         * Rules: Add rules for $(common-objpfx)dummy$o.
9068 1998-01-26  Richard Henderson  <rth@cygnus.com>
9070         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9071         unimplemented OSF/1 definitions so that they are not accidentally seen.
9073         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9074         of the trampoline function into the macro.
9075         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9076         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9077         kernel 2.1.82 has this fixed.
9079         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9080         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9082 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9084         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9085         support sigaction on kernels > 2.1.7x.
9087 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9089         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9090         if it is empty.
9092         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9093         Patch by David Engel <david@sw.ods.com>.
9095         * configure.in: Fix another typo in --enable-add-ons code.
9097 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9099         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9101 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9103         * nss/nss_files/files-network.c: Correct order of parameters for
9104         getnetbyaddr.
9106 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9108         * db2/Makefile (routines): Add os_alloc.
9109         * db2/db.h: Update from db-2.3.16.
9110         * db2/db_185.h: Likewise.
9111         * db2/db_int.h: Likewise.
9112         * db2/btree/bt_close.c: Likewise.
9113         * db2/btree/bt_cursor.c: Likewise.
9114         * db2/btree/bt_delete.c: Likewise.
9115         * db2/btree/bt_open.c: Likewise.
9116         * db2/btree/bt_page.c: Likewise.
9117         * db2/btree/bt_put.c: Likewise.
9118         * db2/btree/bt_rec.c: Likewise.
9119         * db2/btree/bt_recno.c: Likewise.
9120         * db2/btree/btree_auto.c: Likewise.
9121         * db2/common/db_appinit.c: Likewise.
9122         * db2/common/db_apprec.c: Likewise.
9123         * db2/common/db_err.c: Likewise.
9124         * db2/common/db_region.c: Likewise.
9125         * db2/common/db_shash.c: Likewise.
9126         * db2/db/db.c: Likewise.
9127         * db2/db/db_auto.c: Likewise.
9128         * db2/db/db_conv.c: Likewise.
9129         * db2/db/db_dispatch.c: Likewise.
9130         * db2/db/db_dup.c: Likewise.
9131         * db2/db/db_pr.c: Likewise.
9132         * db2/db/db_rec.c: Likewise.
9133         * db2/db185/db185.c: Likewise.
9134         * db2/dbm/dbm.c: Likewise.
9135         * db2/hash/hash.c: Likewise.
9136         * db2/hash/hash_auto.c: Likewise.
9137         * db2/hash/hash_dup.c: Likewise.
9138         * db2/hash/hash_page.c: Likewise.
9139         * db2/hash/hash_rec.c: Likewise.
9140         * db2/include/btree_ext.h: Likewise.
9141         * db2/include/clib_ext.h: Likewise.
9142         * db2/include/common_ext.h: Likewise.
9143         * db2/include/db.h.src: Likewise.
9144         * db2/include/db_185.h.src: Likewise.
9145         * db2/include/db_am.h: Likewise.
9146         * db2/include/db_ext.h: Likewise.
9147         * db2/include/db_int.h.src: Likewise.
9148         * db2/include/hash_ext.h: Likewise.
9149         * db2/include/lock_ext.h: Likewise.
9150         * db2/include/log.h: Likewise.
9151         * db2/include/log_auto.h: Likewise.
9152         * db2/include/log_ext.h: Likewise.
9153         * db2/include/mp.h: Likewise.
9154         * db2/include/mp_ext.h: Likewise.
9155         * db2/include/mutex_ext.h: Likewise.
9156         * db2/include/os_ext.h: Likewise.
9157         * db2/include/os_func.h: Likewise.
9158         * db2/include/txn_ext.h: Likewise.
9159         * db2/lock/lock.c: Likewise.
9160         * db2/lock/lock_util.c: Likewise.
9161         * db2/log/log.c: Likewise.
9162         * db2/log/log.src: Likewise.
9163         * db2/log/log_archive.c: Likewise.
9164         * db2/log/log_auto.c: Likewise.
9165         * db2/log/log_get.c: Likewise.
9166         * db2/log/log_put.c: Likewise.
9167         * db2/log/log_rec.c: Likewise.
9168         * db2/log/log_register.c: Likewise.
9169         * db2/mp/mp_bh.c: Likewise.
9170         * db2/mp/mp_fget.c: Likewise.
9171         * db2/mp/mp_fopen.c: Likewise.
9172         * db2/mp/mp_fput.c: Likewise.
9173         * db2/mp/mp_pr.c: Likewise.
9174         * db2/mp/mp_sync.c: Likewise.
9175         * db2/mutex/mutex.c: Likewise.
9176         * db2/os/os_alloc.c: Likewise.
9177         * db2/os/os_config.c: Likewise.
9178         * db2/os/os_stat.c: Likewise.
9179         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9180         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9181         * db2/progs/db_load/db_load.c: Likewise.
9182         * db2/progs/db_printlog/db_printlog.c: Likewise.
9183         * db2/progs/db_recover/db_recover.c: Likewise.
9184         * db2/progs/db_stat/db_stat.c: Likewise.
9185         * db2/txn/txn.c: Likewise.
9187         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9188         Unmap memory blocks in reverse order of allocation.
9189         Call munmap with load address added to offset.
9190         Bug reported by Miguel de Icaza.
9192         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9193         up weight array.
9195         * localedata/locales/cs_CZ: Update by Michael Mraka
9196         <michael@informatics.muni.cz>.
9198         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9199         __USE_BSD.
9201         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9202         reading line with fgets.
9203         * nis/nss_compat/compat-pwd.c: Likewise.
9204         * nis/nss_compat/compat-spwd.c: Likewise.
9205         * nss/nss_files/files-XXX.c: Likewise.
9206         * nss/nss_files/files-alias.c: Likewise.
9207         * shadow/fgetspent_r.c: Likewise.
9209         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9211         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9212         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9213         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9215         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9216         FP register content in ucontext_t.
9218 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9220         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9221         calculation.  Patch by Markus Schoder
9222         <Markus.Schoder@dresdner-bank.de>.
9224         * math/libm-test.c (modf_test): Add more tests for modf.
9226         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9227         munlock according to Unix98.
9229 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9231         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9232         AF_INET.
9234 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9236         * sysdeps/posix/ttyname.c: Handle symbolic links.
9237         * sysdeps/posix/ttyname_r.c: Ditto.
9239 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9241         * db2/makedb.c (process_input): Write terminating \0 for value.
9242         (print_database): Simply print value string, don't use length.
9244 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9246         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9247         exit of loop.
9249 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9251         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9252         close all sockets.
9254 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9256         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9257         sigset.
9258         * signal/sighold.c: New file.
9259         * signal/sigrelse.c: New file.
9260         * sysdeps/generic/sigignore.c: New file.
9261         * sysdeps/generic/sigset.c: New file.
9262         * sysdeps/posix/sigignore.c: New file.
9263         * sysdeps/posix/sigset.c: New file.
9264         * signal/signal.h: Add prototypes for new functions.
9266         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9267         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9268         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9269         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9271 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9273         * posix/wordexp.c: Added IFS field-splitting in parameter and
9274         command substitution.  Fixed an IFS-related bug that caused an
9275         infinite loop.
9277 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9279         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9280         and swapcontext.
9281         * stdlib/ucontext.h: Correct prototypes.
9282         * sysdeps/generic/getcontext.c: New file.
9283         * sysdeps/generic/setcontext.c: New file.
9284         * sysdeps/generic/makecontext.c: New file.
9285         * sysdeps/generic/swapcontext.c: New file.
9286         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9288 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9290         * resource/sys/resource.h: Remove #include of ulimit.h which is
9291         not allowed by SUSv2 and not available on other systems.
9292         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9294         * streams/Makefile: New file.
9295         * streams/stropts.h: New file.
9296         * sysdeps/generic/bits/stropts.h: New file.
9297         * sysdeps/generic/isastream.c: New file.
9298         * sysdeps/generic/getmsg.c: New file.
9299         * sysdeps/generic/getpmsg.c: New file.
9300         * sysdeps/generic/putmsg.c: New file.
9301         * sysdeps/generic/putpmsg.c: New file.
9302         * sysdeps/generic/fattach.c: New file.
9303         * sysdeps/generic/fdetach.c: New file.
9304         * sysdeps/unix/inet/Subdirs: Add streams.
9305         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9306         __t_uscalar_t.
9307         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9308         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9309         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9310         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9312         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9313         handle small buffers correctly.
9315 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9317         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9318         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9319         and _dl_runtime_profile.
9321 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9323         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9324         * posix/Makefile (headers): Add cpio.h.
9326 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9328         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9329         to routines.
9330         * nis/nis_cache.c: New file.
9331         * nis/nis_cache2.h: New file.
9332         * nis/nis_cache2_xdr.c: New file.
9333         * nis/nis_call.c: Changes for cache2_info parameter.
9334         * nis/nis_checkpoint.c: Likewise.
9335         * nis/nis_intern.h: Likewise.
9336         * nis/nis_mkdir.c: Likewise.
9337         * nis/nis_ping.c: Likewise.
9338         * nis/nis_rmdir.c: Likewise.
9339         * nis/nis_server.c: Likewise.
9340         * nis/nis_util.c: Likewise.
9342 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9344         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9345         return/errnop codes.
9346         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9347         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9348         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9349         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9350         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9351         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9352         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9353         * nis/nss_nisplus/nisplus-service.c: Likewise.
9354         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9356 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9358         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9359         * nis/nss_nis/nis-ethers.c: Likewise.
9360         * nis/nss_nis/nis-grp.c: Likewise.
9361         * nis/nss_nis/nis-hosts.c: Likewise.
9362         * nis/nss_nis/nis-network.c: Likewise.
9363         * nis/nss_nis/nis-proto.c: Likewise.
9364         * nis/nss_nis/nis-hosts.c: Likewise.
9365         * nis/nss_nis/nis-network.c: Likewise.
9366         * nis/nss_nis/nis-proto.c: Likewise.
9367         * nis/nss_nis/nis-publickey.c: Likewise.
9368         * nis/nss_nis/nis-pwd.c: Likewise.
9369         * nis/nss_nis/nis-rpc.c: Likewise.
9370         * nis/nss_nis/nis-service.c: Likewise.
9371         * nis/nss_nis/nis-spwd.c: Likewise.
9373 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9375         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9376         Added to follow latest kernel development.
9378 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9380         * nss/db-Makefile: Handle empty and comment lines better.
9381         ($(VAR_DB)/services.db): Generate entries with missing protocol
9382         value.
9384 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9386         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9387           NULL.
9388           (getservbyname): Allow proto == NULL.
9389           Pointed out by David N. Welton <davidw@gate.cks.com>.
9390           [PR libc/430].
9392 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9394         * nis/nislib/nislib.h: Finally removed.
9396         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9397         C compiler.  From Kaveh Ghazi.
9398         (TYPE_MINIMUM): Define.
9399         (TYPE_MAXIMUM): Define.
9400         (TIME_T_MIN): Use TYPE_MINIMUM.
9401         (TIME_T_MAX): Use TYPE_MAXIMUM.
9402         Patch by Jim Meyering <meyering@ascend.com>.
9404 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9406         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9407         __pread64, __pwrite64, and __getpid.
9409         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9410         versions.
9412 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9414         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9415         cancelable socket functions as __libc_xxx with __xxx as weak
9416         alias.
9417         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9418         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9420         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9421         redefined.
9422         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9423         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9424         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9425         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9427         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9428         and __xxx a weak alias.
9429         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9430         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9431         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9432         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9433         * sysdeps/unix/sysv/linux/send.S: Likewise.
9434         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9435         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9437 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9439         * locale/langinfo.h: Add defines.
9441         * dirent/dirent.h: Add defines for DT_*, check also for
9442         _DIRENT_HAVE_D_TYPE.
9443         Suggested by Roland McGrath.
9445 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9447         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9448         Update from Linux 2.1.73+79.
9450         * README.template: Update information about possible
9451         configurations.
9453         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9454         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9455         [PR libc/417].
9457         * manual/time.texi (Priority): Correct description of
9458         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9459         [PR libc/416].
9461 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9463         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9464         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9466 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9468         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9469         Andreas Jaeger.
9471 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9473         * locale/programs/ld-collate.c: Little optimizations.
9475         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9477         * string/Makefile (tests): Add tst-inlcall.
9478         * string/tst-inlcall.c: New file.
9480         * string/strsignal.c: Add support for real-time signals.
9482         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9483         presense of small buffer.
9485         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9487         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9488         for i686.
9490         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9491         _NSIG + 1.
9493 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9495         * Rules: Add explicit rule for dummy.o; at least one library needs
9496           it and it isn't autogenerated by the default rules.
9498 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9500         * math/libm-test.c: Tweak epsilons.
9502 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9504         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9505         child.
9506         (feenv_mask_test): Likewise.
9508 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9510         * Makeconfig: Don't export CPPFLAGS.
9512 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9514         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9515         message.
9517 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9519         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9520         terminating null in key size.
9522 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9524         * nss/nss_files/files-service.c: Fix allocation size to include
9525         length of PROTO.
9527         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9528         applicable.  Fix return value and error checking.
9529         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9530         unparsable lines.
9531         (DB_LOOKUP): Allocate space for terminating null byte.
9533         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9534         uids specially.
9536         * db2/makedb.c (process_input): Continue processing if a duplicate
9537         key is encountered.
9539 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9541         * time/tzfile.h: Updated from tzcode1998b.
9542         * time/zdump.c: Likewise.
9543         * time/zic.c: Likewise.
9544         * time/africa: Update from tzdata1998b.
9545         * time/antarctica: Likewise.
9546         * time/asia: Likewise.
9547         * time/australasia: Likewise.
9548         * time/etcetera: Likewise.
9549         * time/europe: Likewise.
9550         * time/leapseconds: Likewise.
9551         * time/northamerica: Likewise.
9552         * time/southamerica: Likewise.
9554 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9556         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9557         lookups ignoring case.
9558         * nss/nss_files/files-network.c: Do network lookups ignoring
9559         case.
9560         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9561         case.
9562         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9563         case insensitive comparing.
9564         Patches by Cristian Gafton <gafton@redhat.com>.
9566 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9568         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9569         by Roland McGrath. [PR libc/395]
9571 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9573         * manual/arith.texi (Parsing of Integers): Correct description of
9574         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9575         [PR libc/396]
9577 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9579         * misc/lsearch.c (lsearch): Return a pointer to the new element
9580         if one was "allocated".
9582 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9584         * string/strsignal.c: NSIG is not a valid index into
9585         _sys_siglist.  Don't zap the last character of the "Unknown
9586         signal" message.
9588 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9590         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9591         ellipsis expressions.
9593         * locale/programs/charset.c (insert_char): Correctly insert value
9594         of eliipsis expression.
9596 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9598         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9599         <bits/setjmp.h>.
9600         * sysdeps/powerpc/setjmp.S: Likewise.
9601         Patches by Matt McLean <keys@keys.got.net>.
9603         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9605         * Makefile: Undo last patch.
9606         (distribute): Add test-installation.pl.
9608         * configure.in: Correct handling of --enable-add-ons without parameter.
9609         Correct address of WWW pages.
9611         * libc.map: Add _nl_domain_bindings.
9613         * db2/mutex/tsl_parisc.s: New file.
9615         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9616         and extra-module.mk.
9618         * localedata/Makefile (distribute): New.  Add all the files.
9620         * stdlib/Makefile (headers): Add inttypes.h.
9621         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9622         * sysdeps/generic/inttypes.h: New file.
9623         * sysdeps/generic/strtoimax.c: New file.
9624         * sysdeps/generic/strtoumax.c: New file.
9625         * sysdeps/generic/wcstoimax.c: New file.
9626         * sysdeps/generic/wcstoumax.c: New file.
9627         * sysdeps/wordsize-32/Dist: Removed.
9628         * sysdeps/wordsize-32/Makefile: Removed.
9629         * sysdeps/wordsize-64/Dist: Removed.
9630         * sysdeps/wordsize-64/Makefile: Removed.
9631         * sysdeps/generic/bits/environments.h: New file.
9633         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9634         header is still not correct.
9636         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9637         * posix/unistd.h: Likewise.
9638         * sysdeps/generic/sys/mman.h: Likewise.
9639         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9641         * manual/arith.texi: Change definition of mul macro.
9642         * manual/math.texi: Likewise.
9644         * misc/Makefile (routines): Add mmap64.
9645         * sysdeps/generic/mmap64.c: New file.
9646         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9647         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9648         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9649         aliases to mmap.
9650         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9652         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9654         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9656         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9658         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9659         FOPEN_MAX also when included by limits.h.
9660         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9662         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9663         and netrom/netrom.h.
9664         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9665         oldsiglist to sysdep_routines, not aux.
9666         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9668         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9669         and SOL_NETROM definition.
9671         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9673         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9674         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9676 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9678         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9680         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9681         sa_handler with k_sa_handler.
9682         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9683         strong alias.
9684         Reported by a sun.
9686         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9687         __libc_have_rt_sigs here.
9688         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9689         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9690         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9691         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9693 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9695         * sysdeps/powerpc/atomicity.h: New file.
9696         * sysdeps/mach/powerpc/machine-lock.h: New file.
9698         * Rules: Use -fpic to build anything that might end up in a users'
9699         shared library.
9701         * sysdeps/powerpc/s_fdim.c: New file.
9702         * sysdeps/powerpc/s_fdimf.c: New file.
9703         * sysdeps/powerpc/s_fmax.S: New file.
9704         * sysdeps/powerpc/s_fmaxf.S: New file.
9705         * sysdeps/powerpc/s_fmin.S: New file.
9706         * sysdeps/powerpc/s_fminf.S: New file.
9707         * sysdeps/powerpc/s_llrint.c: Now is for double.
9708         * sysdeps/powerpc/s_llrintf.c: New file.
9709         * sysdeps/powerpc/s_llround.c: Now is for double.
9710         * sysdeps/powerpc/s_llroundf.c: New file.
9711         * sysdeps/powerpc/s_lrint.c: Now is for double.
9712         * sysdeps/powerpc/s_lrintf.S: New file.
9713         * sysdeps/powerpc/s_lround.c: Now is for double.
9714         * sysdeps/powerpc/s_lroundf.c: New file.
9715         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9716         lrintf, fdim, fdimf.
9718         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9719         file directly, use its parent.
9721         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9722         (for the third time).
9724 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9726         * posix/sched.h: timespec is in <time.h>.
9728         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9730 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9732         * configure.in: Stop with error if --disable-static is used when
9733         the shared lib uses this library.
9735         * gen-FAQ.pl: I've perl installed in /usr/bin.
9737         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9739         Fix Unix98 conformance problems in the headers.
9740         * catgets/nl_types.h: Define nl_item.
9741         * grp/grp.h: Define gid_t.
9742         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9743         * include/nl_types.h: New file.
9744         * include/ulimit.h: New file.
9745         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9746         constants in POSIX mode.
9747         * io/utime.h: Get definition for time_t.
9748         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9749         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9750         * libio/stdio.h: Define va_list.  Make snprintf also available is
9751         __USE_UNIX98.  Declare getopt function and variables.
9752         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9753         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9754         * math/math.h: Defined M_* constants as double for Unix98 mode.
9755         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9756         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9757         * posix/regex.h: Define REG_NOSYS.
9758         * posix/wordexp.h: Define WRDE_NOSYS.
9759         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9760         500 for Unix98.
9761         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9762         somewhere else as well.  Define clock_t for Unix98.
9763         * posix/sys/wait.h: Define pid_t.
9764         * pwd/pwd.h: Define gid_t, uid_t.
9765         * resource/Makefile (headers): Add ulimit.h.
9766         * resource/ulimit.h: New file.
9767         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9768         instead of second argument.
9769         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9770         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9771         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9772         * signal/signal.h: Define pid_t.
9773         * string/string.h: Don't declare BSD string functions in POSIX mode.
9774         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9775         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9776         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9777         and POSIX.
9779         * inet/test_ifindex.c: Change test so that it does not fail for
9780         interface aliases.
9782         * locale/programs/locale.c (show_info): Use correct cast sequence
9783         for 64bit machines.
9785         * malloc/malloc.c: __malloc_initialized now signals three states:
9786         uninitialized, initializing, initialized.  Used in mcheck.
9787         * malloc/mcheck.c (mabort): Add '\n' to messages.
9788         (mcheck): Allow installation when malloc is uninitialized or is
9789         just initializing.
9791         * manual/memory.texi: Explain mtrace output a bit more.
9793         * math/libm-test.c: Add more epsilons.
9795         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9797         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9798         instead of strcpy for security.
9799         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9800         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9801         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9803         * nss/digits_dots.c: Pretty print.
9805         * posix/getconf.c (vars): Add symbols for programming environment
9806         recognition.  Recognize --version.
9808         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9809         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9810         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9812         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9813         __need_FOPEN_MAX.
9814         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9815         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9816         __need_FOPEN_MAX.
9818         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9819         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9821         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9822         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9823         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9824         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9825         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9826         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9828         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9829         SCNu*.
9830         * sysdeps/wordsize-64/inttypes.h: Likewise.
9832         * time/africa: Update from tzdata1997j.
9833         * time/antarctica: Likewise.
9834         * time/asia: Likewise.
9835         * time/australasia: Likewise.
9836         * time/backward: Likewise.
9837         * time/etcetera: Likewise.
9838         * time/europe: Likewise.
9839         * time/factory: Likewise.
9840         * time/northamerica: Likewise.
9841         * time/pacificnew: Likewise.
9842         * time/southamerica: Likewise.
9844         * time/tzfile.h: Update from tzcode1997h.
9845         * time/zic.c: Likewise.
9847         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9848         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9849         isw*() functions for Unix98.
9850         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9851         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9852         is defined.
9854 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9856         * locale/duplocale.c: Increase usage_count only if less than
9857         MAX_USAGE_COUNT.
9858         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9859         MAX_USAGE_COUNT.
9860         * locale/setlocale.c: Likewise.
9862 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9864         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9865         dependency to make it easier to install it selectively.
9867         * Makerules (.SUFFIXES): Don't define any suffixes.
9869 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9871         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9872         * sysdeps/generic/statfs64.c: Emulate using statfs.
9873         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9874         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9875         * sysdpes/generic/ftruncate64.c: New file.
9876         * sysdpes/generic/truncate64.c: New file.
9878         * sysdeps/generic/bits/stat.h: Add LFS support.
9879         * sysdeps/generic/bits/statfs.h: Likewise.
9881         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9882         [__USE_FILE_OFFSET64]: Make long long constant.
9883         (RLIM64_INFINITY): Likewise.
9885         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9886         for LFS support.
9887         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9888         * sysdeps/generic/bits/resource.h: Likewise.
9890         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9892         * include/features.h: Don't prevent LFS support from defining BSD
9893         and SYSV things.
9895         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9896         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9897         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9899         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9900         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9901         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9903         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9904         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9905         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9906         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9907         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9908         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9909         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9910         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9911         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9912         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9913         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9914         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9915         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9916         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9917         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9918         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9919         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9920         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9921         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9924         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9925         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9926         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9927         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9928         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9930         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9931         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9932         [$(subdir)=dirent]: Add getdents64.
9933         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9935         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9937 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9939         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9941         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9942         * sysdeps/generic/getrlimit64.c: Likewise.
9943         * sysdeps/generic/setrlimit.c: Likewise.
9944         * sysdeps/generic/setrlimit64.c: Likewise.
9946 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9948         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9949         using versioning.
9951         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9953         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9955 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9957         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9958         after the codeset name.
9960 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9962         * libc.map: Add get_kernel_syms.
9964 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9966         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9967         static.
9968         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9969         Likewise.  Fix condition.
9971 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9973         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9975 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9977         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9978         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9980 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9982         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9983         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9984         instead.  Oops.
9986 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9988         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9990 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9992         * math/libm-test.c (catanh_test): Change epsilon.
9993         Reported by H.J. Lu.
9995 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9997         * libc.map (__getpid): Added for linuxthreads.
9999 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
10001         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
10002         it if gcc uses static variable in DWARF2 unwind information
10003         for exception support.
10005         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
10007         * elf/soinit.c (__libc_global_ctors, _fini): Handle
10008         HAVE_DWARF2_UNWIND_INFO_STATIC.
10010         * libc.map (__register_frame*, __deregister_frame*): Make them
10011         global.
10013 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10015         * math/libm-test.c: Add more tests for "normal" values.
10017 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10019         * stdio-common/printf_fphex.c: Fix printing of long double number
10020         with a biased exponent of zero.  Fix rounding.
10022 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10024         * sunrpc/rpc_main.c: Accept new flag -$.
10025         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
10027 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10029         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
10030         dynamic linker first, in case the interface has changed.
10032 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10034         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10035         order.
10037 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10039         * math/tgmath.h: Check for double first, for architectures where
10040         sizeof (long double) == sizeof (double).
10042 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10044         * math/libm-test.c: New tests for "normal" values added for most
10045         functions.
10047 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10049         * version.h (VERSION): Bump to 2.0.91.
10051         * db2/makedb.c (process_input): Fix typo in message.
10052         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10054         * elf/dynamic-link.h: Pretty print.
10056         * elf/rtld.c: Allow multiple preloading of a shared object.
10058         * include/limits.h: Prevent multiple inclusion.
10060         * malloc/Makefile (headers): Add mcheck.h.
10061         (distribute): Remove it here.
10062         * malloc/mcheck.h: Pretty print.
10063         * malloc/mtrace.c (mallenv): Make `const'.
10064         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10065         are none.
10066         * manual/memory.texi: Update descriptor of malloc hooks.
10068         * posix/Makefile (routines): Add waitid.
10069         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10070         on __id_t.
10071         * posix/sys/wait.h: Define idtype_t type.
10072         Add prototype for waitid.
10073         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10074         * sysdeps/generic/waitid.c: Stub for waitid.
10075         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10076         the __need_siginfo_t defined.
10077         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10078         * sysdeps/generic/bits/types.h: Define __id_t.
10079         Correct definition of __FDMASK.
10080         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10081         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10082         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10084         * sysdeps/posix/waitid.c: New file.
10085         Provided by Zack Weinberg.
10087         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10089         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10090         Add missing parameters.
10092         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10093         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10094         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10095         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10096         initialized.
10098         * sysdeps/i386/dl-machine.h: Little cleanup.
10100         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10101         (__finite): Mark function as const.
10102         Add inline code for __ieee754_atan2.
10104         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10105         (but don't use it now).
10106         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10107         __atan.
10108         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10109         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10110         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10111         real part.
10112         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10113         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10114         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10115         __ieee754_atan2 to base 10.
10116         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10117         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10119         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10120         old_kernel_sigaction.
10122         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10124         * wctype/Makefile (routines): Add wctype_l.
10125         * wctype/wctype.h: Add declaration of __wctype_l.
10126         * wctype/wctype_l.c: New file.
10128 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10130         * locale/C-ctype.c: Correct data for isw* functions.
10131         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10132         byte order.
10133         * wctype/test_wctype.c: Add test for isw* functions.
10134         * wctype/wctype.c: Return value with expected byte order.
10136 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10138         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10140 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10142         * iconvdata/Makefile: Fix a typo.
10144         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10145         oldsiglist for shared library.
10147         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10148         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10150         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10151         sys_siglist, sys_sigabbrev): New file. Make them as the old
10152         version GLIBC_2.0.
10154         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10155         to GLIBC_2.1.
10157 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10159         * libio/iofgets.c (_IO_fgets): Return an error only if there
10160         is a new error.
10161         * libio/iogets.c (_IO_gets): Ditto.
10163 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10165         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10167         * libio/Makefile (routines, shared-only-routines): Add
10168         oldiofdopen.
10170         * libio/fileops.c: Don't use _IO_FILE_complete.
10171         * libio/iofdopen.c: Ditto.
10172         * libio/iofopen.c: Ditto.
10173         * libio/iofopen64.c: Ditto.
10174         * libio/iopopen.c: Ditto.
10175         * libio/iovdprintf.c: Ditto.
10177         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10179         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10180         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10182         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10183         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10185         * libio/libio.h (_IO_FILE): Add more fields.
10186         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10187         one if _IO_USE_OLD_IO_FILE is defined
10188         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10189         them _IO_FILE_complete.
10191         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10192         to adjust vtable.
10193         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10194         _IO_JUMPS.
10195         (_IO_FILE_complete): Commented out.
10197         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10198         * libio/oldiofclose.c: Ditto.
10199         * libio/oldiofopen.c: Ditto.
10200         * libio/oldstdfiles.c: Ditto.
10202         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10203         for the old _IO_FILE.
10205         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10206         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10207         and stderr.
10209         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10210         and remove INAME.
10212         * libio/stdio.c (stdin, stdout, stdin): Don't use
10213         _IO_FILE_complete.
10215         * libio/oldiofdopen.c: New.
10217         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10218         hp->_vtable_offset to 0.
10220 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10222         * libc.map (_IO_file_open): Added.
10224         * libio/libioP.h (_IO_file_open): Declared.
10226         * libio/fileops.c (_IO_file_open): New.
10227         (_IO_file_fopen): Call _IO_file_open ().
10229         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10230         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10232 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10234         * signal/signal.h: Fix selection of signal semantics to match
10235         comment.
10237 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10239         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10240         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10241         rt_sigreturn.
10242         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10243         [$(subdir)=signal]: Remove rt_sigreturn.
10244         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10245         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10246         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10248 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10250         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10251         declarations.
10253 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10255         * iconvdata/extra-module.mk: Expand extra-objs now.
10257 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10259         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10260         inline functions by feature tests to avoid warning about missing
10261         prototype declarations.
10263 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10265         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10266         return code for non existent +name entries.
10267         * nis/nss_compat/compat-pwd.c: Likewise.
10268         * nis/nss_compat/compat-spwd.c: Likewise.
10270 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10272         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10273         (EIO): Likewise.
10274         (ENOSPC): Likewise.
10275         (EEXIST): Likewise.
10276         (__errno_location): Likewise.
10278         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10280         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10282 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10284         * sunrpc/publickey.c: Use new NSS interface.
10286 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10288         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10290 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10292         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10293         value, to match spirit of the standard.
10294         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10295         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10296         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10298 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10300         * manual/signal.texi (Signal Stack): Remove spurious @item.
10302 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10304         * rt/aio.h: Remove double semicolon.
10306         * rt/librt.map: Add aio_init.
10308 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10310         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10311         * Makefile (subdirs): Replace rt by $(rt).
10313         * shlib-versions: Use version .2 for NSS modules.
10315         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10316         argument.
10317         * pwd/fgetpwent_r.c: Likewise.
10318         * spwd/fgetspent_r.c: Likewise.
10319         * spwd/sgetspent_r.c: Likewise.
10320         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10321         Store error number in *ERRNOP.  Little optimization.
10322         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10323         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10324         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10325         (__internal_getnetgrent_r): New argument.
10326         Call __internal_setnetgrent_reuse with new argument.
10327         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10328         * inet/netgroup.h: Add argument to prototypes.
10329         * nis/nisplus-parser.h: Likewise.
10330         * nis/nss_compat/compat-grp.c: Change everything to store error
10331         code through provided pointer and not use errno.
10332         * nis/nss_compat/compat-pwd.c: Likewise.
10333         * nis/nss_compat/compat-spwd.c: Likewise.
10334         * nis/nss_nis/nis-alias.c: Likewise.
10335         * nis/nss_nis/nis-ethers.c: Likewise.
10336         * nis/nss_nis/nis-grp.c: Likewise.
10337         * nis/nss_nis/nis-hosts.c: Likewise.
10338         * nis/nss_nis/nis-netgrp.c: Likewise.
10339         * nis/nss_nis/nis-network.c: Likewise.
10340         * nis/nss_nis/nis-proto.c: Likewise.
10341         * nis/nss_nis/nis-publickey.c: Likewise.
10342         * nis/nss_nis/nis-pwd.c: Likewise.
10343         * nis/nss_nis/nis-rpc.c: Likewise.
10344         * nis/nss_nis/nis-service.c: Likewise.
10345         * nis/nss_nis/nis-spwd.c: Likewise.
10346         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10347         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10348         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10349         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10350         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10351         * nis/nss_nisplus/nisplus-network.c: Likewise.
10352         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10353         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10354         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10355         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10356         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10357         * nis/nss_nisplus/nisplus-service.c: Likewise.
10358         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10359         * nss/nss_db/db-XXX.c: Likewise.
10360         * nss/nss_db/db-alias.c: Likewise.
10361         * nss/nss_db/db-netgrp.c: Likewise.
10362         * nss/nss_files/files-XXX.c: Likewise
10363         * nss/nss_files/files-alias.c: Likewise
10364         * nss/nss_files/files-netgrp.c: Likewise
10365         * nss/nss_files/files-parse.c: Likewise
10366         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10367         parameter of get functions.
10368         * nss/getXXent_r.c: Likewise.
10370         * localedata/tst-fmon.c: Print debug info if test fails.
10372         * rt/Makefile (routines): Add aio_notify.
10373         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10374         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10375         * rt/aio_fsync.c: Likewise.
10376         * rt/aio_misc.c: Likewise.
10377         * rt/aio_misc.h: Likewise.
10378         * rt/aio_read.c: Likewise.
10379         * rt/aio_read64.c: Likewise.
10380         * rt/aio_suspend.c: Likewise.
10381         * rt/aio_write.c: Likewise.
10382         * rt/aio_write64.c: Likewise.
10383         * rt/lio_listio.c: Likewise.
10384         * rt/lio_listio64.c: Likewise.
10385         * rt/aio_notify.c: New file.
10387         * sysdeps/generic/bits/sigset.h: Pretty print.
10389         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10390         really defined as __pwrite.
10392         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10393         instead of pread64.
10394         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10396         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10397         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10398         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10399         size in syscall.
10400         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10401         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10402         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10403         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10404         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10405         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10406         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10407         for ACT being NULL.
10408         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10409         RT signals.
10410         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10411         __NR_pread is not defined.
10412         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10413         __NR_pwrite is not defined.
10415 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10417         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10418         handle for /etc/group back in some more cases.
10419         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10420         handle for /etc/passwd back in some more cases.
10421         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10422         handle for /etc/shadow back in some more cases.
10424 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10426         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10427         beyound its size.
10428         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10429         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10431 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10433         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10434         handling.  Don't use macros, we need functions.  Use inline functions
10435         for optimization.
10436         * sysdeps/wordsize-64/inttypes.h: Likewise.
10437         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10438         and wcstoumax.
10439         * sysdeps/wordsize-64/Makefile: Likewise.
10440         * sysdeps/wordsize-32/Dist: Likewise.
10441         * sysdeps/wordsize-64/Dist: Likewise.
10442         * sysdeps/wordsize-32/strtoimax.c: New file.
10443         * sysdeps/wordsize-32/strtoumax.c: New file.
10444         * sysdeps/wordsize-32/wcstoimax.c: New file.
10445         * sysdeps/wordsize-32/wcstoumax.c: New file.
10446         * sysdeps/wordsize-64/strtoimax.c: New file.
10447         * sysdeps/wordsize-64/strtoumax.c: New file.
10448         * sysdeps/wordsize-64/wcstoimax.c: New file.
10449         * sysdeps/wordsize-64/wcstoumax.c: New file.
10451 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10453         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10454         that transparent union works.
10455         * sysdeps/generic/wait4.c (__wait4): Likewise.
10456         * sysdeps/generic/wait.c (__wait): Likewise.
10458         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10459         size_t.
10461         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10462         long, to match prototype.
10464         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10465         have mremap() yet.
10467         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10469         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10471         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10473         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10474         __rlim_t.
10476         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10478         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10480         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10481         __S_IFLNK.
10483         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10484         <bits/stdio_lim.h>.
10485         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10487 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10489         * posix/sys/wait.h: Don't use transparent unions in C++.
10491 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10493         * time/time.h: Add strfxtime.
10495         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10496         sysv_signal, strfxtime, pread64, pwrite64.
10498 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10500         Alpha changes for EGCS:
10501         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10502         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10503         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10504         (_start): Likewise.
10505         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10507 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10509         The kernel expects the arguments in a different order.
10510         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10511         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10513         * FAQ.in: New file.
10514         * gen-FAQ.pl: New file.
10515         * Makefile (FAQ): Add rule to generate from FAQ.in.
10517         * iconvdata/Makefile: Treat libJIS like the other modules.
10519         * rt/librt.map: New file.
10521         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10522         inclusion.
10523         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10524         comment.
10526 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10528         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10529         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10530         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10531         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10533 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10535         * string/bits/string2.h: Fix spellings.
10537         * string/string.h: Fix spellings.
10539 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10541         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10542         declaration to __syscall_rt_sigaction.
10544         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10545         non-existant <sigcontext.h>.
10547 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10549         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10550         typo.
10552 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10554         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10556         * Makeconfig (shared-thread-library): Correct spelling.
10558         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10559         <asm/pci.h>.
10561 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10563         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10564         constants from Linux headers. Pointed out by
10565         csmall@scooter.o.i.net. [PR libc/369]
10567 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10569         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10571 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10573         * configure.in: If --enable-add-ons is given without an
10574         argument, set the addons list to all subdirs with a configure
10575         script.
10577 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10579         * Makeconfig: Add shared-thread-library variable.
10581         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10582         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10583         here.
10584         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10585         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10586         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10587         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10588         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10589         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10590         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10591         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10592         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10593         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10594         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10595         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10596         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10597         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10598         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10599         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10600         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10601         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10602         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10603         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10604         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10605         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10606         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10607         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10608         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10610         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10611         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10612         * signal/Makefile (headers): Add bits/siginfo.h.
10613         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10614         (distribute): Add testrtsig.h.
10615         * signal/allocrtsig.c: New file.
10616         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10617         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10618         __libc_current_sigrtmax.
10619         * sysdeps/generic/sigqueue.c: New file.
10620         * sysdeps/generic/sigtimedwait.c: New file.
10621         * sysdeps/generic/sigwaitinfo.c: New file.
10622         * sysdeps/generic/testrtsig.h: New file.
10623         * sysdeps/generic/bits/siginfo.h: New file.
10624         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10625         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10626         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10627         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10628         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10629         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10630         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10631         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10632         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10633         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10634         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10635         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10636         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10637         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10638         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10639         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10640         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10641         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10642         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10643         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10644         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10645         and _POSIX_REALTIME_SIGNALS.
10646         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10647         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10648         update _NSIG.
10649         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10650         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10651         definitions.
10653         * Makefile (subdirs): Add rt.
10654         * shlib-versions: Add entry for librt.
10655         * rt/Makefile: New file.
10656         * rt/aio.h: New file.
10657         * rt/aio_cancel.c: New file.
10658         * rt/aio_error.c: New file.
10659         * rt/aio_fsync.c: New file.
10660         * rt/aio_misc.c: New file.
10661         * rt/aio_misc.h: New file.
10662         * rt/aio_read.c: New file.
10663         * rt/aio_read64.c: New file.
10664         * rt/aio_return.c: New file.
10665         * rt/aio_suspend.c: New file.
10666         * rt/aio_write.c: New file.
10667         * rt/aio_write64.c: New file.
10668         * rt/lio_listio.c: New file.
10669         * rt/lio_listio64.c: New file.
10670         * sysdeps/generic/aio_sigqueue.c: New file.
10671         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10672         * sysdeps/unix/sysv/linux/Dist: Add new files
10673         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10674         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10675         rt_sigqueueinfo, rt_sigaction.
10677         * posix/Makefile (headers): Add bits/environments.h.
10678         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10679         and _CS_LFS_CFLAGS on 64bit platforms.
10680         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10681         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10682         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10683         compilation modules.
10684         * sysdeps/wordsize-32/bits/environments.h: New file.
10685         * sysdeps/wordsize-64/bits/environments.h: New file.
10687         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10688         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10689         __libc_pid.
10690         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10691         0xf00baa.
10693         * string/string.h: Add declaration of __strverscmp.
10694         * string/strverscmp.c: Rename function ot __strverscmp and make old
10695         name weak alias.
10697         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10698         * sysdeps/generic/enbl-secure.c: Likewise.
10699         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10701         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10703         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10705 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10707         * posix/sys/wait.h: Use __transparent_union__ instead of
10708         transparent_union.  Reported by Roland McGrath.
10710 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10712         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10713         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10714         [PR libc/366].
10716         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10718         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10720 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10722         * grp/initgroups.c: Increase buffer if it is too small.
10724 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10726         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10727         fields, this is no ISO C.  Reported by Andreas Jaeger.
10729 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10731         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10733 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10735         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10736         _SYS_UTSNAME_H not _UTSNAME_H.
10738 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10740         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10741         computing s_scale.
10743 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10745         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10746         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10747         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10749         * math/libm-test.c (csqrt_test): Add testcase.
10751 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10753         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10754         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10755         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10757 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10759         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10761 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10763         * math/libm-test.c (acos_test): Add more tests.
10764         (asin_test): Likewise.
10765         (atan_test): Likewise.
10766         (exp_test): Likewise.
10767         (sin_test): Likewise.
10768         (sqrt_test): Likewise.
10769         (cpow_test): Likewise.
10770         (csqrt_test): Likewise.
10771         (cexp_test): Correct typo in gcc version test.
10773 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10775         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10776         <bits/setjmp.h>.
10777         * sysdeps/arm/setjmp.S: Likewise.
10779         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10781 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10783         * stdio/stdio.h: Add prototype for tmpfile64().
10785 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10787         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10788         prototype to keep in step with libio version.
10790         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10792 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10794         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10795         cross-compiling.
10797 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10799         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10800         load GOT ptr before jumping to _exit.
10801         Reported by Xavier Leroy.
10803 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10805         * Makefile (subdirs): Add iconvdata and localedata.
10807         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10809         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10811         * iconvdata/8bit-gap.c: New file.
10812         * iconvdata/8bit-generic.c: Renamed from ...
10813         * iconvdata/iso8859-generic.c: ...this.
10814         * iconvdata/configure: Removed.
10815         * iconvdata/Makefile: Add new modules and better rules.
10816         * iconvdata/iso6937.c: Minor bug fixes.
10817         * iconvdata/iso8859-1.c: Likewise.
10818         * iconvdata/t61.c: Likewise.
10819         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10820         Minor bug fixes.
10821         * iconvdata/iso8859-3.c: Likewise.
10822         * iconvdata/iso8859-4.c: Likewise.
10823         * iconvdata/iso8859-5.c: Likewise.
10824         * iconvdata/iso8859-6.c: Likewise.
10825         * iconvdata/iso8859-7.c: Likewise.
10826         * iconvdata/iso8859-8.c: Likewise.
10827         * iconvdata/iso8859-9.c: Likewise.
10828         * iconvdata/iso8859-10.c: Likewise.
10829         * iconvdata/ebcdic-at-de-a.c: New file.
10830         * iconvdata/ebcdic-at-de.c: New file.
10831         * iconvdata/ebcdic-ca-fr.c: New file.
10832         * iconvdata/hp-roman8.c: New file.
10833         * iconvdata/koi-8.c: New file.
10834         * iconvdata/koi8-r.c: New file.
10835         * iconvdata/koi8-h.c: New file.
10836         * iconvdata/latin-greek-1.c: New file.
10837         * iconvdata/latin-greek-1.h: New file.
10838         * iconvdata/latin-greek.c: New file.
10839         * iconvdata/latin-greek.h: New file.
10840         * iconvdata/jis0201.c: New file.
10841         * iconvdata/jis0201.h: New file.
10842         * iconvdata/jis0208.c: New file.
10843         * iconvdata/jis0208.h: New file.
10844         * iconvdata/jis0212.c: New file.
10845         * iconvdata/jis0212.h: New file.
10846         * iconvdata/sjis.c: New file.
10847         * iconvdata/gap.pl: New file.  Script to generate table header.
10848         * iconvdata/gaptab.pl: New file.
10849         * iconvdata/gconv-modules: Add info about new modules.
10851         * locale/programs/charmap.c: Also examine alias names given in charmap
10852         files.
10854         * localedata/*: Add to here from add-on.  We need the information
10855         to generate tables for iconv.
10857         Update from db-2.3.14.
10858         * db2/Makefile: Updated.
10859         * db2/config.h: Likewise.
10860         * db2/db.h: Likewise.
10861         * db2/db_int.h: Likewise.
10862         * db2/btree/bt_cursor.c: Likewise.
10863         * db2/btree/bt_delete.c: Likewise.
10864         * db2/btree/bt_put.c: Likewise.
10865         * db2/btree/bt_search.c: Likewise.
10866         * db2/btree/bt_split.c: Likewise.
10867         * db2/btree/btree_auto.c: Likewise.
10868         * db2/common/db_appinit.c: Likewise.
10869         * db2/common/db_apprec.c: Likewise.
10870         * db2/common/db_err.c: Likewise.
10871         * db2/common/db_region.c: Likewise.
10872         * db2/db/db_auto.c: Likewise.
10873         * db2/db/db_dispatch.c: Likewise.
10874         * db2/db/db_ret.c: Likewise.
10875         * db2/dbm/dbm.c: Likewise.
10876         * db2/hash/hash_auto.c: Likewise.
10877         * db2/include/btree_ext.h: Likewise.
10878         * db2/include/common_ext.h: Likewise.
10879         * db2/include/db.h.src: Likewise.
10880         * db2/include/db_cxx.h: Likewise.
10881         * db2/include/db_ext.h: Likewise.
10882         * db2/include/db_int.h.src: Likewise.
10883         * db2/include/lock.h: Likewise.
10884         * db2/include/log.h: Likewise.
10885         * db2/include/mp.h: Likewise.
10886         * db2/include/mp_ext.h: Likewise.
10887         * db2/include/os_ext.h: Likewise.
10888         * db2/include/os_func.h: Likewise.
10889         * db2/lock/lock.c: Likewise.
10890         * db2/lock/lock_deadlock.c: Likewise.
10891         * db2/log/log.c: Likewise.
10892         * db2/log/log_archive.c: Likewise.
10893         * db2/log/log_auto.c: Likewise.
10894         * db2/log/log_get.c: Likewise.
10895         * db2/log/log_put.c: Likewise.
10896         * db2/mp/mp_bh.c: Likewise.
10897         * db2/mp/mp_fget.c: Likewise.
10898         * db2/mp/mp_fopen.c: Likewise.
10899         * db2/mp/mp_fput.c: Likewise.
10900         * db2/mp/mp_fset.c: Likewise.
10901         * db2/mp/mp_open.c: Likewise.
10902         * db2/mp/mp_pr.c: Likewise.
10903         * db2/mp/mp_region.c: Likewise.
10904         * db2/mp/mp_sync.c: Likewise.
10905         * db2/mutex/README: Likewise.
10906         * db2/mutex/mutex.c: Likewise.
10907         * db2/os/os_open.c: Likewise.
10908         * db2/os/os_func.c: Removed.
10909         * db2/os/os_config.c: New file.
10910         * db2/os/os_spin.c: New file.
10911         * db2/txn/txn.c: Likewise.
10912         * db2/txn/txn_auto.c: Likewise.
10914 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10916         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10917         __typeof for C++ since this fails for class members.
10918         Reported by Neal Becker <neal@ctd.comsat.com>.
10920 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10922         * configure.in: Check for a working makeinfo (3.11 or better).
10923         * config.make.in: Add MAKEINFO to be substituted.
10924         * manual/Makefile: Don't update info if makeinfo is too old.
10926 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10928         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10929         * sysdeps/alpha/__longjmp.S: Likewise.
10930         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10931         not <bits/termios.h>.
10933         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10934         __llseek and make llseek and lseek64 weak aliases.
10935         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10936         Patches by a sun <asun@zoology.washington.edu>.
10938 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10940         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10942         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10943         * misc/sys/syslog.h: Clean up BSD header.
10945 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10947         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10949         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10950         for ctan(+-inf,x).
10951         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10952         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10954         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10955         csqrt (-1), ctanh(i*pi/4).
10957 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10959         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10961 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10963         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10965 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10967         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10969 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10971         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10972         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10973         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10974         of GETCWD_STORYGE_CLASS and put the return type and the
10975         `internal_function' in the right order for gcc 2.7.2.
10977 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10979         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10980         incompatible with Linux 2.1.x.  Packages using modules
10981         (e.g. modutils) should/do provide their own version.  Suggested by
10982         Richard Henderson.
10984         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10987         [$(subdir)=socket]: Remove sys/module.h.
10989 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10991         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10992         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10994         * iconv/gconv_close.c: Correct freeing of descriptor data.
10995         * iconv/gconv_simple.c: Return correct error values for illegal or
10996         incomplete characters.
10998         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10999         development.
11000         * iconvdata/Makefile: New file.
11001         * iconvdata/configure: Likewise.
11002         * iconvdata/extra-module.mk: Likewise.
11003         * iconvdata/gconv-modules: Likewise.
11004         * iconvdata/iso6937.c: Likewise.
11005         * iconvdata/iso8859-1.c: Likewise.
11006         * iconvdata/iso8859-10.c: Likewise.
11007         * iconvdata/iso8859-10.h: Likewise.
11008         * iconvdata/iso8859-2.c: Likewise.
11009         * iconvdata/iso8859-2.h: Likewise.
11010         * iconvdata/iso8859-3.c: Likewise.
11011         * iconvdata/iso8859-3.h: Likewise.
11012         * iconvdata/iso8859-4.c: Likewise.
11013         * iconvdata/iso8859-4.h: Likewise.
11014         * iconvdata/iso8859-5.c: Likewise.
11015         * iconvdata/iso8859-5.h: Likewise.
11016         * iconvdata/iso8859-6.c: Likewise.
11017         * iconvdata/iso8859-6.h: Likewise.
11018         * iconvdata/iso8859-7.c: Likewise.
11019         * iconvdata/iso8859-7.h: Likewise.
11020         * iconvdata/iso8859-8.c: Likewise.
11021         * iconvdata/iso8859-8.h: Likewise.
11022         * iconvdata/iso8859-9.c: Likewise.
11023         * iconvdata/iso8859-9.h: Likewise.
11024         * iconvdata/iso8859-generic.c: Likewise.
11025         * iconvdata/t61.c: Likewise.
11027         * string/Makefile (routines): Add strcasestr.
11028         * string/string.h: Add prototype for strcasestr.
11029         * sysdeps/generic/strcasestr.c: New file.
11030         * wcsmbs/mbrtowc.c: Simplify special case a bit.
11031         * wcsmbs/wcrtomb.c: Likewise.
11032         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
11033         * wcsmbs/wcsnrtombs.c: Likewise.
11034         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11035         partial character is read.
11036         * wcsmbs/wcsrtombs.c: Likewise.
11037         * wcsmbs/wmemrtombs.c: Likewise.
11038         * wcsmbs/wmemrtowcs.c: Likewise.
11040         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11041         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11042         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11043         * sysdeps/i386/elf/setjmp.S: Likewise.
11044         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11045         <bits/termios.h>.
11047         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11048         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11050         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11051         * sysvipc/sys/ipc.h: Likewise.
11052         * sysvipc/sys/msg.h: Likewise.
11053         * sysvipc/sys/sem.h: Likewise.
11054         * sysvipc/sys/shm.h: Likewise.
11056         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11057         used directly.
11058         * sysdeps/alpha/bits/setjmp.h: Likewise.
11059         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11060         * sysdeps/arm/bits/endian.h: Likewise.
11061         * sysdeps/arm/bits/setjmp.h: Likewise.
11062         * sysdeps/generic/bits/byteswap.h: Likewise.
11063         * sysdeps/generic/bits/confname.h: Likewise.
11064         * sysdeps/generic/bits/dirent.h: Likewise.
11065         * sysdeps/generic/bits/dlfcn.h: Likewise.
11066         * sysdeps/generic/bits/endian.h: Likewise.
11067         * sysdeps/generic/bits/fenv.h: Likewise.
11068         * sysdeps/generic/bits/huge_val.h: Likewise.
11069         * sysdeps/generic/bits/in.h: Likewise.
11070         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11071         * sysdeps/generic/bits/ioctls.h: Likewise.
11072         * sysdeps/generic/bits/ipc.h: Likewise.
11073         * sysdeps/generic/bits/msq.h: Likewise.
11074         * sysdeps/generic/bits/poll.h: Likewise.
11075         * sysdeps/generic/bits/resource.h: Likewise.
11076         * sysdeps/generic/bits/sched.h: Likewise.
11077         * sysdeps/generic/bits/sem.h: Likewise.
11078         * sysdeps/generic/bits/setjmp.h: Likewise.
11079         * sysdeps/generic/bits/shm.h: Likewise.
11080         * sysdeps/generic/bits/sigaction.h: Likewise.
11081         * sysdeps/generic/bits/sigcontext.h: Likewise.
11082         * sysdeps/generic/bits/socket.h: Likewise.
11083         * sysdeps/generic/bits/stat.h: Likewise.
11084         * sysdeps/generic/bits/statfs.h: Likewise.
11085         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11086         * sysdeps/generic/bits/termios.h: Likewise.
11087         * sysdeps/generic/bits/time.h: Likewise.
11088         * sysdeps/generic/bits/uio.h: Likewise.
11089         * sysdeps/generic/bits/utmp.h: Likewise.
11090         * sysdeps/generic/bits/utmpx.h: Likewise.
11091         * sysdeps/generic/bits/utsname.h: Likewise.
11092         * sysdeps/generic/bits/waitflags.h: Likewise.
11093         * sysdeps/generic/bits/waitstatus.h: Likewise.
11094         * sysdeps/gnu/bits/utmp.h: Likewise.
11095         * sysdeps/gnu/bits/utmpx.h: Likewise.
11096         * sysdeps/i386/bits/byteswap.h: Likewise.
11097         * sysdeps/i386/bits/endian.h: Likewise.
11098         * sysdeps/i386/bits/huge_val.h: Likewise.
11099         * sysdeps/i386/bits/setjmp.h: Likewise.
11100         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11101         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11102         * sysdeps/m68k/bits/byteswap.h: Likewise.
11103         * sysdeps/m68k/bits/endian.h: Likewise.
11104         * sysdeps/m68k/bits/setjmp.h: Likewise.
11105         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11106         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11107         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11108         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11109         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11110         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11111         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11112         * sysdeps/mips/bits/dlfcn.h: Likewise.
11113         * sysdeps/mips/bits/endian.h: Likewise.
11114         * sysdeps/mips/bits/setjmp.h: Likewise.
11115         * sysdeps/mips/dec/bits/endian.h: Likewise.
11116         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11117         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11118         * sysdeps/mips/p40/bits/endian.h: Likewise.
11119         * sysdeps/powerpc/bits/endian.h: Likewise.
11120         * sysdeps/powerpc/bits/fenv.h: Likewise.
11121         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11122         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11123         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11124         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11125         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11126         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11127         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11128         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11129         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11130         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11131         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11132         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11133         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11134         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11135         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11136         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11137         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11138         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11139         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11140         * sysdeps/unix/common/bits/dirent.h: Likewise.
11141         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11142         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11143         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11144         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11145         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11146         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11147         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11148         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11149         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11150         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11151         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11152         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11153         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11154         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11155         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11156         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11157         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11158         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11159         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11160         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11161         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11162         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11163         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11164         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11165         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11166         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11167         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11168         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11169         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11170         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11171         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11172         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11173         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11174         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11175         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11176         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11177         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11178         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11179         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11180         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11181         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11182         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11183         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11184         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11185         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11186         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11187         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11188         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11189         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11190         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11191         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11192         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11193         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11194         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11195         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11196         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11197         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11198         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11199         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11200         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11201         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11202         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11203         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11204         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11205         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11206         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11207         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11208         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11209         * sysdeps/vax/bits/huge_val.h: Likewise.
11210         * sysdeps/vax/bits/setjmp.h: Likewise.
11211         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11212         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11214 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11216         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11218 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11220         * strftime.c (strftime):
11221         No longer any need to undef or declare if emacs is defined.
11222         (my_strftime): When checking a -1 returned by mktime, don't blow up
11223         if localtime_r returns NULL.
11225 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11227         * README.template: Fix spelling.
11229 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11231         * configure.in: Enhance --enable-add-ons description a wee bit.
11233 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11235         * glibcbug.in: Add more information of build environment and flags.
11237 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11239         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11240         it into ENOENT.
11242 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11244         * elf/dl-support.c: Call __libc_init_secure to make sure
11245         __libc_enable_secure is defined early.
11246         * sysdeps/generic/enbl-secure.c: Change function name to
11247         __libc_init_secure and make it global instead of a constructor.
11249         * iconv/gconv.c: Fix lots of bugs.
11250         * iconv/gconv.h: Likewise.
11251         * iconv/gconv_builtin.h: Likewise.
11252         * iconv/gconv_close.c: Likewise.
11253         * iconv/gconv_conf.c: Likewise.
11254         * iconv/gconv_db.c: Likewise.
11255         * iconv/gconv_dl.c: Likewise.
11256         * iconv/gconv_open.c: Likewise.
11257         * iconv/gconv_simple.c: Likewise.
11258         * iconv/iconv.c: Likewise.
11259         * iconv/iconv_close.c: Likewise.
11260         * iconv/iconv_open.c: Likewise.
11262         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11263         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11264         * wcsmbs/wmemrtombs.c: New file.
11265         * wcsmbs/wmemrtowcs.c: New file.
11267 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11269         * iconv/gconv_simple.c: Fix lots of bugs.
11270         * iconv/iconv_open.c: Normalize names before passing them to
11271         __gconv_open.
11273         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11275         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11276         * stdio-common/test-popen.c: Add test for above change.
11278         * math/libm-test.c: Print test results also using %a format,
11279         specified in PRINTF_XEXPR macro.
11280         * math/test-double.c: Define PRINTF_XEXPR.
11281         * math/test-float.c: Likewise.
11282         * math/test-ldouble.c: Likewise.
11283         * math/test-idouble.c: Likewise.
11284         * math/test-ifloat.c: Likewise.
11285         * math/test-ildoubl.c: Likewise.
11287         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11288         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11289         FP number format.
11291         * stdlib/strtod.c: Little code cleanup.
11293         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11294         compiling in math subdir.
11296         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11297         instead of __LIBC_M81_MATH_INLINES.
11298         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11299         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11300         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11301         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11302         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11303         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11304         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11305         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11306         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11307         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11308         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11309         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11310         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11311         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11312         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11313         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11314         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11315         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11316         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11317         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11318         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11319         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11320         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11321         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11322         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11323         __LIBC_INTERNAL_MATH_INLINES is defined.
11325         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11326         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11327         Define __signbit inline functions and __ieee754_sqrt which can be
11328         used if the ompiler is fixed.
11330         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11332 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11334         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11335         sysdeps/generic in the whole dep file, not only in the first line.
11337 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11339         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11341 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11343         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11344         place.
11346 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11348         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11349         is non-empty.
11351 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11353         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11354         return value.
11356 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11358         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11359         readlink succeeds but the return value is too long.
11361         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11363 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11365         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11366         __remqu for Alpha.
11368 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11370         * sysdeps/generic/sys/ucontext.h: Stub context file.
11372         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11374         * manual/Makefile (distribute): Add stdio-fp.c.
11376         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11378         * db2/Makefile (distribute): Add include/os_func.h, README and
11379         mutex/tsl_parisc.s.
11381         * hesiod/Makefile (distribute): Add README.hesiod.
11383 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11385         * iconv/gconv.c: Correctly call transformation function.
11387         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11389 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11391         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11392         wrong results for e.g. remquo (3,2, &x)).
11393         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11394         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11396 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11398         * configure.in (ld --version-script): Test if the same symbol
11399         maybe defined in all versions (needed by recent changes to
11400         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11401         if versioning is not supported/enabled.
11402         (bash test): Correct test case.
11404         * math/libm-test.c: Added counting/reporting of number of test cases.
11406         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11407         use awk instead.
11409         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11411 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11413         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11415 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11417         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11418         Replace revoke call by use of REVOKE.
11419         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11420         empty and #include generic version.
11421         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11423 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11425         * libc.map: Add socket functions with __libc_* names.
11426         Reported by Andreas Jaeger.
11428 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11430         * libc.map: Tidy up (remove duplicates, sort entries).
11432 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11434         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11436 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11438         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11439         again after successful call.
11440         Patch by Marc Lehmann <pcg@goof.com>.
11442 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11444         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11445         as some hosts need this to declare localtime_r properly.
11447 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11449         * libc.map: Add iconv_open, iconv, and iconv_close.
11451 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11453         * iconv/Makefile: New file.
11454         * iconv/gconv.c: New file.
11455         * iconv/gconv.h: New file.
11456         * iconv/gconv_builtin.c: New file.
11457         * iconv/gconv_builtin.h: New file.
11458         * iconv/gconv_close.c: New file.
11459         * iconv/gconv_conf.c: New file.
11460         * iconv/gconv_db.c: New file.
11461         * iconv/gconv_dl.c: New file.
11462         * iconv/gconv_open.c: New file.
11463         * iconv/gconv_simple.c: New file.
11464         * iconv/iconv.c: New file.
11465         * iconv/iconv.h: New file.
11466         * iconv/iconv_close.c: New file.
11467         * iconv/iconv_open.c: New file.
11468         * include/gconv.h: New file.
11470         * Makeconfig: Define gconvdir.
11471         * Makefile (subdirs): Add iconv.
11473         * string/bits/string2.h: Add optimization for strtok_r.
11475         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11476         for NULL.
11477         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11478         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11480         * configure.in: Correct test for bash2.
11481         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11483         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11484         (CFLAGS-locfile.c): Likewise.
11485         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11487         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11488         non-existing entry if the table is full.
11490         * posix/regex.h: Pretty print.
11492         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11494         * sysdeps/posix/ctermid.c: Simplify a bit.
11496         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11498 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11500         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11501         <sys/types.h> instead of <asm/types.h>.
11503 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11505         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11507 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11509         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11510         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11511         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11512         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11513         fclose): Added to GLIBC_2.1.
11515         * libio/Makefile (routines, shared-only-routines): Add
11516         oldiofclose.  Remove oldfreopen.
11518         * libio/freopen.c (freopen): When PIC is defined, call
11519         _IO_old_freopen () for old stdio.
11521         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11522         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11523         for GLIBC_2.1.
11525         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11526         instead of _IO_file_close_it.
11528         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11529         to _IO_2_1_stdxxx_.
11530         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11531         is defined.
11533         * libio/libioP.h (_IO_old_do_flush): New.
11535         * libio/oldfileops.c (_IO_old_file_close_it,
11536         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11537         Call _IO_old_do_flush () instead of _IO_do_flush ().
11538         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11539         _IO_do_write ().
11541         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11542         instead of _IO_file_init ().
11543         Bind old symbols to version GLIBC_2.0.
11545         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11546         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11547         _IO_stdxxx_.
11548         (_IO_check_libio): New function in .init.
11550         * libio/oldiofclose.c: New file.
11552         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11553         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11554         (DEF_STDFILE): Don't use default_symbol_version.
11556         * libio/stdio.c (stdin, stdout, stderr): Set to
11557         _IO_2_1_stdxxx_._
11558         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11559         stdxxx.
11561         * csu/Makefile (distribute): Add init.c.
11562         (extra-objs): Add init.o for ELF.
11563         (start-installed-name): Add $(objpfx)init.o.
11565         * csu/init.c: New file.
11567 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11569         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11570         definition as the default.
11572 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11574         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11576 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11578         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11579         (PR 351).
11581 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11583         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11584         to preserve condition codes on function call.
11586 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11588         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11590 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11592         * math/libm-test.c (asin_test): Add epsilon for float.
11593         (tan_test): Add epsilon for float.
11594         (log1p_test): Add epsilon for float.
11595         (inverse_functions): Add epsilons.
11597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11598         net/if_packet.h.
11600         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11602 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11604         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11605         variable, since $(object-suffixes) is not defined yet.
11607 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11609         * db2/Makefile (distribute): db185/db185_int.src ->
11610         db185/db185_int.h.
11612 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11614         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11615         exactly one.
11617 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11619         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11620         name.
11621         * sysdeps/generic/e_acosl.c: Likewise.
11622         * sysdeps/generic/e_asinl.c: Likewise.
11623         * sysdeps/generic/e_atan2l.c: Likewise.
11624         * sysdeps/generic/e_expl.c: Likewise.
11625         * sysdeps/generic/e_fmodl.c: Likewise.
11626         * sysdeps/generic/e_j0l.c: Likewise.
11627         * sysdeps/generic/e_j1l.c: Likewise.
11628         * sysdeps/generic/e_jnl.c: Likewise.
11629         * sysdeps/generic/e_lgammal_r.c: Likewise.
11630         * sysdeps/generic/e_log10l.c: Likewise.
11631         * sysdeps/generic/e_logl.c: Likewise.
11632         * sysdeps/generic/e_powl.c: Likewise.
11633         * sysdeps/generic/e_sqrtl.c: Likewise.
11634         * sysdeps/generic/e_exp2l.c: Likewise.
11636 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11638         * Make-dist (+sysdep-names): Remove extra paren.
11639         * Makefile (distribute): Add stub-tag.h.
11640         * elf/Makefile (distribute): Add atomicity.h.
11641         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11643         [$(subdir)=socket]: Add net/if_packet.h.
11644         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11645         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11646         net/if_packet.h, scsi/sg.h.
11648 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11650         * Makefile (install): Quote $(CC) expansion.
11652 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11654         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11655         working /proc cwd and no restrictions on path length.  Following
11656         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11658 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11660         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11661         * nis/nss_compat/compat-pwd.c: Likewise.
11662         * nis/nss_compat/compat-spwd.c: Likewise.
11664 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11666         * sysdeps/libm-i387/s_fdim.S: New file.
11667         * sysdeps/libm-i387/s_fdimf.S: New file.
11668         * sysdeps/libm-i387/s_fdiml.S: New file.
11669         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11670         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11671         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11673 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11675         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11676         pointer to unsigned char.
11678 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11680         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11682         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11684         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11686 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11688         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11689         ilogb(0/NaN).
11690         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11691         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11693 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11695         * sysdeps/libm-i387/s_fmin.S: New file.
11696         * sysdeps/libm-i387/s_fminf.S: New file.
11697         * sysdeps/libm-i387/s_fminl.S: New file.
11698         * sysdeps/libm-i387/s_fmax.S: New file.
11699         * sysdeps/libm-i387/s_fmaxf.S: New file.
11700         * sysdeps/libm-i387/s_fmaxl.S: New file.
11701         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11702         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11703         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11704         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11705         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11706         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11708 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11710         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11711         * sysdeps/unix/sysv/linux/send.S: Likewise.
11712         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11713         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11714         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11715         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11716         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11717         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11718         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11720 See ChangeLog.7 for earlier changes.