Update.
[glibc.git] / ChangeLog
blob3c0fb57064834b5507e95c19f43a824171287646
1 1998-07-21  Ulrich Drepper  <drepper@cygnus.com>
3         * configure.in: Move test for available port after machine
4         variable is defined.
6 1998-07-21 16:08 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8         * sysdeps/unix/sysv/linux/sendmsg.c: If passing a SCM_CREDS
9         message, copy the buffer and resize it to what the kernel
10         wants to see.  Bug found and analyzed by Thorsten Kukuk
11         <kukuk@weber-eb.uni-paderborn.de>
13 1998-07-20  Jose M. Moya  <josem@gnu.org>
15         * hurd/hurdmsg.c (_S_msg_get_env_variable): Copy getenv return
16         value.
18 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
20         * sysdeps/mach/hurd/getdomain.c: New file.
21         * sysdeps/mach/hurd/setdomain.c: New file.
23 1998-07-20  Roland McGrath  <roland@baalperazim.frob.com>
25         * sysdeps/unix/bsd/sigsuspend.c: Define __sigsuspend with sigsuspend as
26         a weak alias.
28 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
30         * libio/libioP.h: Use __PMT in typedef.
31         * libio/strfile.h: Likewise.
33 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
35         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
36         buffer is too small.
37         Reported by John Levon <j_levon@ncc.co.uk>.
39 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
41         * shlib-versions: Remove definition for libSegFault.
43         * memory.texi: Comment out the relocating allocator description.
44         * manual/signal.texi: Remove reference to relocating allocator.
45         * manual/top-menu.texi: Regenerated.
47         * posix/fnmatch.c: Implement [: :] and change to recognize
48         ^ as negation only when not _POSIXLY_CORRECT.
50         * sysdeps/generic/glob.c: Add several optimizations.
52         * posix/glob.h: Undefine __PMT to prevent warnings.
53         Reported by Roland McGrath.
55         * posix/regex.c: Define namespace macros only for _LIBC.
57         * sysdeps/arm/dl-machine.h: Fix typo.
59         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
60         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
61         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
62         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
63         sigpending, sigqueue, and sigtimedwait.
64         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
66         * timezone/leapseconds: Update from tzdata1998f.
68 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
70         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
71         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
72         * libio/stdio.h: Fix typo.
74 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
76         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
77         magic memobj port arg parsing stuff.  Fix it someday when we are ready
78         to really use it.
79         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
80         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
82 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
84         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
86 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
88         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
89         a weak alias.
90         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
91         * sysdeps/generic/sigsuspend.c: Likewise.
93 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
95         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
97 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
99         * Makerules (map-file): Don't use $(wildcard) to find the
100         generated version script, instead look in $(version-maps).
101         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
102         is used.
103         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
104         if versioning is used.  Don't use $(wildcard) to find the
105         generated version script, instead look in $(verson-maps).
107 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
109         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
110         unused function handle.
111         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
112         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
113         * debug/catchsegv.sh: Fix argument processing, quoting and various
114         typos.  Put the crash info always in the current directory.  Find
115         program in $PATH if it contains no directory component.
116         * Makerules (install-lib.so-versioned,
117         install-lib.so-unversioned): New variables.
118         (install-lib-nosubdir): Depend on unversioned libs in
119         slibdir, not libdir.
121 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
123         * Make-dist (+tsrcs): Remove references to %-map variables and
124         *.map files.  Add Versions in subdirs.
125         * Makerules (distinfo-vars): Don't write out %-map variables.
127 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
129         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
130         Include <paths.h> instead.
131         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
132         * sysdeps/unix/sysv/linux/paths.h: Likewise.
133         Reported by Dale Scheetz <dwarf@polaris.net>.
135 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
137         * catgets/open_catalog.c: Strictly check whether catalog file is
138         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
140 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
142         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
144         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
146 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
148         * debug/catchsegv.sh: Fix several stupid bugs.
150         * shlib-versions: Define version for libSegFault.
151         * debug/Makefile: Replace shared lib version number while rewriting.
153 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
155         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
156         Suggested by Roland McGrath.
158 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
160         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
161         generation to control environment.
163 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
165         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
166         Patch by John Tobey <jtobey@banta-im.com>.
168         * manual/llio.texi: Document readv/writev and mmap functions.
169         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
171 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
173         * manual/Makefile (texis): Depend on texis.awk.
174         (nonexamples): Filter out add-on chapters.
175         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
176         (stamp-summary): Depend on $(texis) except summary.texi.
177         ($(inst_infodir)/libc.info): Simplify command.
178         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
179         Fix the generation of the detailed node listing to make it
180         complete again.
181         * manual/math.texi: Fix signature of lgamma_r.
183 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
185         * debug/Makefile (distribute): Add sigcontextinfo.h.
186         Add rules to generate and install catchsegv.
187         * debug/catchsegv.sh: New file.
189 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
191         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
192         port instead of a Mach memory object.
193         (__open): Likewise.
194         (__libc_read): New function.
195         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
196         object.
198 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
200         * debug/Makefile (routines): Add backtracesymsfd.
201         Add rules to generate libSegFault.
202         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
203         * debug/execinfo.h: Declare backtrace_symbols_fd.
204         * sysdeps/generic/backtracesymsfd.c: New file.
205         * sysdeps/generic/elf/backtracesymsfd.c: New file.
206         * sysdeps/generic/segfault.c: New file.
207         * sysdeps/generic/sigcontextinfo.h: New file.
208         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
210         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
212 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
214         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
215         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
217 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
219         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
220         * assert/assert-perr.c: Likewise.
221         * assert/assert.c: Likewise.
222         * gconv_conf.c: Likewise.
223         * libio/iofputs_u.c: Likewise.
224         * malloc/mtrace.c: Likewise.
225         * malloc/obstack.c: Likewise.
226         * misc/error.c: Likewise.
227         * misc/syslog.c: Likewise.
228         * stdio-common/asprintf.c: Likewise.
229         * stdio-common/dprintf.c: Likewise.
230         * stdio-common/getw.c: Likewise.
231         * stdio-common/putw.c: Likewise.
232         * stdio-common/snprintf.c: Likewise.
233         * stdio-common/sprintf.c: Likewise.
234         * stdio-common/sscanf.c: Likewise.
235         * sunrpc/svc_simple.c: Likewise.
236         * sysdeps/generic/abort.c: Likewise.
238         * rt/aio_cancel.c: Don't define ECANCELED here.
239         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
241 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
243         * argp/argp-fmtstream.c: Unify names of used global functions.
244         * argp/argp-help.c: Likewise.
245         * assert/assert-perr.c: Likewise
246         * assert/assert.c: Likewise
247         * dirent/scandir.c: Likewise
248         * dirent/scandir64.c: Likewise
249         * dirent/versionsort.c: Likewise
250         * dirent/versionsort64.c: Likewise
251         * gmon/bb_exit_func.c: Likewise.
252         * gmon/gmon.c: Likewise.
253         * grp/initgroups.c: Likewise.
254         * iconv/gconv_conf.c: Likewise.
255         * inet/getnameinfo.c: Likewise.
256         * inet/getnetgrent_r.c: Likewise.
257         * inet/inet_ntoa.c: Likewise.
258         * inet/rcmd.c: Likewise.
259         * inet/rexec.c: Likewise.
260         * inet/ruserpass.c: Likewise.
261         * io/fts.c: Likewise.
262         * io/ftw.c: Likewise.
263         * io/ftw64.c: Likewise.
264         * io/getdirname.c: Likewise.
265         * io/getwd.c: Likewise.
266         * io/lockf.c: Likewise.
267         * libio/iofdopen.c: Likewise.
268         * libio/iopopen.c: Likewise.
269         * login/utmp_daemon.c: Likewise.
270         * malloc/mtrace.c: Likewise.
271         * malloc/obstack.c
272         * misc/daemon.c: Likewise.
273         * misc/efgcvt_r.c: Likewise.
274         * misc/err.c: Likewise.
275         * misc/error.c: Likewise.
276         * misc/fstab.c: Likewise.
277         * misc/getpass.c: Likewise.
278         * misc/getttyent.c: Likewise.
279         * misc/mntent_r.c: Likewise.
280         * misc/search.h: Likewise.
281         * misc/syslog.c: Likewise.
282         * nscd/nscd_getgr_r.c: Likewise.
283         * nscd/nscd_getpw_r.c: Likewise.
284         * posix/getpgrp.c: Likewise.
285         * posix/wordexp.c: Likewise.
286         * pwd/fgetpwent_r.c: Likewise.
287         * pwd/getpw.c: Likewise.
288         * resolv/herror.c: Likewise.
289         * resolv/res_init.c: Likewise.
290         * shadow/fgetspent_r.c: Likewise.
291         * shadow/lckpwdf.c: Likewise.
292         * signal/sigrelse.c: Likewise.
293         * stdio-common/asprintf.c: Likewise.
294         * stdio-common/dprintf.c: Likewise.
295         * stdio-common/getw.c: Likewise.
296         * stdio-common/putw.c: Likewise.
297         * stdio-common/snprintf.c: Likewise.
298         * stdio-common/sprintf.c: Likewise.
299         * stdio-common/sscanf.c: Likewise.
300         * stdlib/lrand48_r.c: Likewise.
301         * stdlib/mrand48_r.c: Likewise.
302         * string/argz-replace.c: Likewise.
303         * string/envz.c: Likewise.
304         * sunrpc/auth_des.c: Likewise.
305         * sunrpc/auth_unix.c: Likewise.
306         * sunrpc/bindrsvprt.c: Likewise.
307         * sunrpc/clnt_gen.c: Likewise.
308         * sunrpc/clnt_perr.c: Likewise.
309         * sunrpc/clnt_simp.c: Likewise.
310         * sunrpc/clnt_tcp.c: Likewise.
311         * sunrpc/clnt_udp.c: Likewise.
312         * sunrpc/get_myaddr.c: Likewise.
313         * sunrpc/key_call.c: Likewise.
314         * sunrpc/netname.c: Likewise.
315         * sunrpc/openchild.c: Likewise.
316         * sunrpc/pmap_rmt.c: Likewise.
317         * sunrpc/rpc_dtable.c: Likewise.
318         * sunrpc/rtime.c: Likewise.
319         * sunrpc/svc_run.c: Likewise.
320         * sunrpc/svc_simple.c: Likewise.
321         * sunrpc/svc_tcp.c: Likewise.
322         * sunrpc/svc_udp.c: Likewise.
323         * sunrpc/svcauth_des.c: Likewise.
324         * sunrpc/xdr_array.c: Likewise.
325         * sunrpc/xdr_rec.c: Likewise.
326         * sunrpc/xdr_ref.c: Likewise.
327         * sunrpc/xdr_stdio.c: Likewise.
328         * sysdeps/generic/abort.c: Likewise.
329         * sysdeps/generic/dl-sysdep.c: Likewise.
330         * sysdeps/generic/fstatfs64.c: Likewise.
331         * sysdeps/generic/ftruncate64.c: Likewise.
332         * sysdeps/generic/getrlimit64.c: Likewise.
333         * sysdeps/generic/glob.c: Likewise.
334         * sysdeps/generic/prof-freq.c: Likewise.
335         * sysdeps/generic/putenv.c: Likewise.
336         * sysdeps/generic/statfs64.c: Likewise.
337         * sysdeps/generic/ttyname_r.c: Likewise.
338         * sysdeps/generic/utmp_file.c: Likewise.
339         * sysdeps/generic/vlimit.c: Likewise.
340         * sysdeps/generic/vtimes.c: Likewise.
341         * sysdeps/posix/cuserid.c: Likewise.
342         * sysdeps/posix/euidaccess.c: Likewise.
343         * sysdeps/posix/mkstemp.c: Likewise.
344         * sysdeps/posix/mktemp.c: Likewise.
345         * sysdeps/posix/pread.c: Likewise.
346         * sysdeps/posix/pread64.c: Likewise.
347         * sysdeps/posix/profil.c: Likewise.
348         * sysdeps/posix/pwrite.c: Likewise.
349         * sysdeps/posix/pwrite64.c: Likewise.
350         * sysdeps/posix/sigblock.c: Likewise.
351         * sysdeps/posix/sigpause.c: Likewise.
352         * sysdeps/posix/ttyname.c: Likewise.
353         * sysdeps/posix/ttyname_r.c: Likewise.
354         * sysdeps/posix/waitid.c: Likewise.
355         * sysdeps/unix/getlogin_r.c: Likewise.
356         * sysdeps/unix/grantpt.c: Likewise.
357         * sysdeps/unix/rewinddir.c: Likewise.
358         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
359         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
360         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
361         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
362         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
363         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
364         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
365         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
366         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
367         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
368         * sysvipc/sys/shm.h: Likewise.
369         * time/ctime_r.c: Likewise.
370         * time/strptime.c: Likewise.
371         * wcsmbs/mbrlen.c: Likewise.
372         * wcsmbs/wcsdup.c: Likewise.
373         * wcsmbs/wcsxfrm.c: Likewise.
374         * wctype/wcfuncs.c: Likewise.
376         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
377         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
378         * sysdeps/unix/sysv/linux/bind.S: Likewise.
379         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
380         * sysdeps/unix/sysv/linux/listen.S: Likewise.
381         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
382         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
383         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
385         * grp/fgetgrent_r.c: Use explicit locking of the stream.
387         * elf/Makefile (rtld-routines): Add dl-environ.
388         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
389         to...
390         * sysdeps/generic/dl-environ.c: here.  New file.
392         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
393         * libio/Versions: Add fputs_unlocked.
394         * libio/iofputs_u.c: New file.
395         * libio/stdio.h: Add prototype for fputs_unlocked.
397         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
398         * sunrpc/rpc/clnt.h: Likewise.
399         * sunrpc/rpc/pmap_clnt.h: Likewise.
400         * sunrpc/rpc/svc.h: Likewise.
401         * sunrpc/rpc/xdr.h: Likewise.
403         * sysdeps/i386/memchr.S: Correct for more strict gas.
404         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
405         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
406         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
407         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
409 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
411         * configure.in: Change message for binutils version from
412         2.8.1.0.17->2.8.1.0.23.
414 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
416         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
417         Patch by John Tobey <jtobey@banta-im.com>.
419 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
421         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
422         instead of sysconf.
424 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
426         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
427         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
428         (conv_error): Likewise.
429         (input_error): Likewise.
430         (memory_error): Likewise.
432 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
434         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
435         implementation.  Include <entry.h>.  Replace references to symbol
436         _start with macro ENTRY_POINT.
437         (__libc_uid): Remove.
438         (__libc_multiple_libcs): New variable.
439         (__libc_stack_end): New variable.
440         (_dl_hwcap_mask): New variable.
441         (_dl_important_hwcaps): New function.
442         (_dl_show_auxv): Mark internal.
444 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
446         * mach/Makefile: Create target directory before generating
447         mach-syscalls.mk.
448         * mach/Machrules: Invoke awk using AWK variable.  Create target
449         directory before generating server stubs.
451 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
453         * wcsmbs/wcslen.c (__wcslen): Fix comment.
455         * configure.in: Allow egcs-2.92.
457 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
459         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
460         chapter files.  Exorcise the chapters, chapters-incl mess.
461         Support inserting doc chapters from add-on modules.
462         (chapters): New variable.
463         (add-chapters): New variable.
464         (appendices): New variable.
465         (libc.texinfo): New target.
466         (clean): Fix bugs.
467         (realclean): Fix bugs.
469         * manual/texis.awk: New file.
470         * manual/libc-texinfo.sh: New file.
471         * manual/libc-texinfo.in: New file.
473         * manual/conf.texi (top @node): Remove next pointer.
474         * manual/lang.texi (top @node): Remove prev pointer.
476         * manual/job.texi (top @node): Add explicit pointers.
477         * manual/message.texi (top @node): Add explicit pointers.
478         * manual/nss.texi (top @node): Add explicit pointers.
479         * manual/process.texi (top @node): Add explicit pointers.
480         * manual/startup.texi (top @node): Add explicit pointers.
481         * manual/terminal.texi (top @node): Add explicit pointers.
482         * manual/users.texi (top @node): Add explicit pointers.
484         * manual/arith.texi: Add %MENU% tag.
485         * manual/conf.texi: Add %MENU% tag.
486         * manual/contrib.texi: Add %MENU% tag.
487         * manual/ctype.texi: Add %MENU% tag.
488         * manual/errno.texi: Add %MENU% tag.
489         * manual/filesys.texi: Add %MENU% tag.
490         * manual/header.texi: Add %MENU% tag.
491         * manual/install.texi: Add %MENU% tag.
492         * manual/intro.texi: Add %MENU% tag.
493         * manual/io.texi: Add %MENU% tag.
494         * manual/job.texi: Add %MENU% tag.
495         * manual/lang.texi: Add %MENU% tag.
496         * manual/llio.texi: Add %MENU% tag.
497         * manual/locale.texi: Add %MENU% tag.
498         * manual/maint.texi: Add %MENU% tag.
499         * manual/math.texi: Add %MENU% tag.
500         * manual/mbyte.texi: Add %MENU% tag.
501         * manual/memory.texi: Add %MENU% tag.
502         * manual/message.texi: Add %MENU% tag.
503         * manual/nss.texi: Add %MENU% tag.
504         * manual/pattern.texi: Add %MENU% tag.
505         * manual/pipe.texi: Add %MENU% tag.
506         * manual/process.texi: Add %MENU% tag.
507         * manual/search.texi: Add %MENU% tag.
508         * manual/setjmp.texi: Add %MENU% tag.
509         * manual/signal.texi: Add %MENU% tag.
510         * manual/socket.texi: Add %MENU% tag.
511         * manual/startup.texi: Add %MENU% tag.
512         * manual/stdio.texi: Add %MENU% tag.
513         * manual/string.texi: Add %MENU% tag.
514         * manual/sysinfo.texi: Add %MENU% tag.
515         * manual/terminal.texi: Add %MENU% tag.
516         * manual/time.texi: Add %MENU% tag.
517         * manual/users.texi: Add %MENU% tag.
519 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
521         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
522         Update.
524 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
526         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
527         style declaration to avoid warning.
528         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
530 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
532         * elf/rtld.c (process_dl_debug): Add missing continue.
534 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
536         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
537         code needs it.
539 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
541         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
542         sysd-dirs-done.
543         * Makerules: Don't generate version maps too early.
544         ($(common-objpfx)sysd-versions): Force regeneration if the list of
545         subdirs has changed.
547 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
549         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
551 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
553         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
554         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
555         return value.
557 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
559         * elf/dl-open.c (dl_open_worker): New function.
560         (_dl_open): Call it to do the actual work while catching errors.
561         * elf/dl-close.c (_dl_close): Only call termination function if
562         the initialisation function was called.
564 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
566         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
567         Reported by Felix von Leitner <leitner@amdiv.de>.
569 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
571         * Make-dist (+sysdep-tsrcs): Add Versions.
573 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
575         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
576         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
577         * sysdeps/powerpc/Versions: New file.
578         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
579         and __errno_location.
580         * misc/Versions: Add brk and sbrk.
581         * posix/Versions: Add environ, __environ and _environ.
582         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
584 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
586         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
587         Patch by Zack Weinberg.
589 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
591         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
592         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
593         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
595 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
597         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
599 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
601         * posix/unistd.h: Simplify #ifdefs.
603         * libio/libio.h: Undo last change due to possible C++ problems.
604         * libio/fileops.h: Likewise.
606 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
608         * grp/grp.h: Define gid_t also for __USE_XOPEN.
609         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
610         * io/utime.h: Define time_t also for __USE_XOPEN.
611         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
612         Define *_t types except for pid_t also for __USE_XOPEN.
613         Define S_* macros also for __USE_XOPEN.
614         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
615         THOUSEP also for __USE_XOPEN.
616         * math/math.c: Define M_* macros also for __USE_XOPEN.
617         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
618         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
619         defined.
620         * posix/glob.h: Likewise for GLOB_NOSYS.
621         * posix/regex.h: Likewise for REG_NOSYS.
622         * posix/wordexp.h: Likewise for WRDE_NOSYS.
623         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
624         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
625         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
626         * signal/signal.h: Define pid_t also for __USE_XOPEN.
627         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
628         for __USE_POSIX199309.
629         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
630         constants also for __USE_XOPEN.
631         * wcsmbs/wchar.h: For XPG4 include wctype.h.
633         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
634         * locale/setlocale.c (new_composite_name): Likewise for last_len.
636         * libio/stdio.h: Don't declare fclose_unlocked.
638         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
640 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
642         * stdio/stdio.h: Add prototypes for fflush_unlocked,
643         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
644         fgets_unlocked, fread_unlocked, fwrite_unlocked,
645         clearerr_unlocked, feof_unlocked, ferror_unlocked,
646         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
647         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
648         prototype for getopt.
649         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
650         * stdio/feof.c (feof_unlocked): Weak alias for feof.
651         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
652         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
653         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
654         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
655         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
656         * stdio/fread.c (fread_unlocked): Weak alias for fread.
657         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
658         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
659         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
660         * stdio/putc.c (putc_unlocked): Weak alias for putc.
661         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
662         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
663         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
664         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
665         getc_unlocked, getchar_unlocked, putc_unlocked and
666         putchar_unlocked.
668         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
669         from here ...
670         * stdio-common/Versions: ... to here.
672 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
674         * Makerules (versioning): Correct typo.
676 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
678         * elf/Versions: Add _dl_mcount_wrapper_check.
679         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
680         _dl_mcount_wrapper_check.
681         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
683         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
684         internal_function.
685         * elf/ldsodefs.h: Likewise.
687         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
689         * libio/stdio.h: Make sure va_list is defined for X/Open.
690         Define P_tmpdir for X/Open.
692         * posix/regex.h: Fix typo.
694         * posix/unistd.h: Define intptr_t if not already happened.
695         Add pthread_atfork prototype.
696         * sysdeps/generic/bits/types.h: Define __intptr_t.
697         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
698         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
699         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
700         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
701         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
702         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
703         * sysdeps/wordsize-64/stdint.h: Likewise.
705         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
707         * signal/Makefile (headers): Add bits/sigthread.h.
708         * signal/signal.h: Include bits/sigthread.h.
709         * sysdeps/generic/bits/sigthread.h: New file.
711         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
713         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
714         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
715         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
716         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
718         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
720         * elf/rtld.c: Remove preloading and loadpath variables in SUID
721         programs.
722         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
723         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
724         names.
726         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
728         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
729         Remove O_READ and O_WRITE definition.
731         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
732         and RLIM_SAVED_CUR.
734         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
736 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
738         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
739         scripts directory.  Pass move-if-change to awk.
740         (common-generated): Add $(version-maps) and sysd-versions.
741         * versions.awk: Moved to...
742         * scripts/versions.awk: ... here.  Use move-if-change to void
743         touching unchanged files.  Print "version-maps = ..." instead of
744         "all-version-maps = ..." and without $(common-objpfx).  Explain
745         expected variable names.
746         * Makefile (distribute): Updated.
748 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
750         * misc/getttyent.c (getttyent): Don't return with locked stream.
751         * misc/mntent_r.c (__getmntent_r): Likewise.
753 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
755         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
756         if stream is line buffered.
757         (_io_file_overflow): Likewise.
758         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
759         streams writing '\n' flushes the string.
761 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
763         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
764         * elf/dl-support.c: Define it here...
765         * elf/rtld.c: ...and here.
767 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
769         * grp/initgroups.c: Handle directives from nsswitch.conf file.
771 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
773         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
774         __ino64_t definition.
775         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
776         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
778         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
779         script if lddlibc4 failed.
780         Reported by B. D. Elliott <bde@accessone.com>.
782 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
784         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
785         Improve generated strings a bit.
787 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
789         * posix/Makefile (generated): Remove $(objpfx) from the names.
791 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
793         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
794         format string.
796         * libio/iofread_u.c: Include <stdio.h> for prototype.
797         * libio/iofwrite_u.c: Likewise.
799 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
801         * db2/Versions: New file.
803 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
805         * Makefile (lib-noranlib): Don't depend on sysd-versions.
806         ($(common-objpfx)sysd-versions): Remove rule.
807         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
808         Pass name of Versions.def file to script and redirect output to
809         target.  Include it and make all generated version maps depend on
810         it.
811         * versions.awk: Print out variable definition containing all
812         generated version maps.  Print error messages to stderr.  Remove
813         temp file.
815 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
817         * posix/annexc.c (check_header): Terminate macro name before
818         comparing.
819         (get_null_defines): Allow builtin macros with parameters.
820         (fmt, testfmt): Add -D_LIBC.
821         * posix/Makefile: Remove bogus duplicate include directories from
822         annexc test command.
824 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
826         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
827         password scheme.
828         (_nss_nis_getpwnam_r): Likewise.
829         (_nss_nis_getpwuid_r): Likewise.
831 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
833         * libio/Versions: Move symbols whose source lives in
834         stdio-common to ...
835         * stdio-common/Versions: ... here.
836         * stdio/Versions: Add missing symbols.
838 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
840         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
841         __syscall_sendmsg.
842         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
843         __syscall_recvmsg.
844         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
845         and make __recvmsg and recvmsg weak aliases.
846         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
847         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
848         and __syscall_sendmsg.
850 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
852         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
853         stream.
854         * inet/ruserpass.c (token): Likewise.
855         * nss/nsswitch.c (nss_parse_file): Likewise.
856         * intl/localealias.c: Likewise.  Also for ferror.
857         * time/getdate.c (__getdate_r): Likewise.
859         * libio/Makefile (routines): Add iofgets_u.
860         * libio/iofgets_u.c: New file.
861         * libio/Versions: Add fgets_unlocked.
862         * libio/stdio.h: Add prototype for fgets_unlocked.
864         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
865         * misc/getusershell.c (initshells): Likewise.
866         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
867         fgets_unlocked.
868         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
869         * resolv/res_init.c (res_init): Likewise.
870         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
872 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
874         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
875         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
877 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
879         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
880         _unlocked functions.
882         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
883         is a private FILE.
885 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
887         * csu/Makefile: Build crt files in lib pass.
888         * db2/Makefile (distribute): Add mutex/sco.cc.
889         * mach/Machrules: Don't generate .udeps files if no_deps is set.
890         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
891         s-proto.d if avoid-generated is set.
893         * sysdeps/alpha/Dist: List only one file per line.
894         * sysdeps/generic/Dist: Likewise.
895         * sysdeps/m68k/fpu/switch/Dist: Likewise.
896         * sysdeps/sparc/sparc32/Dist: Likewise.
897         * sysdeps/unix/Dist: Likewise.
898         * sysdeps/unix/sysv/irix4/Dist: Likewise.
900         * sysdeps/mach/hurd/i386/Dist: New file.
901         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
902         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
903         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
904         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
906 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
908         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
909         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
911         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
913         * time/tzfile.c (decode): Optimize by using bswap_32.
914         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
915         __tzname array values.
916         (__tzfile_compute): Correct setting of __tzname array values.
917         * time/tzset.c (__tzstring): Clean up a bit.
919 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
921         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
923 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
925         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
926         that fd can be bigger than FD_SETSIZE.
928 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
930         * nscd/grpcache.c: Include <unistd.h>.
931         * nscd/pwdcache.c: Likewise.
933         * nis/nis_modify.c: Include <string.h>.
934         * nis/nis_add.c: Likewise.
935         * nis/nis_checkpoint.c: Likewise.
936         * posix/runptests.c: Likewise.
937         * sysdeps/generic/statvfs64.c: Likewise.
938         * sysdeps/generic/fstatvfs64.c: Likewise.
940 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
942         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
943         to match data from Unicode.
944         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
946 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
948         * stdio-common/printf.h: Define printf_function and
949         printf_arginfo_function types using __PMT not __P.
950         Reported by Marc Lehmann.
952 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
954         * assert/test-assert.c: New test.
955         * assert/test-assert-perr.c: New test.
956         * assert/Makefile (tests): Add test-assert and test-assert-perr.
958 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
960         BSD-style SCM_CREDS support.
962         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
963         SCM_CREDS.
964         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
965         visible SCM_CREDS packet to what the kernel wants.
966         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
967         SCM_CREDS packet output by kernel to what users want.
969         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
970         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
971         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
972         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
974         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
975         __sendmsg and __recvmsg to sysdep_routines.
976         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
978 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
980         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
981         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
982         * nscd/nscd.c: Check, if pthread_create fails.
984 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
986         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
987         format strings.
988         * stdio-common/bug1.c (main): Likewise.
989         * stdio-common/bug5.c (main): Likewise.
990         * stdio-common/tstgetln.c (main): Likewise.
991         * elf/sprof.c (generate_call_graph): Likewise.
992         (load_shobj): Likewise.
993         * posix/runptests.c (main): Likewise.
994         * string/tst-strlen.c (main): Likewise.
996         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
997         variable q3.
998         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
1000 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1002         * wctype/Versions: Add __towctrans.
1003         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
1005 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1007         * grp/initgroups.c (compat_call): Only call dynamically loaded
1008         functions if they are really present.
1010 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
1012         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
1013         #ifdef that contains __BEGIN_DECLS.
1015 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1017         * libio/iofwrite.c: Fix return value when size == 0.
1019 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1021         * posix/Makefile (distribute): Add annexc.c.
1022         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
1024 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1027         bits/pthreadtypes.h here, and do not clobber headers.
1029         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1031 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1033         * timezone/tst-timezone.c: Add tests for tzname variable.
1035 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1037         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1038         rule that lists all of them as targets.
1039         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1040         fragment that defines $(vers-libs) based on contents of that file;
1041         then include it.
1042         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1043         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1044         Predicate all this on avoid-generated unset as well as versioning.
1046 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1048         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1050 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1052         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1053         a copy.
1054         * Makefile: Add rules to generate map files.
1055         (distribute): Remove libc.map, add Versions.def and versions.awk.
1056         * Makerules: Change rules to find map files on common-objpfx.
1057         * elf/Makefile: Likewise.
1058         * md5-crypt/Makefile: Likewise.
1059         * nis/Makefile (libnsl-map): Remove.
1060         * Versions.def: New file.
1061         * versions.awk: New file.
1062         * argp/Versions: New file.
1063         * assert/Versions: New file.
1064         * catgets/Versions: New file.
1065         * csu/Versions: New file.
1066         * ctype/Versions: New file.
1067         * db/Versions: New file.
1068         * debug/Versions: New file.
1069         * dirent/Versions: New file.
1070         * elf/Versions: New file.
1071         * gmon/Versions: New file.
1072         * grp/Versions: New file.
1073         * hesiod/Versions: New file.
1074         * hurd/Versions: New file.
1075         * iconv/Versions: New file.
1076         * inet/Versions: New file.
1077         * intl/Versions: New file.
1078         * io/Versions: New file.
1079         * libio/Versions: New file.
1080         * linuxthreads/Versions: New file.
1081         * locale/Versions: New file.
1082         * login/Versions: New file.
1083         * malloc/Versions: New file.
1084         * math/Versions: New file.
1085         * md5-crypt/Versions: New file.
1086         * misc/Versions: New file.
1087         * nis/Versions: New file.
1088         * nss/Versions: New file.
1089         * posix/Versions: New file.
1090         * pwd/Versions: New file.
1091         * resolv/Versions: New file.
1092         * resource/Versions: New file.
1093         * rt/Versions: New file.
1094         * setjmp/Versions: New file.
1095         * shadow/Versions: New file.
1096         * signal/Versions: New file.
1097         * socket/Versions: New file.
1098         * stdio/Versions: New file.
1099         * stdio-common/Versions: New file.
1100         * stdlib/Versions: New file.
1101         * streams/Versions: New file.
1102         * string/Versions: New file.
1103         * sunrpc/Versions: New file.
1104         * sysdeps/alpha/Versions: New file.
1105         * sysdeps/alpha/fpu/Versions: New file.
1106         * sysdeps/i386/Versions: New file.
1107         * sysdeps/sparc/Versions: New file.
1108         * sysdeps/unix/sysv/Versions: New file.
1109         * sysdeps/unix/sysv/linux/Versions: New file.
1110         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1111         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1112         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1113         * sysvipc/Versions: New file.
1114         * termios/Versions: New file.
1115         * time/Versions: New file.
1116         * wcsmbs/Versions: New file.
1117         * wctype/Versions: New file.
1118         * libc.map: Removed.
1119         * db/libdb.map: Removed.
1120         * elf/libdl.map: Removed.
1121         * hesiod/libnss_hesiod.map: Removed.
1122         * hurd/libhurduser.map: Removed.
1123         * hurd/libmachuser.map: Removed.
1124         * linuxthreads/libpthread.map: Removed.
1125         * locale/libBrokenLocale.map: Removed.
1126         * login/libutil.map: Removed.
1127         * math/libm.map: Removed.
1128         * md5-crypt/libcrypt.map: Removed.
1129         * nis/libnsl.map: Removed.
1130         * nis/libnsl_compat.map: Removed.
1131         * nis/libnss_nis.map: Removed.
1132         * nis/libnss_nisplus.map: Removed.
1133         * nss/libnss_db.map: Removed.
1134         * nss/libnss_files.map: Removed.
1135         * resolv/libnss_dns.map: Removed.
1136         * resolv/libresolv.map: Removed.
1137         * rt/librt.map: Removed.
1139         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1140         Fix typos.
1142         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1143         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1145         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1146         correct size.
1148 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1150         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1151         in comment.
1153         * nscd/nscd.c: Include unistd.h.
1155 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1157         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1158         became cleverer.
1160 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1162         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1164 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1166         * scripts/test-installation.pl: Include <stdio.h> in test program
1167         to make it strictly conforming.
1169 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1171         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1172         not a strong alias.
1173         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1175         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1176         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1178 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1180         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1181         not a strong alias.
1183 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1185         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1186         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1187         bits/pthreadtypes.h.
1189 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1191         * include/aio.h: New file.
1192         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1193         (tests): Build and run annexc program.
1194         * posix/annexc.c: New file.
1195         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1196         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1197         * rt/aio_misc.c: Include limits.h.
1198         * rt/aio_notify.c: Include errno.h.
1199         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1200         Define size_t.
1201         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1202         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1203         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1204         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1205         kernel doesn't do this.
1206         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1207         __USE_LARGEFILE64 is defined.
1208         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1209         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1210         if requested.
1211         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1213         * stdlib/isomac.c: Avoid include_next warning.
1215 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1217         * argp/argp.h: Use __PMT instead of __P for function pointer.
1218         * iconv/gconv.h: Likewise.
1219         * io/fts.h: Likewise.
1220         * io/ftw.h: Likewise.
1221         * libio/libio.h: Likewise.
1222         * malloc/mcheck.h: Likewise.
1223         * misc/search.h: Likewise.
1224         * posix/glob.h: Likewise.
1225         * resolv/resolv.h: Likewise.
1226         * signal/signal.h: Likewise.
1227         * stdlib/stdlib.h: Likewise.
1228         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1229         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1231 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1233         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1235 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1237         * posix/wordexp.c (parse_param): Fix memory leak.
1239 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1241         * libc.map: Export _IO_ftrylockfile.
1243 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1245         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1246         __get[pu]id.
1248 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1250         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1252         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1253         same search list twice.
1255 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1257         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1258         used to optimize loop/select.
1260 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1262         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1263         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1264         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1265         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1266         * sysdeps/arm/init-first.c: Likewise.
1267         * posix/getopt_init.c: Don't use __libc_pid.
1268         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1269         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1270         * libc.map: Remove __libc_uid and __libc_pid.
1272 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1274         * sunrpc/rtime.c (rtime): Use poll instead of select.
1276 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1278         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1279         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1280         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1281         Patches from FreeBSD current.
1283 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1285         * nscd/connections.c (handle_new_request): Handle POLLHUP
1286         correctly.
1287         (close_sockets): Correct parameter to dbg_log.
1289 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1292         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1293         (elf_machine_fixup_plt): Likewise.
1294         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1295         _dl_pagesize not set, use system call to always get correct answer.
1296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1297         (__syscall_getpagesize): Add
1299 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1301         * resolv/res_send.c (res_send): Fix typo.
1303 1998-06-25  Andi Kleen <ak@muc.de>
1305         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1306         * resolv/res_send.c (res_send): Likewise.
1308 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1310         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1311         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1313 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1315         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1316         * math/atest-exp2.c (exp_mpn, main): Likewise.
1317         * math/atest-sincos.c (main): Likewise.
1319         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1320         base handling away from strtoul.  Always reset errno.
1322         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1324         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1325         _dl_profile_map if _dl_name_match_p.
1326         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1327         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1329         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1330         as early-clobber.
1332         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1333         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1334         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1336 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1338         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1340 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1342         * nis/nis_call.c: Don't copy server structure.
1343         * nis/nis_intern.h: Remove unused entries.
1344         * nis/nis_table.c: Rewrite __create_ib_request.
1346 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1348         * configure.in: Check for -fexceptions.
1349         * config.make.in: Define exceptions, not no-exceptions.
1350         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1351         __P to use throw().
1352         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1353         $(exceptions).
1354         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1355         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1356         lfind, and lsearch prototpypes.
1357         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1359 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1361         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1363 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1365         * Makefile (remove-old-headers): Make phony.
1367         * configure.in: Substitute @old_glibc_headers@.
1369 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1371         * libc.map: Remove __libc_uid.
1373 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1375         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1376         typos.
1378 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1380         * libc.map: Add Alpha-specific io function from protected namespace.
1382 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1384         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1385         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1386         CPPFLAGS.
1388         * libc.map: Export __sigaction.
1390 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1392         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1393         (from Linux 2.1.107).
1395 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1397         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1398         position when file was opened here.
1399         Reported by Howard Chu <hyc@platinum.com>.
1401         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1402         undefined in a second inclusion.
1404 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1406         * sysdeps/mach/hurd/i386/Makefile: New file.
1407         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1408         __libc_init_secure.
1409         (_hurd_stack_setup): Renamed
1410         from __libc_init_first.
1411         (__libc_init_first): New function.
1412         * sysdeps/mach/hurd/i386/static-start.S: New file.
1414 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1416         * sysdeps/mach/hurd/i386/init-first.c
1418 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1420         * grp/initgroups.c: Use _CALL_DL_FCT.
1422 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1424         * elf/rtld.c (process_dl_debug): Add missing continue.
1426 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1428         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1430 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1432         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1434 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1436         * config.make.in: Remove LDAP support.
1437         * nss/Makefile: Likewise.
1439 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1441         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1442         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1443         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1444         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1446 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1448         * mach/Makefile: Change `mv' invocations to `mv -f'.
1449         * mach/Machrules: Likewise.
1451 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1453         * config.make.in (old-glibc-headers): Add it.
1455         * configure.in: Add test for glibc 2.0.x headers.
1457         * Makefile (headers2_0): New variable - contains so far only
1458         Linux/Intel glibc 2.0.x headers.
1459         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1460         (install): Depend on remove-old-headers.
1462 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1464         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1465         make ftruncate a weak alias.
1466         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1467         __ftruncate.
1468         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1469         (truncate): Fix function defenition to match prototype.
1471 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1473         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1474         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1476 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1478         * sysdeps/generic/glob.c: Make it possible to include glob.h
1479         before loading glob.c.
1480         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1482 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1484         * nscd/connections.c: Use poll() instead of select().
1486 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1488         * sysdeps/generic/Dist: Fix typo.
1490 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1492         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1493         * nis/nis_addmember.c: Likewise.
1494         * nis/nis_call.c: Likewise.
1495         * nis/nis_creategroup.c: Likewise.
1496         * nis/nis_destroygroup.c: Likewise.
1497         * nis/nis_findserv.c: Likewise.
1498         * nis/nis_ismember.c: Likewise.
1499         * nis/nis_print.c: Likewise.
1500         * nis/nis_print_group_entry.c: Likewise.
1501         * nis/nis_removemember.c: Likewise.
1502         * nis/nis_verifygroup.c: Likewise.
1503         * nis/ypclnt.c: Likewise.
1505         * nis/nis_file.c: Close file handles.
1507         * nis/nis_callback.c: Fix typo.
1509 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1511         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1512         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1513         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1514         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1515         * nis/nss_nis/nis-initgroups.c: Likewise.
1516         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1517         __nss_lookup_function and make it public.
1518         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1519         module if exists, else use old method.
1521 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1523         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1524         definition.
1525         * nss/getXXent_r.c (set_function, end_function, get_function):
1526         Likewise.  Reported by Thorsten Kukuk.
1528         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1530 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1532         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1533         1998-06-16 and distribute kernel_termios.h.
1535         * nis/Makefile (distribute): Add nis_xdr.h.
1537 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1539         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1540         kernels that don't have sigaltstack.
1542 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1544         * sysdeps/generic/bits/sem.h: Don't define union semun.
1546         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1548         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1549         here.
1550         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1551         definition here.
1553 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1555         * signal/signal.h: Add prototype for __sigaltstack.
1556         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1557         Remove sigstack entry.
1558         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1559         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1561         * sysdeps/i386/backtrace.c: Add casts.
1563 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1565         * intl/dcgettext.c: use complete type name.
1566         * intl/hash-string.h: Likewise.
1568         * intl/localealias.c: Undo patch from 1998-04-29.
1569         * intl/l10nflist.c: Likewise.
1570         * intl/loadinfo.h: Likewise.
1572 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1574         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1576 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1578         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1579         _dl_mcount, _dl_mcount_wrapper.
1580         * elf/Makefile (routines): Add dl-profstub.
1581         * elf/dl-profstub.c: New file.
1582         * elf/dl-support.c: Don't define _dl_profile_map.
1583         * elf/rtld.c: Likewise.
1584         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1585         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1586         Define _CALL_DL_FCT.
1587         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1588         loaded object.
1589         * iconv/gconv_db.c: Likewise.
1590         * iconv/skeleton.c: Likewise.
1591         * nss/getXXbyYY_r.c: Likewise.
1592         * nss/getXXent_r.c: Likewise.
1593         * nss/nsswitch.c: Likewise.
1595 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1597         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1598         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1599         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1601 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1603         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1604         longestdbl.
1606 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1608         * iconvdata/Makefile (modules): Add MACINTOSH.
1609         (MACINTOSH-routines): New variable.
1610         (distribute): Add macintosh.c.
1611         (awk-generated-headers): Add macintosh.h.
1612         Add rule for macintosh.h generation.
1613         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1614         * iconvdata/macintosh.c: New file.
1616 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1618         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1620         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1621         only should happen for cy != 0.
1623         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1624         glob.h.
1626 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1628         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1629         to compare stack addresses.
1631 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1633         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1634         defining prototypes.
1636 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1638         * sysdeps/sparc/sparc32/dl-machine.h
1639         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1640         flushes as the kernel will emulate it when the underlying cpu does
1641         not implement flush.
1643         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1644         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1646         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1647         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1648         trampoline code.
1650         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1651         (__clone): Branch to label .Lerror not __clone_syscall_error.
1652         (.Lerror): Fixup EINVAL setting.
1653         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1654         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1655         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1656         (__syscall_getgroups, __syscall_setgroups): Add.
1658         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1659         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1660         around sa_mask data.
1662 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1664         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1666         * string/Makefile: Make sure test-ffs does not use builtins.
1668 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1670         * sunrpc/svc.c: Check for NULL pointer.
1672         * nis/libnsl.map: Add public NIS+ xdr functions.
1674         * nis/rpcsvc/nis_callback.h: New file.
1675         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1676         * nis/nis_xdr.h: ... here.
1678         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1679         pointers, use NIS+ defines where possible.
1680         * nis/nis_cache.c: Likewise.
1681         * nis/nis_cache2_xdr.c: Likewise.
1682         * nis/nis_call.c: Likewise.
1683         * nis/nis_checkpoint.c: Likewise.
1684         * nis/nis_clone_dir.c: Likewise.
1685         * nis/nis_clone_obj.c: Likewise.
1686         * nis/nis_clone_res.c: Likewise.
1687         * nis/nis_creategroup.c: Likewise.
1688         * nis/nis_file.c: Likewise.
1689         * nis/nis_free.c: Likewise.
1690         * nis/nis_getservlist.c: Likewise.
1691         * nis/nis_local_names.c: likewise.
1692         * nis/nis_lookup.c: Likewise.
1693         * nis/nis_mkdir.c: Likewise.
1694         * nis/nis_modify.c: Likewise.
1695         * nis/nis_ping.c: Likewise.
1696         * nis/nis_print.c: Likewise.
1697         * nis/nis_remove.c: Likewise.
1698         * nis/nis_removemember.c: Likewise.
1699         * nis/nis_rmdir.c: Likewise.
1700         * nis/nis_server.c: Likewise.
1701         * nis/nis_table.c: Likewise.
1702         * nis/nis_util.c: Likewise.
1703         * nis/nis_verifygroup.c: Likewise.
1704         * nis/nis_xdr.c: Likewise.
1705         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1706         * nis/nis_xdr.c: ... to here.
1708 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1710         * iconvdata/ksc5601.h: Clean up a bit.
1712 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1714         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1715         and process incoming data.
1716         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1717         fragments as invalid.
1718         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1720 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1722         Removal of duplicates like "the the".
1723         * manual/time.texi (TZ Variable): Likewise.
1724         * manual/users.texi (Manipulating the Database): Likewise.
1725         * manual/sysinfo.texi (Filesystem handling): Likewise.
1726         * manual/signal.texi (Signaling Yourself): Likewise.
1727         * manual/message.texi (Message Translation): Likewise.
1728         (Common Usage): Likewise.
1729         * manual/llio.texi: Likewise.
1730         * manual/arith.texi (Old-style number conversion): Likewise.
1731         * manual/argp.texi (Argp): Likewise.
1732         (Argp Parsers): Likewise.
1733         (Argp Help Filtering): Likewise.
1735         * hesiod/README.hesiod: Correct typo.
1737         * manual/llio.texi: Correct typos.
1738         * manual/sysinfo.texi: Likewise.
1740 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1742         * rt/aio.h: Rename __op to __operation for g++.
1744 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1746         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1747         script.
1748         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1749         * iconvdata/gen-8bit.sh: Clean up sed script.
1751         * iconvdata/Makefile: Remove all PERL conditionals; build all
1752         the modules all the time.  Export AWK.
1753         (gen-8bit-gap): Delete setting of PERL.
1754         (gen-8bit-gap-1): Likewise.
1755         (perl-generated-headers): Renamed awk-generated-headers.
1757         * iconvdata/gap.pl: Removed.
1758         * iconvdata/gaptab.pl: Removed.
1759         * iconvdata/gap.awk: New file.
1760         * iconvdata/gaptab.awk: New file.
1762 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1764         * sysdeps/generic/Dist: Add errno-loc.c.
1766         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1767         __new_* functions.
1769 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1771         * stdio-common/bug12.c: New test for fread()/fseek().
1772         * stdio-common/Makefile (tests): Add bug12.
1774 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1776         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1777         constant.
1778         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1779         * debug/execinfo.h: Update declaration.
1781 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1783         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1784         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1785         * debug/execinfo.h: Update declaration.
1787 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1789         * manual/llio.texi: Fix spelling.
1790         * manual/sysinfo.texi: Fix spelling.
1792 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1794         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1795         alias for old name.  Put this on __libc_subfreeres.
1796         * misc/search.h: Declare it.
1798 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1800         * string/bits/string2.h (strcmp): Add missing parens around macro
1801         parameters.
1803 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1805         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1807         * manual/filesys.texi: Document LFS functions.
1808         * manual/llio.texi: Likewise.
1809         * manual/stdio.texi: Likewise.
1810         * manual/time.texi: Likewise.
1812         * manual/llio.texi: Document AIO functions.
1814         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1815         * sysdeps/generic/setrlimit.c: Likewise.
1816         * sysdeps/generic/setrlimit64.c: Likewise.
1817         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1818         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1820 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1822         * sysdeps/generic/getenv.c: Fix last change.
1824 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1826         * sysdeps/generic/backtrace.c: Provide generic implementation.
1828 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1830         * configure.in: Give visual feedback of the default directories we
1831         added.
1833 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1835         * io/fts.c (fts_build): Define oflag only if needed.
1837 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1839         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1841 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1843         * libc.map: Don't export argp's fmtstream handling functions.
1845         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1846         * manual/llio.texi: Document more LFS functions and start documenting
1847         the AIO functions.
1849 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1851         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1852         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1853         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1854         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1856 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1858         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1859         makes it easier to undump emacs.
1860         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1861         for when the endianness can't be determined.
1863 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1865         * nss/Makefile: Add files publickey database support.
1866         * nss/libnss_files.map: Export the required functions.
1867         * nss/nss_files/files-key.c: Implement it.
1868         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1870 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1872         * iconv/gconv_builtin.h: Add aliases for CORBA.
1873         * iconvdata/gconv-modules: Likewise.
1875 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1877         * math/libm-test.c (main): Call exp10_test.
1878         (exp10_test): New function which tests exp10.
1880 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1882         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1883         sigstack.
1885         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1886         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1887         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1889 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1891         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1892         in the variable, not its GOT slot.
1894 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1896         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1897         inline.
1898         * sysdeps/m68k/fpu/e_exp10.c: New file.
1899         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1900         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1902         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1903         _dl_profile_map only if the name matches.
1904         (_dl_start_user): Remember stack address.
1905         * sysdeps/m68k/elf/start.S: Pass new argument to
1906         __libc_start_user.
1908         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1909         definition.
1910         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1911         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1912         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1913         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1914         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1916 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1918         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1919         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1920         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1921         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1922         prototypes.
1923         * sysdeps/libm-i387/e_exp10.S: New file.
1924         * sysdeps/libm-i387/e_exp10f.S: New file.
1925         * sysdeps/libm-i387/e_exp10l.S: New file.
1926         * sysdeps/libm-ieee754/e_exp10.c: New file.
1927         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1928         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1929         * sysdeps/libm-ieee754/w_exp10.c: New file.
1930         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1931         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1932         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1934 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1936         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1937         sys/elf.h and sys/reg.h.
1938         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1939         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1940         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1941         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1943         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1944         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1946 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1948         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1949         __data member only for gcc.  Reported by ak@muc.de.
1951         * misc/mntent.h: Undo last patch.
1952         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1953         * misc/tst/mntent.c: Adjust code for this change.
1955         * io/fts.c: Updated from a slightly more recent BSD version.
1956         * io/fts.h: Likewise.
1958         * libc.map: Add __libc_stack_end.
1960         * db2/Makefile (routines): Add lock_region.
1961         * db2/config.h: Update from db-2.4.14.
1962         * db2/db.h: Likewise.
1963         * db2/db_185.h: Likewise.
1964         * db2/db_int.h: Likewise.
1965         * db2/btree/bt_close.c: Likewise.
1966         * db2/btree/bt_compare.c: Likewise.
1967         * db2/btree/bt_conv.c: Likewise.
1968         * db2/btree/bt_cursor.c: Likewise.
1969         * db2/btree/bt_delete.c: Likewise.
1970         * db2/btree/bt_open.c: Likewise.
1971         * db2/btree/bt_page.c: Likewise.
1972         * db2/btree/bt_put.c: Likewise.
1973         * db2/btree/bt_rec.c: Likewise.
1974         * db2/btree/bt_recno.c: Likewise.
1975         * db2/btree/bt_rsearch.c: Likewise.
1976         * db2/btree/bt_search.c: Likewise.
1977         * db2/btree/bt_split.c: Likewise.
1978         * db2/btree/bt_stat.c: Likewise.
1979         * db2/btree/btree.src: Likewise.
1980         * db2/btree/btree_auto.c: Likewise.
1981         * db2/clib/getlong.c: Likewise.
1982         * db2/common/db_appinit.c: Likewise.
1983         * db2/common/db_apprec.c: Likewise.
1984         * db2/common/db_byteorder.c: Likewise.
1985         * db2/common/db_err.c: Likewise.
1986         * db2/common/db_log2.c: Likewise.
1987         * db2/common/db_region.c: Likewise.
1988         * db2/common/db_salloc.c: Likewise.
1989         * db2/common/db_shash.c: Likewise.
1990         * db2/db/db.c: Likewise.
1991         * db2/db/db.src: Likewise.
1992         * db2/db/db_auto.c: Likewise.
1993         * db2/db/db_conv.c: Likewise.
1994         * db2/db/db_dispatch.c: Likewise.
1995         * db2/db/db_dup.c: Likewise.
1996         * db2/db/db_overflow.c: Likewise.
1997         * db2/db/db_pr.c: Likewise.
1998         * db2/db/db_rec.c: Likewise.
1999         * db2/db/db_ret.c: Likewise.
2000         * db2/db/db_thread.c: Likewise.
2001         * db2/db185/db185.c: Likewise.
2002         * db2/db185/db185_int.h: Likewise.
2003         * db2/dbm/dbm.c: Likewise.
2004         * db2/hash/hash.c: Likewise.
2005         * db2/hash/hash.src: Likewise.
2006         * db2/hash/hash_auto.c: Likewise.
2007         * db2/hash/hash_conv.c: Likewise.
2008         * db2/hash/hash_debug.c: Likewise.
2009         * db2/hash/hash_dup.c: Likewise.
2010         * db2/hash/hash_func.c: Likewise.
2011         * db2/hash/hash_page.c: Likewise.
2012         * db2/hash/hash_rec.c: Likewise.
2013         * db2/hash/hash_stat.c: Likewise.
2014         * db2/include/btree.h: Likewise.
2015         * db2/include/btree_ext.h: Likewise.
2016         * db2/include/clib_ext.h: Likewise.
2017         * db2/include/common_ext.h: Likewise.
2018         * db2/include/cxx_int.h: Likewise.
2019         * db2/include/db.h.src: Likewise.
2020         * db2/include/db_185.h.src: Likewise.
2021         * db2/include/db_am.h: Likewise.
2022         * db2/include/db_auto.h: Likewise.
2023         * db2/include/db_cxx.h: Likewise.
2024         * db2/include/db_dispatch.h: Likewise.
2025         * db2/include/db_ext.h: Likewise.
2026         * db2/include/db_int.h.src: Likewise.
2027         * db2/include/db_page.h: Likewise.
2028         * db2/include/db_shash.h: Likewise.
2029         * db2/include/db_swap.h: Likewise.
2030         * db2/include/hash.h: Likewise.
2031         * db2/include/hash_ext.h: Likewise.
2032         * db2/include/lock.h: Likewise.
2033         * db2/include/lock_ext.h: Likewise.
2034         * db2/include/log.h: Likewise.
2035         * db2/include/log_ext.h: Likewise.
2036         * db2/include/mp.h: Likewise.
2037         * db2/include/mp_ext.h: Likewise.
2038         * db2/include/mutex_ext.h: Likewise.
2039         * db2/include/os_ext.h: Likewise.
2040         * db2/include/os_func.h: Likewise.
2041         * db2/include/queue.h: Likewise.
2042         * db2/include/shqueue.h: Likewise.
2043         * db2/include/txn.h: Likewise.
2044         * db2/lock/lock.c: Likewise.
2045         * db2/lock/lock_conflict.c: Likewise.
2046         * db2/lock/lock_deadlock.c: Likewise.
2047         * db2/lock/lock_region.c: Likewise.
2048         * db2/lock/lock_util.c: Likewise.
2049         * db2/log/log.c: Likewise.
2050         * db2/log/log.src: Likewise.
2051         * db2/log/log_archive.c: Likewise.
2052         * db2/log/log_auto.c: Likewise.
2053         * db2/log/log_compare.c: Likewise.
2054         * db2/log/log_findckp.c: Likewise.
2055         * db2/log/log_get.c: Likewise.
2056         * db2/log/log_put.c: Likewise.
2057         * db2/log/log_rec.c: Likewise.
2058         * db2/log/log_register.c: Likewise.
2059         * db2/mp/mp_bh.c: Likewise.
2060         * db2/mp/mp_fget.c: Likewise.
2061         * db2/mp/mp_fopen.c: Likewise.
2062         * db2/mp/mp_fput.c: Likewise.
2063         * db2/mp/mp_fset.c: Likewise.
2064         * db2/mp/mp_open.c: Likewise.
2065         * db2/mp/mp_pr.c: Likewise.
2066         * db2/mp/mp_region.c: Likewise.
2067         * db2/mp/mp_sync.c: Likewise.
2068         * db2/mutex/68020.gcc: Likewise.
2069         * db2/mutex/mutex.c: Likewise.
2070         * db2/mutex/parisc.gcc: Likewise.
2071         * db2/mutex/parisc.hp: Likewise.
2072         * db2/mutex/sco.cc: Likewise.
2073         * db2/os/os_abs.c: Likewise.
2074         * db2/os/os_alloc.c: Likewise.
2075         * db2/os/os_config.c: Likewise.
2076         * db2/os/os_dir.c: Likewise.
2077         * db2/os/os_fid.c: Likewise.
2078         * db2/os/os_fsync.c: Likewise.
2079         * db2/os/os_map.c: Likewise.
2080         * db2/os/os_oflags.c: Likewise.
2081         * db2/os/os_open.c: Likewise.
2082         * db2/os/os_rpath.c: Likewise.
2083         * db2/os/os_rw.c: Likewise.
2084         * db2/os/os_seek.c: Likewise.
2085         * db2/os/os_sleep.c: Likewise.
2086         * db2/os/os_spin.c: Likewise.
2087         * db2/os/os_stat.c: Likewise.
2088         * db2/os/os_unlink.c: Likewise.
2089         * db2/progs/db_archive/db_archive.c: Likewise.
2090         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2091         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2092         * db2/progs/db_dump/db_dump.c: Likewise.
2093         * db2/progs/db_dump185/db_dump185.c: Likewise.
2094         * db2/progs/db_load/db_load.c: Likewise.
2095         * db2/progs/db_printlog/db_printlog.c: Likewise.
2096         * db2/progs/db_recover/db_recover.c: Likewise.
2097         * db2/progs/db_stat/db_stat.c: Likewise.
2098         * db2/txn/txn.c: Likewise.
2099         * db2/txn/txn.src: Likewise.
2100         * db2/txn/txn_auto.c: Likewise.
2101         * db2/txn/txn_rec.c: Likewise.
2103         * elf/rtld.c: Move definition of __libc_stack_end to ...
2104         * sysdeps/generic/dl-sysdep.h: ...here.
2106         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2107         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2108         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2110         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2111         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2112         before following it.
2114 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2116         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2117         from mntent correctly.
2119 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2121         * sunrpc/Makefile (generated): Correct typo.
2123 1998-06-04  Philip Blundell  <philb@gnu.org>
2125         * elf/elf.h (EM_ARM, et al.): New definitions.
2126         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2128 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2130         * localedata/SUPPORTED: Add sk_SK.
2131         * localedata/locales/sk_SK: New file.
2133 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2135         * Makeconfig (subdirs): Add debug.
2136         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2137         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2138         backtrace_symbols.
2139         * sysdeps/generic/backtrace.c: New file.
2140         * sysdeps/generic/backtracesyms.c: New file.
2141         * sysdeps/generic/elf/backtracesyms.c: New file.
2142         * sysdeps/i386/backtrace.c: New file.
2143         * debug/Makefile: New file.
2144         * debug/backtrace-tst.c: New file.
2145         * debug/execinfo.h: New file.
2147 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2149         * elf/sprof.c: Implement call graph profiling.
2151         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2153 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2155         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2156         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2157         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2158         Noticed by Jake Garver <garver@valkyrie.net>.
2160 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2162         * libio/genops.c (__underflow): Read character from read pointer
2163         as unsigned.
2164         (__uflow): Likewise.
2166 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2168         * libc.map: Add _dl_profile.
2169         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2170         this to ELF_DYNAMIC_RELOCATE.
2171         Always allocate array for relocation result if LD_PROFILE is defined.
2172         * elf/ldsodefs.h: Adjust prototypes.
2173         * elf/dl-open.c (_dl_open): Call relocation function with extra
2174         argument.
2175         * elf/rtld.c: Likewise.
2176         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2177         Correct loop condition.
2178         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2179         consider_profile to runtime setup function.
2180         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2181         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2183         * elf/dl-support.c: Define __libc_stack_end.
2184         * elf/rtld.c: Likewise.
2185         * sysdeps/generic/libc-start.c: Store last stack address in
2186         __libc_stack_end.
2187         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2188         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2190         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2191         Include <stdint.h>, not <inttypes.h>.
2193         * elf/sprof.c: Implement flat profiling.
2195         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2196         _IO_funlockfile explicitly.
2197         * libio/fileops.c: Likewise.
2198         * libio/fputc.c: Likewise.
2199         * libio/freopen.c: Likewise.
2200         * libio/freopen64.c: Likewise.
2201         * libio/fseek.c: Likewise.
2202         * libio/fseeko.c: Likewise.
2203         * libio/fseeko64.c: Likewise.
2204         * libio/ftello.c: Likewise.
2205         * libio/ftello64.c: Likewise.
2206         * libio/getc.c: Likewise.
2207         * libio/getchar.c: Likewise.
2208         * libio/iofclose.c: Likewise.
2209         * libio/iofflush.c: Likewise.
2210         * libio/iofgetpos.c: Likewise.
2211         * libio/iofgetpos64.c: Likewise.
2212         * libio/iofgets.c: Likewise.
2213         * libio/iofputs.c: Likewise.
2214         * libio/iofread.c: Likewise.
2215         * libio/iofsetpos.c: Likewise.
2216         * libio/iofsetpos64.c: Likewise.
2217         * libio/ioftell.c: Likewise.
2218         * libio/iofwrite.c: Likewise.
2219         * libio/iogetdelim.c: Likewise.
2220         * libio/iogets.c: Likewise.
2221         * libio/ioputs.c: Likewise.
2222         * libio/ioseekoff.c: Likewise.
2223         * libio/ioseekpos.c: Likewise.
2224         * libio/iosetbuffer.c: Likewise.
2225         * libio/iosetvbuf.c: Likewise.
2226         * libio/ioungetc.c: Likewise.
2227         * libio/iovsprintf.c: Likewise.
2228         * libio/iovsscanf.c: Likewise.
2229         * libio/oldfileops.c: Likewise.
2230         * libio/oldiofclose.c: Likewise.
2231         * libio/peekc.c: Likewise.
2232         * libio/putc.c: Likewise.
2233         * libio/putchar.c: Likewise.
2234         * libio/rewind.c: Likewise.
2236         * malloc/mtrace.c: Pretty print.
2238         * misc/mntent.h (struct mentent): Make string elements const char *.
2240         * nis/nis_printf.c: Optimize I/O a little bit.
2242         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2243         * sysdeps/generic/sigset-cvt-mask.h: New file.
2244         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2245         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2246         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2247         sigset-cvt-mask.h to do the dirty work.
2248         Patches by Joe Keane.
2250         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2252         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2253         syscall_error label in case of PIC anonymous.
2254         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2255         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2256         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2257         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2258         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2259         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2260         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2262 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2264         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2265         we cannot declare the struct element as const.
2266         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2267         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2269 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2271         * manual/Makefile: Include ../Makeconfig earlier.
2272         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2273         exist.
2274         (dir-add.texinfo): Remove useless $(SHELL).
2276 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2278         * Makefile (others): Build programs from install-bin.
2279         * configure.in: Modify config.make only if is was just created and
2280         move that command to second argument of AC_OUTPUT.  Add command to
2281         set config_vars in config.status.
2283 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2285         * malloc/Makefile (address-width): Fix conditional.
2287 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2289         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2290         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2291         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2292         version GLIBC_2.1.
2294 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2296         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2297         (Floating Point Parameters): Likewise.
2299 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2301         * hurd/Makefile (routines): Add cthreads.
2303 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2305         * login/login.c (login): Let pututline take care of finding the
2306         positin to insert the UTMP entry.  This corrects a bug where ssh
2307         was not reusing UTMP entries marked as DEAD_PROCESS.
2308         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2310 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2312         * login/Makefile (tests): New variable, add tst-utmp and
2313         tst-utmpx.
2314         * login/tst-utmp.c: New file.
2315         * login/tst-utmpx.c: New file.
2317 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2319         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2320         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2321         but need sys_err.
2323 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2325         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2326         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2328 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2330         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2331         make __read a weak alias.  Use ANSI-style function definition.
2332         * sysdeps/mach/hurd/write.c: Likewise.
2334 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2336         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2337         _sys_errlist.
2339 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2341         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2342         Renamed from librtld.so.
2344 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2346         * libc.map: Remove _IO_getline_info which was erroneously
2347         introduced in section GLIBC_2.0.
2348         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2350 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2352         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2353         created a weak alias.
2354         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2356 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2358         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2359         ftruncate function, and create a weak alias to ftruncate.
2361 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2363         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2364         * inet/getnetgrent_r.c: Likewise.
2365         * nss/getXXbyYY_r.c: Likewise.
2366         * nss/getXXent_r.c: Likewise.
2367         * pwd/fgetpwent_r.c: Likewise.
2368         * shadow/sgetspent_r.c: Likewise.
2369         * shadow/fgetspent_r.c: Likewise.
2370         * sunrpc/publickey.c: Likewise.
2372 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2374         * hurd/libhurduser.map: New file.
2375         * mach/libmachuser.map: Likewise.
2377         * libc.map: Add Hurd-specific functions to version 2.1.
2378         Add __flshfp and __fillbf.
2380 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2382         * manual/signal.texi (Basic Signal Handling): Fix typo.
2383         * manual/errno.texi (Error Codes): Likewise.
2385 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2387         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2388         instead of <sys/socket.h>.
2389         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2391         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2392         Finally make it working.
2393         Patch by Mark Hatle <fray@kernel.crashing.org>.
2395 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2397         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2398         a Solaris 2.6 bug.
2400 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2402         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2403         used by ARM systems.
2404         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2405         FE_EXCEPT_SHIFT.
2406         * sysdeps/arm/bits/fenv.h: Deleted.
2407         * sysdeps/arm/fpu/ieee754.h: New file.
2408         * sysdeps/arm/gmp-mparam.h: New file.
2409         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2410         implementation.
2412 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2414         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2416         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2417         of ((unused)).  Reported by Bruno Haible.
2419 1998-05-31  Philip Blundell  <philb@gnu.org>
2421         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2422         referring to errno and _errno.
2424         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2426         * sysdeps/i386/fpu_control.h: Fix typo.
2428         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2429         (_JMPBUF_UNWINDS): Added.
2430         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2432 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2434         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2435         order to build header files, not `generated'.
2437         * Rules (before-compile): New target which depends on all
2438         $(before-compile) files.
2440 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2442         * nis/nis_call.c: Make directory search faster.
2444         * nis/nis_callback.c: Insert public key of user in callback data.
2446         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2448         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2450         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2452         * nis/nis_intern.h: Remove duplicated prototype.
2454 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2456         * sunrpc/auth_des.c: Move prototypes from here ...
2457         * sunrpc/rpc/auth.h: ... to here.
2459         * sunrpc/clnt_tcp.c: Add more control flags.
2460         * sunrpc/clnt_udp.c: Likewise.
2462         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2463         domainname.
2465         * sunrpc/rpc/clnt.h: Document, which control flags are not
2466         implementable.
2468         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2470 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2472         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2473         files crash the program.
2475         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2476         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2477         Reported by Deborah Wallach <kerr@pa.dec.com>.
2479 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2481         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2482         on whether this is a stable release or not (keeps snapshot bug
2483         reports out of the database).
2485         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2486         * sysdeps/arm/sysdep.h: Likewise.
2487         * sysdeps/i386/sysdep.h: Likewise.
2488         * sysdeps/m68k/sysdep.h: Likewise.
2489         * sysdeps/mach/mips/sysdep.h: Likewise.
2490         * sysdeps/mach/sys/reboot.h: Likewise.
2491         * sysdeps/mach/sysdep.h: Likewise.
2492         * sysdeps/unix/alpha/sysdep.h: Likewise.
2493         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2494         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2495         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2496         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2497         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2498         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2499         * sysdeps/unix/i386/sysdep.h: Likewise.
2500         * sysdeps/unix/mips/sysdep.h: Likewise.
2501         * sysdeps/unix/sparc/sysdep.h: Likewise.
2502         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2503         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2504         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2505         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2507         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2509         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2511 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2513         * mach/Machrules: Use $(move-if-change).
2515 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2517         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2518         * Makerules (lib%.so): Depend on $(+interp).
2519         (libc.so): Add interp.os to list of dependencies.
2520         (interp-obj): Remove variable.
2521         * mach/Machrules (+interp): Define to empty since libhurduser and
2522         libmachuser don't need to have the interpreter set.
2524 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2526         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2528         * resolv/gethnamaddr.c: Likewise.
2530         * resolv/res_comp.c: Likewise.
2532 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2534         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2535         so that transparent union works.
2537 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2539         * manual/texinfo.tex: Update to last available version.
2541         * timezone/africa: Update from tzdata1998e.
2542         * timezone/antarctica: Likewise.
2543         * timezone/asia: Likewise.
2544         * timezone/australasia: Likewise.
2545         * timezone/europe: Likewise.
2546         * timezone/iso3166.tab: Likewise.
2547         * timezone/northamerica: Likewise.
2548         * timezone/tzselect.ksh: Likewise.
2549         * timezone/zone.tab: Likewise.
2551 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2553         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2554         Reported by Matt McLean <keys@brio.yikes.com>.
2556 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2558         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2559         do-gencat-test.  Use automatic variables.
2560         ($(objpfx)de.msg): Fix reference to po file.
2562 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2564         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2565         $(move-if-change).
2567 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2569         * intl/dcgettext.c: Fix typo.
2571 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2573         * configure.in: Allow more make versions e.g 3.76.90.
2575 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2577         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2579         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2580         for Hurd.  Patch by Mark Kettenis.
2582 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2584          * mach/Machrules (+preinit, +postinit): Define these variables to
2585          empty because libhurduser and libmachuser don't need startup
2586          files.
2588 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2590          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2591          instead of a raw bitmask.
2593 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2595         * Makeconfig (rpath-dirs): New variable.
2596         (rpath-link): Use it.
2597         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2598         (db-objpfx): Removed.
2599         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2600         * md5-crypt/Makefile: Likewise.
2601         * sysdeps/mach/hurd/Makefile: Likewise.
2603         * Makeconfig (move-if-change): New variable.
2604         * iconvdata/Makefile (move-if-change): Removed.
2605         * manual/Makefile (move-if-change): Set only if undefined, use
2606         local script by default.
2607         * sunrpc/Makefile (move-if-change): Removed.
2608         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2609         $(move-if-change).
2611          * elf/Makefile: Remove all references to obsolete file
2612          $(objpfx)rtldtbl.h.
2613          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2615 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2617         * elf/dl-close.c (_dl_close): Add debugging message.
2619 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2621         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2622         to get Linux version and not gcc version.
2623         Reported by Alan Curry <pacman@cqc.com>.
2625 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2627         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2628         pointers - return unknown error message instead.
2629         Reported by Alan Curry <pacman@cqc.com>.
2631 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2633         * iconvdata/Makefile (modules, sed-generated-headers,
2634         perl-generated-headers): ibm424.h is perl generated.  Make
2635         necessary modifications to compile without perl.
2637 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2639         * hesiod/hesiod.c (read_config_file): Fix typo.
2641 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2643         * version.h: Bump VERSION.
2645         * csu/Makefile (distribute): Add munch-tmpl.c.
2647 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2649         * nis/nis_defaults.c: Fix buffer problems and typos.
2651 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2653         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2654         Patch by Fred Fish.
2656 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2658         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2659         overwriting bugs.
2661         * libio/strops.c (_IO_str_underflow): Read newly available
2662         character from buffer as unsigned.
2664 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2666         * catgets/Makefile (distribute): Add xopen-msg.h.
2667         (generated): Add de.msg and de.cat.
2668         (tests): Add do-gencat-test.
2669         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2670         * catgets/xopen-msg.h: New file.
2672 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2674         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2675         functions.  Optimize filename creation a bit.
2677 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2679         * stdlib/random_r.c: Help gcc to optimize the code.
2680         Patch by Joe Keane <jgk@jgk.org>.
2682 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2684         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2685         tsearch calls.
2687 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2689         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2690         it.
2692 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2694         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2695         * wcsmbs/wcsrtombs.c: Likewise.
2697         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2698         * wcsmbs/wcsmbs-tst1.c: New file.
2700         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2702         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2703         as 1.
2705         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2706         weak.
2708 1998-05-21  Philip Blundell  <philb@gnu.org>
2710         * sysdeps/arm/fpu_control.h: Replace stub file with real
2711         implementation.
2712         * sysdeps/arm/fpu/bits/fenv.h: New file.
2713         * sysdeps/arm/fpu/fesetround.c: Likewise.
2714         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2715         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2716         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2717         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2718         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2719         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2721 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2723         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2724         read instead of mmap.
2726 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2728         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2729         directly instead of include_next.  Add missing semicolons.
2730         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2731         Add missing semicolons.
2733 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2735         * iconvdata/gconv-modules: Add more aliases to please java
2736         environments.
2738 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2740         * stdio-common/vfprintf.c (process_arg): Fix typo.
2742         * iconvdata/TESTS: New tests for EUC-KR.
2744         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2745         * iconvdata/testdata/EUC-KR: New file.
2747 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2749         * math/libm-test.c (hypot_test): Fix a typo.
2751 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2753         * stdio-common/vfprintf.c: When precision is specified for %ls or
2754         %S handle it correctly.
2756 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2758         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2759         the" in one line - fixed it.
2760         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2761         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2762         * posix/unistd.h: Likewise
2764 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2766         * Makeconfig (rpath-link): Add resolvobjdir.
2767         (resolvobjdir): New variable.
2768         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2770 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2772         * elf/dl-close.c: Call shared object terminators at the right time.
2773         Patch by Philippe Troin <phil@fifi.org>.
2775 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2777         * Make-dist (+tsrcs): Also add *.map for every member of
2778         $(extra-libs).
2780         * Makefile (distribute): Don't distribute scripts/printsources and
2781         scripts/=__ify.  Distribute FAQ.in.
2782         (rpm/%): Don't pass subdirs to sub-make.
2784         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2785         instead of $(no_deps).
2787 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2789         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2790         (KNOWN_VALUE, STORE_VALUE): Do it right.
2791         (setenv): Remove unused variable.
2793 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2795         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2796         (CFLAGS-zdump.c): Add $(tz-cflags).
2798         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2799         return type.
2801 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2803         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2804         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2805         if use_localtime.
2806         * time/tzset.c: Update prototype of __tzfile_compute.
2807         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2808         tm_zone and tm_offset here if __use_tzfile.
2810 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2812         * Makerules: Install libc.a even if there are no object file.
2814 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2816         * Makerules (do-makelib): Don't force creating library from
2817         scratch, which is faster and gets correct behaviour if $(subdirs)
2818         is incomplete.
2820 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2822         * Makerules (do-stamp): Make it work when building in source
2823         directory.
2825 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2827         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2828         inhibit-rpath.
2829         * elf/dl-support.c: Likewise.
2830         * elf/ldsodefs.h: Likewise.
2831         * elf/rtld.c: Likewise.
2832         * iconvdata/run-iconv-test.sh: Likewise.
2834 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2836         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2837         variable using the value.
2838         * elf/ldsodefs.h: Declare _dl_ignore_path.
2839         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2840         object against list in _dl_ignore_path and ignore RPATH if on the list.
2841         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2842         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2843         to make sure we get the correct helper libraries loaded.
2845         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2846         "RPATH" string in call to fillin_rpath instead.
2847         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2849 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2851         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2852         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2854 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2856         * manual/terminal.texi (I/O Queues): Fix typo.
2858         * manual/stdio.texi (Closing Streams): Fix grammar.
2860         * manual/arith.texi (Absolute Value): Correct typo.
2861         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2863 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2865         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2866         LD_PROFILE_OUTPUT in SUID binaries.
2867         * intl/dcgettext.c: In SUID binaries don't let language part of
2868         locale value contain path elements.
2869         * intl/explodename.h: Define new function _nl_find_language.
2870         * intl/loadinfo.h: Declare _nl_find_language.
2871         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2872         language part it drop the value is path element is contained.
2874         * locale/setlocale.c: Fix typo.
2876 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2878         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2880         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2882         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2883         log, not a byte-count.
2885         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2886         a.out compatibility.
2888 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2890         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2891         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2892         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2893         * posix/unistd.h: Likewise.
2894         * math/math.h: Likewise.
2895         * manual/users.texi (Manipulating the Database): Likewise.
2896         * manual/signal.texi (Job Control Signals): Likewise.
2897         * manual/message.texi (The gencat program): Likewise.
2898         * manual/filesys.texi (Hard Links): Likewise.
2899         * manual/math.texi (SVID Random): Likewise.
2900         * manual/llio.texi (Waiting for I/O): Likewise.
2901         * manual/io.texi (File Name Errors): Likewise.
2902         * manual/conf.texi (String Parameters): Likewise.
2903         * manual/arith.texi (Infinity): Likewise.
2904         * malloc/malloc.c: Likewise.
2905         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2906         * csu/Makefile: Likewise.
2908 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2910         * manual/memory.texi: Add back accidently removed line.
2912 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2914         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2915         (timeout_handler): New function.
2916         (LOCK_FILE, UNLOCK_FILE): New macros.
2917         Implement file locking with timeout.
2918         (getutent_r_file, internal_getut_r, getutline_r_file,
2919         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2920         locking.
2922 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2924         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2925         directory.
2927 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2929         * rpm/Makefile: Delete inclusion of version.mk.
2931 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2933         * libc.map: Add all libio functions needed libstdc++ with version
2934         2.0, sort entries.
2936 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2938         * iconvdata/Makefile (generated): Add *.stmp files.
2940 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2942         * timezone/Makefile (testdata, build-testdata): New variables, use
2943         them in rules for test data.
2944         ($(objpfx)tst-timezone.out): Depend on test data.
2945         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2946         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2947         New rules to build test data.
2948         (tst-timezone-ENV): Pass TZDIR to point to test data.
2950 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2952         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2953         (the designation sequence is disturbing).
2955 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2957         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2958         * sunrpc/xdr_rec.c: Likewise.
2960 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2962         * posix/Makefile (tests): Add runptests.
2963         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2964         (before-compile): Add ptestcases.h.
2965         (ptestscases.h): Add rule to generate from PTESTS.
2966         * posix/runptests.c: New file.
2967         * posix/PTESTS: New file.
2968         * posix/PTESTS2C.sed: New file.
2970 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2972         * iconv/loop.c: Let user add code to use and set paramaters.
2974         * iconvdata/iso-2022-kr.c: Correct to-loop.
2976         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2977         point to output buffer.
2979         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2980         hanja.
2982         * iconvdata/TESTS: Add ISO-2022-KR test.
2983         * iconvdata/testdata/ISO-2022-KR: New file.
2985 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2987         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2988         and internal_use.
2989         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2990         and internal_use.
2991         * wcsmbs/btowc.c: Likewise.
2992         * wcsmbs/mbrtowcs.c: Likewise.
2993         * wcsmbs/mbsnrtowcs.c: Likewise.
2994         * wcsmbs/mbsrtowcs.c: Likewise.
2995         * wcsmbs/wcrtomb.c: Likewise.
2996         * wcsmbs/wcsnrtombs.c: Likewise.
2997         * wcsmbs/wcsrtombs.c: Likewise.
2998         * wcsmbs/wctob.c: Likewise.
2999         * iconv/skeleton.c: Increment invocation_counter.
3000         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
3001         sequence first.
3003         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
3004         * iconvdata/iso-2022-jp.c: Likewise.
3005         * iconvdata/iso646.c: Likewise.
3007         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
3009 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
3011         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
3013         * sysdeps/generic/setenv.c (setenv): Remove optimization for
3014         overwriting existing values if it fits.
3016 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
3018         * posix/wordexp-test.c: Avoid duplicate messages.
3020         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
3021         tsearch.  Correctly interpret values returned by those functions.
3022         (unsetenv): Store pointer to string, not pointer to string pointer.
3024         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
3025         DST information and offset in them.
3026         * time/tzset.c (__tz_convert): Pass extra parameters to
3027         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3029 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3031         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3032         stamp files to avoid unnecessary recompilation.
3033         (gen-8bit-gap-table): Likewise.
3034         (move-if-change): New variable.
3035         (all generated .h rules): Change to be .stmp rules.
3036         (%.h): New rule; depend on %.stmp; no commands.
3037         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3038         gen-8bit-gap-1.sh.
3040 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3042         * Makerules (libc-map): Deleted.
3043         (load-map-file): Set to the appropriate compiler switch, not
3044         just the file name.  If libfoo-map is not set, look for a
3045         libfoo.map in the current directory and $(..).
3046         (map-file): New variable, contains just the mapfile name.
3047         (build-shlib): Adjust for new value of load-map-file.
3048         (libc.so): Correct dependencies.
3050         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3051         may not be set anymore.
3053         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3054         Delete libdl-map.  Tweak ld.so link rule to work with changed
3055         variable settings in Makerules.
3056         * iconvdata/Makefile: Tweak build-module to work with changed
3057         variable settings in Makerules.
3059         * db/Makefile: Delete libdb-map.
3060         * hesiod/Makefile: Delete libnss_hesiod-map.
3061         * linuxthreads/Makefile: Delete libpthread-map.
3062         * locale/Makefile: Delete libBrokenLocale-map.
3063         * login/Makefile: Delete libutil-map.
3064         * math/Makefile: Delete libm-map.
3065         * md5-crypt/Makefile: Delete libcrypt-map.
3066         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3067         libnss_nisplus-map, and libnss_compat-map.
3068         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3069         libnss_ldap-map.
3070         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3071         * rt/Makefile: Delete librt-map.
3073 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3075         * configure.in: Instead of substituting `yes' or `no' for whether
3076         --no-whole-archive is available, set @no_whole_archive@ to the
3077         appropriate gcc switch or the empty string.  Likewise for
3078         -fno-exceptions.
3079         * config.make.in: Replace have-no-whole-archive with
3080         no-whole-archive and have-no-exceptions with no-exceptions.
3081         * Makerules: Delete stanzas setting no-whole-archive and
3082         no-exceptions.
3084         * sunrpc/Makefile: Use move-if-change to update generated .h
3085         and .c files.
3087 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3089         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3090         of strchr loop.
3092 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3094         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3095         (__tzfile_compute): Likewise.
3097 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3099         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3100         defines from Linux 2.1.102.
3102 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3104         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3106 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3108         * inet/netinet/in.h: Add defines for multicast.
3109         Reported by Jeremy Hall <jhall@UU.NET>.
3111         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3112         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3113         and unsetenv.  Optimize _LIBC case.
3114         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3115         Define functions with leading __.
3117         * time/tzfile.c: Correct handling of global variables daylight,
3118         timezone, and tzname.
3119         * time/tzset.c: Likewise.
3120         * timezone/Makefile (tests): Add tst-timezone.
3121         * timezone/tst-timezone.c: New file.
3123 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3125         * timezone/asia: Update from tzdata1998d.
3126         * timezone/australasia: Likewise.
3127         * timezone/europe: Likewise.
3129 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3131         * string/string.h: Don't use the optimized versions for the string
3132         functions if optimizing for space.
3134         * stdlib/tst-strtod.c: Add test for -0.0.
3136         * io/ftwtest-sh: Prevent tests from being run by root.
3138         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3139         last addition.  Patch by wkpark@chem.skku.ac.kr.
3141 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3143         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3144         table.
3146 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3148         * iconvdata/gen-8bit.sh: New file.
3149         * iconvdata/gen-8bit-gap.sh: New file.
3150         * iconvdata/gen-8bit-gap-1.sh: New file.
3151         * iconvdata/Makefile (generate-8bit-table): Use shell script
3152         instead of writing the commands directly.
3153         (generate-8bit-gap-table): Likewise.
3154         ($(objpfx)iso8859-7jp.h): Likewise.
3155         (generated headers): Depend on shell script instead of Makefile.
3156         (before-compile): Add $(perl-generated-headers) only if perl is
3157         available.
3158         (headers): Depend on $(perl-generated-headers) only if perl is
3159         available.
3160         (sed-generated-headers): Remove iso8859-7jp.h.
3162 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3164         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3165         (/): Removed.
3167 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3169         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3170         formed charset names to getfct.  Let user override charset
3171         selection by mention charset in locale name.
3173 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3175         * posix/glob.c: Move to ...
3176         * sysdeps/generic/glob.c: ...here.
3177         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3178         elements.
3179         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3180         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3181         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3182         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3183         subdir.
3184         * libc.map [GLIBC_2.1]: Add glob and globfree.
3186 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3188         * sunrpc/Makefile (generated): Restore old list.
3190 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3192         * rt/Makefile (tests): Define only if we have a thread library.
3194         * nis/ypclnt.c: Add: #include <errno.h>.
3196 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3198         * configure.in: Define and substitute RELEASE as well as
3199         VERSION.
3200         * config.make.in: Add RELEASE and VERSION to be substituted.
3201         * Makeconfig: Delete all references to version.mk.
3202         * Make-dist: Likewise.
3203         * MakeTAGS: Likewise.
3204         * elf/Makefile: Likewise.
3206 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3208         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3209         yp_get_default_domain.
3211 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3213         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3214         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3216 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3218         * malloc/malloc.c: Fix for NO_THREADS case.
3220 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3222         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3223         Remove statfs and fstatfs.
3224         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3225         and pwrite as EXTRA.
3226         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3228 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3230         * libc.map: Add capget and capset.
3232 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3234         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3235         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3236         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3237         and Matt McLean <keys@brio.yikes.com>.
3239 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3241         * misc/Makefile (tests): Add tst-mntent.
3242         * misc/tst-mntent.c: New file.
3244 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3246         * autolock.sh: Removed.
3247         * manual/move-if-change: Removed.
3249         * scripts: New directory.
3250         * =__ify: Moved to scripts.
3251         * config.guess: Likewise.
3252         * config.sub: Likewise.
3253         * gen-FAQ.pl: Likewise.
3254         * install-sh: Likewise.
3255         * mkinstalldirs: Likewise.
3256         * move-if-change: Likewise.
3257         * printsources: Likewise.
3258         * rellns.sh: Likewise.
3259         * test-installation.pl: Likewise.
3261         * configure.in: Look in scripts for config.guess, config.sub,
3262         install-sh.
3263         * Makefile: Distribute all above files in their
3264         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3265         * manual/Makefile: Find mkinstalldirs and move-if-change in
3266         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3267         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3268         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3269         * timezone/Makefile: Find rellns-sh in scripts.
3271 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3273         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3274         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3276 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3278         * Makefile (+subdir-inits): Delete variable.
3279         (+init_subdirs): Likewise.
3280         (aux): Likewise.
3281         (before-compile): Likewise.
3282         (libc-init): Delete stanza.
3283         (version-info.h): Delete rule and associated variable.
3284         (distribute): Don't distribute moved files.
3285         * Makerules (interp-obj): It lives in elf now.  Only use it
3286         if $(elf) is set.  Delete rule to build it.
3287         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3288         version.o and version-info.h.  Minor cleanups.
3289         (routines): Add libc-init, sysdep, version.
3290         (generated): Add version-info.h.
3291         * elf/Makefile: Build interp.os.
3293         * interp.c: Moved to elf.
3294         * set-init.c: Moved to csu.
3295         * munch-init.c: Likewise.
3296         * munch.awk: Likewise.
3297         * version.c: Likewise.
3299         * Rules: Unconfuse syntax highlighting with a fake comment.
3301 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3303         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3304         syscalls.
3306 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3308         * iconvdata/Makefile (generated): Set to *-generated-headers
3309         plus gconv-modules.
3310         (tests): Set to iconv-test.
3311         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3312         * posix/Makefile (generated): Set to wordexp-test-result*.
3313         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3314         (generated-dirs): Add rpcsvc.
3315         * libio/Makefile: Clean up.
3317 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3319         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3320         * Makerules: Likewise.
3321         (+depfiles): Also add sysdep-others.
3322         * Rules: Likewise.
3323         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3324         * iconvdata/Makefile (distribute): Add TESTS.
3325         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3326         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3327         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3328         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3329         sysdep-others, not others.
3330         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3331         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3333 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3335         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3336         cost_hi and cost_lo.
3337         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3338         Cost parameter and set cost_lo to INT_MAX.
3339         (add_module): Take new parameter and use it to initialize cost_lo.
3340         (read_conf_file): Count modules being loaded and use counter for
3341         new parameter to add_module.
3342         * iconv/gconv_db.c (find_derivation): When look for cost examine
3343         cost_hi and cost_lo.
3345 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3347         * string/bits/string2.h: Don't use unsigned char * unless really
3348         necessary since this disturbs C++.
3349         * sysdeps/i386/i486/bits/string.h: Likewise.
3350         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3352 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3354         * malloc/malloc.c (top_check): Fix last change.
3356 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3358         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3359         Patch by Matt McLean <keys@brio.yikes.com>.
3361 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3363         * Makerules (lib): Put back dependency on lib-noranlib.
3364         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3366 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3368         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3369         test in __pow2 implementation.
3371 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3373         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3374         Still need *FLAGS-.o because we still sometimes build .o files.
3375         * db2/Makefile: Don't build libndbm.a if !build-static.
3377 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3379         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3381 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3383         * configure.in: New test for broken gcc on PowerPC.
3384         * sysdeps/powerpc/atomicity.h: Use result of test.
3385         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3387         * math/libm-test.c: Update many of the epsilon to match actual
3388         performance.
3390         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3391         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3392         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3393         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3395         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3397         * sysdeps/powerpc/elf/libc-start.c: New file.
3398         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3399         * sysdeps/powerpc/elf/start.c: Delete.
3401         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3402         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3404         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3405         few patches.
3407 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3409         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3410         test for integer.
3412         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3413         * sysdeps/libm-i387/e_powl.S: Likewise.
3415 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3417         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3418         (malloc_check, free_check, realloc_check, memalign_check): Use
3419         them to improve overrun checking.  Overruns of a single byte and
3420         corruption of the top chunk are now detected much more reliably.
3422 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3424         * math/libm-test.c (pow_test): Add test for special value from PR
3425         libc/590.
3427 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3429         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3430         including linux/errno.h.
3432 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3434         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3435         Use correct types.
3436         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3437         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3439 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3441         * Makerules (elide-routines.*): Fix assignments.
3442         (do-makelib): Fix typo.
3443         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3444         makefile.
3446 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3448         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3449         $(objpfx)sysd-dirs): Move them...
3450         * Makeconfig: ... here.
3451         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3452         (stubs): Fix circular depedency.
3453         (do-makelib): Clean up.
3454         (lib): Don't depend on lib-noranlib.
3455         ($(objpfx)stamp.oS): Remove special case for empty
3456         static-only-routines.
3457         (elide-routines.o): Add $(static-only-routines).
3458         (elide-routines$o): Define this instead of elide-routines.$o.
3459         * manual/Makefile (stubs): Fix circular dependency.
3461 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3463         * libio/Makefile (routines): Remove duplicate oldiofclose.
3465 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3467         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3469 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3471         * libio/stdio.h: Fix typo in __REDIRECT.
3472         * io/sys/stat.h: Likewise.
3473         Reported by Myles Uyema <myles@uyema.nws.net>.
3475 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3477         * locale/programs/localedef.c (options): Fix help message.
3479 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3481         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3482         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3484 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3486         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3487         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3488         (ptmalloc_init): Use new function in thread_at_fork call.
3489         (thread_atfork_static): Likewise.
3490         Suggested by Wolfram Gloger and Xavier Leroy.
3492 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3494         * signal/signal.h: Move definitions of struct sigstack and
3495         struct sigaltstack into separate file and include it.
3496         * sysdeps/generic/bits/sigstack.h: New file.
3497         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3498         * signal/Makefile (headers): Add bits/sigstack.h.
3500 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3502         * elf/rtld.c (dl_main): Fix check for number of references to
3503         interpreter object.
3505 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3507         * elf/rtld.c (dl_main): Check has_interp after executing platform
3508         specific code.
3510 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3512         * iconvdata/run-iconv-test.sh: Fix typo.
3514 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3516         * Makerules (+depfiles): Add depfiles for $(tests-static).
3517         Simplified.
3519 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3521         * manual/terminal.texi (Special Characters): Fix description of
3522         c_cc indexes.
3524 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3526         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3527         array.
3528         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3529         of c_cc array.
3531 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3533         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3535 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3537         * intl/locale.alias: Update russian entry.
3539 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3541         * Makerules (static-only-routines): Reimplement in terms of
3542         elide-routines.os.
3543         (shared-only-routines): Reimplement in terms of
3544         elide-routines.X [where X is all object-suffixes except .os].
3546         (stubs): Create stubs file inside the subdir.
3547         (common-mostlyclean): Remove stubs file from inside the subdir.
3548         * Makefile (subdir-stubs): Look for stubs files inside the
3549         subdirs.
3550         * manual/Makefile (stubs): Create dummy stubs file inside the
3551         subdir.
3553 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3555         Build speed improvement: make ar less of a bottleneck.
3557         * Makerules (stamp$o): Just record the object list for later
3558         use.
3559         (libc_foo.a): New rule, depends on subdir stamp files; builds
3560         and ranlibs the library from the lists saved in those files.
3562         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3563         (subdirs-stamp-o): Likewise.
3565         (ar-symtab-name): Delete variable.
3566         (lib%.a): Delete target.
3567         (libc_foo.a(bar.%)): Delete target.
3568         (libc_foo.a($(ar-symtab-name))): Delete target.
3570         (objects objs): Just depend on libobjs and extra-objs.
3571         (libobjs): Depend on the stamp files, not the objects.
3572         (extra-objs): New target, just depends on the extra-objs list.
3574         (CREATE_ARFLAGS): Kill the `ar S' hack.
3576         * config.make.in (have-ar-S): Deleted.
3577         * configure.in: Delete test for `ar S'.  Add test to determine
3578         whether ranlib does anything useful.
3580 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3582         * inet/tst-ether_aton.c: Include <stdio.h>.
3584 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3586         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3588         * locale/Makefile (distribute): Add programs/repertoire.h.
3589         (localedef-modules): Add repertoire.
3590         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3591         * locale/programs/repertoire.c: New file.
3592         * locale/programs/repertoire.h: New file.
3593         * locale/programs/charmap.c: Starting fixing character set handling
3594         to handle multi-byte encodings.
3595         * locale/programs/charset.c: Likewise.
3596         * locale/programs/charset.h: Likewise.
3597         * locale/programs/ld-collate.c: Likewise.
3598         * locale/programs/ld-ctype.c: Likewise.
3599         * locale/programs/linereader.c: Likewise.
3600         * locale/programs/localedef.c: Likewise.
3601         * locale/programs/locfile-kw.gperf: Likewise.
3602         * locale/programs/locfile-kw.h: Likewise.
3603         * locale/programs/locfile-token.h: Likewise.
3604         * locale/programs/locfile.h: Likewise.
3605         * locale/programs/stringtrans.c: Likewise.
3607         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3608         path, extended with "/locales/".
3610 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3612         * sysdeps/arm/memset.S: Fix off by one error.
3614         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3615         __syscall_error rather than syscall_error directly.
3617 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3619         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3620         mmap() syscall for ARM.
3622         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3623         binaries.
3625 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3627         * locale/programs/localedef.c: Recognize repertoire-map option.
3629 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3631         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3632         converting non-hex numbers.
3633         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3635 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3637         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3638         check overflow.
3639         * resolv/Makefile (tests): New, add tst-aton.
3640         * resolv/tst-aton.c: New file.
3642 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3644         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3645         semicolon.
3647 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3649         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3650         by letting the later modify the variable computing the total directly.
3651         * wcsmbs/mbsrtowcs.c: Likewise.
3652         * wcsmbs/wcsnrtombs.c: Likewise.
3653         * wcsmbs/wcsrtombs.c: Likewise.
3655         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3656         it is not used.
3657         * wcsmbs/wctoc.c: Likewise.
3659         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3660         * wcsmbs/wcsrtombs.c: Likewise.
3662         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3664 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3666         * iconv/skeleton.c: Correct counting of actually converted
3667         characters.
3669         * intl/localealias.c (read_alias_file): Use unsigned char for
3670         local variables.  Remove unused variable tp.
3671         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3672         for type of codeset.  For loosing Solaris systems.
3673         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3674         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3675         len if not needed.
3676         Patches by Jim Meyering.
3678         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3679         wcsrtombs must put it into initial state.
3681 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3683         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3684         argument of bswap_XX macro.
3686 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3688         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3689         variable name.
3691 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3693         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3694         semun and use stdarg macros to get the value.
3695         * sysdeps/generic/semctl.c: Don't use union semun.
3697         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3699         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3701         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3702         strings.h.
3704         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3705         defines grouping.
3707         * intl/hash-string.h: Don't include values.h.
3709         * inet/Makefile (tests): Add tst-ether_aton.
3710         * inet/tst-ether_aton.c: New file.
3712         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3713         in hex conversion.
3714         * inet/ether_aton.c (ether_aton): Declare result variable static.
3715         Reported by ahyung@unixg.ubc.ca.
3717         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3718         Define macro _SEM_SEMUN_UNDEFINED instead.
3719         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3721         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3722         * stdio-common/Makefile (tests): Add tst-wc-printf.
3724 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3726         * manual/stdio.texi (Variable Arguments Output): Correct variable
3727         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3729 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3731         * intl/dcgettext.c: Remove unneeded definition of
3732         internal_function.
3734 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3736         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3737         instead of do-iconv-test.
3738         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3739         empty.
3741 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3743         * string/string.h: Fix feature test.
3745 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3747         * iconvdata/iso646.c (BODY): Don't use character constants that
3748         depend on signedness of char.
3750 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3752         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3753         (sysdep_routines): Add s_pread64 and s_pwrite64.
3755 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3757         * iconvdata/Makefile (distribute): Remove generated .h files.
3758         * iconvdata/koi8-r.h: Removed.
3759         * iconvdata/latin-greek-1.h: Removed.
3760         * iconvdata/latin-greek.h: Removed.
3762         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3763         * iconvdata/KOI-8: Likewise.
3764         * iconvdata/KOI-8..UTF8: Likewise.
3765         * iconvdata/KOI8-R: Likewise.
3766         * iconvdata/KOI8-R..UTF8: Likewise.
3768 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3770         * streams/Makefile (headers): Add sys/stropts.h.
3771         * streams/sys/stropts.h: New file.
3773 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3775         * sysdeps/unix/sysv/linux/ttyname.c,
3776         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3777         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3779 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3781         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3782         argument of _itoa_word.
3784 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3786         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3787         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3788         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3789         sigprocmask, resp., instead of EXTRA.
3791         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3792         s_pread64 and s_pwrite64.
3794 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3796         * iconvdata/Makefile: Correct rules to generate gap table.
3797         * iconvdata/gap.pl: Simplify.
3799         * iconvdata/TESTS: Name new tests.
3800         * iconvdata/testdata/CP1250: New file.
3801         * iconvdata/testdata/CP1250..UTF8: New file.
3802         * iconvdata/testdata/CP1251: New file.
3803         * iconvdata/testdata/CP1251..UTF8: New file.
3804         * iconvdata/testdata/CP1252: New file.
3805         * iconvdata/testdata/CP1252..UTF8: New file.
3806         * iconvdata/testdata/CP1253: New file.
3807         * iconvdata/testdata/CP1253..UTF8: New file.
3808         * iconvdata/testdata/CP1254: New file.
3809         * iconvdata/testdata/CP1254..UTF8: New file.
3810         * iconvdata/testdata/CP1255: New file.
3811         * iconvdata/testdata/CP1255..UTF8: New file.
3812         * iconvdata/testdata/CP1256: New file.
3813         * iconvdata/testdata/CP1256..UTF8: New file.
3814         * iconvdata/testdata/CP1257: New file.
3815         * iconvdata/testdata/CP1257..UTF8: New file.
3817 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3819         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3820         * iconvdata/iso-2022-kr.c: New file.
3822         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3823         and ISO-2022-KR.
3825 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3827         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3828         iso8859-8 and iso8859-10.
3829         * iconvdata/iso8859-5.c: Change to use gap method.
3830         * iconvdata/iso8859-7.c: Likewise.
3831         * iconvdata/iso8859-8.c: Likewise.
3832         * iconvdata/iso8859-10.c: Likewise.
3834         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3835         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3836         end of the loop.
3837         * iconvdata/iso-2022-jp.c: New file.
3839         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3840         * iconvdata/ksc5601.h: Unify function interfaces.
3841         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3842         * iconvdata/uhc.c: Likewise.
3844         * iconvdata/gb2312.h: Use correct types.
3846         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3847         size elements of data.
3849 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3851         * string/tst-svc.expect: Adapt for change in .input.
3852         * string/tst-svc.input: More tests.
3854 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3856         * iconvdata/Makefile: Add rules for new modules.
3857         * iconvdata/gconv-modules: Likewise.
3858         * iconvdata/cp737.c: New file.
3859         * iconvdata/cp737.h: New file.
3860         * iconvdata/cp775.c: New file.
3861         * iconvdata/cp775.h: New file.
3862         * iconvdata/cp874.c: New file.
3863         * iconvdata/cp874.h: New file.
3865 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3867         * iconvdata/Makefile: Create target directory before generating
3868         headers.
3870 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3872         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3873         __USER_LABEL_PREFIX__.
3874         (__ASMNAME, __ASMNAME2): New macros.
3876 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3878         * elf/dl-load.c: Include sys/param.h for MAX.
3880 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3882         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3883         __ftruncate the strong symbol, and add weak alias.
3884         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3886 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3888         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3889         Patch by Joe Keane <jgk@jgk.org>.
3891         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3892         free()ing.
3894 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3896         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3897         Patch by Thomas Bushnell, n/BSG.
3899 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3901         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3903 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3905         * iconvdata/Makefile: Put generated headers in build directory.
3907 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3909         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3910         strsep as current directory.
3912         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3913         Java.  Add definitions for unicodelittle implementation.
3914         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3915         * iconv/gconv_simple.c: Define unicodelittle functions.
3917         * iconv/iconv_prog.c: Make program print information about position
3918         of illegal character in input.
3920         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3921         comparison of charset name.
3922         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3923         * iconvdata/ebcdic-at-de-a.c: Likewise.
3924         * iconvdata/ebcdic-at-de.c: Likewise.
3925         * iconvdata/ebcdic-ca-fr.c: Likewise.
3926         * iconvdata/euccn.c: Likewise.
3927         * iconvdata/eucjp.c: Likewise.
3928         * iconvdata/euckr.c: Likewise.
3929         * iconvdata/euctw.c: Likewise.
3930         * iconvdata/hp-roman8.c: Likewise.
3931         * iconvdata/iso6937.c: Likewise.
3932         * iconvdata/iso8859-1.c: Likewise.
3933         * iconvdata/iso8859-10.c: Likewise.
3934         * iconvdata/iso8859-2.c: Likewise.
3935         * iconvdata/iso8859-3.c: Likewise.
3936         * iconvdata/iso8859-4.c: Likewise.
3937         * iconvdata/iso8859-5.c: Likewise.
3938         * iconvdata/iso8859-6.c: Likewise.
3939         * iconvdata/iso8859-7.c: Likewise.
3940         * iconvdata/iso8859-8.c: Likewise.
3941         * iconvdata/iso8859-9.c: Likewise.
3942         * iconvdata/johab.c: Likewise.
3943         * iconvdata/koi-8.c: Likewise.
3944         * iconvdata/koi8-r.c: Likewise.
3945         * iconvdata/latin-greek-1.c: Likewise.
3946         * iconvdata/latin-greek.c: Likewise.
3947         * iconvdata/sjis.c: Likewise.
3948         * iconvdata/t61.c: Likewise.
3949         * iconvdata/uhc.c: Likewise.
3951         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3952         * iconvdata/TESTS: Add tests for ISO646 module.
3953         * iconvdata/gconv-modules: Add new modules.
3954         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3955         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3956         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3957         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3958         * iconvdata/testdate/DIN_66003: Likewise.
3959         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3960         * iconvdata/testdate/DS_2089: Likewise.
3961         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3962         * iconvdata/testdate/ES: Likewise.
3963         * iconvdata/testdate/ES..UTF8: Likewise.
3964         * iconvdata/testdate/ES2: Likewise.
3965         * iconvdata/testdate/ES2..UTF8: Likewise.
3966         * iconvdata/testdate/GB_1988-80: Likewise.
3967         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3968         * iconvdata/testdate/IT: Likewise.
3969         * iconvdata/testdate/IT..UTF8: Likewise.
3970         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3971         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3972         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3973         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3974         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3975         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3976         * iconvdata/testdate/KSC5636: Likewise.
3977         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3978         * iconvdata/testdate/MSZ_7795.3: Likewise.
3979         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3980         * iconvdata/testdate/NC_NC00-10: Likewise.
3981         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3982         * iconvdata/testdate/NF_Z_62-010: Likewise.
3983         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3984         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3985         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3986         * iconvdata/testdate/NS_4551-1: Likewise.
3987         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3988         * iconvdata/testdate/NS_4551-2: Likewise.
3989         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3990         * iconvdata/testdate/PT: Likewise.
3991         * iconvdata/testdate/PT..UTF8: Likewise.
3992         * iconvdata/testdate/PT2: Likewise.
3993         * iconvdata/testdate/PT2..UTF8: Likewise.
3994         * iconvdata/testdate/SEN_850200_B: Likewise.
3995         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3996         * iconvdata/testdate/SEN_850200_C: Likewise.
3997         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3999         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
4000         * iconvdata/cns11643l1.h: Likewise.
4001         * iconvdata/latin-greek-1.h: Likewise.
4002         * iconvdata/latin-greek.h: Likewise.
4003         * iconvdata/koi8-r.h: Likewise.
4004         * iconvdata/jis0212.h: Likewise.
4005         * iconvdata/gb2312.h: Likewise.
4006         * iconvdata/ksc5601.h: Likewise.
4008         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
4010         * iconvdata/Makefile: Add rules for lots of more modules.
4011         * iconvdata/cp1250.c: New file.
4012         * iconvdata/cp1251.c: New file.
4013         * iconvdata/cp1252.c: New file.
4014         * iconvdata/cp1253.c: New file.
4015         * iconvdata/cp1254.c: New file.
4016         * iconvdata/cp1255.c: New file.
4017         * iconvdata/cp1256.c: New file.
4018         * iconvdata/cp1257.c: New file.
4019         * iconvdata/ebcdic-dk-no-a.c: New file.
4020         * iconvdata/ebcdic-dk-no.c: New file.
4021         * iconvdata/ebcdic-es-a.c: New file.
4022         * iconvdata/ebcdic-es-s.c: New file.
4023         * iconvdata/ebcdic-es.c: New file.
4024         * iconvdata/ebcdic-fi-se-a.c: New file.
4025         * iconvdata/ebcdic-fi-se.c: New file.
4026         * iconvdata/ebcdic-fr.c: New file.
4027         * iconvdata/ebcdic-is-friss.c: New file.
4028         * iconvdata/ebcdic-it.c: New file.
4029         * iconvdata/ebcdic-pt.c: New file.
4030         * iconvdata/ebcdic-uk.c: New file.
4031         * iconvdata/ebcdic-us.c: New file.
4032         * iconvdata/ibm037.c: New file.
4033         * iconvdata/ibm038.c: New file.
4034         * iconvdata/ibm1004.c: New file.
4035         * iconvdata/ibm1026.c: New file.
4036         * iconvdata/ibm1047.c: New file.
4037         * iconvdata/ibm256.c: New file.
4038         * iconvdata/ibm273.c: New file.
4039         * iconvdata/ibm274.c: New file.
4040         * iconvdata/ibm275.c: New file.
4041         * iconvdata/ibm277.c: New file.
4042         * iconvdata/ibm278.c: New file.
4043         * iconvdata/ibm280.c: New file.
4044         * iconvdata/ibm281.c: New file.
4045         * iconvdata/ibm284.c: New file.
4046         * iconvdata/ibm285.c: New file.
4047         * iconvdata/ibm290.c: New file.
4048         * iconvdata/ibm297.c: New file.
4049         * iconvdata/ibm420.c: New file.
4050         * iconvdata/ibm423.c: New file.
4051         * iconvdata/ibm424.c: New file.
4052         * iconvdata/ibm437.c: New file.
4053         * iconvdata/ibm500.c: New file.
4054         * iconvdata/ibm850.c: New file.
4055         * iconvdata/ibm851.c: New file.
4056         * iconvdata/ibm852.c: New file.
4057         * iconvdata/ibm855.c: New file.
4058         * iconvdata/ibm857.c: New file.
4059         * iconvdata/ibm860.c: New file.
4060         * iconvdata/ibm861.c: New file.
4061         * iconvdata/ibm862.c: New file.
4062         * iconvdata/ibm863.c: New file.
4063         * iconvdata/ibm864.c: New file.
4064         * iconvdata/ibm865.c: New file.
4065         * iconvdata/ibm868.c: New file.
4066         * iconvdata/ibm869.c: New file.
4067         * iconvdata/ibm870.c: New file.
4068         * iconvdata/ibm871.c: New file.
4069         * iconvdata/ibm875.c: New file.
4070         * iconvdata/ibm880.c: New file.
4071         * iconvdata/ibm891.c: New file.
4072         * iconvdata/ibm903.c: New file.
4073         * iconvdata/ibm904.c: New file.
4074         * iconvdata/ibm905.c: New file.
4075         * iconvdata/ibm918.c: New file.
4077         * locale/iso-4217.def: Update.
4078         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4080         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4081         formats.
4083 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4085         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4086         LD_LIBRARY_PATH.
4088 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4090         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4091         * Makefile: Likewise.
4092         * posix/Makefile: Likewise.
4093         * sysdeps/mach/hurd/Makefile: Likewise.
4095 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4097         * sysdeps/mach/hurd/bits/dirent.h: New file.
4098         * sysdeps/mach/hurd/readdir64.c: New file.
4099         * sysdeps/mach/hurd/readdir64_r.c: New file.
4101 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4103         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4104         dprintf): Synchronize declarations with libio/stdio.h.
4106 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4108         * elf/dlerror.c (dlerror): Don't assume that
4109         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4110         well-protected, so just use it directly.
4112 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4114         * io/ftw.h (ftw): Fix typo.
4116 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4118         * sysdeps/gnu/utmp_file.c: Fix typo.
4120 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4122         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4123         one part of a test fails move on to the next test.
4125 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4127         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4129 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4131         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4132         as pointers, not signed integers.
4134 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4136         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4138 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4140         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4141         asm symbol name of functions.
4142         * include/features.h: Kill redundant test.
4144         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4145         * io/ftw.h: Likewise.
4146         * io/sys/stat.h: Likewise.
4147         * io/sys/statfs.h: Likewise.
4148         * io/sys/statvfs.h: Likewise.
4149         * libio/stdio.h: Likewise.
4150         * resource/sys/resource.h: Likewise.
4151         * rt/aio.h: Likewise.
4153         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4154          __FAVOR_BSD.
4155         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4157         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4158         a dummy library.
4159         * misc/bsd-compat.c: Removed.
4161 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4163         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4164         function declaration.
4165         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4166         and use them in conversion function.
4167         * iconvdata/Makefile (modules): Re-add ISO6446.
4168         * iconvdata/TEST: Add tests for ASCII variants.
4169         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4170         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4171         * iconvdata/testdata/BS_4730: New file.
4172         * iconvdata/testdata/BS_4730..UTF8: New file.
4174 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4176         * iconv/gconv.h (struct gconv_step): Add element stateful.
4177         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4178         to zero for all internal conversions.
4179         * iconv/skeleton.c: Initialize stateful depending on whether or not
4180         RESET_STATE is defined to one or zero respectively.
4181         * stdlib/mblen.c: Use stateful element of currently selected
4182         converter for result if S is NULL.
4183         * stdlib/mbtowc.c: Likewise.
4184         * stdlib/wctomb.c: Likewise.
4186 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4188         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4190         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4192         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4193         character in comparison with uint32_t.
4194         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4195         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4196         Optimize BODY a bit.
4198         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4199         be defined.
4201         * iconv/skeleton.c: Also reset converted counter in case of an error.
4202         Call reset function using correct value for output buffer start.
4204         * iconvdata/Makefile: Re-enable tests.
4206         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4207         value for to-conversion.
4209         * iconvdata/TESTS: Add new third column.
4210         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4211         not ASCII based.
4212         * iconvdata/testdata/suntzus: New file.
4214         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4215         while reading.  Correctly used base.  Little optimization.
4216         (__strtoul_internal): Likewise.
4218         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4219         was wrong.  Use explicit variable.
4221 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4223         * configure.in: Check for awk.
4224         * config.make.in: Add AWK to be substituted.
4226         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4227         * manual/users.texi: Fix typo exposed by above rewrite.
4229         * Makefile: Invoke awk using AWK variable.
4230         * csu/Makefile: Likewise.
4231         * elf/Makefile: Likewise.
4232         * mach/Makefile: Likewise.
4233         * manual/Makefile: Likewise.
4234         * sysdeps/gnu/Makefile: Likewise.
4235         * sysdeps/mach/hurd/Makefile: Likewise.
4236         * sysdeps/unix/Makefile: Likewise.
4237         * timezone/Makefile: Likewise.
4239 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4241         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4242         array index translation.
4243         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4244         these are defined.
4246         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4248         * sysdeps/mach/hurd/errlist.c: New file.
4249         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4250         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4251         semantics, so rename it.
4253 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4255         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4256         conversions.
4258 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4260         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4261         * wcsmbs/wcsnrtombs.c: Likewise.
4263 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4265         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4267         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4269         * time/strftime.c (my_strftime): Initialize pad variable in
4270         declaration.
4272         * iconvdata/big5.c: Don't use character constants in comparisons
4273         with unsigned value.
4275 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4277         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4278         __libc_siglongjmp to GLIBC_2.1.
4280         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4281         __strerror_r.
4283         * iconv/Makefile: Don't run tests now.
4285         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4286         with correct output buffer.
4288         Major rewrite of the low-level gconv functionality.
4289         * iconv/gconv.c: Rewritten.
4290         * iconv/gconv.h: Likewise.
4291         * iconv/gconv_builtin.c: Likewise.
4292         * iconv/gconv_builtin.h: Likewise.
4293         * iconv/gconv_conf.c: Likewise.
4294         * iconv/gconv_int.h: Likewise.
4295         * iconv/gconv_open.c: Likewise.
4296         * iconv/gconv_simple.c: Likewise.
4297         * iconv/iconv.c: Likewise.
4298         * iconvdata/8bit-gap.c: Likewise.
4299         * iconvdata/8bit-generic.c: Likewise.
4300         * iconvdata/Makefile: Likewise.
4301         * iconvdata/big5.c: Likewise.
4302         * iconvdata/cns11643.c: Likewise.
4303         * iconvdata/cns11643.h: Likewise.
4304         * iconvdata/cns11643l1.c: Likewise.
4305         * iconvdata/cns11643l1.h: Likewise.
4306         * iconvdata/ebcdic-at-de-a.c: Likewise.
4307         * iconvdata/ebcdic-at-de.c: Likewise.
4308         * iconvdata/ebcdic-ca-fr.c: Likewise.
4309         * iconvdata/euccn.c: Likewise.
4310         * iconvdata/eucjp.c: Likewise.
4311         * iconvdata/euckr.c: Likewise.
4312         * iconvdata/euctw.c: Likewise.
4313         * iconvdata/gb2312.c: Likewise.
4314         * iconvdata/gb2312.h: Likewise.
4315         * iconvdata/hp-roman8.c: Likewise.
4316         * iconvdata/iso646.c: Likewise.
4317         * iconvdata/iso6937.c: Likewise.
4318         * iconvdata/iso8859-1.c: Likewise.
4319         * iconvdata/iso8859-10.c: Likewise.
4320         * iconvdata/iso8859-2.c: Likewise.
4321         * iconvdata/iso8859-3.c: Likewise.
4322         * iconvdata/iso8859-4.c: Likewise.
4323         * iconvdata/iso8859-5.c: Likewise.
4324         * iconvdata/iso8859-6.c: Likewise.
4325         * iconvdata/iso8859-7.c: Likewise.
4326         * iconvdata/iso8859-8.c: Likewise.
4327         * iconvdata/iso8859-9.c: Likewise.
4328         * iconvdata/jis0201.c: Likewise.
4329         * iconvdata/jis0201.h: Likewise.
4330         * iconvdata/jis0208.c: Likewise.
4331         * iconvdata/jis0208.h: Likewise.
4332         * iconvdata/jis0212.c: Likewise.
4333         * iconvdata/jis0212.h: Likewise.
4334         * iconvdata/johab.c: Likewise.
4335         * iconvdata/koi-8.c: Likewise.
4336         * iconvdata/koi8-r.c: Likewise.
4337         * iconvdata/ksc5601.c: Likewise.
4338         * iconvdata/ksc5601.h: Likewise.
4339         * iconvdata/latin-greek-1.c: Likewise.
4340         * iconvdata/latin-greek.c: Likewise.
4341         * iconvdata/run-iconv-test.sh: Likewise.
4342         * iconvdata/sjis.c: Likewise.
4343         * iconvdata/t61.c: Likewise.
4344         * iconvdata/uhc.c: Likewise.
4345         * wcsmbs/btowc.c: Likewise.
4346         * wcsmbs/mbrtowc.c: Likewise.
4347         * wcsmbs/mbsnrtowcs.c: Likewise.
4348         * wcsmbs/mbsrtowcs.c: Likewise.
4349         * wcsmbs/wcrtomb.c: Likewise.
4350         * wcsmbs/wcsmbsload.c: Likewise.
4351         * wcsmbs/wcsnrtombs.c: Likewise.
4352         * wcsmbs/wcsrtombs.c: Likewise.
4353         * wcsmbs/wctob.c: Likewise.
4354         * iconv/loop.c: New file.
4355         * iconv/skeleton.c: New file.
4357         * stdlib/mblen.c: Handle empty input string correctly.
4358         * stdlib/mbtowc.c: Likewise.
4360         * posix/getopt.c: Various cleanups.
4362         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4363         * sysdeps/i386/bits/setjmp.h: Likewise.
4364         * sysdeps/m68k/bits/setjmp.h: Likewise.
4365         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4366         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4368         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4369         and make longjmp weak alias.
4371 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4373         * iconv/Makefile (routines): Only include gconv_dl if building for
4374         an ELF system - dynamic linking is not available on a.out.
4375         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4376         due to above check.
4377         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4378         routines from gconv_dl.
4380 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4382         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4383         we can compile without libio.
4385 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4387         * sysdeps/mach/hurd/Subdirs: Remove login.
4389 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4391         * db2/compat.h: Include <errno.h>, to make sure we get the
4392         definition of EFTYPE before we define it ourselves.
4394 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4396         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4397         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4398         Fix typo to allow inclusion from sys/ioctl.h again.
4400 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4402         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4404 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4406         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4408 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4410         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4411         Also undefine __strcasestr.
4413 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4415         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4416         aliases do not work with global variables due to copy relocations.
4418 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4420         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4422 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4424         * signal/sighold.c: Include stddef.h for NULL definition.
4425         * signal/sigrelse.c: Likewise.
4426         * sysdeps/posix/sigignore.c: Likewise.
4427         * sysdeps/posix/sigset.c: Likewise.
4428         * sysdeps/posix/waitid.c: Likewise.
4429         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4430         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4431         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4432         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4433         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4435 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4437         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4438         * login/getutent.c (getutxent): Remove alias.
4439         * login/getutent_r.c (setutxent, pututxline, endutxent):
4440         Remove aliases.
4441         * login/getutid.c (getutxid): Remove alias.
4442         * login/getutline.c (getutxline): Remove alias.
4443         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4444         __getutid, __getutline and __pututline.
4445         * login/utmpx.h: Moved to ...
4446         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4447         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4448         and updwtmpx.
4449         * login/updwtmp.c: Moved to ...
4450         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4451         allowing file name transformation.
4452         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4453         additional file name transformation.
4454         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4455         * login/utmp_file.c: Moved to ...
4456         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4457         Generalized by allowing file name transformation.  Do not
4458         print error message.  Library functions should not print them.
4459         Reported by Jim Meyering.
4460         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4461         with additional file name transformation.
4462         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4463         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4464         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4465         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4466         and bits/utmpx.h.
4467         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4468         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4469         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4470         Define if __USE_GNU.
4471         * sysdeps/generic/setutxent.c: New file.
4472         * sysdeps/generic/getutxent.c: New file.
4473         * sysdeps/generic/endutxent.c: New file.
4474         * sysdeps/generic/getutxid.c: New file.
4475         * sysdeps/generic/getutxline.c: New file.
4476         * sysdeps/generic/pututxline.c: New file.
4477         * sysdeps/generic/utmpxname.c: New file.
4478         * sysdeps/generic/updwtmpx.c: New file.
4479         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4480         * sysdeps/generic/bits/utmpx.h: Remove.
4482 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4484         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4485         ~root test.
4487 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4489         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4491 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4493         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4494         variable using _G_stat64.
4495         * libio/fileops.c: Remove macro definition of fstat, it is in the
4496         global header.
4497         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4499 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4501         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4502         <willy@odie.barnet.ac.uk>.
4504 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4506         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4507         required by IPv6 Basic API.
4508         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4509         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4510         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4511         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4513 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4515         Don't name internal representation since it might be different from
4516         the external form (namely on little endian machines).
4517         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4518         UCS4 into references to INTERNAL.
4519         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4520         Add endianess support to UCS functions.  Change references to
4521         UCS4 into references to INTERNAL.
4522         * iconv/gconv_int.h: Change references to UCS4 into references to
4523         INTERNAL.
4524         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4525         * iconvdata/gconv-modules: Change accordingly.
4526         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4528         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4529         overflow.
4530         * iconvdata/8bit-gap.c: Likewise.
4531         * iconvdata/8bit-generic.c: Likewise.
4532         * iconvdata/big5.c: Likewise.
4533         * iconvdata/euccn.c: Likewise.
4534         * iconvdata/eucjp.c: Likewise.
4535         * iconvdata/euckr.c: Likewise.
4536         * iconvdata/euctw.c: Likewise.
4537         * iconvdata/iso646.c: Likewise.
4538         * iconvdata/iso6937.c: Likewise.
4539         * iconvdata/iso8859-1.c: Likewise.
4540         * iconvdata/johab.c: Likewise.
4541         * iconvdata/sjis.c: Likewise.
4542         * iconvdata/t61.c: Likewise.
4543         * iconvdata/uhc.c: Likewise.
4545         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4546         * iconvdata/8bit-generic.c: Likewise.
4548         * iconvdata/TESTS: Add more tests.
4550         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4552 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4554         * iconvdata/Makefile: Better rules to run tests.
4556         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4557         * iconvdata/testdata/ISO-8859-10: Likewise.
4558         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4559         * iconvdata/testdata/ISO-8859-2: Likewise.
4560         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4561         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4562         * iconvdata/testdata/ISO-8859-3: Likewise.
4563         * iconvdata/testdata/ISO-8859-4: Likewise.
4564         * iconvdata/testdata/ISO-8859-5: Likewise.
4565         * iconvdata/testdata/ISO-8859-6: Likewise.
4566         * iconvdata/testdata/ISO-8859-7: Likewise.
4567         * iconvdata/testdata/ISO-8859-8: Likewise.
4568         * iconvdata/testdata/ISO-8859-9: Likewise.
4570 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4572         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4573         intermediate result (if available).
4575         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4576         last change.
4578         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4579         (distribute): Add run-iconv-test.sh and testdata/*.
4581         * stdlib/testmb.c (main): Simplify mbc array handling.
4583 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4585         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4586         return value on overflow.
4588 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4590         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4591         bits.
4593 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4595         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4596         of non-standard function setbuffer.
4598 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4600         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4602 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4604         * iconvdata/Makefile: Add rules to run tests.
4605         * iconvdata/TESTS: New file.
4606         * iconvdata/run-iconv-test.sh: New file.
4607         * iconvdata/testdata/ISO-8859-1: New file.
4609         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4610         not stdout.
4612 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4614         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4615         counter element of step.
4617         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4619         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4620         termination test.
4621         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4622         ACTUALLY.
4623         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4625 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4627         * Makefile: Include makeconfig before defining rule to regenerate
4628         configure files.
4630         * configure.in: Remove restriction on compiling without static
4631         libs.
4633 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4635         * test-skeleton.c: Provide hook for initializing code before the fork.
4636         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4637         removed.
4639         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4640         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4641         * libio/libioP.h: Adopt _IO_cleanup prototype.
4643         * stdlib/Makefile (tests): Add test-canon2.
4644         * stdlib/test-canon2.c: New file.
4645         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4646         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4647         symlink sequences.
4648         (__realpath): Make real function which checks RESOLVED parameter for
4649         not being NULL.
4651 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4653         * catgets/open_catalog.c (__open_catalog): Fix problems with
4654         reading non-files.  Always close file.
4655         Reported by Cristian Gafton <gafton@redhat.com>.
4657         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4659 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4661         * libc.map: Add various low-level I/O functions.
4663 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4665         * string/Makefile (routines): Remove strerror_r.
4666         * string/strerror_r.c: Removed.
4667         * string/strerror.c: Call __strerror_r for doing the real work.
4668         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4669         add weak alias strerror_r.
4670         * sysdeps/mach/_strerror.c: Likewise.
4671         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4672         * elf/dl-error.c (_dl_signal_error): Likewise.
4673         * elf/dl-profile.c (_dl_start_profile): Likewise.
4674         * gmon/gmon.c (write_gmon): Likewise.
4675         * stdio-common/perror.c: Likewise.
4676         * stdio-common/vfprintf.c: Likewise.
4678 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4680         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4681         (sysdep_headers): Add netatalk/at.h.
4683 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4685         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4686         Formatting fixes.
4688 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4690         * posix/regex.c: Rename __re_syntax_options back to
4691         re_syntax_options, aliases do not work with global variables due
4692         to copy relocations.
4693         (regex_compile): Use syntax parameter instead of
4694         re_syntax_options.
4696 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4698         * configure.in: Document that enable-force-install is default.
4700 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4702         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4703         all needed 36 bits.
4704         * sysdeps/posix/mkstemp.c: Likewise.
4706 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4708         * iconvdata/8bit-gap.c: Simplify step data handling.
4709         * iconvdata/8bit-generic.c: Likewise.
4710         * iconvdata/big5.c: Likewise.
4711         * iconvdata/euccn.c: Likewise.
4712         * iconvdata/eucjp.c: Likewise.
4713         * iconvdata/euckr.c: Likewise.
4714         * iconvdata/euctw.c: Likewise.
4715         * iconvdata/iso6937.c: Likewise.
4716         * iconvdata/iso8859-1.c: Likewise.
4717         * iconvdata/jis0208.h: Likewise.
4718         * iconvdata/jis0212.c: Likewise.
4719         * iconvdata/jis0212.h: Likewise.
4720         * iconvdata/johab.c: Likewise.
4721         * iconvdata/ksc5601.h: Likewise.
4722         * iconvdata/sjis.c: Likewise.
4723         * iconvdata/t61.c: Likewise.
4724         * iconvdata/uhc.c: Likewise.
4726 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4728         * manual/texinfo.texi: Updated from last version.
4730 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4732         * iconvdata/cns11643.c: New file.
4733         * iconvdata/cns11643.h: New file.
4734         * iconvdata/cns11643l1.c: New file.
4735         * iconvdata/cns11643l1.h: New file.
4736         * iconvdata/euctw.c: New file.
4737         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4738         * iconvdata/gconv-modules: Likewise.
4740         * iconvdata/eucjp.c: Several bug fixes and improvements.
4741         * iconvdata/gb2312.h: Likewise.
4742         * iconvdata/jis0201.h: Likewise.
4743         * iconvdata/jis0208.h: Likewise.
4744         * iconvdata/jis0212.h: Likewise.
4746 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4748         * iconvdata/eucjp.c: New file.
4749         * iconvdata/euccn.c: New file.
4750         * iconvdata/gb2312.h: New file.
4751         * iconvdata/gb2312.c: New file.
4752         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4753         * iconvdata/gconv-modules: Likewise.
4755         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4757 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4759         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4760         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4761         Patch by Mark Hatle <fray@kernel.crashing.org>.
4763 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4765         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4766         comment.
4767         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4768         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4770 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4772         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4774         * iconvdata/Makefile: Add rules for big5 conversion.
4775         * iconvdata/gconv-modules: Likewise.
4776         * iconvdata/big5.c: New file.
4778         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4779         Patch by Jim Meyering.
4781 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4783         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4785         * rt/lio_listio.c: Correct total counter handling.
4787         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4788         from request queue.
4790         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4791         of signal on exit even more.
4793         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4794         instead of call to pthread_cond_init.
4795         * rt/lio_listio.c (lio_listio): Likewise.
4796         * rt/lio_listio64.c (lio_listio64): Likewise.
4798         * nis/nis_findserv.c: Include sys/socket.h.
4800 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4802         * Makeconfig (rtobjdir): New variable.
4803         (rpath-link): Add rtobjdir and thread directory, if available.
4805         * test-skeleton.c: Add support to remove temporary files.
4806         Always define test_dir.  Improve message about expected signal.
4808         * rt/Makefile (tests): Add tst-aio.
4809         Add rules for tst-aio to be linked with librt and thread library.
4810         * rt/aio_misc.c: Correct fundamental bugs.
4811         * rt/aio_suspend.c: Correct bug in test for available request.
4812         Initialize conditional variable.
4813         * rt/lio_listio.c: Initialize conditional variable.
4814         * rt/lio_listio64.c: Likewise.
4815         * rt/tst-aio.c: New file.
4817         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4818         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4819         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4820         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4821         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4822         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4823         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4825 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4827         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4829 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4831         * elf/dl-load.c (open_path): Use correct name for test whether
4832         directory in load path exists.
4834         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4835         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4836         Patches by Tom Rini <trini@kernel.crashing.org>.
4838         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4839         * wcsmbs/wcstod_l.c: Likewise.
4840         * wcsmbs/wcstold_l.c: Likewise.
4842         * include/byteswap.h: New file.
4844         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4845         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4847         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4848         declaration.  Patch by Richard Henderson.
4850 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4852         * manual/process.texi (SIGCHLD example): Save errno.
4854 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4856         * posix/regex.c: Define regerror really as __regerror.
4857         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4858         regerror and regfree.
4860         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4861         * stdlib/strtod_l.c: Likewise.
4862         * stdlib/strtold_l.c: Likewise.
4864         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4866         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4868         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4869         Patch by Christian Gafton.
4871 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4873         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4874         for if_indextoname.
4876 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4878         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4880         * manual/socket.texi (Interface Naming): Fix typo.
4882 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4884         * manual/examples/filesrv.c (main): Remove filename first.
4886         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4887         ?F_UNIX.
4889         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4890         instead of PF_UNIX.
4892         * manual/examples/filecli.c (main): Use AF_LOCAL
4893         instead of AF_UNIX.
4895 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4897         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4898         signgam weak alias.
4899         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4900         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4901         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4902         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4903         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4904         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4906         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4908 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4910         * configure.in: Add new option --enable-force-install.  Substitute
4911         force_install.
4912         * config.make.in (force-install): Set from configure.
4913         * Makerules (force-install): New phony target.
4914         * Makeconfig (+force): New variable.
4915         * Makefile: Use it in dependency list of installation targets.
4916         * db/Makefile: Likewise.
4917         * db2/Makefile: Likewise.
4918         * elf/Makefile: Likewise.
4919         * hurd/Makefile: Likewise.
4920         * iconv/Makefile: Likewise.
4921         * iconvdata/Makefile: Likewise.
4922         * intl/Makefile: Likewise.
4923         * localedata/Makefile: Likewise.
4924         * login/Makefile: Likewise.
4925         * po/Makefile: Likewise.
4926         * sunrpc/Makefile: Likewise.
4927         * sysdeps/mach/hurd/Makefile: Likewise.
4928         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4929         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4930         * timezone/Makefile: Likewise.
4932 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4934         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4935         alloc_size.  Pass return value of getcwd syscall to realloc.
4937 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4939         * manual/socket.texi: Spelling fixes.
4941 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4943         * elf/dl-load.c (print_search_path): Remove unused variable.
4945 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4947         * login/utmp_file.c: use __ftruncate not ftruncate.
4948         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4949         for system call and make ftruncate weak alias.
4950         * posix/unistd.h: Add prototype for __ftruncate.
4951         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4952         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4953         instead of snprintf and readv.
4954         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4955         snprintf.
4956         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4957         directly.
4959 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4961         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4962         * iconv/gconv_db.c: Use __ protected regex functions.
4963         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4964         * posix/getopt_init.c: Use __getpid not getpid.
4965         * posix/regex.c: Rename all global functions to start with __ and
4966         make old names weak aliases.
4967         * posix/regex.h: Adopt prototypes for this.
4968         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4969         a weak alias and use __getcwd instead of getcwd.
4970         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4971         * stdlib/strtod.c: Use __btowc instead of btowc.
4972         * stdlib/strtol.c: Likewise.
4973         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4974         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4975         and sys_errlist are weak.
4976         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4977         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4978         * wcsmbs/mbsnrtowcs.c: Likewise.
4979         * wcsmbs/mbsrtowcs.c: Likewise.
4980         * wcsmbs/wcsnrtombs.c: Likewise.
4981         * wcsmbs/wcsrtombs.c: Likewise.
4982         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4983         weak alias.
4984         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4985         * wctype/wctype.c: Define function as __wctype and make wctype
4986         weak alias.
4987         * wctype/wctype.h: Declare __wctype.
4989 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4991         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4993 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4995         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4996         stat64.
4997         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4998         functions.
4999         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
5000         for __llseek.
5001         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5002         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
5003         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
5004         make it a weak alias.
5005         * posix/unistd.h: Declare __lseek64.
5007         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
5008         (_IO_file_stat): Fix typo.
5009         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
5010         block size from the file.  Use __mempcpy if _LIBC.
5012 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
5014         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
5015         * wcsmbs/mbrtowc.c: Likewise.
5016         * wcsmbs/mbsnrtowcs.c: Likewise.
5017         * wcsmbs/mbsrtowcs.c: Likewise.
5018         * wcsmbs/wcrtomb.c: Likewise.
5019         * wcsmbs/wcsnrtombs.c: Likewise.
5020         * wcsmbs/wcsrtombs.c: Likewise.
5021         * wcsmbs/wctob.c: Likewise.
5023         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
5024         position of next output character correctly.
5025         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5027         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5029         * stdlib/strtod.c: Don't use mbtowc.
5031 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5033         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5034         what we want is smaller than a buffer.
5036 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5038         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5039         this function.
5041 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5043         * configure.in: Recognize --with-headers flag and determine
5044         commandline options to be used in compilation.
5045         * Makeconfig (+includes): Use $(sysincludes).
5046         * config.make.in (sysincludes): Define from SYSINCLUDES.
5047         * glibcbug.in: Use SYSINCLUDES information.
5048         Patches by Zack Weinberg.
5050 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5052         * glibcbug.in: On linux, report version of kernel headers seen
5053         by compiler.
5055 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5057         * libc.map: Add __asprintf to GLIBC_2.1.
5058         * elf/dlerror.c: Use __asprintf, not asprintf.
5059         * libio/stdio.h: Declare __asprintf.
5060         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5061         a weak alias.
5063         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5064         to avoid inclusion from libc_pic.a.
5066         * elf/dl-runtime.c: Undo last patch.
5068         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5070         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5071         as default, use NULL.
5073 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5075         * resolv/Makefile: Include ../Makeconfig - needed for building
5076         static NSS module.
5078 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5080         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5081         static-nss since we don't want hesiod in the static NSS.
5083         * nss/Makefile: Build only nss_files as static.
5085         * nss/function.def: Remove support for service db.
5087 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5089         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5091 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5093         * posix/wordexp-test.c: Make IFS per test-case.
5095 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5097         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5098         ENVIRONMENT.
5100 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5102         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5103         `-print-file-name' to find as and ld.
5105 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5107         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5108         template is wrong.  Remove unused varaible `ignored'.
5110 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5112         * libc.map: Export __libc_sa_len.
5114         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5116 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5118         * iconv/gconv.c: Take care for NULL arguments.
5119         * iconv/gconv_dl.c: Make find_func function global.
5120         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5121         Add prototypes for ASCII conversion functions.
5122         * iconv/gconv_simple.c: Add ASCII conversion functions.
5123         * locale/C-ctype.c: Correct charset name.
5125         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5126         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5127         wcsmbsload.
5128         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5129         * wcsmbs/mbrtowc.c: Likewise.
5130         * wcsmbs/mbsnrtowcs.c: Likewise.
5131         * wcsmbs/mbsrtowcs.c: Likewise.
5132         * wcsmbs/wcrtomb.c: Likewise.
5133         * wcsmbs/wcsnrtombs.c: Likewise.
5134         * wcsmbs/wcsrtombs.c: Likewise.
5135         * wcsmbs/wctob.c: Likewise.
5136         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5137         prototypes for wmemr*.
5138         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5139         * wcsmbs/wcsnlen.c: New file.
5140         * wcsmbs/wcsmbsload.c: New file.
5141         * wcsmbs/wcsmbsload.h: New file.
5143         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5145         * manual/install.texi: Describe some more critical points.
5147         * string/string.h: Add prototype for __strnlen.
5148         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5150         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5151         much less predictable names.
5152         * sysdeps/posix/mkstemp.c: Likewise.
5154 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5156         * manual/libc.texinfo (Top): Change "file namespace" to "local
5157         namespace".
5159         * manual/socket.texi: Change file namespace to local namespace.
5160         (Out-of-Band Data): Remove unneeded variable link.
5161         (Host Address Functions): Use uint32_t consequently and add a
5162         number of clarifications for IPv4/IPv6, classless addresses.
5163         (Internet Namespace): Added some paragraphs about IPv6.
5164         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5166 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5168         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5170         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5171         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5172         (AI_NUMERICHOST): Define.
5173         (getnodebyname): New prototype.
5174         (AI_V4MAPPED, et al.): New constants.
5176         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5177         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5178         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5179         for socket.
5180         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5181         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5183         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5185         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5186         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5187         * socket/Makefile (headers): Add bits/sockunion.h.
5188         * socket/sys/socket.h: Include <bits/sockunion.h>
5189         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5190         <sys/socket.h>, to avoid getting sockaddr_union defined.
5191         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5192         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5193         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5195         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5196         (2.2.x kernels won't have it).
5198 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5200         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5201         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5202         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5203         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5205 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5207         * manual/socket.texi (Socket Addresses): Fix a typo.
5208         (Interface Naming): New section.
5210 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5212         * configure.in: Check for CC using $ac_tool_prefix, to handle
5213         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5214         * config.make.in: Add MIG to be substituted.
5215         * mach/Machrules: Don't define MIG variable.
5217         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5219 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5221         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5222         strdupa to copy rpath.
5224 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5226         * configure.in: Fix gcc version check.
5228         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5229         confusing.
5231 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5233         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5234         of ptsname_r.
5236         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5237         like ttyname_r.
5238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5239         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5240         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5241         of __ptsname_r accordingly.
5242         * login/openpty.c (openpty): Likewise.
5244 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5246         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5248 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5250         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5252         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5254 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5256         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5257         return value for better error checking.
5259 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5261         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5262         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5264         * elf/elf.h (EM_SPARC64): Remove.
5265         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5266         (HWCAP_SPARC_V9): Add.
5268         * elf/ldsodefs.h (_dl_hwcap): Declare.
5269         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5270         Weaken so dlopen from static progies works.
5271         (WEAKADDR): New macro.
5272         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5273         (LD_SO_PRELOAD): New macro.
5274         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5275         (elf_machine_rela): Weaken _dl_rtld_map.
5277         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5278         to __clone, and remove the later's alias.
5279         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5281         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5282         the kernel's structure.
5284         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5285         Sparc needs a custom value of __KERNEL_NCCS.
5287 1998-04-06  Richard Henderson  <rth@cygnus.com>
5289         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5291         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5292         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5294 1998-04-06  Richard Henderson  <rth@cygnus.com>
5296         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5297         as the buffer is not properly aligned.
5298         Reported by Juan Cespedes <cespedes@debian.org>.
5300 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5302         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5303         instead of AF_FILE.
5305 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5307         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5308         and wc*tomb* functions.
5310 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5312         * sysdeps/unix/start.c: Fix typo.
5314 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5316         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5318 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5320         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5321         expressions and using array variables.
5322         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5323         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5324         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5325         * sysdeps/libm-ieee754/e_log.c: Likewise.
5326         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5327         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5328         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5329         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5330         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5331         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5332         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5333         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5334         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5336 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5338         * iconv/gconv.c: Rewrite of the low-level of gconv.
5339         * iconv/gconv.h: Likewise.
5340         * iconv/gconv_builtin.h: Likewise.
5341         * iconv/gconv_close.c: Likewise.
5342         * iconv/gconv_db.: Likewise.
5343         * iconv/gconv_dl.c: Likewise.
5344         * iconv/gconv_int.h: Likewise.
5345         * iconv/gconv_open.c: Likewise.
5346         * iconv/gconv_simple.c: Likewise.
5347         * iconvdata/8bit-gap.c: Adapt for rewrite.
5348         * iconvdata/8bit-generic.c: Likewise.
5349         * iconvdata/euckr.c: Likewise.
5350         * iconvdata/iso646.c: Likewise.
5351         * iconvdata/iso6937.c: Likewise.
5352         * iconvdata/iso8859-1.c: Likewise.
5353         * iconvdata/johab.c: Likewise.
5354         * iconvdata/sjis.c: Likewise.
5355         * iconvdata/t61.c: Likewise.
5356         * iconvdata/uhc.c: Likewise.
5358 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5360         * iconv/gconv_int.h: New file.  Internal header.
5361         * iconv/Makefile (distribute): Add gconv_int.h.
5362         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5363         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5364         * iconv/gconv_close.c: Likewise.
5365         * iconv/gconv_conf.c: Likewise.
5366         * iconv/gconv_db.c: Likewise.
5367         * iconv/gconv_dl.c: Likewise.
5368         * iconv/gconv_int.h: Likewise.
5369         * iconv/gconv_open.c: Likewise.
5370         * iconv/iconv.c: Likewise.
5371         * iconv/iconv_close.c: Likewise.
5372         * iconv/iconv_open.c: Likewise.
5373         * iconv/iconv_prog.c: Likewise.
5375 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5377         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5378         missing braces.
5380 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5382         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5384 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5386         Based on patch from Pat Beirne:
5387         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5388         PIC and non-PIC now.  Correctly negate error number.
5389         (errno): Use `%' not `@' in .type directives.
5391 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5393         * sysdeps/i386/strtok.S: Change to use single exit point.
5394         * sysdeps/i386/i686/strtok.S: Likewise.
5396 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5398         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5399         default.
5401 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5403         * Makerules (installed-libcs): Fix typo.
5405 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5407         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5408         (UHC-routines): Remove ksc5601.
5410 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5412         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5413         introduced in last change.
5415 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5417         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5418         before 2.1.92.
5420 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5422         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5424         * stdlib/isomac.c: Use -isystem instead of -I for system include
5425         dir.
5427 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5429         * resolv/res_comp.c (underscorechar): New.
5430         (middlechar): Allow '_'.
5432 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5434         * intl/explodename.c (stdlib.h): Include that file only if
5435         STDC_HEADERS or _LIBC.
5436         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5437         Patch by Philippe De Muyter <phdm@macqel.be>.
5439 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5441         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5442         (AC_PROG_CHECK_VER): New macro.
5443         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5444         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5446 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5448         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5449         * sysdeps/i386/i686/strtok.S: New file
5450         * sysdeps/i386/i686/strtok_r.S: New file
5452 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5454         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5455         type to __off64_t.
5456         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5457         parameter as __off64_t instead of __off_t.
5458         (ftello): Make alias for ftello64 instead of ftello.  Change
5459         return type to __off64_t.
5461 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5463         * sysdeps/i386/bits/string.h: Fix various typos.
5464         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5466         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5468 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5470         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5471         lchown syscall correctly.  [PR libc/541].
5473 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5475         * localedata/Makefile: Correct testsuite rules.
5477         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5478         * iconvdata/iso646.c: Fix conversion from UCS4.
5480         * elf/ldsodefs.h: Mark internal function with internal_function.
5481         * elf/dl-addr.c: Likewise.
5482         * elf/dl-close.c: Likewise.
5483         * elf/dl-debug.c: Likewise.
5484         * elf/dl-deps.c: Likewise.
5485         * elf/dl-error.c: Likewise.
5486         * elf/dl-fini.c: Likewise.
5487         * elf/dl-init.c: Likewise.
5488         * elf/dl-load.c: Likewise.
5489         * elf/dl-lookup.c: Likewise.
5490         * elf/dl-object.c: Likewise.
5491         * elf/dl-open.c: Likewise.
5492         * elf/dl-profile.c: Likewise.
5493         * elf/dl-reloc.c: Likewise.
5494         * elf/dl-runtime.c: Likewise.
5495         * elf/dl-symbol.c: Likewise.
5496         * elf/dl-version.c: Likewise.
5497         * elf/dlerror.c: Likewise.
5498         * sysdeps/generic/dl-sysdep.c: Likewise.
5499         * sysdeps/i386/dl-machine.h: Likewise.
5500         * intl/finddomain.c: Likewise.
5501         * intl/gettextP.h: Likewise.
5502         * intl/loadmsgcat.c: Likewise.
5504 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5506         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5507         * iconv/gconv_builtin.h: Add definitions for new builtins.
5508         * iconv/gconv.h: Add prototypes for new builtins.
5510         * iconvdata/Makefile (modules): Add ISO646.
5511         Add rules for ISO646 module.
5512         (distribute): Add iso646.c.
5513         * iconvdata/gconv-modules: Add module and alias definition for
5514         ISO646 charsets.
5515         * iconvdata/iso646.c: New file.
5517 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5519         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5520         * iconv/iconv_prog.c: Implement --list option to print available
5521         coded character sets.
5523 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5525         Make fread() read large blocks straight to the user buffer.
5527         * libio/fileops.c (_IO_file_xsgetn): New function.
5528         (_IO_file_jumps): Use it.
5529         * libio/libioP.h: Prototype it.
5531 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5533         * iconv/gconv_conf.c (builtin_aliases): New variable.
5534         (__gconv_read_conf): Add builtin aliases.
5535         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5536         noop macro before including gconv_builtin.h.
5537         * iconv/gconv_builtin.h: Add alias names.
5539         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5540         number of converted bytes correctly.
5542 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5544         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5545         we only wait for a replay.
5547 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5549         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5550         EUC-KR modules.
5552 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5554         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5555         use PLTJMP() rather than explicit (PLT).
5557         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5558         __libc_start_main().
5560         Based on patch from Pat Beirne:
5561         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5562         Always define, not only #ifndef PIC.
5563         (DO_CALL): Pass fifth argument correctly in R4.
5564         (PSEUDO): Correct test for error, call syscall_error through PLT
5565         if PIC.
5567 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5569         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5570         definitions.
5572 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5574         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5575         JOHAB.so.
5577 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5579         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5580         lstat64.
5582 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5584         * manual/Makefile: Use object-suffixes-for-libc instead of
5585         object-suffixes.
5586         * rpm/Makefile (install-lib): Likewise.
5588 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5590         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5592         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5593         `m68*', not only `m68k'.
5595 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5597         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5599         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5600         install lddlibc4.
5602 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5604         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5605         EUC-KR.
5607         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5608         comment.
5610 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5612         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5613         the init stuff.
5615 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5617         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5618         adjtimex syscall.
5619         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5620         adjtimex.
5621         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5623 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5625         * Makerules (install): Change comment for libc.so following the
5626         libc_nonshared changes.
5628 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5630         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5632         * iconvdata/gap.pl: Avoid using %#06x.
5634 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5636         * Makerules: Use $? instead of S^ when invoking ar.
5638 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5640         * db2/compat.h: Allow EFTYPE being defined.
5641         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5642         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5643         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5644         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5645         (__libc_once): Correctly unlock semaphore.
5646         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5647         * sysdeps/unix/bsd/getpt.c: Fix typo.
5648         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5650 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5652         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5653         macros.
5655 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5657         * include/mntent.h: New file.
5659         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5660         * elf/dl-load.c: Rewrite search path handling.
5661         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5662         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5663         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5664         * elf/ldsodefs.h: Add prototype.
5666 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5668         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5670         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5671         function.
5673         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5675         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5676         New function.
5677         (HWCAP_IMPORTANT): New definition.
5679 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5681         * elf/dl-open.c (_dl_open): Fix a typo.
5682         (_dl_global_scope_alloc): Make it static.
5684 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5686         * Makerules: Remove duplicate rules to handle stamp.oS.
5688 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5690         * manual/examples/inetsrv.c (main): Change prototype of
5691         make_socket following change in mkisock.c.
5693         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5694         example host.
5695         (main): Change prototype of init_sockaddr following change in
5696         isockadd.c.
5698         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5699         * manual/examples/isockad.c (init_sockaddr): Likewise.
5701         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5702         lines for clarification.
5703         (make_named_socket): Use strncpy instead of strcpy.
5704         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5706 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5708         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5709         determining libs to remove.
5710         (postclean): Add soversions.mk.
5711         * Makerules (common-mostlyclean): Add tests-static and generated
5712         files.
5714 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5716         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5717         scanning for \0.
5718         (__strncat_g): Add i686 specific code.
5720 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5722         * manual/install.texi (Reporting Bugs): Ask to include section
5723         names in reports.
5725 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5727         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5728         guard against direct inclusion.
5730 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5732         Rework support for libc_nonshared.a:
5733         * Makeconfig (object-suffixes-for-libc): New variable.
5734         * Rules: Remove handling of static-only and shared-only routines.
5735         * Makerules: Handle them here instead.  Use
5736         object-suffixes-for-libc instead of object-suffixes when dealing
5737         with libc objects.
5738         (object-suffixes-for-rules): Remove variable.
5739         (elide-routines.oS): Elide all routines except static-only
5740         routines.
5741         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5742         empty.
5743         (installed-libcs): Remove special case for .oS.
5744         (rmobjs): Likewise.
5746 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5748         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5749         do-tst-rpmatch): New targets.
5750         (test): Use them.
5751         (install-locales): Ignore comment lines.
5753 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5755         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5756         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5757         ($(objpfx)rtldtbl.h): Likewise.
5758         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5760 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5762         * manual/string.texi (Finding Tokens in a String): Extend strsep
5763         description and correct example.
5765 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5767         * manual/socket.texi: Remove misguided explicit line breaks and
5768         fix the formatting problem instead by reformulating the
5769         paragraphs.
5770         * manual/filesys.texi: Likewise.
5771         * manual/conf.texi: Likewise.  Don't typeset table with index
5772         fonts, that looks worse than a minimally overfull line.
5774 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5776         * nscd/Makefile (nscd-modules): Move definition outside of
5777         conditional.
5779         * pwd/Makefile: Use have-thread-library to test for thread
5780         library.
5782 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5784         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5786         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5788 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5790         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5792 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5794         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5796         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5797         Reported by Andreas Jaeger.
5799 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5801         * elf/Makefile: Fix typo.
5802         (distribute): Add dl-librecon.h.
5803         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5804         * elf/ldd.sh.in: Likewise.
5805         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5806         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5807         Use strsep correctly.
5808         (process_envvars): Allow platform specific variables.
5809         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5810         (_dl_load_cache_lookup): Test cache IDs found against
5811         _dl_correct_cache_id.
5812         * sysdeps/generic/dl-librecon.h: New file.
5813         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5815         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5817 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5819         * config.make.in (ldd-rewrite-script): New variable.
5820         * configure.in: Substitute ldd-rewrite-script.
5821         * elf/Makefile: Rewrite rules to generate ldd script.
5822         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5823         * elf/ldd.sh.in: Likewise.
5824         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5825         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5826         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5827         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5828         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5830 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5832         * inet/rcmd.c (iruserok): Remain setuid to the local user
5833         while .rhosts is actually read, to make .rhosts-over-NFS work
5834         (PR libc/524).  Use iruserfopen() for security checks on both
5835         hosts.equiv and .rhosts.  General cleanup.
5836         (iruserfopen): New function, performs careful checking on
5837         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5838         stuff plus hard links to files.
5840 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5842         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5844         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5846 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5848         * sysdeps/i386/i486/bits/string.h: Fix typos.
5850 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5852         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5853         strong alias.
5855         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5857         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5858         Added.  Used by libm.so on alpha.
5860 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5862         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5863         defined.
5865 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5867         * Makerules (object-suffixes-for-rules): Add .oS only for
5868         building shared library.
5869         Add ranlib rule for nonshared library.
5870         (rmobjs): Fix typo.
5872         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5873         into for shared library only.
5874         (CPPFLAGS-.oS): Add -DPIC.
5875         (libtypes): Use $(object-suffixes-for-rules) instead of
5876         $(object-suffixes).
5878 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5880         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5881         and install lddlibc4.
5883 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5885         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5886         hash.
5887         * iconvdata/gaptab.pl: Likewise.
5889 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5891         * Rules: Allow Makefiles to specify test-static for tests which
5892         cannot be linked dynamically.
5893         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5894         tests-static.
5896         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5898         * misc/error.c: Pretty print.
5900 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5902         * Makerules (libc_nonshared-name): Remove variable.
5903         (installed-libcs): Use libc-name instead.
5904         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5905         dynamic linker.
5907         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5908         libc.a.  Remove explicit reference to dynamic linker.
5910 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5912         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5913         to wchar_t.
5914         * iconv/iconv_prog.c: Correctly test for write failure.
5915         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5916         * iconvdata/gconv-modules: Likewise.
5917         * iconvdata/euckr.c: New file.
5918         * iconvdata/johab.c: New file.
5919         * iconvdata/ksc5601.c: New file.
5920         * iconvdata/ksc5601.h: New file.
5921         * iconvdata/uhc.c: New file.
5922         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5924         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5925         * stdio/fopen.c: Correct handling of 'x' flag.
5926         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5928 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5930         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5931         * sunrpc/rpcsvc/key_prot.x: Likewise.
5932         * sunrpc/key_prot.c: Likewise.
5934 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5936         * sysdeps/i386/bits/string.h: Correct things which never worked.
5937         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5938         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5940 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5942         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5943         defined.  Reported by Thorsten Kukuk.
5945 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5947         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5949 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5951         * manual/install.texi (Supported Configurations): Add
5952         arm-linuxaout and arm-none.
5954 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5956         * version.h (VERSION): Bump to 2.0.93.
5958 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5960         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5962         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5964         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5965         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5967 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5969         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5971 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5973         Put the static-only routines in a separate library.
5974         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5975         variables.
5976         (all-object-suffixes): Add .oS.
5977         * Makerules (libc_static-name): New variable.
5978         (installed-libcs): Add libc_nonshared.a.
5979         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5980         (object-suffixes-for-rules): New variable.  Use it instead of
5981         object-suffixes for generating compilation rules.
5982         (rmobjs): Also remove *.oS.
5983         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5984         ($(objpfx)stamp.oS): New target.
5986 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5988         * Makefile (FAQ): Automatically check in regenerated FAQ.
5990 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5992         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5994 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5996         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5997         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5999         * sysdeps/generic/stub_warning: Removed.
6001         * Makefile (distribute): Add include/des.h.
6003         * manual/Makefile (distribute): Change dir-add.texi to
6004         dir-add.texinfo.
6006         * glibcbug.in: Create files safely when mktemp is not available.
6008         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
6009         Patch by a sun <asun@saul1.u.washington.edu>.
6011 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6013         * libc.map: Rename getname to getnetname.
6015 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
6017         * manual/maint.texi: Use supported platform in examples.
6019         * manual/install.texi: Document some installation tips.
6021 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
6023         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
6024         Fix a bug so that it returns an error if a numeric parameter is
6025         unset and WRDE_UNDEF is set.
6026         Patch by Andreas Schwab and Tim Waugh.
6027         * posix/wordexp-test.c: Add new new test.
6029 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6031         * posix/regex.c (regex_compile): Last patch wasn't entirely
6032         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6034 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6036         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6038 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6040         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6041         clobbered registers don't appear as operands.
6043 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6045         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6046         Solaris' sake.
6048         * posix/regex.c (regex_compile): Don't allow non-alphabet
6049         characters in character set name.
6051 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6053         * posix/wordexp.c (w_newword): New function.
6054         (do_parse_glob): New function.
6055         (parse_glob): Use do_parse_glob.  Now handles the case where a
6056         variable expansion causes a field-split.
6057         (wordexp): Use w_newword.
6058         (parse_arith): Likewise.
6059         (exec_comm): Likewise.
6060         (parse_comm): Likewise.
6061         (parse_param): Likewise.
6062         (parse_backtick): Likewise.
6064 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6066         * posix/wordexp-tst.sh: Another test.
6068         * posix/wordexp-test.c: Two new tests.
6070         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6071         directly (the code using realloc was buggy).
6072         (parse_param): Fix typo in comment.
6074 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6076         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6078 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6080         * libc.map: Add more rpc auth functions/variables.
6082         * nscd/nscd.c: Add -g option to argp options.
6084 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6086         * configure.in: Be prepared for gcc 2.9.10 and up.
6087         * configure.in: Add missing disabling of quote characters in
6088         compiler version check.  Reported by HJ Lu.
6090 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6092         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6094 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6096         * intl/locale.alias: Fix spelling of romanian.
6098         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6099         (distribute): Remove des.h.
6100         * include/des.h: New file.
6101         * sunrpc/des.h: Moved to ...
6102         * sunrpc/rpc/rpc_des.h: ...here.
6104 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6106         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6107         Fix paren.
6109 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6111         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6112         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6114 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6116         * elf/ldsodesf.h: New file.
6117         * elf/Makefile (distribute): Add ldsodefs.h.
6118         * elf/link.h: Separate internal information in exter header.
6119         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6120         * elf/dl-minimal.c: Likewise.
6121         * sysdeps/generic/dl-sysdep.c: Likewise.
6122         * elf/sprof.c: Likewise.
6123         * elf/dlsym.c: Likewise.
6124         * elf/dlvsym.c: Likewise.
6125         * elf/dlerror.c: Likewise.
6126         * elf/dladdr.c: Likewise.
6127         * elf/dlclose.c: Likewise.
6128         * elf/dlopen.c: Likewise.
6129         * elf/dl-addr.c: Likewise.
6130         * elf/dl-close.c: Likewise.
6131         * elf/dl-debug.c: Likewise.
6132         * elf/dl-deps.c: Likewise.
6133         * elf/dl-error.c: Likewise.
6134         * elf/dl-fini.c: Likewise.
6135         * elf/dl-init.c: Likewise.
6136         * elf/dl-load.c: Likewise.
6137         * elf/dl-lookup.c: Likewise.
6138         * elf/dl-object.c: Likewise.
6139         * elf/dl-open.c: Likewise.
6140         * elf/dl-profile.c: Likewise.
6141         * elf/dl-reloc.c: Likewise.
6142         * elf/dl-runtime.c: Likewise.
6143         * elf/dl-support.c: Likewise.
6144         * elf/dl-symbol.c: Likewise.
6145         * elf/dl-version.c: Likewise.
6146         * sysdeps/generic/dl-cache.c: Likewise.
6147         * sysdeps/generic/libc-start.c: Likewise.
6148         * iconv/gconv_dl.c: Likewise.
6149         * nss/nsswitch.c: Likewise.
6151 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6153         * manual/nss.texi: The database is not called network but networks.
6154         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6156 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6158         * configure.in: Correct test for compiler version.
6159         Check that LD_LIBRARY_PATH doesn't contain current path.
6161 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6163         * elf/dl-close.c (_dl_close): Fix byte count while removing
6164         the shared object from the global scope list and optimize
6165         a little bit.
6167 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6169         * manual/filesys.texi (Scanning Directory Content): Add missing
6170         closing brace.
6171         (Scanning Directory Content): Fix text.
6173 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6175         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6176         explaining difference of -lmcheck and MALLOC_CHECK_.
6178 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6180         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6181         typos in comments.
6183 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6185         * test-skeleton.c (main): Fix test for exit signal.
6187 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6189         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6191 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6193         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6194         appropriate.
6196 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6198         * libc.map: Export __strtok_r.
6200 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6202         * posix/regex.c (re_compile_fastmap): Remove unused variable
6203         num_regs and adjust comment.
6204         Patch by Jim Meyering <meyering@ascend.com>.
6206         * math/math.h (M_*l): Extend long double constants to be usable
6207         for 128 bit floats.  Patch by Richard Henderson.
6209 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6211         * sysdeps/m68k/m68020/wordcopy.S: New file.
6213 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6215         * posix/wordexp.c: Rewrite parse_param.
6216         Patch by Tim Waugh and Andreas Schwab.
6218 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6220         * Rules: Update timestamps on empty object files.
6222 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6224         * manual/filesys.texi (Scanning Directory Content): Add description
6225         of 64 bits scandir function and friends.
6227 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6229         * glibcbug.in: Use mktemp to generate unique file name for
6230         temporary files.
6232         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6233         ptsname_r.  Use cast for execve call.
6235 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6237         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6238         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6239         * io/sys/statvfs.h: New file.
6240         * sysdeps/generic/fstatvfs.h: New file.
6241         * sysdeps/generic/statvfs.h: New file.
6242         * sysdeps/generic/fstatvfs64.h: New file.
6243         * sysdeps/generic/statvfs64.h: New file.
6244         * sysdeps/generic/bits/statvfs.h: New file.
6245         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6246         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6247         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6249         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6250         and f_ffree elements.
6252         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6253         mount options in enum.
6255 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6257         * configure.in: Check for recent egcs/gcc.
6259 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6261         * libc.map: Add alphasort64, scandir64, versionsort64.
6262         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6263         versionsort64.
6264         * dirent/alphasort64.c: New file.
6265         * dirent/scandir64.c: New file.
6266         * dirent/versionsort64.c: New file.
6267         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6268         versionsort.
6269         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6270         old name weak alias.
6271         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6273         * dirent/alphasort.c: Use strcoll instead of strcmp.
6275         * dirent/scandir.c: Optimize a bit.
6277         * dirent/versionsort.c: Pretty print.
6279 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6281         * string/string.h: Add prototype for __strtok_r.
6283 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6285         * posix/Makefile: Fix typo in last change.
6287 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6289         * dirent/dirent.h (scandir): Make argument of select function const.
6290         * dirent/scandir.c (scandir): Likewise.
6291         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6293 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6295         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6296         weak alias.
6297         * sysdeps/i386/strtok_r.c: Likewise.
6299         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6300         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6301         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6302         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6303         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6304         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6306 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6308         * intl/localealias.c: Remove unneeded define for strdup.
6310 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6312         * manual/argp.texi: Adjust for better TeX output.
6313         * manual/arith.texi: Likewise.
6314         * manual/conf.texi: Likewise.
6315         * manual/filesys.texi: Likewise.
6316         * manual/header.texi: Likewise.
6317         * manual/lgpl.texinfo: Likewise.
6318         * manual/math.texi: Likewise.
6319         * manual/message.texi: Likewise.
6320         * manual/pattern.texi: Likewise.
6321         * manual/process.texi: Likewise.
6322         * manual/signal.texi: Likewise.
6323         * manual/socket.texi: Likewise.
6324         * manual/startup.texi: Likewise.
6325         * manual/stdio.texi: Likewise.
6326         * manual/terminal.texi: Likewise.
6327         * manual/examples/rprintf.c: Likewise.
6328         * manual/examples/testopt.c: Likewise.
6329         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6331 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6333         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6334         parameter name after seeing a digit if it's enclosed in braces.
6336 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6338         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6340 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6342         * manual/memory.texi (Heap Consistency Checking): Document
6343         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6345 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6347         * manual/Makefile: Add missing rules.
6349 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6351         * timezone/Makefile (generated): Define to remove all stamp files.
6353         * sysdeps/generic/strsep.c: Also undefine __strsep.
6355         * string/strdup.c: Undefine __strdup and strdup first.
6356         * string/strndup.c: Likewise.
6358         * string/bits/string2.h: Correct strtok_r and strsep.
6359         Add strndup optimization.
6361         * sysdeps/generic/strsep.c: Little optimization.
6363 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6365         * string/bits/string2.h: Add optimization for strdup.
6366         Always define __strsep and __strtok_r and make real names available
6367         when feature select macros are defined.
6369 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6371         * manual/install.texi (Installation): Use i486-linux as example
6372         instead of the unsupported sunos4.
6373         (Reporting Bugs): Mention glibcbug script.
6374         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6376 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6378         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6380         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6382 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6384         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6385         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6387         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6388         netpacket/packet.h.
6390         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6392 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6394         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6395         in enumerator for strict standard compliance.
6396         * sysdeps/generic/bits/resource.h: Likewise.
6398 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6400         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6401         (PLTJMP): New macro.
6403         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6404         longjmp() when floating point enabled.
6405         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6406         * sysdeps/arm/__longjmp.S: Remove floating point code.
6407         * sysdeps/arm/setjmp.S: Likewise.
6409         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6410         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6412         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6413         memset().
6415         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6416         prototype.
6418 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6420         Based on patches from Pat Beirne and Scott Bambrough:
6422         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6424         * sysdeps/arm/bits/fenv.h: New file.
6426         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6427         * sysdeps/arm/elf/setjmp.S: Likewise.
6428         * sysdeps/arm/elf/start.S: Likewise.
6429         * sysdeps/arm/init-first.c: Likewise.
6430         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6431         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6432         comment about floating point to reflect current reality.
6434         * sysdeps/unix/arm/brk.S: Support PIC.
6435         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6436         re-entrant code.
6437         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6438         return; call syscall_error through PLT.
6439         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6441 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6443         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6444         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6445         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6447 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6449         * dirent/list.c (test): Return error value.
6450         (main): Exit with error value.
6452         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6454         * Makefile (distribute): Add test-skeleton.c.
6455         * test-skeleton.c: New file.
6456         * dirent/Makefile (tests): Add opendir-tst1.
6457         * dirent/opendir-tst1.c: New file.
6459 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6461         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6462         Optimize memory handling.
6463         * sysdeps/unix/closedir.c: Optmize memory handling.
6465 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6467         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6468         handling.  Optimize a bit.
6470 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6472         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6473         (parse_param): Fold in Andreas' fixes to do with when the end of
6474         the parameter name has been reached, and quoting inside ${...}.
6475         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6476         $((echo);(ls)).
6478 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6480         * manual/maint.texi: Split out installation and contribution
6481         sections to their own appendices.  Misc cleanups.
6482         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6483         * manual/contrib.texi: New file.
6484         * manual/libc.texinfo: Pull in new appendices.
6485         * manual/header.texi: Correct node pointer.
6487 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6489         * manual/process.texi (Process Completion): Clarify return value
6490         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6492 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6494         * posix/wordexp-test.c: Add more tests.
6495         (testit): Fix logic.
6497         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6498         /dev/null instead of closing it, close pipe.  Always chop off all
6499         trailing newlines.  Kill and reap child before returning error.
6500         (w_addword, parse_glob): Fix memory leak.
6501         (wordexp): Fix dangling pointer problem.
6503 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6505         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6507         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6509         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6510         directory index by only the language.
6512 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6514         * posix/wordexp-tst.sh: Store test results in the
6515         ${common_objpfx}posix directory.
6517         * posix/wordexp-test.c: Remove temporary directory afterwards.
6519 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6521         * libc.map: Export internal versions of cancelable functions.
6523 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6525         * Makerules (MAKEFLAGS): Append `r'.
6527 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6529         * Makeconfig: Define have-thread-library, shared-thread-library
6530         and static-thread-library if a thread library is available.  Don't
6531         define rt.
6532         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6533         nscd-routines to nscd-modules.  Use shared-thread-library and
6534         static-thread-library in dependencies.
6535         * rt/Makefile: Only compile librt if have-thread-library is
6536         defined.
6537         * Makefile (subdirs): Always include rt subdir.
6539 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6541         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6543 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6545         * configure.in: Recognize variations for 32 MIPS processors.
6546         Don't assume ELF systems always have .weak, test for .weakext.
6548 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6550         * configure.in: Irix6 is an ELF platform.
6552 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6554         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6555         unmapping the last loaded segment.
6557 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6559         * configure.in: Set base_os for Irix6.
6560         Correct test for .weakext.
6562 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6564         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6565         (new_line) to _dl_debug_message call.
6567 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6569         * posix/wordexp.c (parse_param): Perform field-splitting after
6570         expanding positional parameter.
6572         * posix/wordexp-tst.sh: Test that field-splitting is performed
6573         after expanding positional parameter.
6575         * posix/wordexp.c (parse_param): Fixed memory leak in
6576         field-splitting after parameter expansion.
6578 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6580         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6581         (get_toplvl_escape): Correctly terminate loop at EOF.
6582         Patch by Cristian Gafton <gafton@redhat.com>.
6584 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6586         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6587         (test_strsep): Likewise.  Correct horrible bugs.
6589         * string/bits/string2.h (strcspn): Optimize also reject string of
6590         length 2 and 3.
6591         (strspn): Likewise.
6592         (strpbrk): Likewise.
6593         (strsep): Likewise.  Correct bug with successive separators and
6594         separators at the end of the string.
6595         * sysdeps/generic/strsep.c: Correct bug with successive separators
6596         and separators at the end of the string.
6598 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6600         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6601         etc) now handled, as well as $$ (pid).
6603         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6604         (distribute): Add wordexp-tst.sh.
6606         * posix/wordexp-tst.sh: New file.
6608         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6609         number of positional parameters.  Renamed substitute_length to
6610         seen_hash.
6611         Don't free(env) is env is NULL.
6613 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6615         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6617 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6619         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6620         for output file replacing gmon.out.
6621         Patch by Dean Gaudet <dgaudet@arctic.org>.
6623 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6625         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6626         up namespace.  Optimize finding end of line.
6628 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6630         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6631         securely.  Optimized.
6632         (process_dl_debug): Add ':' to list of separators.  Optimized.
6634 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6636         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6637         isless, islessequal, islessgreater, isunordered): Return zero or
6638         one.
6640 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6642         * posix/wordexp-test.c: More tests.
6643         (main): Set up arena for pathname expansion tests (in a temporary
6644         directory).
6645         (testit): Don't check word count or word vector if return value is
6646         non-zero.
6648         * posix/wordexp.c (exec_comm): Always chop off terminating
6649         linefeed (just like bash does).
6650         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6651         (!env || !*env)".
6652         (parse_param): For assignment inside parameter expansion, use all
6653         expanded words in assignment rather than just the first.
6654         (parse_param): Corrected return value for parameter expansion of
6655         an unset variable when WRDE_UNDEF is in effect.
6656         (parse_dollars): Don't field-split if quoted.
6657         (wordexp): Opening brace character isn't allowed unquoted.
6659 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6661         * elf/dlerror.c: Fix concurrency problems with error string and
6662         number.
6664         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6665         filter/auxiliary are being loaded.
6667 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6669         * elf/dlerror.c (last_object_name): Removed.
6670         (dlerror): Don't use last_object_name.
6671         (_dl_error_run): Omit second argument to _dl_catch_error.
6672         * elf/dl-error.c (struct catch): Remove objname member.
6673         (_dl_signal_error): Construct string including objname when given.
6674         (_dl_catch_error): Remove objname handling.
6675         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6676         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6677         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6678         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6679         * iconv/gconv_dl.c (dlerror_run): Likewise.
6680         [Corrects PR libc/501].
6682 1998-03-12  Matthias Urlichs <smurf@noris.de>
6684         * nscd/nscd.c: Ignore SIGPIPE.
6686 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6688         * nscd/nscd_getgr_r.c: Use __ protected names.
6689         * nscd/nscd_getpw_r.c: Likewise.
6691 1998-03-12  Matthias Urlichs <smurf@noris.de>
6693         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6694         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6695         null bytes are not transmitted.
6697 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6699         * powerpc/syscalls.list: Correct typo.
6700         * alpha/syscalls.list: Likewise.
6701         * mips/syscalls.list: Likewise.
6703 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6705         * socket/sys/socket.h: Add prototype for __socket.
6707 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6709         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6711         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6712         constants.
6714         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6715         definition here.
6716         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6717         definition here.
6719         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6720         AF_* and PF_* constants.
6722         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6724 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6726         * elf/rtld.c: Update help message.
6727         Install link maps for preloaded objects using main_map as loader.
6729         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6730         * elf/dl-profile.c: Likewise.
6732         * elf/dlsym.c: Little optimization.
6733         * elf/dlvsym.c: Likewise.
6735 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6737         * posix/wordexp-test.c: Move test for parameter list at the very
6738         beginning.
6740 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6742         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6743         WRDE_REUSE flag is set.
6744         (parse_param): Allow `*', `@', and numbers in parameter names.
6745         (parse_dollars): Differentiate between arithmetic expansion and a
6746         command substitution that starts immediately with a sub-shell
6747         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6748         (parse_param): Memory allocated with __alloca in a block was
6749         referenced outside that block.  Adjusted to use malloc/free.
6750         (parse_param): Adjusted field-splitting algorithm so that there is
6751         not necessarily a field split at the end of a parameter expansion.
6753 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6755         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6756         don't free words that have already been allocated.
6757         (parse_param): A dollar sign on its own will never have a pattern
6758         associated with it (like "${HOME%%/}" has), so don't try to free it.
6759         (parse_glob): Attempt to glob when an unquoted `[' is found
6760         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6761         (parse_glob): Sorted out quoting in a glob-able word.
6762         (parse_param): Added $* and $@ handling.
6764 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6766         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6767         parsing it.
6769 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6771         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6772         _dl_debug_message.
6774 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6776         * elf/dl-misc.c: Default for debug output should be stderr.
6777         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6778         * elf/dl-lookup.c: reference_name may be NULL or empty.
6780 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6782         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6784 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6786         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6788         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6790 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6792         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6795 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6797         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6798         init stuff.
6800 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6802         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6803         flag.
6805         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6806         syslog daemon.
6807         (closelog_internal): Don't do anything if not connected.
6809 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6811         * libc.map: Add _dl_debug_message.
6812         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6813         before every line.
6814         * elf/fini.c: Correctly use new _dl_debug_message function.
6815         * elf/init.c: Likewise.
6816         * elf/dl-lookup.c: Likewise.
6817         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6818         * elf/dl-load.c: Likewise.  Add more debugging prints.
6819         * elf/dl-reloc.c: Likewise.
6820         * elf/dl-version.c: Likewise.
6821         * elf/dl-support.c: Add variables for debugging.
6822         * elf/rtld.c: Likewise.  Recognize new debug options.
6823         * elf/link.h: Declare new variables.
6825         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6827 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6829         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6830         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6832 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6834         * posix/wordexp-test.c (command_line_test): New function to allow
6835         testing of specific cases from the command-line.
6837 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6839         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6840         * elf/dl-fini.c (_dl_fini): Likewise.
6841         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6843         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6844         symbol in debug message.
6845         (_dl_lookup_versioned_symbol_skip): Likewise.
6847 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6849         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6850         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6851         * manual/filesys/texi: Document this.
6853 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6855         * manual/filesys.texi: Document the change below.
6857 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6859         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6860         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6862 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6864         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6865         instead scope.  If debugging display information about symbol
6866         resolving.
6867         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6868         (_dl_lookup_symbol_skip): Likewise.
6869         (_dl_lookup_versioned_symbol): Likewise.
6870         (_dl_lookup_versioned_symbol_skip): Likewise.
6871         * elf/dl-support.c: Define _dl_debug_symbols.
6872         * elf/link.h: Add declaration for _dl_debug_symbols.
6873         * elf/rtld.c: Define _dl_debug_symbols.
6874         (process_dl_debug): Recognize symbols option.
6876 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6878         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6879         in correct format.
6880         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6881         with correct parameters.
6882         [!PIC]: Initialize __libc_multiple_libcs.
6884 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6886         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6887         * elf/rtld.c (_dl_debug_bindings): Add definition.
6888         (process_dl_debug): Recognize bindings option.  Update help message.
6889         * elf/link.h (struct link_map): Add l_versyms member.
6890         (_dl_debug_bindings): Add declaration.
6891         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6892         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6893         and l_reloc_result.
6894         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6895         (sym_val): Remove a member, add m as link_map.
6896         (do_lookup): Return result appropriately.
6897         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6898         Call do_lookup correctly.
6899         (_dl_lookup_symbol_skip): Likewise.
6900         (_dl_lookup_versioned_symbol): Likewise.
6901         (_dl_lookup_versioned_symbol_skip): Likewise.
6903 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6905         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6906         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6908         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6909         * libc.map: Add chown to GLIBC_2.1.
6910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6911         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6913 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6915         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6916         weak alias.
6917         * sysdeps/alpha/ffs.c: Likewise.
6918         * sysdeps/am29k/ffs.c: Likewise.
6919         * sysdeps/i386/ffs.c: Likewise.
6920         * sysdeps/i960/ffs.c: Likewise.
6921         * sysdeps/m68k/ffs.c: Likewise.
6922         * sysdeps/m88k/ffs.c: Likewise.
6923         * sysdeps/powerpc/ffs.c: Likewise.
6924         * sysdeps/rs6000/ffs.c: Likewise.
6925         * sysdeps/vax/ffs.s: Likewise.
6926         * string/string.h: Declare __ffs.
6927         * libc.map: Export it.
6928         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6929         __builtin_ffs, which is not guaranteed to be namespace clean.
6931 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6933         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6934         table, which is much more likely to exist than debugging symbols.
6935         (printsym): Remove const.
6936         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6937         header table.
6939         * libc.map: Export __profile_frequency, used by elf/sprof, to
6940         avoid infinite recursion during startup.
6942 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6944         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6945         Readd lost negate.
6947         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6949 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6951         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6953 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6955         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6956         LD_PRELOAD, and LD_VERBOSE.
6957         (dl_main): Use global variables set by process_envvars instead of
6958         calling getenv.
6959         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6960         LD_LIBRARY_PATH value, this comes with the parameter.
6961         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6962         ("LD_LIBRARY_PATH") to _dl_init_paths.
6964 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6966         * elf/rtld.c (dl_main): Delay initialization of path structure if
6967         the dynamically linker is invoked implicitly until we read the
6968         dynamic section.
6970 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6972         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6974 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6976         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6977         Linux 2.0 and 2.1.
6979         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6981 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6983         * Makeconfig (nisobjdir): Set to path to nis directory.
6984         (rpath-link): Add nisobjdir.
6985         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6987         * elf/Makefile: Pretty print.
6988         * elf/dl-lookup.c: Include unistd.h.
6989         * elf/dl-runtime.c: Likewise.
6991         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6992         (distribute): Add tst-rpmatch.sh.
6993         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6995         New tests for rpmatch function by
6996         Jochen Hein <jochen.hein@delphi.central.de>.
6997         * localedata/tst-rpmatch.c: New file.
6998         * localedata/tst-rpmatch.sh: New file.
7000         * localedata/locales/de_DE: Correct yesexpr and noexpr.
7001         * localedata/locales/de_AT: Likewise.
7003         * posix/getopt.c: Update contact address.
7004         * posix/getopt1.c: Pretty print.
7006         * sysdeps/generic/libc-start.c: Do most of the initialization now
7007         here instead of in start.S.
7008         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
7009         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
7011         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
7012         profil_counter to be public.
7014 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
7016         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
7017         (parse_param): Coded parameter length expansion (${#var}).
7018         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
7019         (parse_param): Cleaned up (fixed) error handling.
7021         * posix/wordexp-test.c: IFS now includes non-whitespace character
7022         (comma).  Added more tests.
7024 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
7026         * elf/link.h: Fix typos.
7027         Reported by Andreas Jaeger.
7029         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7030         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7032 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7034         * argp/argp-help.c: Remove last bits of using gettext instead of
7035         dgettext.
7037 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7039         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7040         __libc_start_main.
7041         * csu/Makefile (routines): Add libc-start.
7042         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7043         * elf/dl-lookup.c: Likewise.
7044         * elf/dl-version.c: Likewise.
7045         * sysdeps/i386/dl-machine.h: Likewise.
7046         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7047         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7048         _dl_sysdep_message macros which use _dl_sysdep_output.
7049         * elf/dl-fini.c: Write out which destructor is called while debugging.
7050         * elf/dl-init.c: Likewise for constructor.
7051         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7052         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7053         _dl_sysdep_message.  Add _dl_sysdep_output.
7054         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7055         this file can be opened.
7056         For LD_DEBUG=libs also set _dl_debug_impcalls.
7057         * sysdeps/generic/dl-cache.c: Include unistd.h.
7058         * sysdeps/generic/libc-start.c: New file.
7059         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7060         * sysdeps/i386/elf/start.S: Don't call main directly, call
7061         __libc_start_main instead.
7063         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7065 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7067         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7069 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7071         * argp/argp.h (struct argp): Add new field domain.
7072         * argp/argp-help.c: Change all gettext calls to dgettext and use
7073         domain field from appropriate argp in call.
7074         * argp/argp-parse.c: Likewise.
7076 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7078         * posix/wordexp-test.c: Change testsuite so that it can run even
7079         for ~root != /root.
7081 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7083         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7085 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7087         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7088         Don't store into global errno if we already store through
7089         __errno_location.
7090         * sysdeps/unix/i386/sysdep.S: Likewise.
7091         * sysdeps/unix/alpha/sysdep.S: Likewise.
7092         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7093         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7094         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7095         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7096         PIC).
7098 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7100         * sysdeps/generic/sysdep.h (L): Remove definition.
7101         * sysdeps/i386/sysdep.h (L): Define it here instead.
7103 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7105         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7107         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7109 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7111         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7112         declaration style to avoid warnings.
7114 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7116         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7117         "LD_DEBUG".
7119 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7121         * posix/Makefile (tests): Add wordexp-test.
7122         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7123         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7125 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7127         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7128         dependencies.
7130         * elf/link.h (struct r_search_path_elem): Add two new field for
7131         lib path debugging.
7132         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7133         variable accordingly.
7134         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7135         is considered next along with information about load paths.
7136         * sysdeps/generic/dl-cache.c: Likewise.
7137         * elf/dl-support.c: Define _dl_debug_libs.
7138         * elf/genrtldtbl.awk: Add initializers for two new field in
7139         struct r_search_path_elem.
7141 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7143         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7144         * sysdeps/m68k/lshift.S: Likewise.
7145         * sysdeps/m68k/rshift.S: Likewise.
7146         * sysdeps/m68k/sub_n.S: Likewise.
7147         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7148         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7149         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7151         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7152         [_LIBC_REENTRANT]: Don't store into global errno.
7154         * sysdeps/m68k/sysdep.h: New file.
7155         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7156         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7157         (DO_CALL): Change to expect syscall name as argument.
7158         (PSEUDO): Pass syscall_name to DO_CALL.
7159         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7160         errno.
7162 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7164         * elf/rtld.c: Speed up processing of environment variables.  Do
7165         only one run on the environment by avoiding to call getenv.
7166         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7167         function.  Used by patch above.
7169 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7171         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7172         running nscd.
7173         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7174         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7175         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7177 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7179         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7180         module cannot be found.  Reported by Andreas Jaeger.
7182 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7184         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7185         on platforms which default to unsigned chars.
7186         * nscd/nscd_getpw_r.c: Likewise.
7187         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7188         defining it.
7190 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7192         * elf/Makefile (install-bin): Change = to += for sprof to install
7193         ldd also.
7195 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7197         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7199 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7201         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7203 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7205         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7206         that a failure to connect to nscd doesn't change errno.
7208 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7210         * manual/maint.texi (Reporting Bugs): Change
7211         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7213         * locale/iso-4217.def: Likewise
7215 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7217         * manual/texinfo.tex: Updated.
7219 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7221         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7222         value.
7223         * sysdeps/posix/pathconf.c: Likewise.
7224         * posix/getconf.c: Print `undefined' if pathconf returns -1
7225         without setting errno.
7227 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7229         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7230         problem.
7231         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7232         Patches by Elliot Lee <sopwith@cuc.edu>.
7234 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7236         * elf/link.h (struct link_map): Add new field l_reloc_result.
7237         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7238         of relocation for the object to be profiled.
7239         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7240         to NULL.
7241         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7242         array here.
7243         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7244         contains a result from a previous run use this instead of computing
7245         the value again.
7246         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7248 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7250         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7251         offsets into the GOT.
7252         (RTLD_START): Likewise.
7254 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7256         * elf/sprof.c: Cleanup a bit.
7258 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7260         * sysdeps/generic/sysdep.h (L): New. Define.
7262         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7264         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7266         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7267         to have only one exit point for functions.
7268         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7269         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7270         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7271         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7272         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7274 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7276         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7277         reset errno so that errno isn't set to ENOSYS in the first call.
7278         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7279         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7280         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7281         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7283 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7285         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7286         * sysdeps/i386/addmul_1.S: Likewise.
7287         * sysdeps/i386/lshift.S: Likewise.
7288         * sysdeps/i386/mul_1.S: Likewise.
7289         * sysdeps/i386/rshift.S: Likewise.
7290         * sysdeps/i386/sub_n.S: Likewise.
7291         * sysdeps/i386/submul_1.S: Likewise.
7292         * sysdeps/i386/i586/add_n.S: Likewise.
7293         * sysdeps/i386/i586/addmul_1.S: Likewise.
7294         * sysdeps/i386/i586/lshift.S: Likewise.
7295         * sysdeps/i386/i586/mul_1.S: Likewise.
7296         * sysdeps/i386/i586/rshift.S: Likewise.
7297         * sysdeps/i386/i586/sub_n.S: Likewise.
7298         * sysdeps/i386/i586/submul_1.S: Likewise.
7300         * sysdeps/i386/sysdep.h: Extend last change.
7302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7303         to have only one exit point for functions.
7305 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7307         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7308         search.
7310 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7312         * Makerules: Generate libc.so with absolute paths for the used
7313         shared objects.
7315         * config.make.in: Add MAKEINFO definition.
7317 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7319         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7320         (ENTRY): Use STABS_FUN.
7321         (END): Use STABS_FUN_END.
7322         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7324         * elf/Makefile: Add rules to build sprof program.
7325         * elf/sprof.c: New file.
7327 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7329         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7331 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7333         * configure.in: Check for working msgfmt version (from GNU gettext
7334         0.10 or later).
7336 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7338         * configure.in: Avoid //s in sysdirs.
7339         Patch by Roland McGrath.
7341         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7343 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7345         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7346         setting _dl_global_scope for RTLD_GLOBAL.
7348 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7350         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7351         possible lists of object-suffixes are taken care of.
7353 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7355         * timezone/private.h: Update from tzcode1998c.
7356         * timezone/zic.c: Likewise.
7357         * timezone/antarctica: Updated from tzdata1998c.
7358         * timezone/asia: Likewise.
7359         * timezone/australasia: Likewise.
7360         * timezone/europe: Likewise.
7361         * timezone/southamerica: Likewise.
7363 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7365         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7366         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7368 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7370         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7371         Changed type of TWO43, TWO52 from float to double.
7372         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7373         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7374         Changed type of TWO43 from float to double.
7375         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7376         Use __isinff.
7378 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7380         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7381         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7382         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7384 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7386         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7387         kernel_termios.h.
7388         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7389         Clean up random whitespace.
7390         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7391         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7393         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7395 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7397         * shlib-versions: Match alpha*.
7398         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7399         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7401         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7402         Implement copysign* with and without __ prefix.
7403         Likewise for fabs; use builtin for gcc 2.8.
7404         (floor*): New.
7405         (fdim*): New.
7407         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7408         (R_SPARC*): Match current v9 ABI.
7410         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7412         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7413         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7414         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7415         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7416         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7417         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7418         * sysdeps/unix/grantpt.c (argv): Fix consts.
7419         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7420         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7422 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7424         * misc/syslog.c: Change to allow user the interpretation of the
7425         outcome even with syslog having no return value.
7427 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7429         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7430         that the number of program headers is >0 (which is wrong for the
7431         loader itself).
7433 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7435         * Makefile (distribute): Add README.libm.
7437 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7439         * time/clocktest.c (main): Correct typo: "--" -> "==".
7441 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7443         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7444         inline function.
7445         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7446         inline functions.
7448         * math/libm.map (__atan2): Added.
7450 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7452         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7453         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7455         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7456         bug.
7458 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7460         * manual/arith.texi (Old-style number conversion): Correct
7461         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7463 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7465         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7466         but does not require it.  Handle missing argv[] values gracefully.
7467         * posix/execl.c: Likewise.
7468         * posix/execle.c: Likewise.
7470 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7472         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7473         bit.
7474         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7476 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7478         * libc.map: Add __adjtimex.
7480 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7482         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7483         Remove memset.
7485 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7487         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7488         to 64.
7490         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7492         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7493         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7495         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7496         for shared library.
7498         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7500         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7501         Added adjtimex and old_adjtimex.
7503         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7504         New.
7505         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7506         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7508         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7509         symbols only for shared library.
7510         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7511         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7512         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7513         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7514         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7515         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7516         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7518         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7519         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7520         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7521         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7522         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7523         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7524         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7525         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7527         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7528         rusage pointer.
7530         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7531         New macros.
7532         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7533         timex and __adjtimex, respectively.
7535         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7537         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7539 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7541         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7542         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7544 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7546         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7548 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7550         * Makefile.in: Disable built-in rules.
7552 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7554         * sysdeps/i386/fpu/t_exp.c: Move to ...
7555         * sysdeps/libm-i387/t_exp.c: ... here.
7557 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7559         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7560         from __exp2_deltatable.
7562 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7564         * nis/ypclnt.c (yp_master): Check result of strdup.
7565         Patch by Thorsten Kukuk.
7567 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7569         * nis/ypclnt.c: Give clnt handle after error checking free, change
7570         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7572 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7574         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7575         Patch by Joe Keane <jgk@jgk.org>.
7577         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7578         * misc/fstab.c: Remove casts in fs_type assignments.
7580 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7582         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7583         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7584         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7585         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7586         * sysdeps/powerpc/bits/fenv.h: Likewise.
7587         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7588         * sysdeps/generic/bits/fenv.h: Likewise.
7589         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7590         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7591         * sysdeps/powerpc/test-arith.c (main): Likewise.
7593 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7595         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7596         the comparison macros.
7598 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7600         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7601         (__log2): Fixed return values.
7602         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7604 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7606         * math/math.h (isunordered): Rename local variables to ensure
7607         correct code.  Reported by HJ Lu.
7609 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7611         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7612         isless, islessequal, islessgreater, isunordered): Fix syntax for
7613         fucompip instruction.
7614         (isless, islessequal): Fix logic.
7616 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7618         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7619         (comparisons_test): New tests for comparison macros.
7621 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7623         * Makeconfig: Filter out frame-pointer effecting options when
7624         compiling profiling or debugging code.
7625         * config.h.in (internal_function): Don't define here if PROF is
7626         defined.
7627         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7628         state.
7629         (__monstartup): If calloc fails set error state and mark array as
7630         not allocated.
7631         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7632         to free array if not  successfully allocated.
7634         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7635         Include elf.h to get macro definitions.
7636         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7638 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7640         * elf/ldd.sh.in: Add compatibility for broken old shells.
7641         * elf/ldd.bash.in: Likewise.
7643 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7645         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7647         * time/clocktest.c (main): Check signal return error.
7649 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7651         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7652         "/" and use do-install-program. Reported by Mark M. Kettenis.
7653         (subdir_install):  Likewise.
7655 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7657         * sunrpc/rpc_sample.c: Fix typo.
7659         * nscd/connections.c: Use locale.
7660         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7661           calloc result.
7662         * nscd/nscd.c: Check if init functions fails.
7663         * nscd/nscd_conf.c: Allow disabling of group cache.
7664         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7665         * nscd/pwdcache.c: Fix debug messages.
7667 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7669         * libc.map: Add __monstartup and _mcleanup for profiling support.
7671 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7673         * libc.map: Export __getpagesize, for binary compatibility with
7674         2.0.
7676 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7678         * posix/globtest.sh: Use --library-path instead of
7679         LD_LIBRARY_PATH.
7680         * localedata/sort-test.sh: Likewise.
7681         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7683 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7685         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7686         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7687         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7689         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7690         kernel_sigaction): Define.
7691         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7692         kernel_sigaction): Define.
7694 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7696         * math/libm-test.c: Change epsilons for libm-ieee754.
7698 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7700         * sysdeps/i386/__longjmp.S: Fix race condition.
7701         Reported by Bruno Haible <haible@ilog.fr>.
7703 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7705         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7706         * iconvdata/8bit-gap.c: Likewise.
7707         * iconvdata/8bit-generic.c: Likewise.
7708         * iconvdata/iso6937.c: Likewise.
7709         * iconvdata/iso8859-1.c: Likewise.
7710         * iconvdata/sjis.c: Likewise.
7711         * iconvdata/t61.c: Likewise.
7713 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7715         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7716         feature tests by positive feature tests.
7718 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7720         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7722 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7724         * elf/dlvsym.c (dlvsym_doit): More corrections.
7725         Patch by Andreas Jaeger.
7727 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7729         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7731 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7733         * libc.map: More reordering for GLIBC_2.1 symbols.
7735 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7737         * libc.map: Move some functions from version GLIBC_2.0 to
7738         GLIBC_2.1, reorder declarations.
7740 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7742         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7743         Patch by zab@thebrain.grumblesmurf.net.
7745 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7747         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7748         NIS+ functions with version GLIBC_2.1.
7750 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7752         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7753         with 2.0 binaries.  Reported by Thorsten Kukuk.
7755 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7757         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7759         * elf/dlsym.c (dlsym_doit): Likewise.
7761 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7763         * elf/link.h: Correct typos.
7765         * iconv/iconv_prog.c: Correct typo.
7767 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7769         * iconv/Makefile: Add rules to build and install iconv program.
7770         * iconv/iconv_prog.c: New file.
7772 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7774         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7775         _dl_lookup_symbol_skip call.
7776         * elf/dlvsym.c (dlvsym_doit): Likewise.
7778 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7780         * libio/iovsscanf.c: Do not include errno.h.
7782 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7784         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7785         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7786         pulling in the whole error list.
7787         (__dcgettext, dcgettext): Removed.
7788         * libc.map: Export _strerror_internal.
7790 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7792         * sysdeps/i386/fpu/t_exp.c: New file.
7794 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7796         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7797         everything with version GLIBC_2.1.
7798         * hesiod/libnss_hesiod.map: Likewise.
7800 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7802         * manual/arith.texi (Old-style number conversion): This node is a
7803         section, not a subsection.
7805 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7807         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7809 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7811         * elf/rtld.c (dl_main): Make sure that the library search paths
7812         have been initialized before the first call to _dl_map_object.
7814 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7816         * Makerules (common-generated): Add libc_pic.os.
7818 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7820         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7821         of the executable.
7823 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7825         * sysdeps/m68k/fpu/t_exp.c: New file.
7827 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7829         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7830         to global errno variable anymore.
7832 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7834         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7835         If PRELOADED is nonzero check in case of an SUID application
7836         whether the shared object has the SUID bit set.
7837         Fix some other problems with handling shared objects in system
7838         specific directories.
7839         (_dl_map_object): Also take extra parameter and pass it to open_path.
7840         * elf/link.h (_dl_map_object): Correct prototype and comment.
7841         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7842         * elf/dl-open.c (_dl_open): Likewise.
7843         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7845         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7847 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7849         * math/libm-test.c (modf_test): Add test for 1.5.
7851         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7852         0 to get always an int.
7854 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7856         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7857         version GLIBC_2.1.
7859 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7861         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7862         trying to read another character.
7864 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7866         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7867         name to lowercase.
7869         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7870         name to lowercase, add test for big enough buffer.
7872 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7874         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7875         Make compatible with older kernels.  Patch by Richard Henderson.
7877 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7879         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7881         * localedata/tst-locale.sh: Comment out first test for now.
7883 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7885         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7886         as 1.
7887         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7888         Likewise.
7890         * libio/iogetline.c (_IO_getline_info): Renamed from
7891         _IO_getline.
7892         (_IO_getline): Just call _IO_getline_info.
7894         * libio/libioP.h (_IO_getline_info): New declaration.
7896         * libc.map (_IO_getline_info, __write): Added.
7898 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7900         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7901         const char* to shut up gcc.
7903 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7905         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7906         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7908         * math/math.h: Define M_* constants always as `double' and add new
7909         macros M_*l which are of type `long double'.
7910         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7911         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7912         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7913         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7914         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7915         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7916         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7917         * math/libm-tst.c: Likewise.
7919         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7920         define as long double unconditionally.
7922 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7924         * manual/arith.texi (Old-style number conversion): Correct some
7925         typos.
7927 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7929         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7930         Restore.
7932         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7934 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7936         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7937         on $(rtld-ldscript).
7939         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7940         starting from 0 not only from `from'.
7941         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7943 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7945         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7946         pass value (or NULL) to _dl_init_paths.
7947         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7948         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7949         environment variable.
7950         * elf/link.h: Change prototype for _dl_init_paths.
7951         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7953         * localedata/Makefile (distribute): Add test files.
7955 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7957         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7958         test1.def, test2.def, test3.def, test4.def}: Simple input files
7959         for localedef. Contributed by Yung-Ching Hsiao
7960         <yhsiao@cae.wisc.edu>.
7962         * localedata/Makefile (tests): Call tst-locale.sh.
7964         * localedata/tst-locale.sh: New file, regression tests for some
7965         localedef problems.
7967 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7969         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7971         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7972         terminated.
7973         * nis/nss_nisplus/nisplus-network.c: Likewise.
7974         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7975         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7976         * nis/nss_nisplus/nisplus-service.c: Likewise.
7978         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7979         and support generating thread safe RPC code.
7980         * sunrpc/rpc_main.c: Add changes.
7981         * sunrpc/rpc_clntout.c: Likewise.
7982         * sunrpc/rpc_cout.c: Likewise.
7983         * sunrpc/rpc_hout.c: Likewise.
7984         * sunrpc/rpc_parse.c: Likewise.
7985         * sunrpc/rpc_sample.c: Likewise.
7986         * sunrpc/rpc_scan.c: Likewise.
7987         * sunrpc/rpc_svcout.c: Likewise.
7988         * sunrpc/rpc_util.c: Likewise.
7989         * sunrpc/rpc_util.h: Add new structs and prototypes.
7990         * sunrpc/proto.h: Remove prototypes for static functions.
7992 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7994         * locale/programs/ld-messages.c (messages_finish): Don't skip
7995         error checking when being quiet.
7996         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7997         (set_class_defaults): Likewise.
7998         * locale/programs/charmap.c (parse_charmap): Likewise.
7999         * locale/programs/ld-collate.c (collate_finish): Likewise.
8000         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
8001         * locale/programs/ld-time.c (time_finish): Likewise.
8002         * locale/programs/locfile.c (write_locale_data): Likewise.
8004         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
8005         unknown characters and empty ranges.
8006         * locale/programs/ld-collate.c (collate_order_elem): When
8007         processing an ellipsis properly form a linked list in the result
8008         table, fix typo when allocating ordering array.
8009         [PR libc/419]
8011 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8013         * elf/Makefile (ld-map): Define.
8014         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
8015         `$(rtld-ldscript)'.
8016         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
8017         on $(ld-map).
8018         (rtld-link): Combine the two versions of this definition.  Fixed
8019         to make it work when no symbol versioning is used.
8021 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
8023         * Makeconfig (build-program-cmd): Use --library-path parameter to
8024         ld.so instead of environment variable.
8026         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8027         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8029 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8031         * Make-dist: Respect with-cvs setting.
8032         * MakeTAGS (all-pot): Likewise.
8033         * sysdeps/sparc/sparc32/Makefile: Likewise.
8034         * sysdeps/mach/hurd/Makefile: Likewise.
8035         * stdlib/Makefile: Likewise.
8036         * posix/Makefile: Likewise.
8037         * intl/Makefile: Likewise.
8038         * po/Makefile (linguas): Likewise
8040 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8042         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8044 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8046         * libc.map: Add __strcasecmp.
8048         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8049         module.
8051         * nss/getXXent_r.c: If no more module is found don't try to call
8052         setXXent functions but leave unsuccessfully.
8054         * malloc/obstack.h: Cleanups.
8056         * sysdeps/wordsize-32/stdint.h: New file.
8057         * sysdeps/wordsize-64/stdint.h: New file.
8058         * sysdeps/generic/stdint.h: New file.
8059         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8060         * sysdeps/wordsize-64/inttypes.h: Likewise.
8061         * stdlib/Makefile (headers): Add stdint.h.
8063 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8065         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8067 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8069         * timezone: New directory.
8070         * time/README, time/africa, time/antarctica, time/asia,
8071         time/australasia, time/backward, time/checktab.awk,
8072         time/etcetera, time/europe, time/factory, time/ialloc.c,
8073         time/iso3166.tab, time/leapseconds, time/northamerica,
8074         time/pacificnew, time/private.h, time/scheck.c,
8075         time/solar87, time/solar88, time/solar89, time/southamerica,
8076         time/systemv, time/test-tz.c, time/tzfile.h,
8077         time/tzselect.ksh, time/yearistype, time/zdump.c,
8078         time/zic.c, time/zone.tab: Moved to timezone.
8079         * time/tzfile.c: Include tzfile.h from timezone subdir.
8080         * time/tzset.c: Likewise.
8081         * time/Makefile: Cut out all code relating to timezones...
8082         * timezone/Makefile: ...and paste it in here.
8083         * Makefile (subdirs): Add timezone.
8085 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8087         * libc.map (_sys_nerr): Added.
8089         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8090         versioned symbol.
8092 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8094         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8095         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8096         Reported by Craig Metz <cmetz@inner.net>.
8098 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8100         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8101         instead of strcasecmp.
8102         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8104         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8106 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8108         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8109         Patch by Dean Gaudet <dgaudet@arctic.org>.
8111 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8113         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8115 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8117         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8118         with no poll syscall, just include the BSD version.
8119         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8120         kernel without the syscall, include the stub version.
8121         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8122         * sysdeps/generic/getresuid.c: New file.
8123         * sysdeps/generic/getresgid.c: New file.
8125 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8127         * stdio-common/vfscanf.c: Correct last change a bit.
8129 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8131         * elf/Makefile: Don't use --version-script parameter to link ld.so
8132         unconditionally.
8134 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8136         * math/Makefile: Add t_exp.
8137         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8138         constants.
8139         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8140         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8141         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8142         better accuracy.
8143         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8144         algorithm for very large/very small arguments.
8145         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8146         correct algorithm for very large/very small arguments; adjust for
8147         new table.
8148         * sysdeps/libm-ieee754/t_exp.c: New file.
8149         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8151         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8152         back, with comment that explains what breaks when you remove it :-(.
8154         * localedata/xfrm-test.c: Avoid integer overflow.
8156         * stdlib/strfmon.c: char is unsigned, sometimes.
8158         * sysdeps/powerpc/Makefile: Remove quad float support.
8159         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8160         * sysdeps/powerpc/quad_float.h: Likewise.
8161         * sysdeps/powerpc/test-arith.c: Likewise.
8162         * sysdeps/powerpc/test-arithf.c: Likewise.
8164         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8165         * sysdeps/generic/s_exp2f.c: Likewise.
8167         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8168         don't try anything if _SOFT_FLOAT.
8170 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8172         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8173         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8174         * wctype/wctype.c: Likewise.
8175         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8176         changed.  They are incompatible with the _ISxxx values from
8177         <ctype.h> on little endian machines.
8178         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8179         bit number.  This fixes the real bug and restores the integrity of
8180         the ctype locale file.
8181         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8182         * wctype/wcfuncs_l.c: Likewise.
8183         * wctype/wcextra.c: Likewise.
8184         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8185         byte swapping.
8187 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8189         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8190         into .bss segment instead of .common, so that aliases on it work.
8192         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8193         .size directives, put into .bss segment instead of initializing it
8194         to 4.
8196 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8198         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8200         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8201         functions.
8202         Make names without __ weak aliases.
8203         (__libc_release, __libc_version): Make them static.
8205         * include/gnu/libc-version.h: New file.
8206         * Makefile (headers): Add gnu/libc-version.h.
8208 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8210         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8211         and use x for member name.
8212         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8214         * stdlib/drand48.c: Change according to member name change.
8215         * stdlib/drand48_r.c: Likewise.
8216         * stdlib/lcong48_r.c: Likewise.
8217         * stdlib/lrand48.c: Likewise.
8218         * stdlib/lrand48_r.c: Likewise.
8219         * stdlib/mrand48.c: Likewise.
8220         * stdlib/mrand48_r.c: Likewise.
8221         * stdlib/seed48.c: Likewise.
8222         * stdlib/seed48_r.c: Likewise.
8223         * stdlib/srand48_r.c: Likewise.
8225 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8227         * nss/test-netdb.c: Add some more test cases.
8229 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8231         * libio/iovsscanf.c: Undo last change modifying errno.
8233 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8235         * stdio-common/vfscanf.c: Never try to read another character
8236         after EOF.  Don't decrement read_in after EOF, it wasn't
8237         incremented in the first place.
8238         (NEXT_WIDE_CHAR): Set First, not first.
8240 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8242         * db/Makefile ($(inst_libdir)/libndbm.a,
8243         $(inst_libdir)/libndbm.so): New targets.
8244         * db2/Makefile: Likewise.
8246 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8248         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8249         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8251 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8253         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8254         <streambuf.h>.
8255         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8257 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8259         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8260         versioned symbols.
8262 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8264         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8265         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8266         Added for libdl.so.
8268 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8270         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8271         extra syscall.
8273         * grp/Makefile: Fix logic when checking for thread package.
8274         * pwd/Makefile: Likewise.
8276 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8278         * elf/Makefile (rtld-map): Replaced by libc-map.
8280         * elf/rtld.map: Removed.
8282         * libc.map (__libc_enable_secure, _dl_catch_error,
8283         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8284         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8285         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8286         _dl_object_relocation_scope, _dl_relocate_object,
8287         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8288         _r_debug): Added for ld.so.
8290 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8292         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8293         DO_VERSIONING.
8294         * libio/iofdopen.c: Ditto.
8295         * libio/iofopen.c: Ditto.
8296         * libio/oldfileops.c: Ditto.
8298         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8299         version GLIBC_2.1.
8301         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8302         oldsiglist from sysdep_routines and shared-only-routines.
8304         * sysdeps/unix/sysv/linux/errlist.c: New.
8305         * sysdeps/unix/sysv/linux/errlist.h: New.
8306         * sysdeps/unix/sysv/linux/sizes.h: New.
8307         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8308         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8310         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8312         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8313         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8314         directive.
8316         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8318         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8319         (oldsiglist.c): Removed.
8321         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8322         (_sys_siglist): Use SYS_SIGLIST instead.
8323         (_sys_nerr): Use SYS_NERR instead.
8325         * sysdeps/gnu/errlist.c: Rebuilt.
8327 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8329         * elf/Makefile (others-static): New, set to ldconfig.
8330         ($(objpfx)ldconfig): Removed.
8332         * Rules (binaries-all, binaries-static, binaries-shared): New.
8333         Create targets for $(binaries-static) and $(binaries-shared).
8335         * Makeconfig (+link-static, link-libc-static,
8336         link-extra-libs-static): New for static linking.
8338 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8340         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8342         * math/libm-test.c (modf_test): Add one more test for modf.
8344 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8346         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8347         Rename from __libc_have_rt_sigs and leave as COMMON data.
8349 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8351         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8352         of __finite.
8354 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8356         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8358 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8360         * misc/tst-efgcvt.c: Add yet more tests.
8361         * misc/efgcvt_r.c: And correct for these tests again.
8362         Reported by HJ Lu.
8364         * isomac.c: Move to...
8365         * stdlib/isomac.c: ...here.
8366         * Makefile: Move rules for handling isomac...
8367         * stdlib/Makefile: ...to here.
8369 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8371         * misc/tst-efgcvt.c: Add more tests.
8372         * misc/efgcvt_r.c: Correct result for above new tests.
8374 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8376         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8377         NDIGIT <= 0.
8379 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8381         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8382         if the programs weren't built.
8384 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8386         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8387         FE_TONEAREST, soldier on regardless and do the best we can.
8388         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8390 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8392         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8393         _STDIO_H, before including <bits/stdio_lim.h>.
8395         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8397         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8398         exist.
8400         * sysdeps/arm/sys/ucontext.h: New file.
8402 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8404         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8405         that the return value from snprintf() does not count the
8406         terminating NUL as a character.
8408 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8410         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8411         add description for sete[ug]id and general cleanup.
8412         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8414 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8416         * Makefile (parent-clean): Don't remove makefile fragments here.
8417         (postclean): New variable.
8418         (clean): Remove makefile fragments here.
8419         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8420         (generated): Add isomac and isomanc.out.
8421         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8422         avoid-generated is set.
8423         (postclean-generated): Add soversion.mk.
8424         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8425         set.
8426         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8427         avoid-generated is set.
8428         (common-generated): Add libc.so and libc.so$(libc.so-version).
8429         (generated): Add versioned libraries.
8430         (common-mostlyclean): Also remove %.so and %_pic.a.
8431         * csu/Makefile (generated): Add abi-tag.h.
8432         * db2/Makefile (extra-objs): Add getlong.o.
8433         * elf/Makefile (generated): Add ld.so, ldd and
8434         $(rtld-installed-name).
8435         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8436         * malloc/Makefile (generated): Add mtrace.
8437         * po/Makefile: Don't include version.mk, not needed any more.
8438         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8439         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8440         syscall.h -> sys/syscall.h.
8441         (common-generated): Add s-proto.d.
8442         (postclean-generated): Add sysd-syscalls.
8443         * localedata/Makefile (test-output): Add all output files.
8444         (generated): Add test-input and test-output.
8445         (generated-dirs): Add all the dirs.
8447 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8449         * Makefile (test-output, generated, generated-dirs): New
8450         variables.
8452 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8454         * resolv/nss_dns/dns-host.c: Various code cleanups.
8456 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8458         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8459         From Philip Blundell <pb@nexus.co.uk>.
8460         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8462 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8464         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8465         Suggested by debian/sparc porters.
8467 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8469         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8470         for ecvt and fcvt.
8472 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8474         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8475         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8477         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8478         defined even if __USE_POSIX is not defined.
8480 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8482         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8483         to support obsolete tty major numbers correctly.
8485 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8487         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8488         directory first and ignore install error.
8490         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8491         128 from ptyno and fix a typo for the BSD style pty.
8493 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8495         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8496         syscalls.list's.
8498 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8500         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8501         getresuid and getresgid.
8503         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8504         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8506         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8507         s_getres[ug]id.
8509         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8510         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8511         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8512         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8514 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8516         * nscd/grpcache.c: Include <stdlib.h>.
8518 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8520         * stdlib/atoll.c: Fix comments.
8522         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8523         * sysdeps/posix/ttyname_r.c: Ditto.
8525 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8527         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8528         __USE_MISC, independent of __USE_UNIX98.
8530 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8532         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8533         Rename from __libc_have_rt_sigs and leave as COMMON data.
8535 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8537         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8538         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8540         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8541         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8542         version symbols.
8543         * include/libc-symbols.h (symbol_version, default_symbol_version):
8544         Provide asm versions and correct !DO_VERSIONING versions.
8545         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8546         the weak symbol list.
8548         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8549         Rename from __libc_have_rt_sigs and leave as COMMON data.
8550         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8551         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8552         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8554 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8556         * sunrpc/Makefile: Correct dependencies of rpcgen.
8558 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8560         * nscd/Makefile: Fix test for available linuxthreads add-on.
8561         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8563 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8565         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8567 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8569         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8571         * manual/errno.texi (Error Messages): Correct description of
8572         strerror_r.  Pointed out by jonas@bagge.se.
8574 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8576         * manual/socket.texi (Host Address Functions): Clarify description
8577         of inet_network.
8579 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8581         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8582         (grantpt): Delete superfluous cast.
8584 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8586         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8587         elf/ldso_install instead of elf/subdir_install.
8588         (elf/ldso_install): New target.
8590         * elf/Makefile (ldso_install): New target.
8592 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8594         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8595         of 1998-01-06.
8597 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8599         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8600         constant expressions.
8602 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8604         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8605         for __nss_configure_lookup.
8606         (output_hostent): Remove unused variable.
8608 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8610         * string/tst-inlcall.c: Fix format string.
8612 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8614         * inet/netinet/in.h: Rename second parameter of bindresvport to
8615         avoid buggy gcc warning. [PR libc/412]
8617 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8619         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8620         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8622         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8623         Follow POSIX and make tv_sec a time_t.
8624         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8625         new tv64 syscall as well as fall back to tv32.
8626         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8627         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8628         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8629         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8630         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8631         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8632         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8633         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8635         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8636         * include/rpcsvc/nis_tags.h: Likewise.
8637         * include/rpcsvc/nislib.h: Likewise.
8639 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8641         * libc.map: Add _h_errno.
8642         * inet/herrno.c: Make _h_errno weak alias.
8644         * login/Makefile (distribute): Add pty-internal.h.
8646         * nscd/Makefile (distribute): Add all the files missing.
8648         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8649         are available.
8651         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8652         and report status at the end.
8654         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8656         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8657         variable.
8658         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8659         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8662 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8664         * configure.in: Fix --enable-add-ons code.
8666 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8668         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8669         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8670         [PR libc/441]
8672         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8673         occurence in cache.  Reported by Rudolf Leitgeb
8674         <leitgeb@leland.stanford.edu>.
8675         [PR libc/440]
8677 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8679         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8680         that it never is EINTR (which is tested for in _IO_vfscanf).
8682         * Makefile.in: Call sub-make with CVSOPTS.
8684         * elf/Makefile (distribute): Add dl-procinfo.h.
8686         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8688 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8690         * version.h (VERSION): Bump to 2.0.92.
8692 1998-01-31  Phil Blundell  <philb@gnu.org>
8694         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8695         alias for __new_sys_siglist.
8697 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8699         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8700         getgrgid_r.c if thread package is available.
8701         * pwd/Makefile: Likewise.
8702         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8703         * grp/getgrgid_r.c: Likewise.
8704         * pwd/getpwnam_r.c: Likewise.
8705         * pwd/getpwuid_r.c: Likewise.
8707 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8709         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8710         with error to allow user intervention.
8711         * nss/getXXent_r.c: Likewise.
8713 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8715         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8716         AT_PLATFORM string.  Pretty print AT_BASE info.
8718         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8719         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8720         * sysdeps/generic/dl-procinfo.h: New file.
8721         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8723 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8725         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8727         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8728         thread and not pthread_detach.
8730         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8732 1998-01-31  Phil Blundell  <philb@gnu.org>
8734         * configure.in: Add --without-cvs option to suppress automatic
8735         checkin of regenerated files.
8736         * config.make.in: Likewise.
8737         * Makefile: Respect with-cvs setting.
8738         * Makerules: Likewise.
8740         * configure.in: Allow the standalone ARM port to be configured.
8742 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8744         * grp/getgrgid_r.c: Define USE_NSCD.
8745         * grp/getgrnam_r.c: Likewise.
8746         * pwd/getpwuid_r.c: Likewise.
8747         * pwd/getpwnam_r.c: Likewise.
8749         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8751         * nss/getXXbyYY_r.c: Try at first nscd.
8753         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8754         * nscd/connections.c: New file.
8755         * nscd/dbg_log.c: New file.
8756         * nscd/dbg_log.h: New file.
8757         * nscd/grpcache.c: New file.
8758         * nscd/nscd.c: New file.
8759         * nscd/nscd.h: New file.
8760         * nscd/nscd_conf.c: New file.
8761         * nscd/nscd_stat.c: New file.
8762         * nscd/pwdcache.c: New file.
8764         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8765         * nscd/nscd_getpw_r.c: Likewise.
8766         * nscd/nscd_proto.h: New, prototypes for client functions.
8768         * nscd/nscd.conf: New, example for a configuration file.
8769         * nscd/nscd.init: New, example for a startup script.
8771         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8772         avoid deadlocks.
8773         * nscd/getgrnam_r.c: Likewise.
8774         * nscd/getpwnam_r.c: Likewise.
8775         * nscd/getpwuid_r.c: Likewise.
8777 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8779         * intl/Makefile: Use CVSOPTS in cvs invocation.
8780         * po/Makefile: Likewise.
8781         * posix/Makefile: Likewise.
8782         * stdlib/Makefile: Likewise.
8784 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8786         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8787         [PR libc/410]
8788         * misc/Makefile (tests): Add tst-efgcvt.
8789         * misc/tst-efgcvt.c: New file.
8791 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8793         * posix/regex.c: Add some more cleanups by Akim Demaille.
8795 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8797         * signal/signal.h: Revert last change.
8798         * string/strsignal.c: Regard signal number NSGI as illegal.
8799         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8800         members.
8802 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8804         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8805         * Makerules: Use CVSOPTS in cvs invocation.
8806         * Makefile: Likewise.
8807         * MakeTAGS: Likewise.
8808         * Make-dist: Likewise.
8810 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8812         * sysdeps/generic/memmem.c: Correct last change.
8814 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8816         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8817         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8819 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8821         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8822         before using RPC.
8824 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8826         * manual/memory.texi (Heap Consistency Checking): mcheck is
8827         declared in <mcheck.h>.
8828         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8830 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8832         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8833         beginning of haystack.
8835 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8837         * nss/nss_files/files-service.c: Correct last patch.
8839 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8841         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8842         __libc_have_rt_sigs.
8843         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8844         including <bits/setjmp.h>.
8845         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8846         Patch from the Debian glibc/SPARC package.
8848 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8850         * sysdeps/alpha/bzero.S: Fix a typo.
8851         * sysdeps/alpha/htonl.S: Ditto.
8852         * sysdeps/alpha/htons.S: Ditto.
8854 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8856         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8858 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8860         * include/cpio.h: Move to ...
8861         * posix/cpio.h: ...here.
8863         * locale/programs/ld-collate.c: Fix typo.
8865         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8867         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8869         * login/utmp_file.c (pututline_file): Don't always report success
8870         if similar entry is found.  Patch by Mark M. Kettenis.
8872 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8874         * manual/Makefile: Don't try to install the info files if makeinfo
8875         is not available.
8877 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8879         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8880         kernel's network ioctls, rather than using <linux/sockios.h> to
8881         get them.  This way we are sure of maintaining compatibility if
8882         the kernel interface should change.
8884 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8886         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8888 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8890         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8893 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8895         Implement System V pseudoterminal handling.
8897         * login/Makefile
8898         (routines): Add getpt, grantpt, unlockpt, ptsname.
8899         (libutil-routines): Remove pty. Add openpty, forkpty.
8900         (distribute): New internal header pty-internal.h.
8901         (others): Add the helper program, pt_chown.
8902         (install-others): Install it, in $(libexecdir), mode 4755.
8904         * login/pty-internal.h: New file.
8905         * login/openpty.c: New file.
8906         * login/forkpty.c: New file.
8907         * login/programs/pt_chown.c: New file.
8909         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8910         * stdlib/stdlib.h: Prototype them.
8912         * config.make.in: Define $(libexecdir).
8913         * Makeconfig: Define $(inst_libexecdir).
8915         * sysdeps/generic/pty.c: Removed.
8916         * sysdeps/unix/sysv/linux/pty.c: Removed.
8918         * sysdeps/generic/getpt.c: Stub out.
8919         * sysdeps/generic/grantpt.c: Likewise.
8920         * sysdeps/generic/ptsname.c: Likewise.
8921         * sysdeps/generic/unlockpt.c: Likewise.
8923         * sysdeps/unix/grantpt.c: New file.
8924         * sysdeps/unix/bsd/getpt.c: New file.
8925         * sysdeps/unix/bsd/unlockpt.c: New file.
8926         * sysdeps/unix/sysv/linux/getpt.c: New file.
8927         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8928         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8930 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8932         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8934 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8936         * nss/Makefile (tests): Add rule for test-netdb.c.
8938         * nss/test-netdb.c: New file.
8940 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8942         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8943         really kept as a variable.  Patch by Richard Henderson,
8944         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8946         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8947         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8948         entries as not existing.
8950 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8952         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8953         zero in alternate form with precision of zero, which must produce
8954         "0".  Add braces to avoid ambiguous `else'.
8956 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8958         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8959         problem with strncpy.
8960         * nis/nss_compat/compat-pwd.c: Likewise.
8961         * nis/nss_compat/comapt-spwd.c: Likewise.
8963 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8965         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8966         by uch@nop.or.jp. [PR libc/437]
8968 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8970         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8972 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8974         * stdio-common/test-popen.c: Include <errno.h>.
8976         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8977         close.
8979         * inet/getnetgrent_r.c: Include <errno.h>.
8981         * db2/db/db_conv.c: Include <string.h> for memcpy.
8983         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8984         so that memcpy is declared.
8986         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8988         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8990 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8992         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8993         overflow while reading line with fgets.
8994         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8996 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8998         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8999         unsigned short, not short.
9000         Reported by Andreas Jaeger.
9002 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9004         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
9005         (ccept->accept).
9007         * sysdeps/generic/inttypes.h: Fix spelling.
9009 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9011         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
9013         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
9015 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
9017         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
9018         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
9019         field for hh modifier.
9020         * stdio-common/vfprint.c: Use is_char field and do not depend in
9021         is_short having the value 2.
9022         Bug reported by Andreas Jaeger.
9024 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9026         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9027         PIC && DO_VERSIONING.
9029 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9031         * Rules: Add rules for $(common-objpfx)dummy$o.
9033 1998-01-26  Richard Henderson  <rth@cygnus.com>
9035         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9036         unimplemented OSF/1 definitions so that they are not accidentally seen.
9038         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9039         of the trampoline function into the macro.
9040         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9041         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9042         kernel 2.1.82 has this fixed.
9044         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9045         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9047 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9049         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9050         support sigaction on kernels > 2.1.7x.
9052 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9054         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9055         if it is empty.
9057         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9058         Patch by David Engel <david@sw.ods.com>.
9060         * configure.in: Fix another typo in --enable-add-ons code.
9062 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9064         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9066 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9068         * nss/nss_files/files-network.c: Correct order of parameters for
9069         getnetbyaddr.
9071 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9073         * db2/Makefile (routines): Add os_alloc.
9074         * db2/db.h: Update from db-2.3.16.
9075         * db2/db_185.h: Likewise.
9076         * db2/db_int.h: Likewise.
9077         * db2/btree/bt_close.c: Likewise.
9078         * db2/btree/bt_cursor.c: Likewise.
9079         * db2/btree/bt_delete.c: Likewise.
9080         * db2/btree/bt_open.c: Likewise.
9081         * db2/btree/bt_page.c: Likewise.
9082         * db2/btree/bt_put.c: Likewise.
9083         * db2/btree/bt_rec.c: Likewise.
9084         * db2/btree/bt_recno.c: Likewise.
9085         * db2/btree/btree_auto.c: Likewise.
9086         * db2/common/db_appinit.c: Likewise.
9087         * db2/common/db_apprec.c: Likewise.
9088         * db2/common/db_err.c: Likewise.
9089         * db2/common/db_region.c: Likewise.
9090         * db2/common/db_shash.c: Likewise.
9091         * db2/db/db.c: Likewise.
9092         * db2/db/db_auto.c: Likewise.
9093         * db2/db/db_conv.c: Likewise.
9094         * db2/db/db_dispatch.c: Likewise.
9095         * db2/db/db_dup.c: Likewise.
9096         * db2/db/db_pr.c: Likewise.
9097         * db2/db/db_rec.c: Likewise.
9098         * db2/db185/db185.c: Likewise.
9099         * db2/dbm/dbm.c: Likewise.
9100         * db2/hash/hash.c: Likewise.
9101         * db2/hash/hash_auto.c: Likewise.
9102         * db2/hash/hash_dup.c: Likewise.
9103         * db2/hash/hash_page.c: Likewise.
9104         * db2/hash/hash_rec.c: Likewise.
9105         * db2/include/btree_ext.h: Likewise.
9106         * db2/include/clib_ext.h: Likewise.
9107         * db2/include/common_ext.h: Likewise.
9108         * db2/include/db.h.src: Likewise.
9109         * db2/include/db_185.h.src: Likewise.
9110         * db2/include/db_am.h: Likewise.
9111         * db2/include/db_ext.h: Likewise.
9112         * db2/include/db_int.h.src: Likewise.
9113         * db2/include/hash_ext.h: Likewise.
9114         * db2/include/lock_ext.h: Likewise.
9115         * db2/include/log.h: Likewise.
9116         * db2/include/log_auto.h: Likewise.
9117         * db2/include/log_ext.h: Likewise.
9118         * db2/include/mp.h: Likewise.
9119         * db2/include/mp_ext.h: Likewise.
9120         * db2/include/mutex_ext.h: Likewise.
9121         * db2/include/os_ext.h: Likewise.
9122         * db2/include/os_func.h: Likewise.
9123         * db2/include/txn_ext.h: Likewise.
9124         * db2/lock/lock.c: Likewise.
9125         * db2/lock/lock_util.c: Likewise.
9126         * db2/log/log.c: Likewise.
9127         * db2/log/log.src: Likewise.
9128         * db2/log/log_archive.c: Likewise.
9129         * db2/log/log_auto.c: Likewise.
9130         * db2/log/log_get.c: Likewise.
9131         * db2/log/log_put.c: Likewise.
9132         * db2/log/log_rec.c: Likewise.
9133         * db2/log/log_register.c: Likewise.
9134         * db2/mp/mp_bh.c: Likewise.
9135         * db2/mp/mp_fget.c: Likewise.
9136         * db2/mp/mp_fopen.c: Likewise.
9137         * db2/mp/mp_fput.c: Likewise.
9138         * db2/mp/mp_pr.c: Likewise.
9139         * db2/mp/mp_sync.c: Likewise.
9140         * db2/mutex/mutex.c: Likewise.
9141         * db2/os/os_alloc.c: Likewise.
9142         * db2/os/os_config.c: Likewise.
9143         * db2/os/os_stat.c: Likewise.
9144         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9145         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9146         * db2/progs/db_load/db_load.c: Likewise.
9147         * db2/progs/db_printlog/db_printlog.c: Likewise.
9148         * db2/progs/db_recover/db_recover.c: Likewise.
9149         * db2/progs/db_stat/db_stat.c: Likewise.
9150         * db2/txn/txn.c: Likewise.
9152         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9153         Unmap memory blocks in reverse order of allocation.
9154         Call munmap with load address added to offset.
9155         Bug reported by Miguel de Icaza.
9157         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9158         up weight array.
9160         * localedata/locales/cs_CZ: Update by Michael Mraka
9161         <michael@informatics.muni.cz>.
9163         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9164         __USE_BSD.
9166         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9167         reading line with fgets.
9168         * nis/nss_compat/compat-pwd.c: Likewise.
9169         * nis/nss_compat/compat-spwd.c: Likewise.
9170         * nss/nss_files/files-XXX.c: Likewise.
9171         * nss/nss_files/files-alias.c: Likewise.
9172         * shadow/fgetspent_r.c: Likewise.
9174         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9176         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9177         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9178         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9180         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9181         FP register content in ucontext_t.
9183 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9185         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9186         calculation.  Patch by Markus Schoder
9187         <Markus.Schoder@dresdner-bank.de>.
9189         * math/libm-test.c (modf_test): Add more tests for modf.
9191         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9192         munlock according to Unix98.
9194 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9196         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9197         AF_INET.
9199 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9201         * sysdeps/posix/ttyname.c: Handle symbolic links.
9202         * sysdeps/posix/ttyname_r.c: Ditto.
9204 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9206         * db2/makedb.c (process_input): Write terminating \0 for value.
9207         (print_database): Simply print value string, don't use length.
9209 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9211         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9212         exit of loop.
9214 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9216         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9217         close all sockets.
9219 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9221         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9222         sigset.
9223         * signal/sighold.c: New file.
9224         * signal/sigrelse.c: New file.
9225         * sysdeps/generic/sigignore.c: New file.
9226         * sysdeps/generic/sigset.c: New file.
9227         * sysdeps/posix/sigignore.c: New file.
9228         * sysdeps/posix/sigset.c: New file.
9229         * signal/signal.h: Add prototypes for new functions.
9231         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9232         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9233         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9234         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9236 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9238         * posix/wordexp.c: Added IFS field-splitting in parameter and
9239         command substitution.  Fixed an IFS-related bug that caused an
9240         infinite loop.
9242 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9244         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9245         and swapcontext.
9246         * stdlib/ucontext.h: Correct prototypes.
9247         * sysdeps/generic/getcontext.c: New file.
9248         * sysdeps/generic/setcontext.c: New file.
9249         * sysdeps/generic/makecontext.c: New file.
9250         * sysdeps/generic/swapcontext.c: New file.
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9253 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9255         * resource/sys/resource.h: Remove #include of ulimit.h which is
9256         not allowed by SUSv2 and not available on other systems.
9257         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9259         * streams/Makefile: New file.
9260         * streams/stropts.h: New file.
9261         * sysdeps/generic/bits/stropts.h: New file.
9262         * sysdeps/generic/isastream.c: New file.
9263         * sysdeps/generic/getmsg.c: New file.
9264         * sysdeps/generic/getpmsg.c: New file.
9265         * sysdeps/generic/putmsg.c: New file.
9266         * sysdeps/generic/putpmsg.c: New file.
9267         * sysdeps/generic/fattach.c: New file.
9268         * sysdeps/generic/fdetach.c: New file.
9269         * sysdeps/unix/inet/Subdirs: Add streams.
9270         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9271         __t_uscalar_t.
9272         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9273         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9274         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9275         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9277         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9278         handle small buffers correctly.
9280 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9282         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9283         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9284         and _dl_runtime_profile.
9286 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9288         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9289         * posix/Makefile (headers): Add cpio.h.
9291 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9293         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9294         to routines.
9295         * nis/nis_cache.c: New file.
9296         * nis/nis_cache2.h: New file.
9297         * nis/nis_cache2_xdr.c: New file.
9298         * nis/nis_call.c: Changes for cache2_info parameter.
9299         * nis/nis_checkpoint.c: Likewise.
9300         * nis/nis_intern.h: Likewise.
9301         * nis/nis_mkdir.c: Likewise.
9302         * nis/nis_ping.c: Likewise.
9303         * nis/nis_rmdir.c: Likewise.
9304         * nis/nis_server.c: Likewise.
9305         * nis/nis_util.c: Likewise.
9307 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9309         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9310         return/errnop codes.
9311         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9312         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9313         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9314         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9315         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9316         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9317         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9318         * nis/nss_nisplus/nisplus-service.c: Likewise.
9319         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9321 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9323         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9324         * nis/nss_nis/nis-ethers.c: Likewise.
9325         * nis/nss_nis/nis-grp.c: Likewise.
9326         * nis/nss_nis/nis-hosts.c: Likewise.
9327         * nis/nss_nis/nis-network.c: Likewise.
9328         * nis/nss_nis/nis-proto.c: Likewise.
9329         * nis/nss_nis/nis-hosts.c: Likewise.
9330         * nis/nss_nis/nis-network.c: Likewise.
9331         * nis/nss_nis/nis-proto.c: Likewise.
9332         * nis/nss_nis/nis-publickey.c: Likewise.
9333         * nis/nss_nis/nis-pwd.c: Likewise.
9334         * nis/nss_nis/nis-rpc.c: Likewise.
9335         * nis/nss_nis/nis-service.c: Likewise.
9336         * nis/nss_nis/nis-spwd.c: Likewise.
9338 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9340         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9341         Added to follow latest kernel development.
9343 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9345         * nss/db-Makefile: Handle empty and comment lines better.
9346         ($(VAR_DB)/services.db): Generate entries with missing protocol
9347         value.
9349 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9351         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9352           NULL.
9353           (getservbyname): Allow proto == NULL.
9354           Pointed out by David N. Welton <davidw@gate.cks.com>.
9355           [PR libc/430].
9357 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9359         * nis/nislib/nislib.h: Finally removed.
9361         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9362         C compiler.  From Kaveh Ghazi.
9363         (TYPE_MINIMUM): Define.
9364         (TYPE_MAXIMUM): Define.
9365         (TIME_T_MIN): Use TYPE_MINIMUM.
9366         (TIME_T_MAX): Use TYPE_MAXIMUM.
9367         Patch by Jim Meyering <meyering@ascend.com>.
9369 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9371         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9372         __pread64, __pwrite64, and __getpid.
9374         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9375         versions.
9377 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9379         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9380         cancelable socket functions as __libc_xxx with __xxx as weak
9381         alias.
9382         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9383         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9385         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9386         redefined.
9387         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9388         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9389         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9390         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9392         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9393         and __xxx a weak alias.
9394         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9395         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9396         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9397         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9398         * sysdeps/unix/sysv/linux/send.S: Likewise.
9399         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9400         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9402 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9404         * locale/langinfo.h: Add defines.
9406         * dirent/dirent.h: Add defines for DT_*, check also for
9407         _DIRENT_HAVE_D_TYPE.
9408         Suggested by Roland McGrath.
9410 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9412         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9413         Update from Linux 2.1.73+79.
9415         * README.template: Update information about possible
9416         configurations.
9418         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9419         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9420         [PR libc/417].
9422         * manual/time.texi (Priority): Correct description of
9423         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9424         [PR libc/416].
9426 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9428         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9429         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9431 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9433         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9434         Andreas Jaeger.
9436 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9438         * locale/programs/ld-collate.c: Little optimizations.
9440         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9442         * string/Makefile (tests): Add tst-inlcall.
9443         * string/tst-inlcall.c: New file.
9445         * string/strsignal.c: Add support for real-time signals.
9447         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9448         presense of small buffer.
9450         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9452         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9453         for i686.
9455         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9456         _NSIG + 1.
9458 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9460         * Rules: Add explicit rule for dummy.o; at least one library needs
9461           it and it isn't autogenerated by the default rules.
9463 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9465         * math/libm-test.c: Tweak epsilons.
9467 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9469         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9470         child.
9471         (feenv_mask_test): Likewise.
9473 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9475         * Makeconfig: Don't export CPPFLAGS.
9477 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9479         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9480         message.
9482 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9484         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9485         terminating null in key size.
9487 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9489         * nss/nss_files/files-service.c: Fix allocation size to include
9490         length of PROTO.
9492         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9493         applicable.  Fix return value and error checking.
9494         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9495         unparsable lines.
9496         (DB_LOOKUP): Allocate space for terminating null byte.
9498         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9499         uids specially.
9501         * db2/makedb.c (process_input): Continue processing if a duplicate
9502         key is encountered.
9504 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9506         * time/tzfile.h: Updated from tzcode1998b.
9507         * time/zdump.c: Likewise.
9508         * time/zic.c: Likewise.
9509         * time/africa: Update from tzdata1998b.
9510         * time/antarctica: Likewise.
9511         * time/asia: Likewise.
9512         * time/australasia: Likewise.
9513         * time/etcetera: Likewise.
9514         * time/europe: Likewise.
9515         * time/leapseconds: Likewise.
9516         * time/northamerica: Likewise.
9517         * time/southamerica: Likewise.
9519 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9521         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9522         lookups ignoring case.
9523         * nss/nss_files/files-network.c: Do network lookups ignoring
9524         case.
9525         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9526         case.
9527         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9528         case insensitive comparing.
9529         Patches by Cristian Gafton <gafton@redhat.com>.
9531 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9533         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9534         by Roland McGrath. [PR libc/395]
9536 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9538         * manual/arith.texi (Parsing of Integers): Correct description of
9539         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9540         [PR libc/396]
9542 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9544         * misc/lsearch.c (lsearch): Return a pointer to the new element
9545         if one was "allocated".
9547 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9549         * string/strsignal.c: NSIG is not a valid index into
9550         _sys_siglist.  Don't zap the last character of the "Unknown
9551         signal" message.
9553 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9555         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9556         ellipsis expressions.
9558         * locale/programs/charset.c (insert_char): Correctly insert value
9559         of eliipsis expression.
9561 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9563         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9564         <bits/setjmp.h>.
9565         * sysdeps/powerpc/setjmp.S: Likewise.
9566         Patches by Matt McLean <keys@keys.got.net>.
9568         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9570         * Makefile: Undo last patch.
9571         (distribute): Add test-installation.pl.
9573         * configure.in: Correct handling of --enable-add-ons without parameter.
9574         Correct address of WWW pages.
9576         * libc.map: Add _nl_domain_bindings.
9578         * db2/mutex/tsl_parisc.s: New file.
9580         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9581         and extra-module.mk.
9583         * localedata/Makefile (distribute): New.  Add all the files.
9585         * stdlib/Makefile (headers): Add inttypes.h.
9586         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9587         * sysdeps/generic/inttypes.h: New file.
9588         * sysdeps/generic/strtoimax.c: New file.
9589         * sysdeps/generic/strtoumax.c: New file.
9590         * sysdeps/generic/wcstoimax.c: New file.
9591         * sysdeps/generic/wcstoumax.c: New file.
9592         * sysdeps/wordsize-32/Dist: Removed.
9593         * sysdeps/wordsize-32/Makefile: Removed.
9594         * sysdeps/wordsize-64/Dist: Removed.
9595         * sysdeps/wordsize-64/Makefile: Removed.
9596         * sysdeps/generic/bits/environments.h: New file.
9598         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9599         header is still not correct.
9601         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9602         * posix/unistd.h: Likewise.
9603         * sysdeps/generic/sys/mman.h: Likewise.
9604         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9606         * manual/arith.texi: Change definition of mul macro.
9607         * manual/math.texi: Likewise.
9609         * misc/Makefile (routines): Add mmap64.
9610         * sysdeps/generic/mmap64.c: New file.
9611         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9612         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9613         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9614         aliases to mmap.
9615         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9617         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9619         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9621         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9623         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9624         FOPEN_MAX also when included by limits.h.
9625         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9627         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9628         and netrom/netrom.h.
9629         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9630         oldsiglist to sysdep_routines, not aux.
9631         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9633         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9634         and SOL_NETROM definition.
9636         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9638         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9639         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9641 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9643         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9645         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9646         sa_handler with k_sa_handler.
9647         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9648         strong alias.
9649         Reported by a sun.
9651         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9652         __libc_have_rt_sigs here.
9653         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9654         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9655         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9656         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9658 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9660         * sysdeps/powerpc/atomicity.h: New file.
9661         * sysdeps/mach/powerpc/machine-lock.h: New file.
9663         * Rules: Use -fpic to build anything that might end up in a users'
9664         shared library.
9666         * sysdeps/powerpc/s_fdim.c: New file.
9667         * sysdeps/powerpc/s_fdimf.c: New file.
9668         * sysdeps/powerpc/s_fmax.S: New file.
9669         * sysdeps/powerpc/s_fmaxf.S: New file.
9670         * sysdeps/powerpc/s_fmin.S: New file.
9671         * sysdeps/powerpc/s_fminf.S: New file.
9672         * sysdeps/powerpc/s_llrint.c: Now is for double.
9673         * sysdeps/powerpc/s_llrintf.c: New file.
9674         * sysdeps/powerpc/s_llround.c: Now is for double.
9675         * sysdeps/powerpc/s_llroundf.c: New file.
9676         * sysdeps/powerpc/s_lrint.c: Now is for double.
9677         * sysdeps/powerpc/s_lrintf.S: New file.
9678         * sysdeps/powerpc/s_lround.c: Now is for double.
9679         * sysdeps/powerpc/s_lroundf.c: New file.
9680         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9681         lrintf, fdim, fdimf.
9683         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9684         file directly, use its parent.
9686         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9687         (for the third time).
9689 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9691         * posix/sched.h: timespec is in <time.h>.
9693         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9695 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9697         * configure.in: Stop with error if --disable-static is used when
9698         the shared lib uses this library.
9700         * gen-FAQ.pl: I've perl installed in /usr/bin.
9702         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9704         Fix Unix98 conformance problems in the headers.
9705         * catgets/nl_types.h: Define nl_item.
9706         * grp/grp.h: Define gid_t.
9707         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9708         * include/nl_types.h: New file.
9709         * include/ulimit.h: New file.
9710         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9711         constants in POSIX mode.
9712         * io/utime.h: Get definition for time_t.
9713         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9714         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9715         * libio/stdio.h: Define va_list.  Make snprintf also available is
9716         __USE_UNIX98.  Declare getopt function and variables.
9717         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9718         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9719         * math/math.h: Defined M_* constants as double for Unix98 mode.
9720         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9721         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9722         * posix/regex.h: Define REG_NOSYS.
9723         * posix/wordexp.h: Define WRDE_NOSYS.
9724         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9725         500 for Unix98.
9726         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9727         somewhere else as well.  Define clock_t for Unix98.
9728         * posix/sys/wait.h: Define pid_t.
9729         * pwd/pwd.h: Define gid_t, uid_t.
9730         * resource/Makefile (headers): Add ulimit.h.
9731         * resource/ulimit.h: New file.
9732         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9733         instead of second argument.
9734         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9735         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9736         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9737         * signal/signal.h: Define pid_t.
9738         * string/string.h: Don't declare BSD string functions in POSIX mode.
9739         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9740         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9741         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9742         and POSIX.
9744         * inet/test_ifindex.c: Change test so that it does not fail for
9745         interface aliases.
9747         * locale/programs/locale.c (show_info): Use correct cast sequence
9748         for 64bit machines.
9750         * malloc/malloc.c: __malloc_initialized now signals three states:
9751         uninitialized, initializing, initialized.  Used in mcheck.
9752         * malloc/mcheck.c (mabort): Add '\n' to messages.
9753         (mcheck): Allow installation when malloc is uninitialized or is
9754         just initializing.
9756         * manual/memory.texi: Explain mtrace output a bit more.
9758         * math/libm-test.c: Add more epsilons.
9760         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9762         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9763         instead of strcpy for security.
9764         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9765         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9766         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9768         * nss/digits_dots.c: Pretty print.
9770         * posix/getconf.c (vars): Add symbols for programming environment
9771         recognition.  Recognize --version.
9773         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9774         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9775         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9777         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9778         __need_FOPEN_MAX.
9779         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9780         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9781         __need_FOPEN_MAX.
9783         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9784         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9786         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9787         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9788         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9789         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9790         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9791         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9793         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9794         SCNu*.
9795         * sysdeps/wordsize-64/inttypes.h: Likewise.
9797         * time/africa: Update from tzdata1997j.
9798         * time/antarctica: Likewise.
9799         * time/asia: Likewise.
9800         * time/australasia: Likewise.
9801         * time/backward: Likewise.
9802         * time/etcetera: Likewise.
9803         * time/europe: Likewise.
9804         * time/factory: Likewise.
9805         * time/northamerica: Likewise.
9806         * time/pacificnew: Likewise.
9807         * time/southamerica: Likewise.
9809         * time/tzfile.h: Update from tzcode1997h.
9810         * time/zic.c: Likewise.
9812         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9813         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9814         isw*() functions for Unix98.
9815         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9816         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9817         is defined.
9819 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9821         * locale/duplocale.c: Increase usage_count only if less than
9822         MAX_USAGE_COUNT.
9823         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9824         MAX_USAGE_COUNT.
9825         * locale/setlocale.c: Likewise.
9827 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9829         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9830         dependency to make it easier to install it selectively.
9832         * Makerules (.SUFFIXES): Don't define any suffixes.
9834 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9836         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9837         * sysdeps/generic/statfs64.c: Emulate using statfs.
9838         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9839         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9840         * sysdpes/generic/ftruncate64.c: New file.
9841         * sysdpes/generic/truncate64.c: New file.
9843         * sysdeps/generic/bits/stat.h: Add LFS support.
9844         * sysdeps/generic/bits/statfs.h: Likewise.
9846         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9847         [__USE_FILE_OFFSET64]: Make long long constant.
9848         (RLIM64_INFINITY): Likewise.
9850         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9851         for LFS support.
9852         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9853         * sysdeps/generic/bits/resource.h: Likewise.
9855         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9857         * include/features.h: Don't prevent LFS support from defining BSD
9858         and SYSV things.
9860         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9861         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9862         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9864         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9865         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9866         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9868         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9869         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9870         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9871         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9872         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9873         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9874         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9875         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9876         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9877         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9879         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9880         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9881         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9882         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9883         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9884         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9885         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9886         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9887         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9889         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9890         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9891         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9892         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9893         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9895         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9896         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9897         [$(subdir)=dirent]: Add getdents64.
9898         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9900         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9902 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9904         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9906         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9907         * sysdeps/generic/getrlimit64.c: Likewise.
9908         * sysdeps/generic/setrlimit.c: Likewise.
9909         * sysdeps/generic/setrlimit64.c: Likewise.
9911 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9913         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9914         using versioning.
9916         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9918         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9920 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9922         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9923         after the codeset name.
9925 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9927         * libc.map: Add get_kernel_syms.
9929 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9931         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9932         static.
9933         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9934         Likewise.  Fix condition.
9936 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9938         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9940 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9942         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9943         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9945 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9947         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9948         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9949         instead.  Oops.
9951 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9953         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9955 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9957         * math/libm-test.c (catanh_test): Change epsilon.
9958         Reported by H.J. Lu.
9960 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9962         * libc.map (__getpid): Added for linuxthreads.
9964 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9966         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9967         it if gcc uses static variable in DWARF2 unwind information
9968         for exception support.
9970         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9972         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9973         HAVE_DWARF2_UNWIND_INFO_STATIC.
9975         * libc.map (__register_frame*, __deregister_frame*): Make them
9976         global.
9978 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9980         * math/libm-test.c: Add more tests for "normal" values.
9982 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9984         * stdio-common/printf_fphex.c: Fix printing of long double number
9985         with a biased exponent of zero.  Fix rounding.
9987 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9989         * sunrpc/rpc_main.c: Accept new flag -$.
9990         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9992 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9994         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9995         dynamic linker first, in case the interface has changed.
9997 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9999         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
10000         order.
10002 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10004         * math/tgmath.h: Check for double first, for architectures where
10005         sizeof (long double) == sizeof (double).
10007 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10009         * math/libm-test.c: New tests for "normal" values added for most
10010         functions.
10012 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
10014         * version.h (VERSION): Bump to 2.0.91.
10016         * db2/makedb.c (process_input): Fix typo in message.
10017         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
10019         * elf/dynamic-link.h: Pretty print.
10021         * elf/rtld.c: Allow multiple preloading of a shared object.
10023         * include/limits.h: Prevent multiple inclusion.
10025         * malloc/Makefile (headers): Add mcheck.h.
10026         (distribute): Remove it here.
10027         * malloc/mcheck.h: Pretty print.
10028         * malloc/mtrace.c (mallenv): Make `const'.
10029         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10030         are none.
10031         * manual/memory.texi: Update descriptor of malloc hooks.
10033         * posix/Makefile (routines): Add waitid.
10034         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10035         on __id_t.
10036         * posix/sys/wait.h: Define idtype_t type.
10037         Add prototype for waitid.
10038         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10039         * sysdeps/generic/waitid.c: Stub for waitid.
10040         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10041         the __need_siginfo_t defined.
10042         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10043         * sysdeps/generic/bits/types.h: Define __id_t.
10044         Correct definition of __FDMASK.
10045         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10046         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10047         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10049         * sysdeps/posix/waitid.c: New file.
10050         Provided by Zack Weinberg.
10052         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10054         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10055         Add missing parameters.
10057         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10058         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10059         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10060         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10061         initialized.
10063         * sysdeps/i386/dl-machine.h: Little cleanup.
10065         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10066         (__finite): Mark function as const.
10067         Add inline code for __ieee754_atan2.
10069         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10070         (but don't use it now).
10071         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10072         __atan.
10073         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10074         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10075         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10076         real part.
10077         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10078         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10079         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10080         __ieee754_atan2 to base 10.
10081         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10082         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10084         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10085         old_kernel_sigaction.
10087         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10089         * wctype/Makefile (routines): Add wctype_l.
10090         * wctype/wctype.h: Add declaration of __wctype_l.
10091         * wctype/wctype_l.c: New file.
10093 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10095         * locale/C-ctype.c: Correct data for isw* functions.
10096         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10097         byte order.
10098         * wctype/test_wctype.c: Add test for isw* functions.
10099         * wctype/wctype.c: Return value with expected byte order.
10101 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10103         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10105 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10107         * iconvdata/Makefile: Fix a typo.
10109         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10110         oldsiglist for shared library.
10112         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10113         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10115         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10116         sys_siglist, sys_sigabbrev): New file. Make them as the old
10117         version GLIBC_2.0.
10119         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10120         to GLIBC_2.1.
10122 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10124         * libio/iofgets.c (_IO_fgets): Return an error only if there
10125         is a new error.
10126         * libio/iogets.c (_IO_gets): Ditto.
10128 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10130         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10132         * libio/Makefile (routines, shared-only-routines): Add
10133         oldiofdopen.
10135         * libio/fileops.c: Don't use _IO_FILE_complete.
10136         * libio/iofdopen.c: Ditto.
10137         * libio/iofopen.c: Ditto.
10138         * libio/iofopen64.c: Ditto.
10139         * libio/iopopen.c: Ditto.
10140         * libio/iovdprintf.c: Ditto.
10142         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10144         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10145         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10147         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10148         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10150         * libio/libio.h (_IO_FILE): Add more fields.
10151         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10152         one if _IO_USE_OLD_IO_FILE is defined
10153         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10154         them _IO_FILE_complete.
10156         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10157         to adjust vtable.
10158         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10159         _IO_JUMPS.
10160         (_IO_FILE_complete): Commented out.
10162         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10163         * libio/oldiofclose.c: Ditto.
10164         * libio/oldiofopen.c: Ditto.
10165         * libio/oldstdfiles.c: Ditto.
10167         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10168         for the old _IO_FILE.
10170         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10171         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10172         and stderr.
10174         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10175         and remove INAME.
10177         * libio/stdio.c (stdin, stdout, stdin): Don't use
10178         _IO_FILE_complete.
10180         * libio/oldiofdopen.c: New.
10182         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10183         hp->_vtable_offset to 0.
10185 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10187         * libc.map (_IO_file_open): Added.
10189         * libio/libioP.h (_IO_file_open): Declared.
10191         * libio/fileops.c (_IO_file_open): New.
10192         (_IO_file_fopen): Call _IO_file_open ().
10194         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10195         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10197 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10199         * signal/signal.h: Fix selection of signal semantics to match
10200         comment.
10202 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10204         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10205         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10206         rt_sigreturn.
10207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10208         [$(subdir)=signal]: Remove rt_sigreturn.
10209         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10210         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10211         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10213 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10215         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10216         declarations.
10218 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10220         * iconvdata/extra-module.mk: Expand extra-objs now.
10222 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10224         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10225         inline functions by feature tests to avoid warning about missing
10226         prototype declarations.
10228 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10230         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10231         return code for non existent +name entries.
10232         * nis/nss_compat/compat-pwd.c: Likewise.
10233         * nis/nss_compat/compat-spwd.c: Likewise.
10235 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10237         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10238         (EIO): Likewise.
10239         (ENOSPC): Likewise.
10240         (EEXIST): Likewise.
10241         (__errno_location): Likewise.
10243         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10245         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10247 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10249         * sunrpc/publickey.c: Use new NSS interface.
10251 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10253         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10255 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10257         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10258         value, to match spirit of the standard.
10259         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10260         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10261         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10263 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10265         * manual/signal.texi (Signal Stack): Remove spurious @item.
10267 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10269         * rt/aio.h: Remove double semicolon.
10271         * rt/librt.map: Add aio_init.
10273 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10275         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10276         * Makefile (subdirs): Replace rt by $(rt).
10278         * shlib-versions: Use version .2 for NSS modules.
10280         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10281         argument.
10282         * pwd/fgetpwent_r.c: Likewise.
10283         * spwd/fgetspent_r.c: Likewise.
10284         * spwd/sgetspent_r.c: Likewise.
10285         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10286         Store error number in *ERRNOP.  Little optimization.
10287         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10288         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10289         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10290         (__internal_getnetgrent_r): New argument.
10291         Call __internal_setnetgrent_reuse with new argument.
10292         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10293         * inet/netgroup.h: Add argument to prototypes.
10294         * nis/nisplus-parser.h: Likewise.
10295         * nis/nss_compat/compat-grp.c: Change everything to store error
10296         code through provided pointer and not use errno.
10297         * nis/nss_compat/compat-pwd.c: Likewise.
10298         * nis/nss_compat/compat-spwd.c: Likewise.
10299         * nis/nss_nis/nis-alias.c: Likewise.
10300         * nis/nss_nis/nis-ethers.c: Likewise.
10301         * nis/nss_nis/nis-grp.c: Likewise.
10302         * nis/nss_nis/nis-hosts.c: Likewise.
10303         * nis/nss_nis/nis-netgrp.c: Likewise.
10304         * nis/nss_nis/nis-network.c: Likewise.
10305         * nis/nss_nis/nis-proto.c: Likewise.
10306         * nis/nss_nis/nis-publickey.c: Likewise.
10307         * nis/nss_nis/nis-pwd.c: Likewise.
10308         * nis/nss_nis/nis-rpc.c: Likewise.
10309         * nis/nss_nis/nis-service.c: Likewise.
10310         * nis/nss_nis/nis-spwd.c: Likewise.
10311         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10312         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10313         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10314         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10315         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10316         * nis/nss_nisplus/nisplus-network.c: Likewise.
10317         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10318         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10319         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10320         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10321         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10322         * nis/nss_nisplus/nisplus-service.c: Likewise.
10323         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10324         * nss/nss_db/db-XXX.c: Likewise.
10325         * nss/nss_db/db-alias.c: Likewise.
10326         * nss/nss_db/db-netgrp.c: Likewise.
10327         * nss/nss_files/files-XXX.c: Likewise
10328         * nss/nss_files/files-alias.c: Likewise
10329         * nss/nss_files/files-netgrp.c: Likewise
10330         * nss/nss_files/files-parse.c: Likewise
10331         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10332         parameter of get functions.
10333         * nss/getXXent_r.c: Likewise.
10335         * localedata/tst-fmon.c: Print debug info if test fails.
10337         * rt/Makefile (routines): Add aio_notify.
10338         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10339         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10340         * rt/aio_fsync.c: Likewise.
10341         * rt/aio_misc.c: Likewise.
10342         * rt/aio_misc.h: Likewise.
10343         * rt/aio_read.c: Likewise.
10344         * rt/aio_read64.c: Likewise.
10345         * rt/aio_suspend.c: Likewise.
10346         * rt/aio_write.c: Likewise.
10347         * rt/aio_write64.c: Likewise.
10348         * rt/lio_listio.c: Likewise.
10349         * rt/lio_listio64.c: Likewise.
10350         * rt/aio_notify.c: New file.
10352         * sysdeps/generic/bits/sigset.h: Pretty print.
10354         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10355         really defined as __pwrite.
10357         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10358         instead of pread64.
10359         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10361         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10362         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10363         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10364         size in syscall.
10365         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10366         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10367         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10368         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10369         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10370         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10371         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10372         for ACT being NULL.
10373         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10374         RT signals.
10375         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10376         __NR_pread is not defined.
10377         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10378         __NR_pwrite is not defined.
10380 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10382         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10383         handle for /etc/group back in some more cases.
10384         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10385         handle for /etc/passwd back in some more cases.
10386         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10387         handle for /etc/shadow back in some more cases.
10389 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10391         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10392         beyound its size.
10393         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10394         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10396 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10398         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10399         handling.  Don't use macros, we need functions.  Use inline functions
10400         for optimization.
10401         * sysdeps/wordsize-64/inttypes.h: Likewise.
10402         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10403         and wcstoumax.
10404         * sysdeps/wordsize-64/Makefile: Likewise.
10405         * sysdeps/wordsize-32/Dist: Likewise.
10406         * sysdeps/wordsize-64/Dist: Likewise.
10407         * sysdeps/wordsize-32/strtoimax.c: New file.
10408         * sysdeps/wordsize-32/strtoumax.c: New file.
10409         * sysdeps/wordsize-32/wcstoimax.c: New file.
10410         * sysdeps/wordsize-32/wcstoumax.c: New file.
10411         * sysdeps/wordsize-64/strtoimax.c: New file.
10412         * sysdeps/wordsize-64/strtoumax.c: New file.
10413         * sysdeps/wordsize-64/wcstoimax.c: New file.
10414         * sysdeps/wordsize-64/wcstoumax.c: New file.
10416 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10418         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10419         that transparent union works.
10420         * sysdeps/generic/wait4.c (__wait4): Likewise.
10421         * sysdeps/generic/wait.c (__wait): Likewise.
10423         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10424         size_t.
10426         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10427         long, to match prototype.
10429         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10430         have mremap() yet.
10432         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10434         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10436         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10438         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10439         __rlim_t.
10441         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10443         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10445         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10446         __S_IFLNK.
10448         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10449         <bits/stdio_lim.h>.
10450         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10452 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10454         * posix/sys/wait.h: Don't use transparent unions in C++.
10456 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10458         * time/time.h: Add strfxtime.
10460         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10461         sysv_signal, strfxtime, pread64, pwrite64.
10463 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10465         Alpha changes for EGCS:
10466         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10467         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10468         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10469         (_start): Likewise.
10470         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10472 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10474         The kernel expects the arguments in a different order.
10475         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10476         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10478         * FAQ.in: New file.
10479         * gen-FAQ.pl: New file.
10480         * Makefile (FAQ): Add rule to generate from FAQ.in.
10482         * iconvdata/Makefile: Treat libJIS like the other modules.
10484         * rt/librt.map: New file.
10486         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10487         inclusion.
10488         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10489         comment.
10491 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10493         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10494         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10495         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10496         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10498 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10500         * string/bits/string2.h: Fix spellings.
10502         * string/string.h: Fix spellings.
10504 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10506         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10507         declaration to __syscall_rt_sigaction.
10509         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10510         non-existant <sigcontext.h>.
10512 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10514         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10515         typo.
10517 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10519         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10521         * Makeconfig (shared-thread-library): Correct spelling.
10523         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10524         <asm/pci.h>.
10526 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10528         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10529         constants from Linux headers. Pointed out by
10530         csmall@scooter.o.i.net. [PR libc/369]
10532 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10534         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10536 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10538         * configure.in: If --enable-add-ons is given without an
10539         argument, set the addons list to all subdirs with a configure
10540         script.
10542 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10544         * Makeconfig: Add shared-thread-library variable.
10546         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10547         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10548         here.
10549         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10550         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10551         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10552         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10553         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10554         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10555         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10556         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10557         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10558         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10559         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10560         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10561         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10562         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10563         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10564         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10565         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10566         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10567         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10568         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10569         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10570         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10571         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10572         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10573         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10575         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10576         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10577         * signal/Makefile (headers): Add bits/siginfo.h.
10578         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10579         (distribute): Add testrtsig.h.
10580         * signal/allocrtsig.c: New file.
10581         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10582         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10583         __libc_current_sigrtmax.
10584         * sysdeps/generic/sigqueue.c: New file.
10585         * sysdeps/generic/sigtimedwait.c: New file.
10586         * sysdeps/generic/sigwaitinfo.c: New file.
10587         * sysdeps/generic/testrtsig.h: New file.
10588         * sysdeps/generic/bits/siginfo.h: New file.
10589         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10590         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10591         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10592         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10593         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10594         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10595         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10596         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10597         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10598         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10599         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10600         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10601         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10602         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10603         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10604         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10605         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10606         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10607         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10608         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10609         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10610         and _POSIX_REALTIME_SIGNALS.
10611         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10612         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10613         update _NSIG.
10614         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10615         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10616         definitions.
10618         * Makefile (subdirs): Add rt.
10619         * shlib-versions: Add entry for librt.
10620         * rt/Makefile: New file.
10621         * rt/aio.h: New file.
10622         * rt/aio_cancel.c: New file.
10623         * rt/aio_error.c: New file.
10624         * rt/aio_fsync.c: New file.
10625         * rt/aio_misc.c: New file.
10626         * rt/aio_misc.h: New file.
10627         * rt/aio_read.c: New file.
10628         * rt/aio_read64.c: New file.
10629         * rt/aio_return.c: New file.
10630         * rt/aio_suspend.c: New file.
10631         * rt/aio_write.c: New file.
10632         * rt/aio_write64.c: New file.
10633         * rt/lio_listio.c: New file.
10634         * rt/lio_listio64.c: New file.
10635         * sysdeps/generic/aio_sigqueue.c: New file.
10636         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10637         * sysdeps/unix/sysv/linux/Dist: Add new files
10638         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10639         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10640         rt_sigqueueinfo, rt_sigaction.
10642         * posix/Makefile (headers): Add bits/environments.h.
10643         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10644         and _CS_LFS_CFLAGS on 64bit platforms.
10645         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10646         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10647         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10648         compilation modules.
10649         * sysdeps/wordsize-32/bits/environments.h: New file.
10650         * sysdeps/wordsize-64/bits/environments.h: New file.
10652         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10653         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10654         __libc_pid.
10655         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10656         0xf00baa.
10658         * string/string.h: Add declaration of __strverscmp.
10659         * string/strverscmp.c: Rename function ot __strverscmp and make old
10660         name weak alias.
10662         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10663         * sysdeps/generic/enbl-secure.c: Likewise.
10664         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10666         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10668         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10670 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10672         * posix/sys/wait.h: Use __transparent_union__ instead of
10673         transparent_union.  Reported by Roland McGrath.
10675 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10677         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10678         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10679         [PR libc/366].
10681         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10683         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10685 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10687         * grp/initgroups.c: Increase buffer if it is too small.
10689 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10691         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10692         fields, this is no ISO C.  Reported by Andreas Jaeger.
10694 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10696         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10698 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10700         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10701         _SYS_UTSNAME_H not _UTSNAME_H.
10703 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10705         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10706         computing s_scale.
10708 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10710         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10711         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10712         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10714         * math/libm-test.c (csqrt_test): Add testcase.
10716 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10718         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10719         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10720         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10722 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10724         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10726 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10728         * math/libm-test.c (acos_test): Add more tests.
10729         (asin_test): Likewise.
10730         (atan_test): Likewise.
10731         (exp_test): Likewise.
10732         (sin_test): Likewise.
10733         (sqrt_test): Likewise.
10734         (cpow_test): Likewise.
10735         (csqrt_test): Likewise.
10736         (cexp_test): Correct typo in gcc version test.
10738 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10740         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10741         <bits/setjmp.h>.
10742         * sysdeps/arm/setjmp.S: Likewise.
10744         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10746 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10748         * stdio/stdio.h: Add prototype for tmpfile64().
10750 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10752         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10753         prototype to keep in step with libio version.
10755         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10757 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10759         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10760         cross-compiling.
10762 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10764         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10765         load GOT ptr before jumping to _exit.
10766         Reported by Xavier Leroy.
10768 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10770         * Makefile (subdirs): Add iconvdata and localedata.
10772         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10774         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10776         * iconvdata/8bit-gap.c: New file.
10777         * iconvdata/8bit-generic.c: Renamed from ...
10778         * iconvdata/iso8859-generic.c: ...this.
10779         * iconvdata/configure: Removed.
10780         * iconvdata/Makefile: Add new modules and better rules.
10781         * iconvdata/iso6937.c: Minor bug fixes.
10782         * iconvdata/iso8859-1.c: Likewise.
10783         * iconvdata/t61.c: Likewise.
10784         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10785         Minor bug fixes.
10786         * iconvdata/iso8859-3.c: Likewise.
10787         * iconvdata/iso8859-4.c: Likewise.
10788         * iconvdata/iso8859-5.c: Likewise.
10789         * iconvdata/iso8859-6.c: Likewise.
10790         * iconvdata/iso8859-7.c: Likewise.
10791         * iconvdata/iso8859-8.c: Likewise.
10792         * iconvdata/iso8859-9.c: Likewise.
10793         * iconvdata/iso8859-10.c: Likewise.
10794         * iconvdata/ebcdic-at-de-a.c: New file.
10795         * iconvdata/ebcdic-at-de.c: New file.
10796         * iconvdata/ebcdic-ca-fr.c: New file.
10797         * iconvdata/hp-roman8.c: New file.
10798         * iconvdata/koi-8.c: New file.
10799         * iconvdata/koi8-r.c: New file.
10800         * iconvdata/koi8-h.c: New file.
10801         * iconvdata/latin-greek-1.c: New file.
10802         * iconvdata/latin-greek-1.h: New file.
10803         * iconvdata/latin-greek.c: New file.
10804         * iconvdata/latin-greek.h: New file.
10805         * iconvdata/jis0201.c: New file.
10806         * iconvdata/jis0201.h: New file.
10807         * iconvdata/jis0208.c: New file.
10808         * iconvdata/jis0208.h: New file.
10809         * iconvdata/jis0212.c: New file.
10810         * iconvdata/jis0212.h: New file.
10811         * iconvdata/sjis.c: New file.
10812         * iconvdata/gap.pl: New file.  Script to generate table header.
10813         * iconvdata/gaptab.pl: New file.
10814         * iconvdata/gconv-modules: Add info about new modules.
10816         * locale/programs/charmap.c: Also examine alias names given in charmap
10817         files.
10819         * localedata/*: Add to here from add-on.  We need the information
10820         to generate tables for iconv.
10822         Update from db-2.3.14.
10823         * db2/Makefile: Updated.
10824         * db2/config.h: Likewise.
10825         * db2/db.h: Likewise.
10826         * db2/db_int.h: Likewise.
10827         * db2/btree/bt_cursor.c: Likewise.
10828         * db2/btree/bt_delete.c: Likewise.
10829         * db2/btree/bt_put.c: Likewise.
10830         * db2/btree/bt_search.c: Likewise.
10831         * db2/btree/bt_split.c: Likewise.
10832         * db2/btree/btree_auto.c: Likewise.
10833         * db2/common/db_appinit.c: Likewise.
10834         * db2/common/db_apprec.c: Likewise.
10835         * db2/common/db_err.c: Likewise.
10836         * db2/common/db_region.c: Likewise.
10837         * db2/db/db_auto.c: Likewise.
10838         * db2/db/db_dispatch.c: Likewise.
10839         * db2/db/db_ret.c: Likewise.
10840         * db2/dbm/dbm.c: Likewise.
10841         * db2/hash/hash_auto.c: Likewise.
10842         * db2/include/btree_ext.h: Likewise.
10843         * db2/include/common_ext.h: Likewise.
10844         * db2/include/db.h.src: Likewise.
10845         * db2/include/db_cxx.h: Likewise.
10846         * db2/include/db_ext.h: Likewise.
10847         * db2/include/db_int.h.src: Likewise.
10848         * db2/include/lock.h: Likewise.
10849         * db2/include/log.h: Likewise.
10850         * db2/include/mp.h: Likewise.
10851         * db2/include/mp_ext.h: Likewise.
10852         * db2/include/os_ext.h: Likewise.
10853         * db2/include/os_func.h: Likewise.
10854         * db2/lock/lock.c: Likewise.
10855         * db2/lock/lock_deadlock.c: Likewise.
10856         * db2/log/log.c: Likewise.
10857         * db2/log/log_archive.c: Likewise.
10858         * db2/log/log_auto.c: Likewise.
10859         * db2/log/log_get.c: Likewise.
10860         * db2/log/log_put.c: Likewise.
10861         * db2/mp/mp_bh.c: Likewise.
10862         * db2/mp/mp_fget.c: Likewise.
10863         * db2/mp/mp_fopen.c: Likewise.
10864         * db2/mp/mp_fput.c: Likewise.
10865         * db2/mp/mp_fset.c: Likewise.
10866         * db2/mp/mp_open.c: Likewise.
10867         * db2/mp/mp_pr.c: Likewise.
10868         * db2/mp/mp_region.c: Likewise.
10869         * db2/mp/mp_sync.c: Likewise.
10870         * db2/mutex/README: Likewise.
10871         * db2/mutex/mutex.c: Likewise.
10872         * db2/os/os_open.c: Likewise.
10873         * db2/os/os_func.c: Removed.
10874         * db2/os/os_config.c: New file.
10875         * db2/os/os_spin.c: New file.
10876         * db2/txn/txn.c: Likewise.
10877         * db2/txn/txn_auto.c: Likewise.
10879 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10881         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10882         __typeof for C++ since this fails for class members.
10883         Reported by Neal Becker <neal@ctd.comsat.com>.
10885 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10887         * configure.in: Check for a working makeinfo (3.11 or better).
10888         * config.make.in: Add MAKEINFO to be substituted.
10889         * manual/Makefile: Don't update info if makeinfo is too old.
10891 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10893         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10894         * sysdeps/alpha/__longjmp.S: Likewise.
10895         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10896         not <bits/termios.h>.
10898         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10899         __llseek and make llseek and lseek64 weak aliases.
10900         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10901         Patches by a sun <asun@zoology.washington.edu>.
10903 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10905         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10906         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10907         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10908         * misc/sys/syslog.h: Clean up BSD header.
10910 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10912         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10914         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10915         for ctan(+-inf,x).
10916         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10917         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10919         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10920         csqrt (-1), ctanh(i*pi/4).
10922 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10924         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10926 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10928         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10930 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10932         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10934 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10936         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10937         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10938         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10939         of GETCWD_STORYGE_CLASS and put the return type and the
10940         `internal_function' in the right order for gcc 2.7.2.
10942 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10944         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10945         incompatible with Linux 2.1.x.  Packages using modules
10946         (e.g. modutils) should/do provide their own version.  Suggested by
10947         Richard Henderson.
10949         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10952         [$(subdir)=socket]: Remove sys/module.h.
10954 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10956         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10957         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10959         * iconv/gconv_close.c: Correct freeing of descriptor data.
10960         * iconv/gconv_simple.c: Return correct error values for illegal or
10961         incomplete characters.
10963         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10964         development.
10965         * iconvdata/Makefile: New file.
10966         * iconvdata/configure: Likewise.
10967         * iconvdata/extra-module.mk: Likewise.
10968         * iconvdata/gconv-modules: Likewise.
10969         * iconvdata/iso6937.c: Likewise.
10970         * iconvdata/iso8859-1.c: Likewise.
10971         * iconvdata/iso8859-10.c: Likewise.
10972         * iconvdata/iso8859-10.h: Likewise.
10973         * iconvdata/iso8859-2.c: Likewise.
10974         * iconvdata/iso8859-2.h: Likewise.
10975         * iconvdata/iso8859-3.c: Likewise.
10976         * iconvdata/iso8859-3.h: Likewise.
10977         * iconvdata/iso8859-4.c: Likewise.
10978         * iconvdata/iso8859-4.h: Likewise.
10979         * iconvdata/iso8859-5.c: Likewise.
10980         * iconvdata/iso8859-5.h: Likewise.
10981         * iconvdata/iso8859-6.c: Likewise.
10982         * iconvdata/iso8859-6.h: Likewise.
10983         * iconvdata/iso8859-7.c: Likewise.
10984         * iconvdata/iso8859-7.h: Likewise.
10985         * iconvdata/iso8859-8.c: Likewise.
10986         * iconvdata/iso8859-8.h: Likewise.
10987         * iconvdata/iso8859-9.c: Likewise.
10988         * iconvdata/iso8859-9.h: Likewise.
10989         * iconvdata/iso8859-generic.c: Likewise.
10990         * iconvdata/t61.c: Likewise.
10992         * string/Makefile (routines): Add strcasestr.
10993         * string/string.h: Add prototype for strcasestr.
10994         * sysdeps/generic/strcasestr.c: New file.
10995         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10996         * wcsmbs/wcrtomb.c: Likewise.
10997         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10998         * wcsmbs/wcsnrtombs.c: Likewise.
10999         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
11000         partial character is read.
11001         * wcsmbs/wcsrtombs.c: Likewise.
11002         * wcsmbs/wmemrtombs.c: Likewise.
11003         * wcsmbs/wmemrtowcs.c: Likewise.
11005         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
11006         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
11007         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
11008         * sysdeps/i386/elf/setjmp.S: Likewise.
11009         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
11010         <bits/termios.h>.
11012         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
11013         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
11015         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
11016         * sysvipc/sys/ipc.h: Likewise.
11017         * sysvipc/sys/msg.h: Likewise.
11018         * sysvipc/sys/sem.h: Likewise.
11019         * sysvipc/sys/shm.h: Likewise.
11021         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
11022         used directly.
11023         * sysdeps/alpha/bits/setjmp.h: Likewise.
11024         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
11025         * sysdeps/arm/bits/endian.h: Likewise.
11026         * sysdeps/arm/bits/setjmp.h: Likewise.
11027         * sysdeps/generic/bits/byteswap.h: Likewise.
11028         * sysdeps/generic/bits/confname.h: Likewise.
11029         * sysdeps/generic/bits/dirent.h: Likewise.
11030         * sysdeps/generic/bits/dlfcn.h: Likewise.
11031         * sysdeps/generic/bits/endian.h: Likewise.
11032         * sysdeps/generic/bits/fenv.h: Likewise.
11033         * sysdeps/generic/bits/huge_val.h: Likewise.
11034         * sysdeps/generic/bits/in.h: Likewise.
11035         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11036         * sysdeps/generic/bits/ioctls.h: Likewise.
11037         * sysdeps/generic/bits/ipc.h: Likewise.
11038         * sysdeps/generic/bits/msq.h: Likewise.
11039         * sysdeps/generic/bits/poll.h: Likewise.
11040         * sysdeps/generic/bits/resource.h: Likewise.
11041         * sysdeps/generic/bits/sched.h: Likewise.
11042         * sysdeps/generic/bits/sem.h: Likewise.
11043         * sysdeps/generic/bits/setjmp.h: Likewise.
11044         * sysdeps/generic/bits/shm.h: Likewise.
11045         * sysdeps/generic/bits/sigaction.h: Likewise.
11046         * sysdeps/generic/bits/sigcontext.h: Likewise.
11047         * sysdeps/generic/bits/socket.h: Likewise.
11048         * sysdeps/generic/bits/stat.h: Likewise.
11049         * sysdeps/generic/bits/statfs.h: Likewise.
11050         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11051         * sysdeps/generic/bits/termios.h: Likewise.
11052         * sysdeps/generic/bits/time.h: Likewise.
11053         * sysdeps/generic/bits/uio.h: Likewise.
11054         * sysdeps/generic/bits/utmp.h: Likewise.
11055         * sysdeps/generic/bits/utmpx.h: Likewise.
11056         * sysdeps/generic/bits/utsname.h: Likewise.
11057         * sysdeps/generic/bits/waitflags.h: Likewise.
11058         * sysdeps/generic/bits/waitstatus.h: Likewise.
11059         * sysdeps/gnu/bits/utmp.h: Likewise.
11060         * sysdeps/gnu/bits/utmpx.h: Likewise.
11061         * sysdeps/i386/bits/byteswap.h: Likewise.
11062         * sysdeps/i386/bits/endian.h: Likewise.
11063         * sysdeps/i386/bits/huge_val.h: Likewise.
11064         * sysdeps/i386/bits/setjmp.h: Likewise.
11065         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11066         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11067         * sysdeps/m68k/bits/byteswap.h: Likewise.
11068         * sysdeps/m68k/bits/endian.h: Likewise.
11069         * sysdeps/m68k/bits/setjmp.h: Likewise.
11070         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11071         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11072         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11073         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11074         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11075         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11076         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11077         * sysdeps/mips/bits/dlfcn.h: Likewise.
11078         * sysdeps/mips/bits/endian.h: Likewise.
11079         * sysdeps/mips/bits/setjmp.h: Likewise.
11080         * sysdeps/mips/dec/bits/endian.h: Likewise.
11081         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11082         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11083         * sysdeps/mips/p40/bits/endian.h: Likewise.
11084         * sysdeps/powerpc/bits/endian.h: Likewise.
11085         * sysdeps/powerpc/bits/fenv.h: Likewise.
11086         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11087         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11088         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11089         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11090         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11091         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11092         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11093         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11094         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11095         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11096         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11097         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11098         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11099         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11100         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11101         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11102         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11103         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11104         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11105         * sysdeps/unix/common/bits/dirent.h: Likewise.
11106         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11107         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11108         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11109         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11110         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11111         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11112         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11113         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11114         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11115         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11116         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11117         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11118         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11119         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11120         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11121         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11122         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11123         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11124         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11125         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11126         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11127         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11128         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11129         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11130         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11131         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11132         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11133         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11134         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11135         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11136         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11137         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11138         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11139         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11140         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11141         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11142         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11143         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11144         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11145         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11146         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11147         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11148         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11149         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11150         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11151         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11152         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11153         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11154         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11155         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11156         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11157         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11158         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11159         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11160         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11161         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11162         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11163         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11164         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11165         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11166         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11167         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11168         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11169         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11170         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11171         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11172         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11173         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11174         * sysdeps/vax/bits/huge_val.h: Likewise.
11175         * sysdeps/vax/bits/setjmp.h: Likewise.
11176         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11177         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11179 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11181         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11183 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11185         * strftime.c (strftime):
11186         No longer any need to undef or declare if emacs is defined.
11187         (my_strftime): When checking a -1 returned by mktime, don't blow up
11188         if localtime_r returns NULL.
11190 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11192         * README.template: Fix spelling.
11194 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11196         * configure.in: Enhance --enable-add-ons description a wee bit.
11198 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11200         * glibcbug.in: Add more information of build environment and flags.
11202 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11204         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11205         it into ENOENT.
11207 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11209         * elf/dl-support.c: Call __libc_init_secure to make sure
11210         __libc_enable_secure is defined early.
11211         * sysdeps/generic/enbl-secure.c: Change function name to
11212         __libc_init_secure and make it global instead of a constructor.
11214         * iconv/gconv.c: Fix lots of bugs.
11215         * iconv/gconv.h: Likewise.
11216         * iconv/gconv_builtin.h: Likewise.
11217         * iconv/gconv_close.c: Likewise.
11218         * iconv/gconv_conf.c: Likewise.
11219         * iconv/gconv_db.c: Likewise.
11220         * iconv/gconv_dl.c: Likewise.
11221         * iconv/gconv_open.c: Likewise.
11222         * iconv/gconv_simple.c: Likewise.
11223         * iconv/iconv.c: Likewise.
11224         * iconv/iconv_close.c: Likewise.
11225         * iconv/iconv_open.c: Likewise.
11227         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11228         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11229         * wcsmbs/wmemrtombs.c: New file.
11230         * wcsmbs/wmemrtowcs.c: New file.
11232 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11234         * iconv/gconv_simple.c: Fix lots of bugs.
11235         * iconv/iconv_open.c: Normalize names before passing them to
11236         __gconv_open.
11238         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11240         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11241         * stdio-common/test-popen.c: Add test for above change.
11243         * math/libm-test.c: Print test results also using %a format,
11244         specified in PRINTF_XEXPR macro.
11245         * math/test-double.c: Define PRINTF_XEXPR.
11246         * math/test-float.c: Likewise.
11247         * math/test-ldouble.c: Likewise.
11248         * math/test-idouble.c: Likewise.
11249         * math/test-ifloat.c: Likewise.
11250         * math/test-ildoubl.c: Likewise.
11252         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11253         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11254         FP number format.
11256         * stdlib/strtod.c: Little code cleanup.
11258         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11259         compiling in math subdir.
11261         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11262         instead of __LIBC_M81_MATH_INLINES.
11263         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11264         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11265         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11266         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11267         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11268         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11269         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11270         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11271         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11272         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11273         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11274         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11275         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11276         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11277         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11278         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11279         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11280         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11281         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11282         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11283         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11284         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11285         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11286         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11287         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11288         __LIBC_INTERNAL_MATH_INLINES is defined.
11290         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11291         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11292         Define __signbit inline functions and __ieee754_sqrt which can be
11293         used if the ompiler is fixed.
11295         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11297 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11299         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11300         sysdeps/generic in the whole dep file, not only in the first line.
11302 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11304         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11306 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11308         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11309         place.
11311 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11313         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11314         is non-empty.
11316 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11318         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11319         return value.
11321 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11323         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11324         readlink succeeds but the return value is too long.
11326         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11328 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11330         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11331         __remqu for Alpha.
11333 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11335         * sysdeps/generic/sys/ucontext.h: Stub context file.
11337         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11339         * manual/Makefile (distribute): Add stdio-fp.c.
11341         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11343         * db2/Makefile (distribute): Add include/os_func.h, README and
11344         mutex/tsl_parisc.s.
11346         * hesiod/Makefile (distribute): Add README.hesiod.
11348 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11350         * iconv/gconv.c: Correctly call transformation function.
11352         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11354 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11356         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11357         wrong results for e.g. remquo (3,2, &x)).
11358         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11359         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11361 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11363         * configure.in (ld --version-script): Test if the same symbol
11364         maybe defined in all versions (needed by recent changes to
11365         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11366         if versioning is not supported/enabled.
11367         (bash test): Correct test case.
11369         * math/libm-test.c: Added counting/reporting of number of test cases.
11371         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11372         use awk instead.
11374         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11376 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11378         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11380 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11382         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11383         Replace revoke call by use of REVOKE.
11384         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11385         empty and #include generic version.
11386         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11388 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11390         * libc.map: Add socket functions with __libc_* names.
11391         Reported by Andreas Jaeger.
11393 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11395         * libc.map: Tidy up (remove duplicates, sort entries).
11397 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11399         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11401 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11403         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11404         again after successful call.
11405         Patch by Marc Lehmann <pcg@goof.com>.
11407 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11409         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11410         as some hosts need this to declare localtime_r properly.
11412 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11414         * libc.map: Add iconv_open, iconv, and iconv_close.
11416 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11418         * iconv/Makefile: New file.
11419         * iconv/gconv.c: New file.
11420         * iconv/gconv.h: New file.
11421         * iconv/gconv_builtin.c: New file.
11422         * iconv/gconv_builtin.h: New file.
11423         * iconv/gconv_close.c: New file.
11424         * iconv/gconv_conf.c: New file.
11425         * iconv/gconv_db.c: New file.
11426         * iconv/gconv_dl.c: New file.
11427         * iconv/gconv_open.c: New file.
11428         * iconv/gconv_simple.c: New file.
11429         * iconv/iconv.c: New file.
11430         * iconv/iconv.h: New file.
11431         * iconv/iconv_close.c: New file.
11432         * iconv/iconv_open.c: New file.
11433         * include/gconv.h: New file.
11435         * Makeconfig: Define gconvdir.
11436         * Makefile (subdirs): Add iconv.
11438         * string/bits/string2.h: Add optimization for strtok_r.
11440         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11441         for NULL.
11442         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11443         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11445         * configure.in: Correct test for bash2.
11446         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11448         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11449         (CFLAGS-locfile.c): Likewise.
11450         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11452         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11453         non-existing entry if the table is full.
11455         * posix/regex.h: Pretty print.
11457         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11459         * sysdeps/posix/ctermid.c: Simplify a bit.
11461         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11463 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11465         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11466         <sys/types.h> instead of <asm/types.h>.
11468 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11470         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11472 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11474         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11475         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11476         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11477         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11478         fclose): Added to GLIBC_2.1.
11480         * libio/Makefile (routines, shared-only-routines): Add
11481         oldiofclose.  Remove oldfreopen.
11483         * libio/freopen.c (freopen): When PIC is defined, call
11484         _IO_old_freopen () for old stdio.
11486         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11487         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11488         for GLIBC_2.1.
11490         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11491         instead of _IO_file_close_it.
11493         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11494         to _IO_2_1_stdxxx_.
11495         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11496         is defined.
11498         * libio/libioP.h (_IO_old_do_flush): New.
11500         * libio/oldfileops.c (_IO_old_file_close_it,
11501         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11502         Call _IO_old_do_flush () instead of _IO_do_flush ().
11503         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11504         _IO_do_write ().
11506         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11507         instead of _IO_file_init ().
11508         Bind old symbols to version GLIBC_2.0.
11510         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11511         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11512         _IO_stdxxx_.
11513         (_IO_check_libio): New function in .init.
11515         * libio/oldiofclose.c: New file.
11517         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11518         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11519         (DEF_STDFILE): Don't use default_symbol_version.
11521         * libio/stdio.c (stdin, stdout, stderr): Set to
11522         _IO_2_1_stdxxx_._
11523         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11524         stdxxx.
11526         * csu/Makefile (distribute): Add init.c.
11527         (extra-objs): Add init.o for ELF.
11528         (start-installed-name): Add $(objpfx)init.o.
11530         * csu/init.c: New file.
11532 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11534         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11535         definition as the default.
11537 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11539         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11541 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11543         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11544         (PR 351).
11546 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11548         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11549         to preserve condition codes on function call.
11551 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11553         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11555 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11557         * math/libm-test.c (asin_test): Add epsilon for float.
11558         (tan_test): Add epsilon for float.
11559         (log1p_test): Add epsilon for float.
11560         (inverse_functions): Add epsilons.
11562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11563         net/if_packet.h.
11565         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11567 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11569         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11570         variable, since $(object-suffixes) is not defined yet.
11572 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11574         * db2/Makefile (distribute): db185/db185_int.src ->
11575         db185/db185_int.h.
11577 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11579         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11580         exactly one.
11582 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11584         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11585         name.
11586         * sysdeps/generic/e_acosl.c: Likewise.
11587         * sysdeps/generic/e_asinl.c: Likewise.
11588         * sysdeps/generic/e_atan2l.c: Likewise.
11589         * sysdeps/generic/e_expl.c: Likewise.
11590         * sysdeps/generic/e_fmodl.c: Likewise.
11591         * sysdeps/generic/e_j0l.c: Likewise.
11592         * sysdeps/generic/e_j1l.c: Likewise.
11593         * sysdeps/generic/e_jnl.c: Likewise.
11594         * sysdeps/generic/e_lgammal_r.c: Likewise.
11595         * sysdeps/generic/e_log10l.c: Likewise.
11596         * sysdeps/generic/e_logl.c: Likewise.
11597         * sysdeps/generic/e_powl.c: Likewise.
11598         * sysdeps/generic/e_sqrtl.c: Likewise.
11599         * sysdeps/generic/e_exp2l.c: Likewise.
11601 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11603         * Make-dist (+sysdep-names): Remove extra paren.
11604         * Makefile (distribute): Add stub-tag.h.
11605         * elf/Makefile (distribute): Add atomicity.h.
11606         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11608         [$(subdir)=socket]: Add net/if_packet.h.
11609         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11610         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11611         net/if_packet.h, scsi/sg.h.
11613 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11615         * Makefile (install): Quote $(CC) expansion.
11617 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11619         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11620         working /proc cwd and no restrictions on path length.  Following
11621         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11623 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11625         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11626         * nis/nss_compat/compat-pwd.c: Likewise.
11627         * nis/nss_compat/compat-spwd.c: Likewise.
11629 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11631         * sysdeps/libm-i387/s_fdim.S: New file.
11632         * sysdeps/libm-i387/s_fdimf.S: New file.
11633         * sysdeps/libm-i387/s_fdiml.S: New file.
11634         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11635         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11636         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11638 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11640         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11641         pointer to unsigned char.
11643 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11645         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11647         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11649         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11651 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11653         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11654         ilogb(0/NaN).
11655         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11656         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11658 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11660         * sysdeps/libm-i387/s_fmin.S: New file.
11661         * sysdeps/libm-i387/s_fminf.S: New file.
11662         * sysdeps/libm-i387/s_fminl.S: New file.
11663         * sysdeps/libm-i387/s_fmax.S: New file.
11664         * sysdeps/libm-i387/s_fmaxf.S: New file.
11665         * sysdeps/libm-i387/s_fmaxl.S: New file.
11666         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11667         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11668         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11669         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11670         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11671         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11673 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11675         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11676         * sysdeps/unix/sysv/linux/send.S: Likewise.
11677         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11678         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11679         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11680         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11681         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11682         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11683         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11685 See ChangeLog.7 for earlier changes.