Update.
[glibc.git] / ChangeLog
blobe19fcede081f4d49312491fa06efa5b450a3262a
1 1998-07-20 18:23  Ulrich Drepper  <drepper@cygnus.com>
3         * libio/libioP.h: Use __PMT in typedef.
4         * libio/strfile.h: Likewise.
6 1998-07-20 18:20  Ulrich Drepper  <drepper@cygnus.com>
8         * sysdeps/unix/sysv/linux/gethostname.c: Return ENAMETOOLONG if
9         buffer is too small.
10         Reported by John Levon <j_levon@ncc.co.uk>.
12 1998-07-20 17:09  Ulrich Drepper  <drepper@cygnus.com>
14         * shlib-versions: Remove definition for libSegFault.
16         * memory.texi: Comment out the relocating allocator description.
17         * manual/signal.texi: Remove reference to relocating allocator.
18         * manual/top-menu.texi: Regenerated.
20         * posix/fnmatch.c: Implement [: :] and change to recognize
21         ^ as negation only when not _POSIXLY_CORRECT.
23         * sysdeps/generic/glob.c: Add several optimizations.
25         * posix/glob.h: Undefine __PMT to prevent warnings.
26         Reported by Roland McGrath.
28         * posix/regex.c: Define namespace macros only for _LIBC.
30         * sysdeps/arm/dl-machine.h: Fix typo.
32         * sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
33         * sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
34         * sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
35         * sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
36         sigpending, sigqueue, and sigtimedwait.
37         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
39         * timezone/leapseconds: Update from tzdata1998f.
41 1998-07-18  Mark Kettenis  <kettenis@phys.uva.nl>
43         * stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
44         * stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
45         * libio/stdio.h: Fix typo.
47 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
49         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
50         magic memobj port arg parsing stuff.  Fix it someday when we are ready
51         to really use it.
52         (_dl_sysdep_output): New function, modified from _dl_sysdep_error.
53         (_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
55 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
57         * stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
59 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
61         * sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
62         a weak alias.
63         * sysdeps/mach/hurd/sigsuspend.c: Likewise.
64         * sysdeps/generic/sigsuspend.c: Likewise.
66 1998-07-19  Roland McGrath  <roland@baalperazim.frob.com>
68         * sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
70 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
72         * Makerules (map-file): Don't use $(wildcard) to find the
73         generated version script, instead look in $(version-maps).
74         ($(common-objpfx)libc.so): Only depend on libc.map if versioning
75         is used.
76         * extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
77         if versioning is used.  Don't use $(wildcard) to find the
78         generated version script, instead look in $(verson-maps).
80 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
82         * sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC.  Remove
83         unused function handle.
84         * sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
85         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
86         * debug/catchsegv.sh: Fix argument processing, quoting and various
87         typos.  Put the crash info always in the current directory.  Find
88         program in $PATH if it contains no directory component.
89         * Makerules (install-lib.so-versioned,
90         install-lib.so-unversioned): New variables.
91         (install-lib-nosubdir): Depend on unversioned libs in
92         slibdir, not libdir.
94 1998-07-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
96         * Make-dist (+tsrcs): Remove references to %-map variables and
97         *.map files.  Add Versions in subdirs.
98         * Makerules (distinfo-vars): Don't write out %-map variables.
100 1998-07-20 13:55  Ulrich Drepper  <drepper@cygnus.com>
102         * inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
103         Include <paths.h> instead.
104         * sysdeps/generic/paths.h: Define _PATH_RWHODIR.
105         * sysdeps/unix/sysv/linux/paths.h: Likewise.
106         Reported by Dale Scheetz <dwarf@polaris.net>.
108 1998-07-17 21:44  Ulrich Drepper  <drepper@cygnus.com>
110         * catgets/open_catalog.c: Strictly check whether catalog file is
111         larger enough for the data.  Reported by Andries.Brouwer@cwi.nl.
113 1998-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
115         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: New file.
117         * sysdeps/unix/sysv/linux/m68k/socket.S: Support NO_WEAK_ALIAS.
119 1998-07-17  Ulrich Drepper  <drepper@cygnus.com>
121         * debug/catchsegv.sh: Fix several stupid bugs.
123         * shlib-versions: Define version for libSegFault.
124         * debug/Makefile: Replace shared lib version number while rewriting.
126 1998-07-17  Mark Kettenis  <kettenis@phys.uva.nl>
128         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Add sanity check.
129         Suggested by Roland McGrath.
131 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
133         * timezone/Makefile: Remove '-L (leapseconds)' for testdata
134         generation to control environment.
136 1998-07-17 09:21  Ulrich Drepper  <drepper@cygnus.com>
138         * sysdeps/unix/sysv/sysv4/solaris2/bits/signum.h: Define SIG_HOLD.
139         Patch by John Tobey <jtobey@banta-im.com>.
141         * manual/llio.texi: Document readv/writev and mmap functions.
142         Patch by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
144 1998-07-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
146         * manual/Makefile (texis): Depend on texis.awk.
147         (nonexamples): Filter out add-on chapters.
148         (chapters.% top-menu.%): Depend on libc-texinfo.sh.
149         (stamp-summary): Depend on $(texis) except summary.texi.
150         ($(inst_infodir)/libc.info): Simplify command.
151         * manual/libc-texinfo.sh: Cleaned up to use less temporary files.
152         Fix the generation of the detailed node listing to make it
153         complete again.
154         * manual/math.texi: Fix signature of lgamma_r.
156 1998-07-16 23:06  Ulrich Drepper  <drepper@cygnus.com>
158         * debug/Makefile (distribute): Add sigcontextinfo.h.
159         Add rules to generate and install catchsegv.
160         * debug/catchsegv.sh: New file.
162 1998-07-16  Mark Kettenis  <kettenis@phys.uva.nl>
164         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Return a Hurd I/O
165         port instead of a Mach memory object.
166         (__open): Likewise.
167         (__libc_read): New function.
168         (__mmap): Change to take a Hurd I/O port instead of a Mach memory
169         object.
171 1998-07-16 20:01  Ulrich Drepper  <drepper@cygnus.com>
173         * debug/Makefile (routines): Add backtracesymsfd.
174         Add rules to generate libSegFault.
175         * debug/Versions: Add __backtrace_symbols_fd and backtrace_symbols_fd.
176         * debug/execinfo.h: Declare backtrace_symbols_fd.
177         * sysdeps/generic/backtracesymsfd.c: New file.
178         * sysdeps/generic/elf/backtracesymsfd.c: New file.
179         * sysdeps/generic/segfault.c: New file.
180         * sysdeps/generic/sigcontextinfo.h: New file.
181         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: New file.
183         * sysdeps/generic/elf/backtracesyms.c: Remove unneeded +.
185 1998-07-16 19:27  Ulrich Drepper  <drepper@cygnus.com>
187         * elf/rtld.c (process_envvars): Also recognize on as LD_BIND_NOW value.
188         (process_envvars): Append .PID to LD_DEBUG_OUTPUT file name.
190 1998-07-16 13:44  Ulrich Drepper  <drepper@cygnus.com>
192         * argp/argp-fmtstream.c: Fix warnings introduced in last change.
193         * assert/assert-perr.c: Likewise.
194         * assert/assert.c: Likewise.
195         * gconv_conf.c: Likewise.
196         * libio/iofputs_u.c: Likewise.
197         * malloc/mtrace.c: Likewise.
198         * malloc/obstack.c: Likewise.
199         * misc/error.c: Likewise.
200         * misc/syslog.c: Likewise.
201         * stdio-common/asprintf.c: Likewise.
202         * stdio-common/dprintf.c: Likewise.
203         * stdio-common/getw.c: Likewise.
204         * stdio-common/putw.c: Likewise.
205         * stdio-common/snprintf.c: Likewise.
206         * stdio-common/sprintf.c: Likewise.
207         * stdio-common/sscanf.c: Likewise.
208         * sunrpc/svc_simple.c: Likewise.
209         * sysdeps/generic/abort.c: Likewise.
211         * rt/aio_cancel.c: Don't define ECANCELED here.
212         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED correctly.
214 1998-07-16 10:23  Ulrich Drepper  <drepper@cygnus.com>
216         * argp/argp-fmtstream.c: Unify names of used global functions.
217         * argp/argp-help.c: Likewise.
218         * assert/assert-perr.c: Likewise
219         * assert/assert.c: Likewise
220         * dirent/scandir.c: Likewise
221         * dirent/scandir64.c: Likewise
222         * dirent/versionsort.c: Likewise
223         * dirent/versionsort64.c: Likewise
224         * gmon/bb_exit_func.c: Likewise.
225         * gmon/gmon.c: Likewise.
226         * grp/initgroups.c: Likewise.
227         * iconv/gconv_conf.c: Likewise.
228         * inet/getnameinfo.c: Likewise.
229         * inet/getnetgrent_r.c: Likewise.
230         * inet/inet_ntoa.c: Likewise.
231         * inet/rcmd.c: Likewise.
232         * inet/rexec.c: Likewise.
233         * inet/ruserpass.c: Likewise.
234         * io/fts.c: Likewise.
235         * io/ftw.c: Likewise.
236         * io/ftw64.c: Likewise.
237         * io/getdirname.c: Likewise.
238         * io/getwd.c: Likewise.
239         * io/lockf.c: Likewise.
240         * libio/iofdopen.c: Likewise.
241         * libio/iopopen.c: Likewise.
242         * login/utmp_daemon.c: Likewise.
243         * malloc/mtrace.c: Likewise.
244         * malloc/obstack.c
245         * misc/daemon.c: Likewise.
246         * misc/efgcvt_r.c: Likewise.
247         * misc/err.c: Likewise.
248         * misc/error.c: Likewise.
249         * misc/fstab.c: Likewise.
250         * misc/getpass.c: Likewise.
251         * misc/getttyent.c: Likewise.
252         * misc/mntent_r.c: Likewise.
253         * misc/search.h: Likewise.
254         * misc/syslog.c: Likewise.
255         * nscd/nscd_getgr_r.c: Likewise.
256         * nscd/nscd_getpw_r.c: Likewise.
257         * posix/getpgrp.c: Likewise.
258         * posix/wordexp.c: Likewise.
259         * pwd/fgetpwent_r.c: Likewise.
260         * pwd/getpw.c: Likewise.
261         * resolv/herror.c: Likewise.
262         * resolv/res_init.c: Likewise.
263         * shadow/fgetspent_r.c: Likewise.
264         * shadow/lckpwdf.c: Likewise.
265         * signal/sigrelse.c: Likewise.
266         * stdio-common/asprintf.c: Likewise.
267         * stdio-common/dprintf.c: Likewise.
268         * stdio-common/getw.c: Likewise.
269         * stdio-common/putw.c: Likewise.
270         * stdio-common/snprintf.c: Likewise.
271         * stdio-common/sprintf.c: Likewise.
272         * stdio-common/sscanf.c: Likewise.
273         * stdlib/lrand48_r.c: Likewise.
274         * stdlib/mrand48_r.c: Likewise.
275         * string/argz-replace.c: Likewise.
276         * string/envz.c: Likewise.
277         * sunrpc/auth_des.c: Likewise.
278         * sunrpc/auth_unix.c: Likewise.
279         * sunrpc/bindrsvprt.c: Likewise.
280         * sunrpc/clnt_gen.c: Likewise.
281         * sunrpc/clnt_perr.c: Likewise.
282         * sunrpc/clnt_simp.c: Likewise.
283         * sunrpc/clnt_tcp.c: Likewise.
284         * sunrpc/clnt_udp.c: Likewise.
285         * sunrpc/get_myaddr.c: Likewise.
286         * sunrpc/key_call.c: Likewise.
287         * sunrpc/netname.c: Likewise.
288         * sunrpc/openchild.c: Likewise.
289         * sunrpc/pmap_rmt.c: Likewise.
290         * sunrpc/rpc_dtable.c: Likewise.
291         * sunrpc/rtime.c: Likewise.
292         * sunrpc/svc_run.c: Likewise.
293         * sunrpc/svc_simple.c: Likewise.
294         * sunrpc/svc_tcp.c: Likewise.
295         * sunrpc/svc_udp.c: Likewise.
296         * sunrpc/svcauth_des.c: Likewise.
297         * sunrpc/xdr_array.c: Likewise.
298         * sunrpc/xdr_rec.c: Likewise.
299         * sunrpc/xdr_ref.c: Likewise.
300         * sunrpc/xdr_stdio.c: Likewise.
301         * sysdeps/generic/abort.c: Likewise.
302         * sysdeps/generic/dl-sysdep.c: Likewise.
303         * sysdeps/generic/fstatfs64.c: Likewise.
304         * sysdeps/generic/ftruncate64.c: Likewise.
305         * sysdeps/generic/getrlimit64.c: Likewise.
306         * sysdeps/generic/glob.c: Likewise.
307         * sysdeps/generic/prof-freq.c: Likewise.
308         * sysdeps/generic/putenv.c: Likewise.
309         * sysdeps/generic/statfs64.c: Likewise.
310         * sysdeps/generic/ttyname_r.c: Likewise.
311         * sysdeps/generic/utmp_file.c: Likewise.
312         * sysdeps/generic/vlimit.c: Likewise.
313         * sysdeps/generic/vtimes.c: Likewise.
314         * sysdeps/posix/cuserid.c: Likewise.
315         * sysdeps/posix/euidaccess.c: Likewise.
316         * sysdeps/posix/mkstemp.c: Likewise.
317         * sysdeps/posix/mktemp.c: Likewise.
318         * sysdeps/posix/pread.c: Likewise.
319         * sysdeps/posix/pread64.c: Likewise.
320         * sysdeps/posix/profil.c: Likewise.
321         * sysdeps/posix/pwrite.c: Likewise.
322         * sysdeps/posix/pwrite64.c: Likewise.
323         * sysdeps/posix/sigblock.c: Likewise.
324         * sysdeps/posix/sigpause.c: Likewise.
325         * sysdeps/posix/ttyname.c: Likewise.
326         * sysdeps/posix/ttyname_r.c: Likewise.
327         * sysdeps/posix/waitid.c: Likewise.
328         * sysdeps/unix/getlogin_r.c: Likewise.
329         * sysdeps/unix/grantpt.c: Likewise.
330         * sysdeps/unix/rewinddir.c: Likewise.
331         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
332         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
333         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
334         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
335         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
336         * sysdeps/unix/sysv/linux/statvfs.c: Likewise.
337         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
338         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
339         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
340         * sysdeps/unix/sysv/linux/unlockpt.c: Likewise.
341         * sysvipc/sys/shm.h: Likewise.
342         * time/ctime_r.c: Likewise.
343         * time/strptime.c: Likewise.
344         * wcsmbs/mbrlen.c: Likewise.
345         * wcsmbs/wcsdup.c: Likewise.
346         * wcsmbs/wcsxfrm.c: Likewise.
347         * wctype/wcfuncs.c: Likewise.
349         * sysdeps/unix/sysv/linux/i386/socker.S: Change to honor NO_WEAK_ALIAS.
350         * sysdeps/unix/sysv/linux/accept.S: Don't generate __ name.
351         * sysdeps/unix/sysv/linux/bind.S: Likewise.
352         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
353         * sysdeps/unix/sysv/linux/listen.S: Likewise.
354         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
355         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
356         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
358         * grp/fgetgrent_r.c: Use explicit locking of the stream.
360         * elf/Makefile (rtld-routines): Add dl-environ.
361         * sysdeps/generic/dl-sysdep.c: Move _dl_next_ld_env_entry and unsetenv
362         to...
363         * sysdeps/generic/dl-environ.c: here.  New file.
365         * libio/Makefile [REENTRANT] (routines): Add iofputs_u.
366         * libio/Versions: Add fputs_unlocked.
367         * libio/iofputs_u.c: New file.
368         * libio/stdio.h: Add prototype for fputs_unlocked.
370         * sunrpc/rpc/auth.h: Use __PMT instead of __P in type definitions.
371         * sunrpc/rpc/clnt.h: Likewise.
372         * sunrpc/rpc/pmap_clnt.h: Likewise.
373         * sunrpc/rpc/svc.h: Likewise.
374         * sunrpc/rpc/xdr.h: Likewise.
376         * sysdeps/i386/memchr.S: Correct for more strict gas.
377         * sysdeps/i386/fpu/bits/mathinline.h: Likewise.
378         * sysdeps/libm-i387/i686/s_fdim.S: Likewise.
379         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
380         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
382 1998-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
384         * configure.in: Change message for binutils version from
385         2.8.1.0.17->2.8.1.0.23.
387 1998-07-15  Ulrich Drepper  <drepper@cygnus.com>
389         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Define LOC.
390         Patch by John Tobey <jtobey@banta-im.com>.
392 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
394         * sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
395         instead of sysconf.
397 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
399         * stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
400         [_USE_IN_LIBIO] (encode_error): Free cancelation handler.
401         (conv_error): Likewise.
402         (input_error): Likewise.
403         (memory_error): Likewise.
405 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
407         * sysdeps/mach/hurd/dl-sysdep.c: Bring in sync with generic
408         implementation.  Include <entry.h>.  Replace references to symbol
409         _start with macro ENTRY_POINT.
410         (__libc_uid): Remove.
411         (__libc_multiple_libcs): New variable.
412         (__libc_stack_end): New variable.
413         (_dl_hwcap_mask): New variable.
414         (_dl_important_hwcaps): New function.
415         (_dl_show_auxv): Mark internal.
417 1998-07-14  Mark Kettenis  <kettenis@phys.uva.nl>
419         * mach/Makefile: Create target directory before generating
420         mach-syscalls.mk.
421         * mach/Machrules: Invoke awk using AWK variable.  Create target
422         directory before generating server stubs.
424 1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
426         * wcsmbs/wcslen.c (__wcslen): Fix comment.
428         * configure.in: Allow egcs-2.92.
430 1998-07-10 18:14 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
432         * manual/Makefile: Overhauled.  Generate libc.texinfo from the
433         chapter files.  Exorcise the chapters, chapters-incl mess.
434         Support inserting doc chapters from add-on modules.
435         (chapters): New variable.
436         (add-chapters): New variable.
437         (appendices): New variable.
438         (libc.texinfo): New target.
439         (clean): Fix bugs.
440         (realclean): Fix bugs.
442         * manual/texis.awk: New file.
443         * manual/libc-texinfo.sh: New file.
444         * manual/libc-texinfo.in: New file.
446         * manual/conf.texi (top @node): Remove next pointer.
447         * manual/lang.texi (top @node): Remove prev pointer.
449         * manual/job.texi (top @node): Add explicit pointers.
450         * manual/message.texi (top @node): Add explicit pointers.
451         * manual/nss.texi (top @node): Add explicit pointers.
452         * manual/process.texi (top @node): Add explicit pointers.
453         * manual/startup.texi (top @node): Add explicit pointers.
454         * manual/terminal.texi (top @node): Add explicit pointers.
455         * manual/users.texi (top @node): Add explicit pointers.
457         * manual/arith.texi: Add %MENU% tag.
458         * manual/conf.texi: Add %MENU% tag.
459         * manual/contrib.texi: Add %MENU% tag.
460         * manual/ctype.texi: Add %MENU% tag.
461         * manual/errno.texi: Add %MENU% tag.
462         * manual/filesys.texi: Add %MENU% tag.
463         * manual/header.texi: Add %MENU% tag.
464         * manual/install.texi: Add %MENU% tag.
465         * manual/intro.texi: Add %MENU% tag.
466         * manual/io.texi: Add %MENU% tag.
467         * manual/job.texi: Add %MENU% tag.
468         * manual/lang.texi: Add %MENU% tag.
469         * manual/llio.texi: Add %MENU% tag.
470         * manual/locale.texi: Add %MENU% tag.
471         * manual/maint.texi: Add %MENU% tag.
472         * manual/math.texi: Add %MENU% tag.
473         * manual/mbyte.texi: Add %MENU% tag.
474         * manual/memory.texi: Add %MENU% tag.
475         * manual/message.texi: Add %MENU% tag.
476         * manual/nss.texi: Add %MENU% tag.
477         * manual/pattern.texi: Add %MENU% tag.
478         * manual/pipe.texi: Add %MENU% tag.
479         * manual/process.texi: Add %MENU% tag.
480         * manual/search.texi: Add %MENU% tag.
481         * manual/setjmp.texi: Add %MENU% tag.
482         * manual/signal.texi: Add %MENU% tag.
483         * manual/socket.texi: Add %MENU% tag.
484         * manual/startup.texi: Add %MENU% tag.
485         * manual/stdio.texi: Add %MENU% tag.
486         * manual/string.texi: Add %MENU% tag.
487         * manual/sysinfo.texi: Add %MENU% tag.
488         * manual/terminal.texi: Add %MENU% tag.
489         * manual/time.texi: Add %MENU% tag.
490         * manual/users.texi: Add %MENU% tag.
492 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
494         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
495         Update.
497 1998-07-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
499         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Use ANSI
500         style declaration to avoid warning.
501         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
503 1998-07-04  Mark Kettenis  <kettenis@phys.uva.nl>
505         * elf/rtld.c (process_dl_debug): Add missing continue.
507 1998-07-12  Mark Kettenis  <kettenis@phys.uva.nl>
509         * elf/rtld.c (_dl_skip_args): Make global because the Hurd startup
510         code needs it.
512 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
514         * Makeconfig ($(common-objpfx)sysd-dirs): Write out definition of
515         sysd-dirs-done.
516         * Makerules: Don't generate version maps too early.
517         ($(common-objpfx)sysd-versions): Force regeneration if the list of
518         subdirs has changed.
520 1998-07-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
522         * elf/dlfcn.h (DL_CALL_FCT): Use portable comma expression.
524 1998-07-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
526         * iconv/gconv_db.c (gen_steps): Always set *handle and *nsteps.
527         * iconv/gconv_dl.c (__gconv_find_shlib): Correct use of tfind
528         return value.
530 1998-07-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
532         * elf/dl-open.c (dl_open_worker): New function.
533         (_dl_open): Call it to do the actual work while catching errors.
534         * elf/dl-close.c (_dl_close): Only call termination function if
535         the initialisation function was called.
537 1998-07-13  Ulrich Drepper  <drepper@cygnus.com>
539         * libio/libioP.h (_IO_cleanup_registration_needed): Use __PMT.
540         Reported by Felix von Leitner <leitner@amdiv.de>.
542 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
544         * Make-dist (+sysdep-tsrcs): Add Versions.
546 1998-07-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
548         * math/Versions: Remove __log1p, __atan2, __fe_dfl_env,
549         __fe_enabled_env, __fe_nonieee_env and __fe_nomask_env.
550         * sysdeps/powerpc/Versions: New file.
551         * csu/Versions: Remove brk, sbrk, environ, __environ, _environ
552         and __errno_location.
553         * misc/Versions: Add brk and sbrk.
554         * posix/Versions: Add environ, __environ and _environ.
555         * sysdeps/unix/sysv/linux/Versions: Add __errno_location.
557 1998-07-10 11:58  Ulrich Drepper  <drepper@cygnus.com>
559         * Makerules [no_defs]: Avoid dependency for loading sysd-versions.
560         Patch by Zack Weinberg.
562 1998-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
564         * posix/annexc.c (errno_maybe): EACCESS->EACCES.
565         (signal_maybe): Remove duplicate entry SIGEV_SIGNAL.
566         (mman_maybe): Remove duplicates MS_ASYNC, MS_INVALIDATE.
568 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
570         * sysdeps/unix/sysv/linux/bits/fcntl.h: Fix typo.
572 1998-07-09  Ulrich Drepper  <drepper@cygnus.com>
574         * posix/unistd.h: Simplify #ifdefs.
576         * libio/libio.h: Undo last change due to possible C++ problems.
577         * libio/fileops.h: Likewise.
579 1998-07-09 13:34  Ulrich Drepper  <drepper@cygnus.com>
581         * grp/grp.h: Define gid_t also for __USE_XOPEN.
582         * io/fcntl.h: Include <sys/stat.h> also for __USE_XOPEN.
583         * io/utime.h: Define time_t also for __USE_XOPEN.
584         * io/sys/stat.h: Define time_t also for __USE_XOPEN.
585         Define *_t types except for pid_t also for __USE_XOPEN.
586         Define S_* macros also for __USE_XOPEN.
587         * locale/langinfo.h: Define CODESET, CRNCYSTR, RADIXCHAR, and
588         THOUSEP also for __USE_XOPEN.
589         * math/math.c: Define M_* macros also for __USE_XOPEN.
590         * math/bits/mathcalls.h: Declare hypot also for __USE_XOPEN.
591         * posix/fnmatch.h: Define FNM_NOSYS and for if _XOPEN_SOURCE is
592         defined.
593         * posix/glob.h: Likewise for GLOB_NOSYS.
594         * posix/regex.h: Likewise for REG_NOSYS.
595         * posix/wordexp.h: Likewise for WRDE_NOSYS.
596         * posix/unistd.h: Define *_t types also for __USE_XOPEN.
597         * posix/sys/wait.h: Define pid_t for __USE_XOPEN.
598         * pwd/pwd.h: Define gid_t and pid_t also for __USE_XOPEN.
599         * signal/signal.h: Define pid_t also for __USE_XOPEN.
600         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define _RSYNC and O_DSYNC also
601         for __USE_POSIX199309.
602         * sysdeps/unix/sysv/linux/bits/termios.h: Define the various B*
603         constants also for __USE_XOPEN.
604         * wcsmbs/wchar.h: For XPG4 include wctype.h.
606         * intl/dcgettext.c (find_msg): Initialize act to prevent warning.
607         * locale/setlocale.c (new_composite_name): Likewise for last_len.
609         * libio/stdio.h: Don't declare fclose_unlocked.
611         * sysdeps/posix/fpathconf.c: Handle _PC_FILESIZEBITS.
613 1998-07-08  Mark Kettenis  <kettenis@phys.uva.nl>
615         * stdio/stdio.h: Add prototypes for fflush_unlocked,
616         getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked,
617         fgets_unlocked, fread_unlocked, fwrite_unlocked,
618         clearerr_unlocked, feof_unlocked, ferror_unlocked,
619         fileno_unlocked, flockfile, ftrylockfile, funlockfile.
620         [__USE_XOPEN && !__USE_GNU] Declare optarg, optind, opterr.  Add
621         prototype for getopt.
622         * stdio/clearerr.c (clearerr_unlocked): Weak alias for clearerr.
623         * stdio/feof.c (feof_unlocked): Weak alias for feof.
624         * stdio/ferror.c (ferror_unlocked): Weak alias for ferror.
625         * stdio/fflush.c (fflush_unlocked): Weak alias for fflush.
626         * stdio/fgets.c (fgets_unlocked): Weak alias for fgets.
627         * stdio/fileno.c (fileno_unlocked): Weak alias for fileno.
628         * stdio/fputc.c (fputc_unlocked): Weak alias for fputc.
629         * stdio/fread.c (fread_unlocked): Weak alias for fread.
630         * stdio/fwrite.c (fwrite_unlocked): Weak alias for fwrite.
631         * stdio/getc.c (getchar_unlocked): Weak alias for getc.
632         * stdio/getchar.c (getchar_unlocked): Weak alias for getchar.
633         * stdio/putc.c (putc_unlocked): Weak alias for putc.
634         * stdio/putchar.c (putchar_unlocked): Weak alias for putchar.
635         * stdio/Versions [GLIBC_2.1]: Add clearerr_unlocked,
636         feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked,
637         fileno_unlocked, fputc_unlocked, fread_unlocked, fwrite_unlocked,
638         getc_unlocked, getchar_unlocked, putc_unlocked and
639         putchar_unlocked.
641         * libio/Versions: Move flockfile, ftrylockfile and funlockfile
642         from here ...
643         * stdio-common/Versions: ... to here.
645 1998-07-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
647         * Makerules (versioning): Correct typo.
649 1998-07-08 22:18  Ulrich Drepper  <drepper@cygnus.com>
651         * elf/Versions: Add _dl_mcount_wrapper_check.
652         * elf/dlfcn.h (DL_CALL_FCT): Don't test _dl_profile_map, simply use
653         _dl_mcount_wrapper_check.
654         * iconv/skeleton.c: Use DL_CALL_FCT, not _CALL_DL_FCT.
656         * elf/dl-reloc.c (_dl_relocate_object): Don't declare using
657         internal_function.
658         * elf/ldsodefs.h: Likewise.
660         * io/fcntl.h: Define SEEK_SET, SEEK_CUR, and SEEK_END.
662         * libio/stdio.h: Make sure va_list is defined for X/Open.
663         Define P_tmpdir for X/Open.
665         * posix/regex.h: Fix typo.
667         * posix/unistd.h: Define intptr_t if not already happened.
668         Add pthread_atfork prototype.
669         * sysdeps/generic/bits/types.h: Define __intptr_t.
670         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
671         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
672         * sysdeps/unix/sysv/linux/bits/mips/types.h: Likewise.
673         * sysdeps/unix/sysv/linux/bits/sparc/sparc64/types.h: Likewise.
674         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
675         * sysdeps/wordsize-32/stdint.h: Don't define intptr_t if already done.
676         * sysdeps/wordsize-64/stdint.h: Likewise.
678         * posix/bits/posix1_lim.h: Define _POSIX_CLOCKRES_MIN.
680         * signal/Makefile (headers): Add bits/sigthread.h.
681         * signal/signal.h: Include bits/sigthread.h.
682         * sysdeps/generic/bits/sigthread.h: New file.
684         * stdlib/stdlib.h: Declare rand_r use __USE_POSIX.
686         * sysdeps/generic/bits/confname.h: Define _PC_FILESIZEBITS.
687         * sysdeps/posix/pathconf.c: Handle _PC_FILESIZEBITS.
688         * sysdeps/unix/sysv/linux/alpha/fpathconf.c: New file.
689         * sysdeps/unix/sysv/linux/alpha/pathconf.c: New file.
691         * sysdeps/generic/bits/dlfcn.h: Define RTLD_LOCAL.
693         * elf/rtld.c: Remove preloading and loadpath variables in SUID
694         programs.
695         * sysdeps/generic/dl-sysdep.c: Define unsetenv.
696         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Define other envvar
697         names.
699         * sysdeps/unix/sysv/linux/bits/errno.h: Define ECANCELED.
701         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_RSYNC and O_DSYNC.
702         Remove O_READ and O_WRITE definition.
704         * sysdeps/unix/sysv/linux/bits/resource.h: Define RLIM_SAVED_MAX
705         and RLIM_SAVED_CUR.
707         * sysdeps/unix/sysv/linux/fstatvfs.h: Handle UFS filesystem.
709 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
711         * Makerules ($(common-objpfx)sysd-versions): Expect awk script in
712         scripts directory.  Pass move-if-change to awk.
713         (common-generated): Add $(version-maps) and sysd-versions.
714         * versions.awk: Moved to...
715         * scripts/versions.awk: ... here.  Use move-if-change to void
716         touching unchanged files.  Print "version-maps = ..." instead of
717         "all-version-maps = ..." and without $(common-objpfx).  Explain
718         expected variable names.
719         * Makefile (distribute): Updated.
721 1998-07-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
723         * misc/getttyent.c (getttyent): Don't return with locked stream.
724         * misc/mntent_r.c (__getmntent_r): Likewise.
726 1998-07-07 18:24  Ulrich Drepper  <drepper@cygnus.com>
728         * libio/fileops.c (_IO_do_write): Don't shrink wwrite buffer to zero
729         if stream is line buffered.
730         (_io_file_overflow): Likewise.
731         * libio/libio.h (_IO_putc_unlocked): Make sure that for line-buffered
732         streams writing '\n' flushes the string.
734 1998-07-07 17:28  Ulrich Drepper  <drepper@cygnus.com>
736         * elf/dl-profstub.c (_dl_profile_map): Only declare variable here.
737         * elf/dl-support.c: Define it here...
738         * elf/rtld.c: ...and here.
740 1998-07-07 16:28  Ulrich Drepper  <drepper@cygnus.com>
742         * grp/initgroups.c: Handle directives from nsswitch.conf file.
744 1998-07-07  Ulrich Drepper  <drepper@cygnus.com>
746         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Add
747         __ino64_t definition.
748         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Define
749         __off64_t.  Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
751         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
752         script if lddlibc4 failed.
753         Reported by B. D. Elliott <bde@accessone.com>.
755 1998-07-06  Ulrich Drepper  <drepper@cygnus.com>
757         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
758         Improve generated strings a bit.
760 1998-07-06 14:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
762         * posix/Makefile (generated): Remove $(objpfx) from the names.
764 1998-07-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
766         * stdio-common/test_rdwr.c: Use %Zu for size_t in printf
767         format string.
769         * libio/iofread_u.c: Include <stdio.h> for prototype.
770         * libio/iofwrite_u.c: Likewise.
772 1998-07-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
774         * db2/Versions: New file.
776 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
778         * Makefile (lib-noranlib): Don't depend on sysd-versions.
779         ($(common-objpfx)sysd-versions): Remove rule.
780         * Makerules ($(common-objpfx)sysd-versions): Define here instead.
781         Pass name of Versions.def file to script and redirect output to
782         target.  Include it and make all generated version maps depend on
783         it.
784         * versions.awk: Print out variable definition containing all
785         generated version maps.  Print error messages to stderr.  Remove
786         temp file.
788 1998-07-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
790         * posix/annexc.c (check_header): Terminate macro name before
791         comparing.
792         (get_null_defines): Allow builtin macros with parameters.
793         (fmt, testfmt): Add -D_LIBC.
794         * posix/Makefile: Remove bogus duplicate include directories from
795         annexc test command.
797 1998-07-06 12:04  Ulrich Drepper  <drepper@cygnus.com>
799         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Handle adjunct
800         password scheme.
801         (_nss_nis_getpwnam_r): Likewise.
802         (_nss_nis_getpwuid_r): Likewise.
804 1998-07-05  Mark Kettenis  <kettenis@phys.uva.nl>
806         * libio/Versions: Move symbols whose source lives in
807         stdio-common to ...
808         * stdio-common/Versions: ... here.
809         * stdio/Versions: Add missing symbols.
811 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
813         * sysdeps/unix/sysv/linux/__sendmsg.S: Define function as
814         __syscall_sendmsg.
815         * sysdeps/unix/sysv/linux/__recvmsg.S: Define function as
816         __syscall_recvmsg.
817         * sysdeps/unix/sysv/linux/recvmsg.c: Define function as __libc_recvmsg
818         and make __recvmsg and recvmsg weak aliases.
819         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise for sendmsg.
820         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define __syscall_recvmsg
821         and __syscall_sendmsg.
823 1998-07-05 11:49  Ulrich Drepper  <drepper@cygnus.com>
825         * iconv/gconv_conf.c (read_conf_file): Use feof_unlocked on private
826         stream.
827         * inet/ruserpass.c (token): Likewise.
828         * nss/nsswitch.c (nss_parse_file): Likewise.
829         * intl/localealias.c: Likewise.  Also for ferror.
830         * time/getdate.c (__getdate_r): Likewise.
832         * libio/Makefile (routines): Add iofgets_u.
833         * libio/iofgets_u.c: New file.
834         * libio/Versions: Add fgets_unlocked.
835         * libio/stdio.h: Add prototype for fgets_unlocked.
837         * misc/getttyent.c (getttyent): Use fgets_unlocked instead of fgets.
838         * misc/getusershell.c (initshells): Likewise.
839         * misc/mntent_r.c (__getmntent_r): Explicitly lock stream.  Use
840         fgets_unlocked.
841         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
842         * resolv/res_init.c (res_init): Likewise.
843         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
845 1998-05-23  Philip Blundell  <Philip.Blundell@pobox.com>
847         * sysdeps/unix/sysv/linux/arm/syscalls.list: Add `syscall'.
848         * sysdeps/unix/sysv/linux/arm/syscall.S: Deleted.
850 1998-07-05  Ulrich Drepper  <drepper@cygnus.com>
852         * misc/getttyent.c (getttyent): Explicitly lock the FILE and use
853         _unlocked functions.
855         * inet/ruserpass.c (ruserpass): Use _unlocked functions since this
856         is a private FILE.
858 1998-07-04 17:11 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
860         * csu/Makefile: Build crt files in lib pass.
861         * db2/Makefile (distribute): Add mutex/sco.cc.
862         * mach/Machrules: Don't generate .udeps files if no_deps is set.
863         * sysdeps/unix/Makefile: Don't generate sysd-syscalls or
864         s-proto.d if avoid-generated is set.
866         * sysdeps/alpha/Dist: List only one file per line.
867         * sysdeps/generic/Dist: Likewise.
868         * sysdeps/m68k/fpu/switch/Dist: Likewise.
869         * sysdeps/sparc/sparc32/Dist: Likewise.
870         * sysdeps/unix/Dist: Likewise.
871         * sysdeps/unix/sysv/irix4/Dist: Likewise.
873         * sysdeps/mach/hurd/i386/Dist: New file.
874         * sysdeps/generic/Dist: Add endutxent.c, getutxent.c, getutxid.c,
875         getutxline.c, pututxline.c, setutxent.c, updwtmpx.c, and utmpxname.c.
876         * sysdeps/unix/sysv/linux/Dist: Add getresuid.c and getresgid.c.
877         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Remove __sigtrampoline.S.
879 1998-07-04 10:14  Ulrich Drepper  <drepper@cygnus.com>
881         * libio/Makefile (routines): Add iofread_u and iofwrite_u.
882         * libio/Versions: Add fread_unlocked and fwrite_unlocked.
884         * Makerules (lib%.so): Adjust ignore pattern for last makefile change.
886         * time/tzfile.c (decode): Optimize by using bswap_32.
887         (__tzfile_read): Use _unlocked stream functions.  Correct setting of
888         __tzname array values.
889         (__tzfile_compute): Correct setting of __tzname array values.
890         * time/tzset.c (__tzstring): Clean up a bit.
892 1998-06-29 19:01  Jim Wilson  <wilson@cygnus.com>
894         * posix/regex.c (re_comp): Add cast to char * before gettext calls.
896 1998-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
898         * sysdeps/unix/bsd/poll.c (__poll): Allocate fd_set dynamically so
899         that fd can be bigger than FD_SETSIZE.
901 1998-07-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
903         * nscd/grpcache.c: Include <unistd.h>.
904         * nscd/pwdcache.c: Likewise.
906         * nis/nis_modify.c: Include <string.h>.
907         * nis/nis_add.c: Likewise.
908         * nis/nis_checkpoint.c: Likewise.
909         * posix/runptests.c: Likewise.
910         * sysdeps/generic/statvfs64.c: Likewise.
911         * sysdeps/generic/fstatvfs64.c: Likewise.
913 1998-07-03 13:16  Ulrich Drepper  <drepper@cygnus.com>
915         * localedata/charmaps/ISO-8859-9: Change mapping for 0xea, 0xec, 0xef
916         to match data from Unicode.
917         Reported by Michael Deutschmann <michael@talamasca.wkpowerlink.com>.
919 1998-07-03 11:45  Ulrich Drepper  <drepper@cygnus.com>
921         * stdio-common/printf.h: Define printf_function and
922         printf_arginfo_function types using __PMT not __P.
923         Reported by Marc Lehmann.
925 1998-07-02 14:07 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
927         * assert/test-assert.c: New test.
928         * assert/test-assert-perr.c: New test.
929         * assert/Makefile (tests): Add test-assert and test-assert-perr.
931 1998-07-02 13:45  Zack Weinberg  <zack@rabi.phys.columbia.edu>
933         BSD-style SCM_CREDS support.
935         * sysdeps/unix/sysv/linux/socket.h: Define struct cmsgcred and
936         SCM_CREDS.
937         * sysdeps/unix/sysv/linux/sendmsg.c: New file.  Convert user
938         visible SCM_CREDS packet to what the kernel wants.
939         * sysdeps/unix/sysv/linux/recvmsg.c: New file.  Convert
940         SCM_CREDS packet output by kernel to what users want.
942         * sysdeps/unix/sysv/linux/sendmsg.S: Moved to...
943         * sysdeps/unix/sysv/linux/__sendmsg.S: here.
944         * sysdeps/unix/sysv/linux/recvmsg.S: Moved to...
945         * sysdeps/unix/sysv/linux/__recvmsg.S: here.
947         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]: Add
948         __sendmsg and __recvmsg to sysdep_routines.
949         * sysdeps/unix/sysv/linux/Dist: Add __sendmsg.S and __recvmsg.S.
951 1998-07-02  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
953         * nscd/grpcache.c: Fix gid pointer handling and debug messages.
954         * nscd/pwdcache.c: Fix uid pointer handling and debug messages.
955         * nscd/nscd.c: Check, if pthread_create fails.
957 1998-07-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
959         * stdio-common/test_rdwr.c (main): Use %Zu for size_t in printf
960         format strings.
961         * stdio-common/bug1.c (main): Likewise.
962         * stdio-common/bug5.c (main): Likewise.
963         * stdio-common/tstgetln.c (main): Likewise.
964         * elf/sprof.c (generate_call_graph): Likewise.
965         (load_shobj): Likewise.
966         * posix/runptests.c (main): Likewise.
967         * string/tst-strlen.c (main): Likewise.
969         * sysdeps/libm-ieee754/e_acos.c (__ieee754_acos): Remove unused
970         variable q3.
971         * sysdeps/libm-ieee754/e_asin.c (__ieee754_asin): Likewise
973 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
975         * wctype/Versions: Add __towctrans.
976         Noticed by Alex Buell <alex.buell@tahallah.demon.co.uk>.
978 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
980         * grp/initgroups.c (compat_call): Only call dynamically loaded
981         functions if they are really present.
983 1998-07-02  Mark Kettenis  <kettenis@phys.uva.nl>
985         * sysdeps/unix/sysv/linux/bits/sched.h: Move __END_DECLS within
986         #ifdef that contains __BEGIN_DECLS.
988 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
990         * libio/iofwrite.c: Fix return value when size == 0.
992 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
994         * posix/Makefile (distribute): Add annexc.c.
995         (generated): Add $(objpfx)annexc and $(objpfx)annexc.out.
997 1998-07-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1000         bits/pthreadtypes.h here, and do not clobber headers.
1002         * sysdeps/unix/sysv/linux/Dist: Add bits/pthreadtypes.h.
1004 1998-07-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1006         * timezone/tst-timezone.c: Add tests for tzname variable.
1008 1998-07-03 12:17  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1010         * Makefile [versioning=yes]: Build the mapfiles with a pattern
1011         rule that lists all of them as targets.
1012         (sysd-versions): Depend only on Versions.def.  Write a Makefile
1013         fragment that defines $(vers-libs) based on contents of that file;
1014         then include it.
1015         (lib-noranlib): Depend on lib-mapfiles not sysd-versions.
1016         (lib-mapfiles): New target, depends on sysd-versions and $(vers-libs).
1017         Predicate all this on avoid-generated unset as well as versioning.
1019 1998-07-03 14:35  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1021         * sysdeps/unix/sysv/linux/m68k/Versions: New file.
1023 1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>
1025         * Makeconfig: Define list of subdirs as all-subdirs and make subdirs
1026         a copy.
1027         * Makefile: Add rules to generate map files.
1028         (distribute): Remove libc.map, add Versions.def and versions.awk.
1029         * Makerules: Change rules to find map files on common-objpfx.
1030         * elf/Makefile: Likewise.
1031         * md5-crypt/Makefile: Likewise.
1032         * nis/Makefile (libnsl-map): Remove.
1033         * Versions.def: New file.
1034         * versions.awk: New file.
1035         * argp/Versions: New file.
1036         * assert/Versions: New file.
1037         * catgets/Versions: New file.
1038         * csu/Versions: New file.
1039         * ctype/Versions: New file.
1040         * db/Versions: New file.
1041         * debug/Versions: New file.
1042         * dirent/Versions: New file.
1043         * elf/Versions: New file.
1044         * gmon/Versions: New file.
1045         * grp/Versions: New file.
1046         * hesiod/Versions: New file.
1047         * hurd/Versions: New file.
1048         * iconv/Versions: New file.
1049         * inet/Versions: New file.
1050         * intl/Versions: New file.
1051         * io/Versions: New file.
1052         * libio/Versions: New file.
1053         * linuxthreads/Versions: New file.
1054         * locale/Versions: New file.
1055         * login/Versions: New file.
1056         * malloc/Versions: New file.
1057         * math/Versions: New file.
1058         * md5-crypt/Versions: New file.
1059         * misc/Versions: New file.
1060         * nis/Versions: New file.
1061         * nss/Versions: New file.
1062         * posix/Versions: New file.
1063         * pwd/Versions: New file.
1064         * resolv/Versions: New file.
1065         * resource/Versions: New file.
1066         * rt/Versions: New file.
1067         * setjmp/Versions: New file.
1068         * shadow/Versions: New file.
1069         * signal/Versions: New file.
1070         * socket/Versions: New file.
1071         * stdio/Versions: New file.
1072         * stdio-common/Versions: New file.
1073         * stdlib/Versions: New file.
1074         * streams/Versions: New file.
1075         * string/Versions: New file.
1076         * sunrpc/Versions: New file.
1077         * sysdeps/alpha/Versions: New file.
1078         * sysdeps/alpha/fpu/Versions: New file.
1079         * sysdeps/i386/Versions: New file.
1080         * sysdeps/sparc/Versions: New file.
1081         * sysdeps/unix/sysv/Versions: New file.
1082         * sysdeps/unix/sysv/linux/Versions: New file.
1083         * sysdeps/unix/sysv/linux/alpha/Versions: New file.
1084         * sysdeps/unix/sysv/linux/i386/Versions: New file.
1085         * sysdeps/unix/sysv/linux/mips/Versions: New file.
1086         * sysvipc/Versions: New file.
1087         * termios/Versions: New file.
1088         * time/Versions: New file.
1089         * wcsmbs/Versions: New file.
1090         * wctype/Versions: New file.
1091         * libc.map: Removed.
1092         * db/libdb.map: Removed.
1093         * elf/libdl.map: Removed.
1094         * hesiod/libnss_hesiod.map: Removed.
1095         * hurd/libhurduser.map: Removed.
1096         * hurd/libmachuser.map: Removed.
1097         * linuxthreads/libpthread.map: Removed.
1098         * locale/libBrokenLocale.map: Removed.
1099         * login/libutil.map: Removed.
1100         * math/libm.map: Removed.
1101         * md5-crypt/libcrypt.map: Removed.
1102         * nis/libnsl.map: Removed.
1103         * nis/libnsl_compat.map: Removed.
1104         * nis/libnss_nis.map: Removed.
1105         * nis/libnss_nisplus.map: Removed.
1106         * nss/libnss_db.map: Removed.
1107         * nss/libnss_files.map: Removed.
1108         * resolv/libnss_dns.map: Removed.
1109         * resolv/libresolv.map: Removed.
1110         * rt/librt.map: Removed.
1112         * elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
1113         Fix typos.
1115         * elf/rtld.c (process_dl_debug): Recognize 'all'.
1116         (process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.
1118         * sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
1119         correct size.
1121 1998-07-01  Ulrich Drepper  <drepper@cygnus.com>
1123         * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
1124         in comment.
1126         * nscd/nscd.c: Include unistd.h.
1128 1998-07-01 09:32  Ulrich Drepper  <drepper@cygnus.com>
1130         * math/libm-test.c: Adjust delta for indentities1_test because gcc
1131         became cleverer.
1133 1998-06-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1135         * resolv/inet_addr.c (inet_aton): Define variable base only if needed.
1137 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1139         * scripts/test-installation.pl: Include <stdio.h> in test program
1140         to make it strictly conforming.
1142 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1144         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1145         not a strong alias.
1146         * sysdeps/unix/sysv/linux/i386/sysdep.S: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
1149         * sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
1151 1998-06-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1153         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
1154         not a strong alias.
1156 1998-06-30  Ulrich Drepper  <drepper@cygnus.com>
1158         * posix/Makefile (headers): Remove bits/pthreadtypes.h.
1159         * sysdeps/unix/sysv/linux/Makefile [subdir==posix] (headers): Add
1160         bits/pthreadtypes.h.
1162 1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>
1164         * include/aio.h: New file.
1165         * posix/Makefile (distribute): Add bits/pthreadtypes.h.
1166         (tests): Build and run annexc program.
1167         * posix/annexc.c: New file.
1168         * posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
1169         * rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
1170         * rt/aio_misc.c: Include limits.h.
1171         * rt/aio_notify.c: Include errno.h.
1172         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
1173         Define size_t.
1174         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
1175         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
1176         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
1177         * sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
1178         kernel doesn't do this.
1179         * sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
1180         __USE_LARGEFILE64 is defined.
1181         * sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
1182         * sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
1183         if requested.
1184         * sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.
1186         * stdlib/isomac.c: Avoid include_next warning.
1188 1998-06-29 12:27  Ulrich Drepper  <drepper@cygnus.com>
1190         * argp/argp.h: Use __PMT instead of __P for function pointer.
1191         * iconv/gconv.h: Likewise.
1192         * io/fts.h: Likewise.
1193         * io/ftw.h: Likewise.
1194         * libio/libio.h: Likewise.
1195         * malloc/mcheck.h: Likewise.
1196         * misc/search.h: Likewise.
1197         * posix/glob.h: Likewise.
1198         * resolv/resolv.h: Likewise.
1199         * signal/signal.h: Likewise.
1200         * stdlib/stdlib.h: Likewise.
1201         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
1202         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
1204 1998-06-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1206         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
1208 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1210         * posix/wordexp.c (parse_param): Fix memory leak.
1212 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1214         * libc.map: Export _IO_ftrylockfile.
1216 1998-06-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1218         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Use get[pu]id instead of
1219         __get[pu]id.
1221 1998-06-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1223         * elf/dl-misc.c (_dl_debug_message): Don't cache the pid.
1225         * elf/dl-runtime.c (_dl_object_relocation_scope): Avoid adding the
1226         same search list twice.
1228 1998-06-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1230         * login/programs/utmpd.c (handle_requests): Set and use maximal fd
1231         used to optimize loop/select.
1233 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1235         * sysdeps/generic/init-first.c: Don't define __libc_pid.
1236         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
1237         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1238         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
1239         * sysdeps/arm/init-first.c: Likewise.
1240         * posix/getopt_init.c: Don't use __libc_pid.
1241         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1242         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1243         * libc.map: Remove __libc_uid and __libc_pid.
1245 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1247         * sunrpc/rtime.c (rtime): Use poll instead of select.
1249 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1251         * sunrpc/clnt_tcp.c (readtcp): Use poll instead of select.
1252         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1253         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1254         Patches from FreeBSD current.
1256 1998-06-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1258         * nscd/connections.c (handle_new_request): Handle POLLHUP
1259         correctly.
1260         (close_sockets): Correct parameter to dbg_log.
1262 1998-06-27  David S. Miller  <davem@pierdol.cobaltmicro.com>
1264         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1265         Cleanup weak_extern usage for _dl_hwcap and _dl_hwcap_mask.
1266         (elf_machine_fixup_plt): Likewise.
1267         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: When
1268         _dl_pagesize not set, use system call to always get correct answer.
1269         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1270         (__syscall_getpagesize): Add
1272 1998-06-27  Ulrich Drepper  <drepper@cygnus.com>
1274         * resolv/res_send.c (res_send): Fix typo.
1276 1998-06-25  Andi Kleen <ak@muc.de>
1278         * inet/rcmd.c (rcmd): Change to use __poll instead of select.
1279         * resolv/res_send.c (res_send): Likewise.
1281 1998-06-27 12:58  Ulrich Drepper  <drepper@cygnus.com>
1283         * sysdeps/unix/bsd/poll.c: Define __poll, make poll weak alias.
1284         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1286 1998-06-27  7:07  Richard Henderson  <rth@cygnus.com>
1288         * math/atest-exp.c (exp_mpn, main): Cast to mp_limb_t appropriately.
1289         * math/atest-exp2.c (exp_mpn, main): Likewise.
1290         * math/atest-sincos.c (main): Likewise.
1292         * resolv/inet_addr.c (inet_aton): Check for 32-bit overflow.  Move
1293         base handling away from strtoul.  Always reset errno.
1295         * sysdeps/alpha/Makefile (elf): Kill -mno-fp-regs.
1297         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Only set
1298         _dl_profile_map if _dl_name_match_p.
1299         (RTLD_START): Fix .prologue.  Set __libc_stack_end.
1300         * sysdeps/alpha/elf/start.S: Pass sp as arg 7.  Kill __data_start.
1302         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Mark tmp
1303         as early-clobber.
1305         * sysdeps/libm-ieee754/e_exp10.c: Include "math_private.h".
1306         * sysdeps/libm-ieee754/e_exp10f.c: Likewise.
1307         * sysdeps/libm-ieee754/e_exp10l.c: Likewise.
1309 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1311         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use alias-safe code.
1313 1998-06-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1315         * nis/nis_call.c: Don't copy server structure.
1316         * nis/nis_intern.h: Remove unused entries.
1317         * nis/nis_table.c: Rewrite __create_ib_request.
1319 1998-06-26 14:37  Ulrich Drepper  <drepper@cygnus.com>
1321         * configure.in: Check for -fexceptions.
1322         * config.make.in: Define exceptions, not no-exceptions.
1323         * misc/sys/cdefs.h: Define __PMT.  When using modern g++ define
1324         __P to use throw().
1325         * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to
1326         $(exceptions).
1327         * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c.
1328         * misc/search.h: Use __PMT in tsearch, tfind, tdelete, twalk, tdestroy,
1329         lfind, and lsearch prototpypes.
1330         * stdlib/stdlib.h: Likewise for bsearch and qsort.
1332 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1334         * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm.
1336 1998-06-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1338         * Makefile (remove-old-headers): Make phony.
1340         * configure.in: Substitute @old_glibc_headers@.
1342 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1344         * libc.map: Remove __libc_uid.
1346 1998-06-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1348         * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix
1349         typos.
1351 1998-06-26  Ulrich Drepper  <drepper@cygnus.com>
1353         * libc.map: Add Alpha-specific io function from protected namespace.
1355 1998-06-25 19:26  Ulrich Drepper  <drepper@cygnus.com>
1357         * Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
1358         * locale/Makefile: Define locale-CPPFLAGS instead of redefining
1359         CPPFLAGS.
1361         * libc.map: Export __sigaction.
1363 1998-06-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1365         * sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
1366         (from Linux 2.1.107).
1368 1998-06-24  Ulrich Drepper  <drepper@cygnus.com>
1370         * nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
1371         position when file was opened here.
1372         Reported by Howard Chu <hyc@platinum.com>.
1374         * sysdeps/generic/glob.c: Also protect FNM_* macros from being
1375         undefined in a second inclusion.
1377 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1379         * sysdeps/mach/hurd/i386/Makefile: New file.
1380         * sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
1381         __libc_init_secure.
1382         (_hurd_stack_setup): Renamed
1383         from __libc_init_first.
1384         (__libc_init_first): New function.
1385         * sysdeps/mach/hurd/i386/static-start.S: New file.
1387 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
1389         * sysdeps/mach/hurd/i386/init-first.c
1391 1998-06-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1393         * grp/initgroups.c: Use _CALL_DL_FCT.
1395 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1397         * elf/rtld.c (process_dl_debug): Add missing continue.
1399 1998-06-23  Mark Kettenis  <kettenis@phys.uva.nl>
1401         * elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
1403 1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1405         * manual/terminal.texi (Pseudo-Terminals): Correct typos.
1407 1998-06-23  Ulrich Drepper  <drepper@cygnus.com>
1409         * config.make.in: Remove LDAP support.
1410         * nss/Makefile: Likewise.
1412 1998-06-22 17:02  Ulrich Drepper  <drepper@cygnus.com>
1414         * sysdeps/generic/enbl-secure.c: Don't use __libc_uid.
1415         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1416         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1417         * sysdeps/unix/sysv/linux/init-first.c: Don't initialize __libc_uid.
1419 1998-06-02  Gordon Matzigkeit  <gord@profitpress.com>
1421         * mach/Makefile: Change `mv' invocations to `mv -f'.
1422         * mach/Machrules: Likewise.
1424 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1426         * config.make.in (old-glibc-headers): Add it.
1428         * configure.in: Add test for glibc 2.0.x headers.
1430         * Makefile (headers2_0): New variable - contains so far only
1431         Linux/Intel glibc 2.0.x headers.
1432         (remove-old-headers): New rule to remove headers from glibc 2.0.x.
1433         (install): Depend on remove-old-headers.
1435 1998-06-19  Mark Kettenis  <kettenis@phys.uva.nl>
1437         * sysdeps/generic/ftruncate.c: Define function as __ftruncate and
1438         make ftruncate a weak alias.
1439         * sysdeps/mach/hurd/ftruncate.c: Really define function as
1440         __ftruncate.
1441         * sysdeps/mach/hurd/truncate.c: Include <unistd.h>.
1442         (truncate): Fix function defenition to match prototype.
1444 1998-06-20  Mark Kettenis  <kettenis@phys.uva.nl>
1446         * manual/terminal.texi: Document ttyname_r, getpt, grantpt,
1447         unlockpt, ptsname, ptsname_r, openpty and forkpty.
1449 1998-06-22  Ulrich Drepper  <drepper@cygnus.com>
1451         * sysdeps/generic/glob.c: Make it possible to include glob.h
1452         before loading glob.c.
1453         Reported by Felix von Leitner <leitner@math.fu-berlin.de>.
1455 1998-06-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1457         * nscd/connections.c: Use poll() instead of select().
1459 1998-06-22 14:08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1461         * sysdeps/generic/Dist: Fix typo.
1463 1998-06-20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1465         * nis/nis_add.c: Avoid unnecessary strlen () calls.
1466         * nis/nis_addmember.c: Likewise.
1467         * nis/nis_call.c: Likewise.
1468         * nis/nis_creategroup.c: Likewise.
1469         * nis/nis_destroygroup.c: Likewise.
1470         * nis/nis_findserv.c: Likewise.
1471         * nis/nis_ismember.c: Likewise.
1472         * nis/nis_print.c: Likewise.
1473         * nis/nis_print_group_entry.c: Likewise.
1474         * nis/nis_removemember.c: Likewise.
1475         * nis/nis_verifygroup.c: Likewise.
1476         * nis/ypclnt.c: Likewise.
1478         * nis/nis_file.c: Close file handles.
1480         * nis/nis_callback.c: Fix typo.
1482 1998-06-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1484         * nis/Makefile: Add nis-initgroups and compat-initgroups.
1485         * nis/libnss_compat.map: Add _nss_compat_initgroups.
1486         * nis/libnss_nis.map: Add _nss_nis_initgroups.
1487         * nis/nss_compat/compat-initgroups.c: New, faster then getgrent().
1488         * nis/nss_nis/nis-initgroups.c: Likewise.
1489         * libc-work/nss/nsswitch.c: Rename nss_lookup_function to
1490         __nss_lookup_function and make it public.
1491         * grp/initgroups.c: Rewrite, to use initgroups function from NSS
1492         module if exists, else use old method.
1494 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1496         * nss/getXXbyYY_r.c (lookup_function): Correct return in type
1497         definition.
1498         * nss/getXXent_r.c (set_function, end_function, get_function):
1499         Likewise.  Reported by Thorsten Kukuk.
1501         * sysdeps/unix/sysv/linux/sigstack.c: Mark sigstack as dangerous.
1503 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1505         * sysdeps/unix/sysv/linux/sparc/Dist: Follow change from
1506         1998-06-16 and distribute kernel_termios.h.
1508         * nis/Makefile (distribute): Add nis_xdr.h.
1510 1998-06-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1512         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Disable for
1513         kernels that don't have sigaltstack.
1515 1998-06-19  Ulrich Drepper  <drepper@cygnus.com>
1517         * sysdeps/generic/bits/sem.h: Don't define union semun.
1519         * sysdeps/unix/sysv/linux/bits/sem.h: Fix typo.
1521         * sysdeps/unix/sysv/linux/bits/ipc.h: Remove ipc_kludge definition
1522         here.
1523         * sysdeps/unix/sysv/linux/msgrcv.c (msgrcv): Add ipc_kludge
1524         definition here.
1526 1998-06-18 21:45  Ulrich Drepper  <drepper@cygnus.com>
1528         * signal/signal.h: Add prototype for __sigaltstack.
1529         * sysdeps/unix/sysv/linux/syscalls.list: Add __sigaltstack name.
1530         Remove sigstack entry.
1531         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add sigstack here.
1532         * sysdeps/unix/sysv/linux/sigstack.c: New file.
1534         * sysdeps/i386/backtrace.c: Add casts.
1536 1998-06-18 19:49  Ulrich Drepper  <drepper@cygnus.com>
1538         * intl/dcgettext.c: use complete type name.
1539         * intl/hash-string.h: Likewise.
1541         * intl/localealias.c: Undo patch from 1998-04-29.
1542         * intl/l10nflist.c: Likewise.
1543         * intl/loadinfo.h: Likewise.
1545 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1547         * sysdeps/i386/elf/start.S (_start): Ensure correct alignment.
1549 1998-06-18 16:40  Ulrich Drepper  <drepper@cygnus.com>
1551         * libc.map: Add _dl_profile_map, _dl_profile_output, _dl_start_profile,
1552         _dl_mcount, _dl_mcount_wrapper.
1553         * elf/Makefile (routines): Add dl-profstub.
1554         * elf/dl-profstub.c: New file.
1555         * elf/dl-support.c: Don't define _dl_profile_map.
1556         * elf/rtld.c: Likewise.
1557         * elf/dlfcn.h: Define DL_CALL_FCT macro.
1558         * elf/ldsodefs.h: Declare _dl_profile_output, _dl_mcount_wrapper.
1559         Define _CALL_DL_FCT.
1560         * iconv/gconv.c: Use _CALL_DL_FCT to call function from dynamically
1561         loaded object.
1562         * iconv/gconv_db.c: Likewise.
1563         * iconv/skeleton.c: Likewise.
1564         * nss/getXXbyYY_r.c: Likewise.
1565         * nss/getXXent_r.c: Likewise.
1566         * nss/nsswitch.c: Likewise.
1568 1998-06-18 12:29  Ulrich Drepper  <drepper@cygnus.com>
1570         * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling.
1571         * sysdeps/libm-i387/e_scalbf.S: Likewise.
1572         * sysdeps/libm-i387/e_scalbl.S: Likewise.
1574 1998-06-18  Ulrich Drepper  <drepper@cygnus.com>
1576         * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate
1577         longestdbl.
1579 1998-06-18 10:26  Ulrich Drepper  <drepper@cygnus.com>
1581         * iconvdata/Makefile (modules): Add MACINTOSH.
1582         (MACINTOSH-routines): New variable.
1583         (distribute): Add macintosh.c.
1584         (awk-generated-headers): Add macintosh.h.
1585         Add rule for macintosh.h generation.
1586         * iconvdata/gconv-modules: Add definitions for MACINTOSH.
1587         * iconvdata/macintosh.c: New file.
1589 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1591         * stdlib/tst-strtod.c (long_dbl): Add test for loooong numbers.
1593         * stdlib/strtod.c (str_to_mpn): Fix extending of n array which
1594         only should happen for cy != 0.
1596         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sys/types.h before
1597         glob.h.
1599 1998-06-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1601         * sysdeps/generic/backtrace.c (INNER_THAN): New definition, use it
1602         to compare stack addresses.
1604 1998-06-17  Ulrich Drepper  <drepper@cygnus.com>
1606         * sysdeps/unix/sysv/linux/alpha/glob.c: Include glob.h before
1607         defining prototypes.
1609 1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>
1611         * sysdeps/sparc/sparc32/dl-machine.h
1612         (elf_machine_fixup_plt): During rtld bootstrap, always perform
1613         flushes as the kernel will emulate it when the underlying cpu does
1614         not implement flush.
1616         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
1617         * sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.
1619         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
1620         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
1621         trampoline code.
1623         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
1624         (__clone): Branch to label .Lerror not __clone_syscall_error.
1625         (.Lerror): Fixup EINVAL setting.
1626         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
1627         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
1628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
1629         (__syscall_getgroups, __syscall_setgroups): Add.
1631         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1632         (__sigaction): Member name is k_sa_handler.  Use memcpy to copy
1633         around sa_mask data.
1635 1998-06-16  Ulrich Drepper  <drepper@cygnus.com>
1637         * math/math.h: Include bits/nan.h when compiling for ISO C 9x.
1639         * string/Makefile: Make sure test-ffs does not use builtins.
1641 1998-06-16  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1643         * sunrpc/svc.c: Check for NULL pointer.
1645         * nis/libnsl.map: Add public NIS+ xdr functions.
1647         * nis/rpcsvc/nis_callback.h: New file.
1648         * nis/rpcsvc/nis.h: Move xdr_* functions from here ...
1649         * nis/nis_xdr.h: ... here.
1651         * nis/nis_add.c: Use internal _xdr_* functions, check for NULL
1652         pointers, use NIS+ defines where possible.
1653         * nis/nis_cache.c: Likewise.
1654         * nis/nis_cache2_xdr.c: Likewise.
1655         * nis/nis_call.c: Likewise.
1656         * nis/nis_checkpoint.c: Likewise.
1657         * nis/nis_clone_dir.c: Likewise.
1658         * nis/nis_clone_obj.c: Likewise.
1659         * nis/nis_clone_res.c: Likewise.
1660         * nis/nis_creategroup.c: Likewise.
1661         * nis/nis_file.c: Likewise.
1662         * nis/nis_free.c: Likewise.
1663         * nis/nis_getservlist.c: Likewise.
1664         * nis/nis_local_names.c: likewise.
1665         * nis/nis_lookup.c: Likewise.
1666         * nis/nis_mkdir.c: Likewise.
1667         * nis/nis_modify.c: Likewise.
1668         * nis/nis_ping.c: Likewise.
1669         * nis/nis_print.c: Likewise.
1670         * nis/nis_remove.c: Likewise.
1671         * nis/nis_removemember.c: Likewise.
1672         * nis/nis_rmdir.c: Likewise.
1673         * nis/nis_server.c: Likewise.
1674         * nis/nis_table.c: Likewise.
1675         * nis/nis_util.c: Likewise.
1676         * nis/nis_verifygroup.c: Likewise.
1677         * nis/nis_xdr.c: Likewise.
1678         * nis/nis_callback.c: Likewise, and move xdr functions from here ...
1679         * nis/nis_xdr.c: ... to here.
1681 1998-06-15 18:07  Ulrich Drepper  <drepper@cygnus.com>
1683         * iconvdata/ksc5601.h: Clean up a bit.
1685 1998-06-15 14:35  Ulrich Drepper  <drepper@cygnus.com>
1687         * sunrpc/svc_tcp.c (readtcp): Also listen to all the other connections
1688         and process incoming data.
1689         * sunrpc/xdr_rec.c (set_input_fragment): Only recognize zero length
1690         fragments as invalid.
1691         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
1693 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1695         Removal of duplicates like "the the".
1696         * manual/time.texi (TZ Variable): Likewise.
1697         * manual/users.texi (Manipulating the Database): Likewise.
1698         * manual/sysinfo.texi (Filesystem handling): Likewise.
1699         * manual/signal.texi (Signaling Yourself): Likewise.
1700         * manual/message.texi (Message Translation): Likewise.
1701         (Common Usage): Likewise.
1702         * manual/llio.texi: Likewise.
1703         * manual/arith.texi (Old-style number conversion): Likewise.
1704         * manual/argp.texi (Argp): Likewise.
1705         (Argp Parsers): Likewise.
1706         (Argp Help Filtering): Likewise.
1708         * hesiod/README.hesiod: Correct typo.
1710         * manual/llio.texi: Correct typos.
1711         * manual/sysinfo.texi: Likewise.
1713 1998-06-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1715         * rt/aio.h: Rename __op to __operation for g++.
1717 1998-06-13 20:17 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1719         * iconvdata/gen-8bit-gap.sh: Use awk not perl.  Clean up sed
1720         script.
1721         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1722         * iconvdata/gen-8bit.sh: Clean up sed script.
1724         * iconvdata/Makefile: Remove all PERL conditionals; build all
1725         the modules all the time.  Export AWK.
1726         (gen-8bit-gap): Delete setting of PERL.
1727         (gen-8bit-gap-1): Likewise.
1728         (perl-generated-headers): Renamed awk-generated-headers.
1730         * iconvdata/gap.pl: Removed.
1731         * iconvdata/gaptab.pl: Removed.
1732         * iconvdata/gap.awk: New file.
1733         * iconvdata/gaptab.awk: New file.
1735 1998-06-15  Ulrich Drepper  <drepper@cygnus.com>
1737         * sysdeps/generic/Dist: Add errno-loc.c.
1739         * sysdeps/unix/sysv/linux/alpha/glob.c: Add prototypes for the
1740         __new_* functions.
1742 1998-06-14 14:21 -0400  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1744         * stdio-common/bug12.c: New test for fread()/fseek().
1745         * stdio-common/Makefile (tests): Add bug12.
1747 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1749         * sysdeps/generic/elf/backtracesyms.c: Make array elements
1750         constant.
1751         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1752         * debug/execinfo.h: Update declaration.
1754 1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1756         * sysdeps/generic/elf/backtracesyms.c: Make array elements constant.
1757         * sysdeps/generic/backtracesyms.c: Likewise.  Fix type of RESULT.
1758         * debug/execinfo.h: Update declaration.
1760 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1762         * manual/llio.texi: Fix spelling.
1763         * manual/sysinfo.texi: Fix spelling.
1765 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1767         * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak
1768         alias for old name.  Put this on __libc_subfreeres.
1769         * misc/search.h: Declare it.
1771 1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1773         * string/bits/string2.h (strcmp): Add missing parens around macro
1774         parameters.
1776 1998-06-12 23:34  Ulrich Drepper  <drepper@cygnus.com>
1778         * manual/arith.texi: Fix problem with @math and texinfo.tex.
1780         * manual/filesys.texi: Document LFS functions.
1781         * manual/llio.texi: Likewise.
1782         * manual/stdio.texi: Likewise.
1783         * manual/time.texi: Likewise.
1785         * manual/llio.texi: Document AIO functions.
1787         * resource/sys/resource.h: Mark second argument of setrlimit as const.
1788         * sysdeps/generic/setrlimit.c: Likewise.
1789         * sysdeps/generic/setrlimit64.c: Likewise.
1790         * sysdeps/mach/hurd/setrlimit.c: Likewise.
1791         * sysdeps/unix/sysv/setrlimit.c: Likewise.
1793 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1795         * sysdeps/generic/getenv.c: Fix last change.
1797 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1799         * sysdeps/generic/backtrace.c: Provide generic implementation.
1801 1998-06-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1803         * configure.in: Give visual feedback of the default directories we
1804         added.
1806 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1808         * io/fts.c (fts_build): Define oflag only if needed.
1810 1998-06-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1812         * sysdeps/libm-ieee754/w_exp10.c: Add missing close comment.
1814 1998-06-11  Ulrich Drepper  <drepper@cygnus.com>
1816         * libc.map: Don't export argp's fmtstream handling functions.
1818         * manual/sysinfo.texi: Document fstab and mtab handling functions.
1819         * manual/llio.texi: Document more LFS functions and start documenting
1820         the AIO functions.
1822 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1824         * sysdeps/unix/sysv/linux/pread.c: Detect missing syscall, like poll().
1825         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1826         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1827         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1829 1998-06-03 03:09  Geoff Keating  <geoffk@ozemail.com.au>
1831         * sysdeps/powerpc/Makefile: Use -G0 on the startup file; this
1832         makes it easier to undump emacs.
1833         * sysdeps/powerpc/bits/endian.h: Use more informative error message
1834         for when the endianness can't be determined.
1836 1998-06-04 13:19  Geoff Keating  <geoffk@ozemail.com.au>
1838         * nss/Makefile: Add files publickey database support.
1839         * nss/libnss_files.map: Export the required functions.
1840         * nss/nss_files/files-key.c: Implement it.
1841         * sunrpc/rpc/auth_des.h: Correct typos in comments.
1843 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1845         * iconv/gconv_builtin.h: Add aliases for CORBA.
1846         * iconvdata/gconv-modules: Likewise.
1848 1998-06-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1850         * math/libm-test.c (main): Call exp10_test.
1851         (exp10_test): New function which tests exp10.
1853 1998-06-10  Ulrich Drepper  <drepper@cygnus.com>
1855         * sysdeps/unix/sysv/linux/syscalls.list: Add sigaltstack and
1856         sigstack.
1858         * sysdeps/unix/sysv/linux/bits/sigstack.h: Add definitions of
1859         SS_ONSTACK, SS_DISABLE, MINSIGSTKSZ and SIGSTKSZ.
1860         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h: New file.
1862 1998-06-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1864         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address
1865         in the variable, not its GOT slot.
1867 1998-06-10 10:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1869         * sysdeps/m68k/fpu/bits/mathinline.h: Define __ieee754_exp10 as
1870         inline.
1871         * sysdeps/m68k/fpu/e_exp10.c: New file.
1872         * sysdeps/m68k/fpu/e_exp10f.c: New file.
1873         * sysdeps/m68k/fpu/e_exp10l.c: New file.
1875         * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
1876         _dl_profile_map only if the name matches.
1877         (_dl_start_user): Remember stack address.
1878         * sysdeps/m68k/elf/start.S: Pass new argument to
1879         __libc_start_user.
1881         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
1882         definition.
1883         (PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
1884         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1885         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
1886         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1887         * sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1889 1998-06-09 18:16  Ulrich Drepper  <drepper@cygnus.com>
1891         * math/Makefile (libm-calls): Add w_exp10 and e_exp10.
1892         * math/libm.map: Add exp10{,f,l} and pow10{,f,l}.
1893         * math/math_private.h: Add prototypes for __ieee754_exp10{,f,l}.
1894         * math/bits/mathcalls.h: Add definitions for exp10 and pow10
1895         prototypes.
1896         * sysdeps/libm-i387/e_exp10.S: New file.
1897         * sysdeps/libm-i387/e_exp10f.S: New file.
1898         * sysdeps/libm-i387/e_exp10l.S: New file.
1899         * sysdeps/libm-ieee754/e_exp10.c: New file.
1900         * sysdeps/libm-ieee754/e_exp10f.c: New file.
1901         * sysdeps/libm-ieee754/e_exp10l.c: New file.
1902         * sysdeps/libm-ieee754/w_exp10.c: New file.
1903         * sysdeps/libm-ieee754/w_exp10f.c: New file.
1904         * sysdeps/libm-ieee754/w_exp10l.c: New file.
1905         * sysdeps/libm-ieee754/k_standard.c: Add exception code for exp10.
1907 1998-05-25 22:18  H.J. Lu  <hjl@gnu.org>
1909         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers): Add
1910         sys/elf.h and sys/reg.h.
1911         * sysdeps/unix/sysv/linux/i386/sys/elf.h: New file.
1912         * sysdeps/unix/sysv/linux/i386/sys/reg.h: New file.
1913         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: New file.
1914         * sysdeps/unix/sysv/linux/i386/sys/user.h: New file.
1916         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETREGS,
1917         PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS): Added.
1919 1998-06-09  Ulrich Drepper  <drepper@cygnus.com>
1921         * sysdeps/unix/sysv/linux/netinet/ip.h (struct ip_options): Define
1922         __data member only for gcc.  Reported by ak@muc.de.
1924         * misc/mntent.h: Undo last patch.
1925         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Undo last patch.
1926         * misc/tst/mntent.c: Adjust code for this change.
1928         * io/fts.c: Updated from a slightly more recent BSD version.
1929         * io/fts.h: Likewise.
1931         * libc.map: Add __libc_stack_end.
1933         * db2/Makefile (routines): Add lock_region.
1934         * db2/config.h: Update from db-2.4.14.
1935         * db2/db.h: Likewise.
1936         * db2/db_185.h: Likewise.
1937         * db2/db_int.h: Likewise.
1938         * db2/btree/bt_close.c: Likewise.
1939         * db2/btree/bt_compare.c: Likewise.
1940         * db2/btree/bt_conv.c: Likewise.
1941         * db2/btree/bt_cursor.c: Likewise.
1942         * db2/btree/bt_delete.c: Likewise.
1943         * db2/btree/bt_open.c: Likewise.
1944         * db2/btree/bt_page.c: Likewise.
1945         * db2/btree/bt_put.c: Likewise.
1946         * db2/btree/bt_rec.c: Likewise.
1947         * db2/btree/bt_recno.c: Likewise.
1948         * db2/btree/bt_rsearch.c: Likewise.
1949         * db2/btree/bt_search.c: Likewise.
1950         * db2/btree/bt_split.c: Likewise.
1951         * db2/btree/bt_stat.c: Likewise.
1952         * db2/btree/btree.src: Likewise.
1953         * db2/btree/btree_auto.c: Likewise.
1954         * db2/clib/getlong.c: Likewise.
1955         * db2/common/db_appinit.c: Likewise.
1956         * db2/common/db_apprec.c: Likewise.
1957         * db2/common/db_byteorder.c: Likewise.
1958         * db2/common/db_err.c: Likewise.
1959         * db2/common/db_log2.c: Likewise.
1960         * db2/common/db_region.c: Likewise.
1961         * db2/common/db_salloc.c: Likewise.
1962         * db2/common/db_shash.c: Likewise.
1963         * db2/db/db.c: Likewise.
1964         * db2/db/db.src: Likewise.
1965         * db2/db/db_auto.c: Likewise.
1966         * db2/db/db_conv.c: Likewise.
1967         * db2/db/db_dispatch.c: Likewise.
1968         * db2/db/db_dup.c: Likewise.
1969         * db2/db/db_overflow.c: Likewise.
1970         * db2/db/db_pr.c: Likewise.
1971         * db2/db/db_rec.c: Likewise.
1972         * db2/db/db_ret.c: Likewise.
1973         * db2/db/db_thread.c: Likewise.
1974         * db2/db185/db185.c: Likewise.
1975         * db2/db185/db185_int.h: Likewise.
1976         * db2/dbm/dbm.c: Likewise.
1977         * db2/hash/hash.c: Likewise.
1978         * db2/hash/hash.src: Likewise.
1979         * db2/hash/hash_auto.c: Likewise.
1980         * db2/hash/hash_conv.c: Likewise.
1981         * db2/hash/hash_debug.c: Likewise.
1982         * db2/hash/hash_dup.c: Likewise.
1983         * db2/hash/hash_func.c: Likewise.
1984         * db2/hash/hash_page.c: Likewise.
1985         * db2/hash/hash_rec.c: Likewise.
1986         * db2/hash/hash_stat.c: Likewise.
1987         * db2/include/btree.h: Likewise.
1988         * db2/include/btree_ext.h: Likewise.
1989         * db2/include/clib_ext.h: Likewise.
1990         * db2/include/common_ext.h: Likewise.
1991         * db2/include/cxx_int.h: Likewise.
1992         * db2/include/db.h.src: Likewise.
1993         * db2/include/db_185.h.src: Likewise.
1994         * db2/include/db_am.h: Likewise.
1995         * db2/include/db_auto.h: Likewise.
1996         * db2/include/db_cxx.h: Likewise.
1997         * db2/include/db_dispatch.h: Likewise.
1998         * db2/include/db_ext.h: Likewise.
1999         * db2/include/db_int.h.src: Likewise.
2000         * db2/include/db_page.h: Likewise.
2001         * db2/include/db_shash.h: Likewise.
2002         * db2/include/db_swap.h: Likewise.
2003         * db2/include/hash.h: Likewise.
2004         * db2/include/hash_ext.h: Likewise.
2005         * db2/include/lock.h: Likewise.
2006         * db2/include/lock_ext.h: Likewise.
2007         * db2/include/log.h: Likewise.
2008         * db2/include/log_ext.h: Likewise.
2009         * db2/include/mp.h: Likewise.
2010         * db2/include/mp_ext.h: Likewise.
2011         * db2/include/mutex_ext.h: Likewise.
2012         * db2/include/os_ext.h: Likewise.
2013         * db2/include/os_func.h: Likewise.
2014         * db2/include/queue.h: Likewise.
2015         * db2/include/shqueue.h: Likewise.
2016         * db2/include/txn.h: Likewise.
2017         * db2/lock/lock.c: Likewise.
2018         * db2/lock/lock_conflict.c: Likewise.
2019         * db2/lock/lock_deadlock.c: Likewise.
2020         * db2/lock/lock_region.c: Likewise.
2021         * db2/lock/lock_util.c: Likewise.
2022         * db2/log/log.c: Likewise.
2023         * db2/log/log.src: Likewise.
2024         * db2/log/log_archive.c: Likewise.
2025         * db2/log/log_auto.c: Likewise.
2026         * db2/log/log_compare.c: Likewise.
2027         * db2/log/log_findckp.c: Likewise.
2028         * db2/log/log_get.c: Likewise.
2029         * db2/log/log_put.c: Likewise.
2030         * db2/log/log_rec.c: Likewise.
2031         * db2/log/log_register.c: Likewise.
2032         * db2/mp/mp_bh.c: Likewise.
2033         * db2/mp/mp_fget.c: Likewise.
2034         * db2/mp/mp_fopen.c: Likewise.
2035         * db2/mp/mp_fput.c: Likewise.
2036         * db2/mp/mp_fset.c: Likewise.
2037         * db2/mp/mp_open.c: Likewise.
2038         * db2/mp/mp_pr.c: Likewise.
2039         * db2/mp/mp_region.c: Likewise.
2040         * db2/mp/mp_sync.c: Likewise.
2041         * db2/mutex/68020.gcc: Likewise.
2042         * db2/mutex/mutex.c: Likewise.
2043         * db2/mutex/parisc.gcc: Likewise.
2044         * db2/mutex/parisc.hp: Likewise.
2045         * db2/mutex/sco.cc: Likewise.
2046         * db2/os/os_abs.c: Likewise.
2047         * db2/os/os_alloc.c: Likewise.
2048         * db2/os/os_config.c: Likewise.
2049         * db2/os/os_dir.c: Likewise.
2050         * db2/os/os_fid.c: Likewise.
2051         * db2/os/os_fsync.c: Likewise.
2052         * db2/os/os_map.c: Likewise.
2053         * db2/os/os_oflags.c: Likewise.
2054         * db2/os/os_open.c: Likewise.
2055         * db2/os/os_rpath.c: Likewise.
2056         * db2/os/os_rw.c: Likewise.
2057         * db2/os/os_seek.c: Likewise.
2058         * db2/os/os_sleep.c: Likewise.
2059         * db2/os/os_spin.c: Likewise.
2060         * db2/os/os_stat.c: Likewise.
2061         * db2/os/os_unlink.c: Likewise.
2062         * db2/progs/db_archive/db_archive.c: Likewise.
2063         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
2064         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
2065         * db2/progs/db_dump/db_dump.c: Likewise.
2066         * db2/progs/db_dump185/db_dump185.c: Likewise.
2067         * db2/progs/db_load/db_load.c: Likewise.
2068         * db2/progs/db_printlog/db_printlog.c: Likewise.
2069         * db2/progs/db_recover/db_recover.c: Likewise.
2070         * db2/progs/db_stat/db_stat.c: Likewise.
2071         * db2/txn/txn.c: Likewise.
2072         * db2/txn/txn.src: Likewise.
2073         * db2/txn/txn_auto.c: Likewise.
2074         * db2/txn/txn_rec.c: Likewise.
2076         * elf/rtld.c: Move definition of __libc_stack_end to ...
2077         * sysdeps/generic/dl-sysdep.h: ...here.
2079         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle nodiratime option.
2080         * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_NODIRATIME.
2081         * sysdeps/unix/sysv/linux/sys/mount.h: Define MS_NODIRATIME.
2083         * sysdeps/generic/libc-start.c: Always set __libc_stack_end.
2084         * sysdeps/i386/backtrace.c: Test whether frame pointer is legal
2085         before following it.
2087 1998-06-08 21:44  Ulrich Drepper  <drepper@cygnus.com>
2089         * sysdeps/unix/sysv/linux/fstatvfs.c: Handle constant option string
2090         from mntent correctly.
2092 1998-06-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2094         * sunrpc/Makefile (generated): Correct typo.
2096 1998-06-04  Philip Blundell  <philb@gnu.org>
2098         * elf/elf.h (EM_ARM, et al.): New definitions.
2099         * sysdeps/arm/dl-machine.h: Update for new draft ARM ELF ABI.
2101 1998-06-08 21:33  Ulrich Drepper  <drepper@cygnus.com>
2103         * localedata/SUPPORTED: Add sk_SK.
2104         * localedata/locales/sk_SK: New file.
2106 1998-06-08 18:57  Ulrich Drepper  <drepper@cygnus.com>
2108         * Makeconfig (subdirs): Add debug.
2109         * configure.in: Use sysdeps/generic/elf subdir if ELF platform.
2110         * libc.map: Add __backtrace, __backtrace_symbols, backtrace and
2111         backtrace_symbols.
2112         * sysdeps/generic/backtrace.c: New file.
2113         * sysdeps/generic/backtracesyms.c: New file.
2114         * sysdeps/generic/elf/backtracesyms.c: New file.
2115         * sysdeps/i386/backtrace.c: New file.
2116         * debug/Makefile: New file.
2117         * debug/backtrace-tst.c: New file.
2118         * debug/execinfo.h: New file.
2120 1998-06-08 13:34  Ulrich Drepper  <drepper@cygnus.com>
2122         * elf/sprof.c: Implement call graph profiling.
2124         * sysdeps/generic/getenv.c: Optimize to use strncmp less often.
2126 1998-06-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2128         * pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
2129         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2130         * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2131         Noticed by Jake Garver <garver@valkyrie.net>.
2133 1998-06-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2135         * libio/genops.c (__underflow): Read character from read pointer
2136         as unsigned.
2137         (__uflow): Likewise.
2139 1998-06-07 13:32  Ulrich Drepper  <drepper@cygnus.com>
2141         * libc.map: Add _dl_profile.
2142         * elf/dl-reloc.c (_dl_relocate_object): Take extra argument, pass
2143         this to ELF_DYNAMIC_RELOCATE.
2144         Always allocate array for relocation result if LD_PROFILE is defined.
2145         * elf/ldsodefs.h: Adjust prototypes.
2146         * elf/dl-open.c (_dl_open): Call relocation function with extra
2147         argument.
2148         * elf/rtld.c: Likewise.
2149         * elf/dl-profile.c (_dl_mcount): Don't mark as internal function.
2150         Correct loop condition.
2151         * elf/dynamic-link.h: Don't examine _dl_profile variable, pass
2152         consider_profile to runtime setup function.
2153         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Use
2154         _dl_runtime_profile for all shared objects if LD_PROFILE is defined.
2156         * elf/dl-support.c: Define __libc_stack_end.
2157         * elf/rtld.c: Likewise.
2158         * sysdeps/generic/libc-start.c: Store last stack address in
2159         __libc_stack_end.
2160         * sysdeps/i386/dl-machine.h (_dl_start_user): Store stack address.
2161         * sysdeps/i386/elf/start.s: Call __libc_start_main with extra argument.
2163         * elf/elf.h: Include <features.h>, not <sys/cdefs.h>.
2164         Include <stdint.h>, not <inttypes.h>.
2166         * elf/sprof.c: Implement flat profiling.
2168         * libio/fgetc.c: Call _IO_cleanup_region_end with 0 and call
2169         _IO_funlockfile explicitly.
2170         * libio/fileops.c: Likewise.
2171         * libio/fputc.c: Likewise.
2172         * libio/freopen.c: Likewise.
2173         * libio/freopen64.c: Likewise.
2174         * libio/fseek.c: Likewise.
2175         * libio/fseeko.c: Likewise.
2176         * libio/fseeko64.c: Likewise.
2177         * libio/ftello.c: Likewise.
2178         * libio/ftello64.c: Likewise.
2179         * libio/getc.c: Likewise.
2180         * libio/getchar.c: Likewise.
2181         * libio/iofclose.c: Likewise.
2182         * libio/iofflush.c: Likewise.
2183         * libio/iofgetpos.c: Likewise.
2184         * libio/iofgetpos64.c: Likewise.
2185         * libio/iofgets.c: Likewise.
2186         * libio/iofputs.c: Likewise.
2187         * libio/iofread.c: Likewise.
2188         * libio/iofsetpos.c: Likewise.
2189         * libio/iofsetpos64.c: Likewise.
2190         * libio/ioftell.c: Likewise.
2191         * libio/iofwrite.c: Likewise.
2192         * libio/iogetdelim.c: Likewise.
2193         * libio/iogets.c: Likewise.
2194         * libio/ioputs.c: Likewise.
2195         * libio/ioseekoff.c: Likewise.
2196         * libio/ioseekpos.c: Likewise.
2197         * libio/iosetbuffer.c: Likewise.
2198         * libio/iosetvbuf.c: Likewise.
2199         * libio/ioungetc.c: Likewise.
2200         * libio/iovsprintf.c: Likewise.
2201         * libio/iovsscanf.c: Likewise.
2202         * libio/oldfileops.c: Likewise.
2203         * libio/oldiofclose.c: Likewise.
2204         * libio/peekc.c: Likewise.
2205         * libio/putc.c: Likewise.
2206         * libio/putchar.c: Likewise.
2207         * libio/rewind.c: Likewise.
2209         * malloc/mtrace.c: Pretty print.
2211         * misc/mntent.h (struct mentent): Make string elements const char *.
2213         * nis/nis_printf.c: Optimize I/O a little bit.
2215         * signal/Makefile (distribute): Add sigset-cvt-mask.h.
2216         * sysdeps/generic/sigset-cvt-mask.h: New file.
2217         * sysdeps/unix/sysv/linux/sigset-cvt-mask.h: New file.
2218         * sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: New file.
2219         * sysdeps/posix/sigvec.c: Rewrite the use definitions from
2220         sigset-cvt-mask.h to do the dirty work.
2221         Patches by Joe Keane.
2223         * sysdeps/posix/mkstemp.c: Save one precious byte of rodata.
2225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Rewrite PSEUDO etc to make
2226         syscall_error label in case of PIC anonymous.
2227         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: Likewise.
2228         * sysdeps/unix/sysv/linux/i386/clone.S: Adapt for this change.
2229         * sysdeps/unix/sysv/linux/i386/mmap.S: Adapt for this change.
2230         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Adapt for this change.
2231         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Adapt for this change.
2232         * sysdeps/unix/sysv/linux/i386/socket.S: Adapt for this change.
2233         * sysdeps/unix/sysv/linux/i386/syscall.S: Adapt for this change.
2235 1998-06-05  Ulrich Drepper  <drepper@cygnus.com>
2237         * sunrpc/xdr_rec.c (xdrrec_create): Add cast for *_ops array since
2238         we cannot declare the struct element as const.
2239         * sunrpc/xdr_mem.c (xdrmem_create): Likewise.
2240         * sunrpc/xdr_stdio.c (xdrstdio_create): Likewise.
2242 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2244         * manual/Makefile: Include ../Makeconfig earlier.
2245         (MAKEINFO, TEXI2DVI): Use defaults if ../Makeconfig does not
2246         exist.
2247         (dir-add.texinfo): Remove useless $(SHELL).
2249 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2251         * Makefile (others): Build programs from install-bin.
2252         * configure.in: Modify config.make only if is was just created and
2253         move that command to second argument of AC_OUTPUT.  Add command to
2254         set config_vars in config.status.
2256 1998-06-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2258         * malloc/Makefile (address-width): Fix conditional.
2260 1998-06-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2262         * libc.map: Add fattach, fdetach, getmsg, getpmsg, makecontext,
2263         putmsg, putpmsg, scalbln, scalblnf, scalblnl, strtoimax,
2264         strtoumax, swapcontext, waitid, wcsnlen, wcstoimax, wcstoumax with
2265         version GLIBC_2.1.
2267 1998-06-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2269         * manual/lang.texi (Range of Type): Change @end table->@end vtable.
2270         (Floating Point Parameters): Likewise.
2272 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2274         * hurd/Makefile (routines): Add cthreads.
2276 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2278         * login/login.c (login): Let pututline take care of finding the
2279         positin to insert the UTMP entry.  This corrects a bug where ssh
2280         was not reusing UTMP entries marked as DEAD_PROCESS.
2281         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
2283 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2285         * login/Makefile (tests): New variable, add tst-utmp and
2286         tst-utmpx.
2287         * login/tst-utmp.c: New file.
2288         * login/tst-utmpx.c: New file.
2290 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2292         * sysdeps/mach/hurd/errlist.c (sys_nerr, _sys_nerr): Make weak
2293         aliases for _hurd_nerr, for programs that don't use sys_errlist,
2294         but need sys_err.
2296 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2298         * sysdeps/generic/updwtmpx.c: Rename function to updwtmpx.
2299         * libc.map: Add updwtmpx and utmpxname to GLIBC_2.1.
2301 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2303         * sysdeps/mach/hurd/read.c: Rename function to __libc_read and
2304         make __read a weak alias.  Use ANSI-style function definition.
2305         * sysdeps/mach/hurd/write.c: Likewise.
2307 1998-05-31  Mark Kettenis  <kettenis@phys.uva.nl>
2309         * sysdeps/mach/hurd/err_hurd.sub: Use _hurd_errlist instead of
2310         _sys_errlist.
2312 1998-05-30  Mark Kettenis  <kettenis@phys.uva.nl>
2314         * sysdeps/mach/hurd/Makefile ($(objpfx)librtld.os):
2315         Renamed from librtld.so.
2317 1998-06-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2319         * libc.map: Remove _IO_getline_info which was erroneously
2320         introduced in section GLIBC_2.0.
2321         Noticed by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2323 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2325         * sysdeps/generic/socket.c (__socket): Renamed from socket, and
2326         created a weak alias.
2327         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2329 1998-05-31  Gordon Matzigkeit  <gord@profitpress.com>
2331         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Rename from old
2332         ftruncate function, and create a weak alias to ftruncate.
2334 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2336         * grp/fgetgrent_r.c: Use &errno instead of __errno_location ().
2337         * inet/getnetgrent_r.c: Likewise.
2338         * nss/getXXbyYY_r.c: Likewise.
2339         * nss/getXXent_r.c: Likewise.
2340         * pwd/fgetpwent_r.c: Likewise.
2341         * shadow/sgetspent_r.c: Likewise.
2342         * shadow/fgetspent_r.c: Likewise.
2343         * sunrpc/publickey.c: Likewise.
2345 1998-06-01  Gordon Matzigkeit  <gord@profitpress.com>
2347         * hurd/libhurduser.map: New file.
2348         * mach/libmachuser.map: Likewise.
2350         * libc.map: Add Hurd-specific functions to version 2.1.
2351         Add __flshfp and __fillbf.
2353 1998-05-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2355         * manual/signal.texi (Basic Signal Handling): Fix typo.
2356         * manual/errno.texi (Error Codes): Likewise.
2358 1998-06-02  Ulrich Drepper  <drepper@cygnus.com>
2360         * sysdeps/unix/sysv/linux/netipx/ipx.h: Include <bits/sockaddr.h>
2361         instead of <sys/socket.h>.
2362         Patch by NIIBE Yutaka <gniibe@mri.co.jp>
2364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c (DL_FIND_ARG_COMPONENTS):
2365         Finally make it working.
2366         Patch by Mark Hatle <fray@kernel.crashing.org>.
2368 1998-03-22  Paul Eggert  <eggert@twinsun.com>
2370         * posix/regex.c: Include <wchar.h> before <wctype.h>, to work around
2371         a Solaris 2.6 bug.
2373 1998-05-30  Philip Blundell  <Philip.Blundell@pobox.com>
2375         * stdlib/gmp-impl.h: Support strange mixed-endian double format
2376         used by ARM systems.
2377         * sysdeps/arm/fpu/bits/fenv.h (FE_EXCEPTION_SHIFT): Rename to
2378         FE_EXCEPT_SHIFT.
2379         * sysdeps/arm/bits/fenv.h: Deleted.
2380         * sysdeps/arm/fpu/ieee754.h: New file.
2381         * sysdeps/arm/gmp-mparam.h: New file.
2382         * stdlib/longlong.h (umul_ppmm): Temporarily disable broken ARM
2383         implementation.
2385 1998-06-01  Ulrich Drepper  <drepper@cygnus.com>
2387         * sunrpc/rpc/xdr.h (struct XDR): Don't mark xdr_ops element as const.
2389         * sysdeps/i386/fpu/bits/mathinline.h: Use ((__unused__)) instead
2390         of ((unused)).  Reported by Bruno Haible.
2392 1998-05-31  Philip Blundell  <philb@gnu.org>
2394         * sysdeps/unix/sysv/linux/arm/sysdep.S: Use C_SYMBOL_NAME when
2395         referring to errno and _errno.
2397         * sysdeps/arm/fpu/feholdexcpt.c: New file.
2399         * sysdeps/i386/fpu_control.h: Fix typo.
2401         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Remove floating-point support.
2402         (_JMPBUF_UNWINDS): Added.
2403         * sysdeps/arm/fpu/bits/setjmp.h: New file.
2405 1998-05-25  Gordon Matzigkeit  <gord@profitpress.com>
2407         * sysdeps/mach/hurd/Makefile: Use the `before-compile' target in
2408         order to build header files, not `generated'.
2410         * Rules (before-compile): New target which depends on all
2411         $(before-compile) files.
2413 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2415         * nis/nis_call.c: Make directory search faster.
2417         * nis/nis_callback.c: Insert public key of user in callback data.
2419         * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
2421         * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
2423         * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
2425         * nis/nis_intern.h: Remove duplicated prototype.
2427 1998-06-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2429         * sunrpc/auth_des.c: Move prototypes from here ...
2430         * sunrpc/rpc/auth.h: ... to here.
2432         * sunrpc/clnt_tcp.c: Add more control flags.
2433         * sunrpc/clnt_udp.c: Likewise.
2435         * sunrpc/netname.c (host2netname): Remove prefixing dot from
2436         domainname.
2438         * sunrpc/rpc/clnt.h: Document, which control flags are not
2439         implementable.
2441         * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
2443 1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
2445         * locale/loadlocale.c (_nl_load_locale): Don't allow too small
2446         files crash the program.
2448         * io/Makefile: Don't run ftwtest-sh if cross-compiling.
2449         * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
2450         Reported by Deborah Wallach <kerr@pa.dec.com>.
2452 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2454         * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
2455         on whether this is a stable release or not (keeps snapshot bug
2456         reports out of the database).
2458         * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
2459         * sysdeps/arm/sysdep.h: Likewise.
2460         * sysdeps/i386/sysdep.h: Likewise.
2461         * sysdeps/m68k/sysdep.h: Likewise.
2462         * sysdeps/mach/mips/sysdep.h: Likewise.
2463         * sysdeps/mach/sys/reboot.h: Likewise.
2464         * sysdeps/mach/sysdep.h: Likewise.
2465         * sysdeps/unix/alpha/sysdep.h: Likewise.
2466         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
2467         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
2468         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
2469         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
2470         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
2471         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
2472         * sysdeps/unix/i386/sysdep.h: Likewise.
2473         * sysdeps/unix/mips/sysdep.h: Likewise.
2474         * sysdeps/unix/sparc/sysdep.h: Likewise.
2475         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
2476         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2478         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2479         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
2480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2481         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2482         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
2484 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2486         * mach/Machrules: Use $(move-if-change).
2488 1998-05-27  Mark Kettenis  <kettenis@phys.uva.nl>
2490         * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
2491         * Makerules (lib%.so): Depend on $(+interp).
2492         (libc.so): Add interp.os to list of dependencies.
2493         (interp-obj): Remove variable.
2494         * mach/Machrules (+interp): Define to empty since libhurduser and
2495         libmachuser don't need to have the interpreter set.
2497 1998-05-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2499         * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
2501         * resolv/gethnamaddr.c: Likewise.
2503         * resolv/res_comp.c: Likewise.
2505 1998-05-28  Mark Kettenis  <kettenis@phys.uva.nl>
2507         * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
2508         so that transparent union works.
2510 1998-05-29 08:58  Ulrich Drepper  <drepper@cygnus.com>
2512         * manual/texinfo.tex: Update to last available version.
2514         * timezone/africa: Update from tzdata1998e.
2515         * timezone/antarctica: Likewise.
2516         * timezone/asia: Likewise.
2517         * timezone/australasia: Likewise.
2518         * timezone/europe: Likewise.
2519         * timezone/iso3166.tab: Likewise.
2520         * timezone/northamerica: Likewise.
2521         * timezone/tzselect.ksh: Likewise.
2522         * timezone/zone.tab: Likewise.
2524 1998-05-27  Ulrich Drepper  <drepper@cygnus.com>
2526         * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
2527         Reported by Matt McLean <keys@brio.yikes.com>.
2529 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2531         * catgets/Makefile ($(objpfx)de.cat): Renamed from
2532         do-gencat-test.  Use automatic variables.
2533         ($(objpfx)de.msg): Fix reference to po file.
2535 1998-05-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2537         * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
2538         $(move-if-change).
2540 1998-05-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2542         * intl/dcgettext.c: Fix typo.
2544 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2546         * configure.in: Allow more make versions e.g 3.76.90.
2548 1998-05-25  Ulrich Drepper  <drepper@cygnus.com>
2550         * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
2552         * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
2553         for Hurd.  Patch by Mark Kettenis.
2555 1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>
2557          * mach/Machrules (+preinit, +postinit): Define these variables to
2558          empty because libhurduser and libmachuser don't need startup
2559          files.
2561 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
2563          * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
2564          instead of a raw bitmask.
2566 1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2568         * Makeconfig (rpath-dirs): New variable.
2569         (rpath-link): Use it.
2570         (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
2571         (db-objpfx): Removed.
2572         * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
2573         * md5-crypt/Makefile: Likewise.
2574         * sysdeps/mach/hurd/Makefile: Likewise.
2576         * Makeconfig (move-if-change): New variable.
2577         * iconvdata/Makefile (move-if-change): Removed.
2578         * manual/Makefile (move-if-change): Set only if undefined, use
2579         local script by default.
2580         * sunrpc/Makefile (move-if-change): Removed.
2581         * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2582         $(move-if-change).
2584          * elf/Makefile: Remove all references to obsolete file
2585          $(objpfx)rtldtbl.h.
2586          ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.
2588 1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2590         * elf/dl-close.c (_dl_close): Add debugging message.
2592 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2594         * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
2595         to get Linux version and not gcc version.
2596         Reported by Alan Curry <pacman@cqc.com>.
2598 1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2600         * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
2601         pointers - return unknown error message instead.
2602         Reported by Alan Curry <pacman@cqc.com>.
2604 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2606         * iconvdata/Makefile (modules, sed-generated-headers,
2607         perl-generated-headers): ibm424.h is perl generated.  Make
2608         necessary modifications to compile without perl.
2610 1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>
2612         * hesiod/hesiod.c (read_config_file): Fix typo.
2614 1998-05-24  Ulrich Drepper  <drepper@cygnus.com>
2616         * version.h: Bump VERSION.
2618         * csu/Makefile (distribute): Add munch-tmpl.c.
2620 1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2622         * nis/nis_defaults.c: Fix buffer problems and typos.
2624 1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>
2626         * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
2627         Patch by Fred Fish.
2629 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2631         * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
2632         overwriting bugs.
2634         * libio/strops.c (_IO_str_underflow): Read newly available
2635         character from buffer as unsigned.
2637 1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>
2639         * catgets/Makefile (distribute): Add xopen-msg.h.
2640         (generated): Add de.msg and de.cat.
2641         (tests): Add do-gencat-test.
2642         (do-gencat-test): New goal.  Run gencat on a generated msg file.
2643         * catgets/xopen-msg.h: New file.
2645 1998-05-22  Ulrich Drepper  <drepper@cygnus.com>
2647         * catgets/open_catalog.c (__open_catalog): Use byteswap.h
2648         functions.  Optimize filename creation a bit.
2650 1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>
2652         * stdlib/random_r.c: Help gcc to optimize the code.
2653         Patch by Joe Keane <jgk@jgk.org>.
2655 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2657         * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
2658         tsearch calls.
2660 1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2662         * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
2663         it.
2665 1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>
2667         * wcsmbs/wcsnrtombs.c: Correct computation of result.
2668         * wcsmbs/wcsrtombs.c: Likewise.
2670         * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
2671         * wcsmbs/wcsmbs-tst1.c: New file.
2673         * iconv/loop.c (COUNT_CONVERTED): Correct computation.
2675         * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
2676         as 1.
2678         * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
2679         weak.
2681 1998-05-21  Philip Blundell  <philb@gnu.org>
2683         * sysdeps/arm/fpu_control.h: Replace stub file with real
2684         implementation.
2685         * sysdeps/arm/fpu/bits/fenv.h: New file.
2686         * sysdeps/arm/fpu/fesetround.c: Likewise.
2687         * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
2688         * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
2689         * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
2690         * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
2691         * sysdeps/arm/fpu/fegetenv.c: Likewise.
2692         * sysdeps/arm/fpu/fesetenv.c: Likewise.
2694 1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>
2696         * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
2697         read instead of mmap.
2699 1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>
2701         * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
2702         directly instead of include_next.  Add missing semicolons.
2703         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
2704         Add missing semicolons.
2706 1998-05-21  Ulrich Drepper  <drepper@cygnus.com>
2708         * iconvdata/gconv-modules: Add more aliases to please java
2709         environments.
2711 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2713         * stdio-common/vfprintf.c (process_arg): Fix typo.
2715         * iconvdata/TESTS: New tests for EUC-KR.
2717         * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
2718         * iconvdata/testdata/EUC-KR: New file.
2720 1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>
2722         * math/libm-test.c (hypot_test): Fix a typo.
2724 1998-05-20  Ulrich Drepper  <drepper@cygnus.com>
2726         * stdio-common/vfprintf.c: When precision is specified for %ls or
2727         %S handle it correctly.
2729 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2731         * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
2732         the" in one line - fixed it.
2733         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2734         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2735         * posix/unistd.h: Likewise
2737 1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2739         * Makeconfig (rpath-link): Add resolvobjdir.
2740         (resolvobjdir): New variable.
2741         Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
2743 1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>
2745         * elf/dl-close.c: Call shared object terminators at the right time.
2746         Patch by Philippe Troin <phil@fifi.org>.
2748 1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2750         * Make-dist (+tsrcs): Also add *.map for every member of
2751         $(extra-libs).
2753         * Makefile (distribute): Don't distribute scripts/printsources and
2754         scripts/=__ify.  Distribute FAQ.in.
2755         (rpm/%): Don't pass subdirs to sub-make.
2757         * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
2758         instead of $(no_deps).
2760 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2762         * sysdeps/generic/setenv.c: Protect against GNU C extension.
2763         (KNOWN_VALUE, STORE_VALUE): Do it right.
2764         (setenv): Remove unused variable.
2766 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2768         * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
2769         (CFLAGS-zdump.c): Add $(tz-cflags).
2771         * timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
2772         return type.
2774 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2776         * time/tzfile.c (__tzfile_compute): Undo last change.  Instead
2777         take struct tm parameter and set tm_isdst, tm_zone and tm_offset
2778         if use_localtime.
2779         * time/tzset.c: Update prototype of __tzfile_compute.
2780         (__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
2781         tm_zone and tm_offset here if __use_tzfile.
2783 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2785         * Makerules: Install libc.a even if there are no object file.
2787 1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2789         * Makerules (do-makelib): Don't force creating library from
2790         scratch, which is faster and gets correct behaviour if $(subdirs)
2791         is incomplete.
2793 1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2795         * Makerules (do-stamp): Make it work when building in source
2796         directory.
2798 1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>
2800         * elf/dl-load.c: Rename option and variable from ignore-rpath to
2801         inhibit-rpath.
2802         * elf/dl-support.c: Likewise.
2803         * elf/ldsodefs.h: Likewise.
2804         * elf/rtld.c: Likewise.
2805         * iconvdata/run-iconv-test.sh: Likewise.
2807 1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>
2809         * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
2810         variable using the value.
2811         * elf/ldsodefs.h: Declare _dl_ignore_path.
2812         * elf/dl-load.c (decompose_rpath): Compare name of handled shared
2813         object against list in _dl_ignore_path and ignore RPATH if on the list.
2814         * elf/dl-support.c: Define _dl_ignore_path for static binaries.
2815         * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
2816         to make sure we get the correct helper libraries loaded.
2818         * elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
2819         "RPATH" string in call to fillin_rpath instead.
2820         (_dl_init_paths): Remove this parameter from call to decompose_rpath.
2822 1998-05-19  Ulrich Drepper  <drepper@cygnus.com>
2824         * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
2825         correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
2827 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2829         * manual/terminal.texi (I/O Queues): Fix typo.
2831         * manual/stdio.texi (Closing Streams): Fix grammar.
2833         * manual/arith.texi (Absolute Value): Correct typo.
2834         Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
2836 1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>
2838         * elf/rtld.c (process_envvars): Fix typo.  Don't handle
2839         LD_PROFILE_OUTPUT in SUID binaries.
2840         * intl/dcgettext.c: In SUID binaries don't let language part of
2841         locale value contain path elements.
2842         * intl/explodename.h: Define new function _nl_find_language.
2843         * intl/loadinfo.h: Declare _nl_find_language.
2844         * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
2845         language part it drop the value is path element is contained.
2847         * locale/setlocale.c: Fix typo.
2849 1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>
2851         * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
2853         * sysdeps/arm/strlen.S: Support both big and little endian processors.
2855         * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
2856         log, not a byte-count.
2858         * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
2859         a.out compatibility.
2861 1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2863         * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
2864         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2865         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2866         * posix/unistd.h: Likewise.
2867         * math/math.h: Likewise.
2868         * manual/users.texi (Manipulating the Database): Likewise.
2869         * manual/signal.texi (Job Control Signals): Likewise.
2870         * manual/message.texi (The gencat program): Likewise.
2871         * manual/filesys.texi (Hard Links): Likewise.
2872         * manual/math.texi (SVID Random): Likewise.
2873         * manual/llio.texi (Waiting for I/O): Likewise.
2874         * manual/io.texi (File Name Errors): Likewise.
2875         * manual/conf.texi (String Parameters): Likewise.
2876         * manual/arith.texi (Infinity): Likewise.
2877         * malloc/malloc.c: Likewise.
2878         * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2879         * csu/Makefile: Likewise.
2881 1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>
2883         * manual/memory.texi: Add back accidently removed line.
2885 1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>
2887         * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
2888         (timeout_handler): New function.
2889         (LOCK_FILE, UNLOCK_FILE): New macros.
2890         Implement file locking with timeout.
2891         (getutent_r_file, internal_getut_r, getutline_r_file,
2892         pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
2893         locking.
2895 1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>
2897         * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
2898         directory.
2900 1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2902         * rpm/Makefile: Delete inclusion of version.mk.
2904 1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2906         * libc.map: Add all libio functions needed libstdc++ with version
2907         2.0, sort entries.
2909 1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2911         * iconvdata/Makefile (generated): Add *.stmp files.
2913 1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2915         * timezone/Makefile (testdata, build-testdata): New variables, use
2916         them in rules for test data.
2917         ($(objpfx)tst-timezone.out): Depend on test data.
2918         ($(testdata)/Europe/Berlin, $(testdata)/Universal,
2919         $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
2920         New rules to build test data.
2921         (tst-timezone-ENV): Pass TZDIR to point to test data.
2923 1998-05-18  Ulrich Drepper  <drepper@cygnus.com>
2925         * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
2926         (the designation sequence is disturbing).
2928 1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2930         * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
2931         * sunrpc/xdr_rec.c: Likewise.
2933 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2935         * posix/Makefile (tests): Add runptests.
2936         (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
2937         (before-compile): Add ptestcases.h.
2938         (ptestscases.h): Add rule to generate from PTESTS.
2939         * posix/runptests.c: New file.
2940         * posix/PTESTS: New file.
2941         * posix/PTESTS2C.sed: New file.
2943 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2945         * iconv/loop.c: Let user add code to use and set paramaters.
2947         * iconvdata/iso-2022-kr.c: Correct to-loop.
2949         * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
2950         point to output buffer.
2952         * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
2953         hanja.
2955         * iconvdata/TESTS: Add ISO-2022-KR test.
2956         * iconvdata/testdata/ISO-2022-KR: New file.
2958 1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>
2960         * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
2961         and internal_use.
2962         * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
2963         and internal_use.
2964         * wcsmbs/btowc.c: Likewise.
2965         * wcsmbs/mbrtowcs.c: Likewise.
2966         * wcsmbs/mbsnrtowcs.c: Likewise.
2967         * wcsmbs/mbsrtowcs.c: Likewise.
2968         * wcsmbs/wcrtomb.c: Likewise.
2969         * wcsmbs/wcsnrtombs.c: Likewise.
2970         * wcsmbs/wcsrtombs.c: Likewise.
2971         * wcsmbs/wctob.c: Likewise.
2972         * iconv/skeleton.c: Increment invocation_counter.
2973         * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
2974         sequence first.
2976         * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
2977         * iconvdata/iso-2022-jp.c: Likewise.
2978         * iconvdata/iso646.c: Likewise.
2980         * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
2982 1998-05-15  Ulrich Drepper  <drepper@cygnus.com>
2984         * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
2986         * sysdeps/generic/setenv.c (setenv): Remove optimization for
2987         overwriting existing values if it fits.
2989 1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>
2991         * posix/wordexp-test.c: Avoid duplicate messages.
2993         * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
2994         tsearch.  Correctly interpret values returned by those functions.
2995         (unsetenv): Store pointer to string, not pointer to string pointer.
2997         * time/tzfile.c (__tzfile_compute): Take new arguments.  Store
2998         DST information and offset in them.
2999         * time/tzset.c (__tz_convert): Pass extra parameters to
3000         __tzfile_compute.  Compute equivalent values for use of tz_rules.
3002 1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3004         * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
3005         stamp files to avoid unnecessary recompilation.
3006         (gen-8bit-gap-table): Likewise.
3007         (move-if-change): New variable.
3008         (all generated .h rules): Change to be .stmp rules.
3009         (%.h): New rule; depend on %.stmp; no commands.
3010         (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
3011         gen-8bit-gap-1.sh.
3013 1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3015         * Makerules (libc-map): Deleted.
3016         (load-map-file): Set to the appropriate compiler switch, not
3017         just the file name.  If libfoo-map is not set, look for a
3018         libfoo.map in the current directory and $(..).
3019         (map-file): New variable, contains just the mapfile name.
3020         (build-shlib): Adjust for new value of load-map-file.
3021         (libc.so): Correct dependencies.
3023         * extra-lib.mk: Correct shlib dependencies since libfoo-map
3024         may not be set anymore.
3026         * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
3027         Delete libdl-map.  Tweak ld.so link rule to work with changed
3028         variable settings in Makerules.
3029         * iconvdata/Makefile: Tweak build-module to work with changed
3030         variable settings in Makerules.
3032         * db/Makefile: Delete libdb-map.
3033         * hesiod/Makefile: Delete libnss_hesiod-map.
3034         * linuxthreads/Makefile: Delete libpthread-map.
3035         * locale/Makefile: Delete libBrokenLocale-map.
3036         * login/Makefile: Delete libutil-map.
3037         * math/Makefile: Delete libm-map.
3038         * md5-crypt/Makefile: Delete libcrypt-map.
3039         * nis/Makefile: Delete libnsl-map, libnss_nis-map,
3040         libnss_nisplus-map, and libnss_compat-map.
3041         * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
3042         libnss_ldap-map.
3043         * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
3044         * rt/Makefile: Delete librt-map.
3046 1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3048         * configure.in: Instead of substituting `yes' or `no' for whether
3049         --no-whole-archive is available, set @no_whole_archive@ to the
3050         appropriate gcc switch or the empty string.  Likewise for
3051         -fno-exceptions.
3052         * config.make.in: Replace have-no-whole-archive with
3053         no-whole-archive and have-no-exceptions with no-exceptions.
3054         * Makerules: Delete stanzas setting no-whole-archive and
3055         no-exceptions.
3057         * sunrpc/Makefile: Use move-if-change to update generated .h
3058         and .c files.
3060 1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3062         * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
3063         of strchr loop.
3065 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3067         * time/tzfile.c (__tzfile_read): Remove unused variable info.
3068         (__tzfile_compute): Likewise.
3070 1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3072         * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
3073         defines from Linux 2.1.102.
3075 1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>
3077         * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
3079 1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>
3081         * inet/netinet/in.h: Add defines for multicast.
3082         Reported by Jeremy Hall <jhall@UU.NET>.
3084         * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
3085         * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
3086         and unsetenv.  Optimize _LIBC case.
3087         * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
3088         Define functions with leading __.
3090         * time/tzfile.c: Correct handling of global variables daylight,
3091         timezone, and tzname.
3092         * time/tzset.c: Likewise.
3093         * timezone/Makefile (tests): Add tst-timezone.
3094         * timezone/tst-timezone.c: New file.
3096 1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
3098         * timezone/asia: Update from tzdata1998d.
3099         * timezone/australasia: Likewise.
3100         * timezone/europe: Likewise.
3102 1998-05-13  Ulrich Drepper  <drepper@cygnus.com>
3104         * string/string.h: Don't use the optimized versions for the string
3105         functions if optimizing for space.
3107         * stdlib/tst-strtod.c: Add test for -0.0.
3109         * io/ftwtest-sh: Prevent tests from being run by root.
3111         * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
3112         last addition.  Patch by wkpark@chem.skku.ac.kr.
3114 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3116         * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
3117         table.
3119 1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3121         * iconvdata/gen-8bit.sh: New file.
3122         * iconvdata/gen-8bit-gap.sh: New file.
3123         * iconvdata/gen-8bit-gap-1.sh: New file.
3124         * iconvdata/Makefile (generate-8bit-table): Use shell script
3125         instead of writing the commands directly.
3126         (generate-8bit-gap-table): Likewise.
3127         ($(objpfx)iso8859-7jp.h): Likewise.
3128         (generated headers): Depend on shell script instead of Makefile.
3129         (before-compile): Add $(perl-generated-headers) only if perl is
3130         available.
3131         (headers): Depend on $(perl-generated-headers) only if perl is
3132         available.
3133         (sed-generated-headers): Remove iso8859-7jp.h.
3135 1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3137         * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
3138         (/): Removed.
3140 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3142         * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
3143         formed charset names to getfct.  Let user override charset
3144         selection by mention charset in locale name.
3146 1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>
3148         * posix/glob.c: Move to ...
3149         * sysdeps/generic/glob.c: ...here.
3150         * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
3151         elements.
3152         * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
3153         * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
3154         * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
3155         * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
3156         subdir.
3157         * libc.map [GLIBC_2.1]: Add glob and globfree.
3159 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3161         * sunrpc/Makefile (generated): Restore old list.
3163 1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3165         * rt/Makefile (tests): Define only if we have a thread library.
3167         * nis/ypclnt.c: Add: #include <errno.h>.
3169 1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3171         * configure.in: Define and substitute RELEASE as well as
3172         VERSION.
3173         * config.make.in: Add RELEASE and VERSION to be substituted.
3174         * Makeconfig: Delete all references to version.mk.
3175         * Make-dist: Likewise.
3176         * MakeTAGS: Likewise.
3177         * elf/Makefile: Likewise.
3179 1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
3181         * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
3182         yp_get_default_domain.
3184 1998-05-12  Ulrich Drepper  <drepper@cygnus.com>
3186         * sysdeps/posix/profil.c (__profil): Don't define act and timer
3187         variables as static.  Patch by Joe Keane <jgk@jgk.org>.
3189 1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3191         * malloc/malloc.c: Fix for NO_THREADS case.
3193 1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>
3195         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
3196         Remove statfs and fstatfs.
3197         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
3198         and pwrite as EXTRA.
3199         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3201 1998-05-09  Ulrich Drepper  <drepper@cygnus.com>
3203         * libc.map: Add capget and capset.
3205 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3207         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3208         (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
3209         vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
3210         and Matt McLean <keys@brio.yikes.com>.
3212 1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>
3214         * misc/Makefile (tests): Add tst-mntent.
3215         * misc/tst-mntent.c: New file.
3217 1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3219         * autolock.sh: Removed.
3220         * manual/move-if-change: Removed.
3222         * scripts: New directory.
3223         * =__ify: Moved to scripts.
3224         * config.guess: Likewise.
3225         * config.sub: Likewise.
3226         * gen-FAQ.pl: Likewise.
3227         * install-sh: Likewise.
3228         * mkinstalldirs: Likewise.
3229         * move-if-change: Likewise.
3230         * printsources: Likewise.
3231         * rellns.sh: Likewise.
3232         * test-installation.pl: Likewise.
3234         * configure.in: Look in scripts for config.guess, config.sub,
3235         install-sh.
3236         * Makefile: Distribute all above files in their
3237         new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
3238         * manual/Makefile: Find mkinstalldirs and move-if-change in
3239         $(..)scripts.  Drop them from distribute.  Minor cleanups.
3240         * Makerules: Find mkinstalldirs and rellns-sh in scripts.
3241         * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
3242         * timezone/Makefile: Find rellns-sh in scripts.
3244 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3246         * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
3247         Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
3249 1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3251         * Makefile (+subdir-inits): Delete variable.
3252         (+init_subdirs): Likewise.
3253         (aux): Likewise.
3254         (before-compile): Likewise.
3255         (libc-init): Delete stanza.
3256         (version-info.h): Delete rule and associated variable.
3257         (distribute): Don't distribute moved files.
3258         * Makerules (interp-obj): It lives in elf now.  Only use it
3259         if $(elf) is set.  Delete rule to build it.
3260         * csu/Makefile: Build set-init.o and/or munch-init.o.  Build
3261         version.o and version-info.h.  Minor cleanups.
3262         (routines): Add libc-init, sysdep, version.
3263         (generated): Add version-info.h.
3264         * elf/Makefile: Build interp.os.
3266         * interp.c: Moved to elf.
3267         * set-init.c: Moved to csu.
3268         * munch-init.c: Likewise.
3269         * munch.awk: Likewise.
3270         * version.c: Likewise.
3272         * Rules: Unconfuse syntax highlighting with a fake comment.
3274 1998-05-08  Ulrich Drepper  <drepper@cygnus.com>
3276         * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
3277         syscalls.
3279 1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3281         * iconvdata/Makefile (generated): Set to *-generated-headers
3282         plus gconv-modules.
3283         (tests): Set to iconv-test.
3284         * localedata/Makefile (generated-dirs): Add ld-test-names to list.
3285         * posix/Makefile (generated): Set to wordexp-test-result*.
3286         * sunrpc/Makefile (generated): Remove rpcsvc/*.
3287         (generated-dirs): Add rpcsvc.
3288         * libio/Makefile: Clean up.
3290 1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>
3292         * Make-dist (+tsrcs): Also use tests-statc where tests is used.
3293         * Makerules: Likewise.
3294         (+depfiles): Also add sysdep-others.
3295         * Rules: Likewise.
3296         * iconv/Makefile (distribute): Add loop.s and skeleton.c.
3297         * iconvdata/Makefile (distribute): Add TESTS.
3298         * localedata/Makefile (repertoires): Rename to repertoiremaps.
3299         * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
3300         * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
3301         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
3302         sysdep-others, not others.
3303         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3304         * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
3306 1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>
3308         * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
3309         cost_hi and cost_lo.
3310         * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
3311         Cost parameter and set cost_lo to INT_MAX.
3312         (add_module): Take new parameter and use it to initialize cost_lo.
3313         (read_conf_file): Count modules being loaded and use counter for
3314         new parameter to add_module.
3315         * iconv/gconv_db.c (find_derivation): When look for cost examine
3316         cost_hi and cost_lo.
3318 1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>
3320         * string/bits/string2.h: Don't use unsigned char * unless really
3321         necessary since this disturbs C++.
3322         * sysdeps/i386/i486/bits/string.h: Likewise.
3323         Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3325 1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3327         * malloc/malloc.c (top_check): Fix last change.
3329 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3331         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
3332         Patch by Matt McLean <keys@brio.yikes.com>.
3334 1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3336         * Makerules (lib): Put back dependency on lib-noranlib.
3337         ($(subdirs-stamps)): Remove dependency on stamp.* again.
3339 1998-05-07  Ulrich Drepper  <drepper@cygnus.com>
3341         * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
3342         test in __pow2 implementation.
3344 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3346         * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
3347         Still need *FLAGS-.o because we still sometimes build .o files.
3348         * db2/Makefile: Don't build libndbm.a if !build-static.
3350 1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3352         * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
3354 1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>
3356         * configure.in: New test for broken gcc on PowerPC.
3357         * sysdeps/powerpc/atomicity.h: Use result of test.
3358         * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
3360         * math/libm-test.c: Update many of the epsilon to match actual
3361         performance.
3363         * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
3364         * sysdeps/libm-ieee754/e_expf.c: Likewise.
3365         * sysdeps/libm-ieee754/s_exp2.c: Likewise.
3366         * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
3368         * sysdeps/libm-ieee754/e_pow.c: Correct typo.
3370         * sysdeps/powerpc/elf/libc-start.c: New file.
3371         * sysdeps/powerpc/elf/start.S: New file, use libc-start.
3372         * sysdeps/powerpc/elf/start.c: Delete.
3374         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
3375         * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.
3377         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
3378         few patches.
3380 1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>
3382         * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
3383         test for integer.
3385         * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
3386         * sysdeps/libm-i387/e_powl.S: Likewise.
3388 1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
3390         * malloc/malloc.c (chunk2mem_check, top_check): New functions.
3391         (malloc_check, free_check, realloc_check, memalign_check): Use
3392         them to improve overrun checking.  Overruns of a single byte and
3393         corruption of the top chunk are now detected much more reliably.
3395 1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3397         * math/libm-test.c (pow_test): Add test for special value from PR
3398         libc/590.
3400 1998-05-06  Ulrich Drepper  <drepper@cygnus.com>
3402         * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
3403         including linux/errno.h.
3405 1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>
3407         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
3408         Use correct types.
3409         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
3410         * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
3412 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3414         * Makerules (elide-routines.*): Fix assignments.
3415         (do-makelib): Fix typo.
3416         ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
3417         makefile.
3419 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3421         * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
3422         $(objpfx)sysd-dirs): Move them...
3423         * Makeconfig: ... here.
3424         * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
3425         (stubs): Fix circular depedency.
3426         (do-makelib): Clean up.
3427         (lib): Don't depend on lib-noranlib.
3428         ($(objpfx)stamp.oS): Remove special case for empty
3429         static-only-routines.
3430         (elide-routines.o): Add $(static-only-routines).
3431         (elide-routines$o): Define this instead of elide-routines.$o.
3432         * manual/Makefile (stubs): Fix circular dependency.
3434 1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3436         * libio/Makefile (routines): Remove duplicate oldiofclose.
3438 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3440         * string/strcoll.c: Use uint32_t instead of u_int32_t.
3442 1998-05-05  Ulrich Drepper  <drepper@cygnus.com>
3444         * libio/stdio.h: Fix typo in __REDIRECT.
3445         * io/sys/stat.h: Likewise.
3446         Reported by Myles Uyema <myles@uyema.nws.net>.
3448 1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3450         * locale/programs/localedef.c (options): Fix help message.
3452 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3454         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
3455         relocations.  Patch by Joe Keane <jgk@jgk.org>.
3457 1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>
3459         * malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
3460         ptmalloc_unlock_all, but re-initializes the mutexes instead.
3461         (ptmalloc_init): Use new function in thread_at_fork call.
3462         (thread_atfork_static): Likewise.
3463         Suggested by Wolfram Gloger and Xavier Leroy.
3465 1998-05-04  Ulrich Drepper  <drepper@cygnus.com>
3467         * signal/signal.h: Move definitions of struct sigstack and
3468         struct sigaltstack into separate file and include it.
3469         * sysdeps/generic/bits/sigstack.h: New file.
3470         * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
3471         * signal/Makefile (headers): Add bits/sigstack.h.
3473 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3475         * elf/rtld.c (dl_main): Fix check for number of references to
3476         interpreter object.
3478 1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3480         * elf/rtld.c (dl_main): Check has_interp after executing platform
3481         specific code.
3483 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3485         * iconvdata/run-iconv-test.sh: Fix typo.
3487 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3489         * Makerules (+depfiles): Add depfiles for $(tests-static).
3490         Simplified.
3492 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3494         * manual/terminal.texi (Special Characters): Fix description of
3495         c_cc indexes.
3497 1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3499         * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
3500         array.
3501         * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
3502         of c_cc array.
3504 1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3506         * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
3508 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3510         * intl/locale.alias: Update russian entry.
3512 1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3514         * Makerules (static-only-routines): Reimplement in terms of
3515         elide-routines.os.
3516         (shared-only-routines): Reimplement in terms of
3517         elide-routines.X [where X is all object-suffixes except .os].
3519         (stubs): Create stubs file inside the subdir.
3520         (common-mostlyclean): Remove stubs file from inside the subdir.
3521         * Makefile (subdir-stubs): Look for stubs files inside the
3522         subdirs.
3523         * manual/Makefile (stubs): Create dummy stubs file inside the
3524         subdir.
3526 1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3528         Build speed improvement: make ar less of a bottleneck.
3530         * Makerules (stamp$o): Just record the object list for later
3531         use.
3532         (libc_foo.a): New rule, depends on subdir stamp files; builds
3533         and ranlibs the library from the lists saved in those files.
3535         (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
3536         (subdirs-stamp-o): Likewise.
3538         (ar-symtab-name): Delete variable.
3539         (lib%.a): Delete target.
3540         (libc_foo.a(bar.%)): Delete target.
3541         (libc_foo.a($(ar-symtab-name))): Delete target.
3543         (objects objs): Just depend on libobjs and extra-objs.
3544         (libobjs): Depend on the stamp files, not the objects.
3545         (extra-objs): New target, just depends on the extra-objs list.
3547         (CREATE_ARFLAGS): Kill the `ar S' hack.
3549         * config.make.in (have-ar-S): Deleted.
3550         * configure.in: Delete test for `ar S'.  Add test to determine
3551         whether ranlib does anything useful.
3553 1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
3555         * inet/tst-ether_aton.c: Include <stdio.h>.
3557 1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>
3559         * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
3561         * locale/Makefile (distribute): Add programs/repertoire.h.
3562         (localedef-modules): Add repertoire.
3563         (CPPFLAGS): Define REPERTOIREMAP_PATH.
3564         * locale/programs/repertoire.c: New file.
3565         * locale/programs/repertoire.h: New file.
3566         * locale/programs/charmap.c: Starting fixing character set handling
3567         to handle multi-byte encodings.
3568         * locale/programs/charset.c: Likewise.
3569         * locale/programs/charset.h: Likewise.
3570         * locale/programs/ld-collate.c: Likewise.
3571         * locale/programs/ld-ctype.c: Likewise.
3572         * locale/programs/linereader.c: Likewise.
3573         * locale/programs/localedef.c: Likewise.
3574         * locale/programs/locfile-kw.gperf: Likewise.
3575         * locale/programs/locfile-kw.h: Likewise.
3576         * locale/programs/locfile-token.h: Likewise.
3577         * locale/programs/locfile.h: Likewise.
3578         * locale/programs/stringtrans.c: Likewise.
3580         * locale/programs/locfile.c: Interpret I18NPATH value as base of
3581         path, extended with "/locales/".
3583 1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>
3585         * sysdeps/arm/memset.S: Fix off by one error.
3587         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
3588         __syscall_error rather than syscall_error directly.
3590 1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>
3592         * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
3593         mmap() syscall for ARM.
3595         * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
3596         binaries.
3598 1998-04-30  Ulrich Drepper  <drepper@cygnus.com>
3600         * locale/programs/localedef.c: Recognize repertoire-map option.
3602 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3604         * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
3605         converting non-hex numbers.
3606         Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
3608 1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>
3610         * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
3611         check overflow.
3612         * resolv/Makefile (tests): New, add tst-aton.
3613         * resolv/tst-aton.c: New file.
3615 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3617         * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
3618         semicolon.
3620 1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>
3622         * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
3623         by letting the later modify the variable computing the total directly.
3624         * wcsmbs/mbsrtowcs.c: Likewise.
3625         * wcsmbs/wcsnrtombs.c: Likewise.
3626         * wcsmbs/wcsrtombs.c: Likewise.
3628         * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
3629         it is not used.
3630         * wcsmbs/wctoc.c: Likewise.
3632         * wcsmbs/mbsrtowcs.c: Optimize a bit more.
3633         * wcsmbs/wcsrtombs.c: Likewise.
3635         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
3637 1998-04-29  Ulrich Drepper  <drepper@cygnus.com>
3639         * iconv/skeleton.c: Correct counting of actually converted
3640         characters.
3642         * intl/localealias.c (read_alias_file): Use unsigned char for
3643         local variables.  Remove unused variable tp.
3644         * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
3645         for type of codeset.  For loosing Solaris systems.
3646         * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
3647         * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
3648         len if not needed.
3649         Patches by Jim Meyering.
3651         * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
3652         wcsrtombs must put it into initial state.
3654 1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3656         * iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
3657         argument of bswap_XX macro.
3659 1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3661         * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
3662         variable name.
3664 1998-04-28  Ulrich Drepper  <drepper@cygnus.com>
3666         * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
3667         semun and use stdarg macros to get the value.
3668         * sysdeps/generic/semctl.c: Don't use union semun.
3670         * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
3672         * string/basename.c [!_LIBC]: Define function as gnu_basename.
3674         * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
3675         strings.h.
3677         * stdlib/grouping.h: Accept ungrouped numbers even if locale
3678         defines grouping.
3680         * intl/hash-string.h: Don't include values.h.
3682         * inet/Makefile (tests): Add tst-ether_aton.
3683         * inet/tst-ether_aton.c: New file.
3685         * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
3686         in hex conversion.
3687         * inet/ether_aton.c (ether_aton): Declare result variable static.
3688         Reported by ahyung@unixg.ubc.ca.
3690         * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
3691         Define macro _SEM_SEMUN_UNDEFINED instead.
3692         Reported by Dirk Laessig <d.laessig@tu-bs.de>.
3694         * stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
3695         * stdio-common/Makefile (tests): Add tst-wc-printf.
3697 1998-04-28 16:32  Philip Blundell  <philb@gnu.org>
3699         * manual/stdio.texi (Variable Arguments Output): Correct variable
3700         name.  Patch from Ewan Mellor <em@nexus.co.uk>
3702 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3704         * intl/dcgettext.c: Remove unneeded definition of
3705         internal_function.
3707 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3709         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
3710         instead of do-iconv-test.
3711         ($(objpfx)gconv-modules): Define rule only if objpfx is not
3712         empty.
3714 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3716         * string/string.h: Fix feature test.
3718 1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3720         * iconvdata/iso646.c (BODY): Don't use character constants that
3721         depend on signedness of char.
3723 1998-04-27  Ulrich Drepper  <drepper@cygnus.com>
3725         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
3726         (sysdep_routines): Add s_pread64 and s_pwrite64.
3728 1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>
3730         * iconvdata/Makefile (distribute): Remove generated .h files.
3731         * iconvdata/koi8-r.h: Removed.
3732         * iconvdata/latin-greek-1.h: Removed.
3733         * iconvdata/latin-greek.h: Removed.
3735         * iconvdata/testdata/CP1258..UTF8: New iconv test source.
3736         * iconvdata/KOI-8: Likewise.
3737         * iconvdata/KOI-8..UTF8: Likewise.
3738         * iconvdata/KOI8-R: Likewise.
3739         * iconvdata/KOI8-R..UTF8: Likewise.
3741 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3743         * streams/Makefile (headers): Add sys/stropts.h.
3744         * streams/sys/stropts.h: New file.
3746 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3748         * sysdeps/unix/sysv/linux/ttyname.c,
3749         sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
3750         sysdeps/posix/ttyname*.c, but look in /dev/pts first.
3752 1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3754         * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
3755         argument of _itoa_word.
3757 1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3759         * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
3760         s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
3761         caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
3762         sigprocmask, resp., instead of EXTRA.
3764         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3765         s_pread64 and s_pwrite64.
3767 1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>
3769         * iconvdata/Makefile: Correct rules to generate gap table.
3770         * iconvdata/gap.pl: Simplify.
3772         * iconvdata/TESTS: Name new tests.
3773         * iconvdata/testdata/CP1250: New file.
3774         * iconvdata/testdata/CP1250..UTF8: New file.
3775         * iconvdata/testdata/CP1251: New file.
3776         * iconvdata/testdata/CP1251..UTF8: New file.
3777         * iconvdata/testdata/CP1252: New file.
3778         * iconvdata/testdata/CP1252..UTF8: New file.
3779         * iconvdata/testdata/CP1253: New file.
3780         * iconvdata/testdata/CP1253..UTF8: New file.
3781         * iconvdata/testdata/CP1254: New file.
3782         * iconvdata/testdata/CP1254..UTF8: New file.
3783         * iconvdata/testdata/CP1255: New file.
3784         * iconvdata/testdata/CP1255..UTF8: New file.
3785         * iconvdata/testdata/CP1256: New file.
3786         * iconvdata/testdata/CP1256..UTF8: New file.
3787         * iconvdata/testdata/CP1257: New file.
3788         * iconvdata/testdata/CP1257..UTF8: New file.
3790 1998-04-26  Ulrich Drepper  <drepper@cygnus.com>
3792         * iconvdata/Makefile: Add rules for ISO-2022-KR.
3793         * iconvdata/iso-2022-kr.c: New file.
3795         * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
3796         and ISO-2022-KR.
3798 1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>
3800         * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
3801         iso8859-8 and iso8859-10.
3802         * iconvdata/iso8859-5.c: Change to use gap method.
3803         * iconvdata/iso8859-7.c: Likewise.
3804         * iconvdata/iso8859-8.c: Likewise.
3805         * iconvdata/iso8859-10.c: Likewise.
3807         * iconvdata/Makefile: Add rules for ISO-2022-JP module.
3808         * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
3809         end of the loop.
3810         * iconvdata/iso-2022-jp.c: New file.
3812         * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
3813         * iconvdata/ksc5601.h: Unify function interfaces.
3814         * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
3815         * iconvdata/uhc.c: Likewise.
3817         * iconvdata/gb2312.h: Use correct types.
3819         * iconvdata/iso646.c (gconv_open): Correctly initialize the character
3820         size elements of data.
3822 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3824         * string/tst-svc.expect: Adapt for change in .input.
3825         * string/tst-svc.input: More tests.
3827 1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>
3829         * iconvdata/Makefile: Add rules for new modules.
3830         * iconvdata/gconv-modules: Likewise.
3831         * iconvdata/cp737.c: New file.
3832         * iconvdata/cp737.h: New file.
3833         * iconvdata/cp775.c: New file.
3834         * iconvdata/cp775.h: New file.
3835         * iconvdata/cp874.c: New file.
3836         * iconvdata/cp874.h: New file.
3838 1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>
3840         * iconvdata/Makefile: Create target directory before generating
3841         headers.
3843 1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3845         * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
3846         __USER_LABEL_PREFIX__.
3847         (__ASMNAME, __ASMNAME2): New macros.
3849 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3851         * elf/dl-load.c: Include sys/param.h for MAX.
3853 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
3855         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
3856         __ftruncate the strong symbol, and add weak alias.
3857         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
3859 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3861         * termios/cfsetspeed.c: Make code cleaner and add missing const.
3862         Patch by Joe Keane <jgk@jgk.org>.
3864         * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
3865         free()ing.
3867 1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>
3869         * sysdeps/generic/bits/socket.h: Add #defines for enum values.
3870         Patch by Thomas Bushnell, n/BSG.
3872 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3874         * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
3876 1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
3878         * iconvdata/Makefile: Put generated headers in build directory.
3880 1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>
3882         * elf/dl-load.c (fillin_rpath): Handle empty element returned by
3883         strsep as current directory.
3885         * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
3886         Java.  Add definitions for unicodelittle implementation.
3887         * iconv/gconv_int.h: Add declaration for unicodelittle functions.
3888         * iconv/gconv_simple.c: Define unicodelittle functions.
3890         * iconv/iconv_prog.c: Make program print information about position
3891         of illegal character in input.
3893         * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
3894         comparison of charset name.
3895         * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
3896         * iconvdata/ebcdic-at-de-a.c: Likewise.
3897         * iconvdata/ebcdic-at-de.c: Likewise.
3898         * iconvdata/ebcdic-ca-fr.c: Likewise.
3899         * iconvdata/euccn.c: Likewise.
3900         * iconvdata/eucjp.c: Likewise.
3901         * iconvdata/euckr.c: Likewise.
3902         * iconvdata/euctw.c: Likewise.
3903         * iconvdata/hp-roman8.c: Likewise.
3904         * iconvdata/iso6937.c: Likewise.
3905         * iconvdata/iso8859-1.c: Likewise.
3906         * iconvdata/iso8859-10.c: Likewise.
3907         * iconvdata/iso8859-2.c: Likewise.
3908         * iconvdata/iso8859-3.c: Likewise.
3909         * iconvdata/iso8859-4.c: Likewise.
3910         * iconvdata/iso8859-5.c: Likewise.
3911         * iconvdata/iso8859-6.c: Likewise.
3912         * iconvdata/iso8859-7.c: Likewise.
3913         * iconvdata/iso8859-8.c: Likewise.
3914         * iconvdata/iso8859-9.c: Likewise.
3915         * iconvdata/johab.c: Likewise.
3916         * iconvdata/koi-8.c: Likewise.
3917         * iconvdata/koi8-r.c: Likewise.
3918         * iconvdata/latin-greek-1.c: Likewise.
3919         * iconvdata/latin-greek.c: Likewise.
3920         * iconvdata/sjis.c: Likewise.
3921         * iconvdata/t61.c: Likewise.
3922         * iconvdata/uhc.c: Likewise.
3924         * iconvdata/iso646.c: Add support for more ISO 646 variants.
3925         * iconvdata/TESTS: Add tests for ISO646 module.
3926         * iconvdata/gconv-modules: Add new modules.
3927         * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
3928         * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
3929         * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
3930         * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
3931         * iconvdata/testdate/DIN_66003: Likewise.
3932         * iconvdata/testdate/DIN_66003..UTF8: Likewise.
3933         * iconvdata/testdate/DS_2089: Likewise.
3934         * iconvdata/testdate/DS_2089..UTF8: Likewise.
3935         * iconvdata/testdate/ES: Likewise.
3936         * iconvdata/testdate/ES..UTF8: Likewise.
3937         * iconvdata/testdate/ES2: Likewise.
3938         * iconvdata/testdate/ES2..UTF8: Likewise.
3939         * iconvdata/testdate/GB_1988-80: Likewise.
3940         * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
3941         * iconvdata/testdate/IT: Likewise.
3942         * iconvdata/testdate/IT..UTF8: Likewise.
3943         * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
3944         * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
3945         * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
3946         * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
3947         * iconvdata/testdate/JUS_I.B1.002: Likewise.
3948         * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
3949         * iconvdata/testdate/KSC5636: Likewise.
3950         * iconvdata/testdate/KSC5636..UTF8: Likewise.
3951         * iconvdata/testdate/MSZ_7795.3: Likewise.
3952         * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
3953         * iconvdata/testdate/NC_NC00-10: Likewise.
3954         * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
3955         * iconvdata/testdate/NF_Z_62-010: Likewise.
3956         * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
3957         * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
3958         * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
3959         * iconvdata/testdate/NS_4551-1: Likewise.
3960         * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
3961         * iconvdata/testdate/NS_4551-2: Likewise.
3962         * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
3963         * iconvdata/testdate/PT: Likewise.
3964         * iconvdata/testdate/PT..UTF8: Likewise.
3965         * iconvdata/testdate/PT2: Likewise.
3966         * iconvdata/testdate/PT2..UTF8: Likewise.
3967         * iconvdata/testdate/SEN_850200_B: Likewise.
3968         * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
3969         * iconvdata/testdate/SEN_850200_C: Likewise.
3970         * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
3972         * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
3973         * iconvdata/cns11643l1.h: Likewise.
3974         * iconvdata/latin-greek-1.h: Likewise.
3975         * iconvdata/latin-greek.h: Likewise.
3976         * iconvdata/koi8-r.h: Likewise.
3977         * iconvdata/jis0212.h: Likewise.
3978         * iconvdata/gb2312.h: Likewise.
3979         * iconvdata/ksc5601.h: Likewise.
3981         * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
3983         * iconvdata/Makefile: Add rules for lots of more modules.
3984         * iconvdata/cp1250.c: New file.
3985         * iconvdata/cp1251.c: New file.
3986         * iconvdata/cp1252.c: New file.
3987         * iconvdata/cp1253.c: New file.
3988         * iconvdata/cp1254.c: New file.
3989         * iconvdata/cp1255.c: New file.
3990         * iconvdata/cp1256.c: New file.
3991         * iconvdata/cp1257.c: New file.
3992         * iconvdata/ebcdic-dk-no-a.c: New file.
3993         * iconvdata/ebcdic-dk-no.c: New file.
3994         * iconvdata/ebcdic-es-a.c: New file.
3995         * iconvdata/ebcdic-es-s.c: New file.
3996         * iconvdata/ebcdic-es.c: New file.
3997         * iconvdata/ebcdic-fi-se-a.c: New file.
3998         * iconvdata/ebcdic-fi-se.c: New file.
3999         * iconvdata/ebcdic-fr.c: New file.
4000         * iconvdata/ebcdic-is-friss.c: New file.
4001         * iconvdata/ebcdic-it.c: New file.
4002         * iconvdata/ebcdic-pt.c: New file.
4003         * iconvdata/ebcdic-uk.c: New file.
4004         * iconvdata/ebcdic-us.c: New file.
4005         * iconvdata/ibm037.c: New file.
4006         * iconvdata/ibm038.c: New file.
4007         * iconvdata/ibm1004.c: New file.
4008         * iconvdata/ibm1026.c: New file.
4009         * iconvdata/ibm1047.c: New file.
4010         * iconvdata/ibm256.c: New file.
4011         * iconvdata/ibm273.c: New file.
4012         * iconvdata/ibm274.c: New file.
4013         * iconvdata/ibm275.c: New file.
4014         * iconvdata/ibm277.c: New file.
4015         * iconvdata/ibm278.c: New file.
4016         * iconvdata/ibm280.c: New file.
4017         * iconvdata/ibm281.c: New file.
4018         * iconvdata/ibm284.c: New file.
4019         * iconvdata/ibm285.c: New file.
4020         * iconvdata/ibm290.c: New file.
4021         * iconvdata/ibm297.c: New file.
4022         * iconvdata/ibm420.c: New file.
4023         * iconvdata/ibm423.c: New file.
4024         * iconvdata/ibm424.c: New file.
4025         * iconvdata/ibm437.c: New file.
4026         * iconvdata/ibm500.c: New file.
4027         * iconvdata/ibm850.c: New file.
4028         * iconvdata/ibm851.c: New file.
4029         * iconvdata/ibm852.c: New file.
4030         * iconvdata/ibm855.c: New file.
4031         * iconvdata/ibm857.c: New file.
4032         * iconvdata/ibm860.c: New file.
4033         * iconvdata/ibm861.c: New file.
4034         * iconvdata/ibm862.c: New file.
4035         * iconvdata/ibm863.c: New file.
4036         * iconvdata/ibm864.c: New file.
4037         * iconvdata/ibm865.c: New file.
4038         * iconvdata/ibm868.c: New file.
4039         * iconvdata/ibm869.c: New file.
4040         * iconvdata/ibm870.c: New file.
4041         * iconvdata/ibm871.c: New file.
4042         * iconvdata/ibm875.c: New file.
4043         * iconvdata/ibm880.c: New file.
4044         * iconvdata/ibm891.c: New file.
4045         * iconvdata/ibm903.c: New file.
4046         * iconvdata/ibm904.c: New file.
4047         * iconvdata/ibm905.c: New file.
4048         * iconvdata/ibm918.c: New file.
4050         * locale/iso-4217.def: Update.
4051         * localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.
4053         * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
4054         formats.
4056 1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4058         * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
4059         LD_LIBRARY_PATH.
4061 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4063         * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
4064         * Makefile: Likewise.
4065         * posix/Makefile: Likewise.
4066         * sysdeps/mach/hurd/Makefile: Likewise.
4068 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4070         * sysdeps/mach/hurd/bits/dirent.h: New file.
4071         * sysdeps/mach/hurd/readdir64.c: New file.
4072         * sysdeps/mach/hurd/readdir64_r.c: New file.
4074 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4076         * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
4077         dprintf): Synchronize declarations with libio/stdio.h.
4079 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4081         * elf/dlerror.c (dlerror): Don't assume that
4082         __libc_internal_tsd_get is defined.  __libc_getspecific is already
4083         well-protected, so just use it directly.
4085 1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>
4087         * io/ftw.h (ftw): Fix typo.
4089 1998-04-21  Gordon Matzigkeit  <gord@profitpress.com>
4091         * sysdeps/gnu/utmp_file.c: Fix typo.
4093 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4095         * iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
4096         one part of a test fails move on to the next test.
4098 1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>
4100         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4102 1998-04-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4104         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
4105         as pointers, not signed integers.
4107 1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4109         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
4111 1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4113         * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
4114         asm symbol name of functions.
4115         * include/features.h: Kill redundant test.
4117         * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
4118         * io/ftw.h: Likewise.
4119         * io/sys/stat.h: Likewise.
4120         * io/sys/statfs.h: Likewise.
4121         * io/sys/statvfs.h: Likewise.
4122         * libio/stdio.h: Likewise.
4123         * resource/sys/resource.h: Likewise.
4124         * rt/aio.h: Likewise.
4126         * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
4127          __FAVOR_BSD.
4128         * signal/signal.h: Use new macros for BSD vs. SysV signal().
4130         * misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
4131         a dummy library.
4132         * misc/bsd-compat.c: Removed.
4134 1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>
4136         * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
4137         function declaration.
4138         * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
4139         and use them in conversion function.
4140         * iconvdata/Makefile (modules): Re-add ISO6446.
4141         * iconvdata/TEST: Add tests for ASCII variants.
4142         * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
4143         * iconvdata/testdata/ANSI_X3.4-1968: New file.
4144         * iconvdata/testdata/BS_4730: New file.
4145         * iconvdata/testdata/BS_4730..UTF8: New file.
4147 1998-04-21 19:05  Ulrich Drepper  <drepper@cygnus.com>
4149         * iconv/gconv.h (struct gconv_step): Add element stateful.
4150         * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
4151         to zero for all internal conversions.
4152         * iconv/skeleton.c: Initialize stateful depending on whether or not
4153         RESET_STATE is defined to one or zero respectively.
4154         * stdlib/mblen.c: Use stateful element of currently selected
4155         converter for result if S is NULL.
4156         * stdlib/mbtowc.c: Likewise.
4157         * stdlib/wctomb.c: Likewise.
4159 1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>
4161         * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
4163         * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
4165         * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
4166         character in comparison with uint32_t.
4167         (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
4168         (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
4169         Optimize BODY a bit.
4171         * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
4172         be defined.
4174         * iconv/skeleton.c: Also reset converted counter in case of an error.
4175         Call reset function using correct value for output buffer start.
4177         * iconvdata/Makefile: Re-enable tests.
4179         * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
4180         value for to-conversion.
4182         * iconvdata/TESTS: Add new third column.
4183         * iconvdata/run-iconv-test.sh: Add support for charsets which are
4184         not ASCII based.
4185         * iconvdata/testdata/suntzus: New file.
4187         * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
4188         while reading.  Correctly used base.  Little optimization.
4189         (__strtoul_internal): Likewise.
4191         * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
4192         was wrong.  Use explicit variable.
4194 1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4196         * configure.in: Check for awk.
4197         * config.make.in: Add AWK to be substituted.
4199         * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
4200         * manual/users.texi: Fix typo exposed by above rewrite.
4202         * Makefile: Invoke awk using AWK variable.
4203         * csu/Makefile: Likewise.
4204         * elf/Makefile: Likewise.
4205         * mach/Makefile: Likewise.
4206         * manual/Makefile: Likewise.
4207         * sysdeps/gnu/Makefile: Likewise.
4208         * sysdeps/mach/hurd/Makefile: Likewise.
4209         * sysdeps/unix/Makefile: Likewise.
4210         * timezone/Makefile: Likewise.
4212 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4214         * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
4215         array index translation.
4216         (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
4217         these are defined.
4219         * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
4221         * sysdeps/mach/hurd/errlist.c: New file.
4222         (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
4223         (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
4224         semantics, so rename it.
4226 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4228         * iconvdata/run-iconv-test.sh: Make portable.  Always test all
4229         conversions.
4231 1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>
4233         * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
4234         * wcsmbs/wcsnrtombs.c: Likewise.
4236 1998-04-21  Ulrich Drepper  <drepper@cygnus.com>
4238         * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
4240         * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
4242         * time/strftime.c (my_strftime): Initialize pad variable in
4243         declaration.
4245         * iconvdata/big5.c: Don't use character constants in comparisons
4246         with unsigned value.
4248 1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>
4250         * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
4251         __libc_siglongjmp to GLIBC_2.1.
4253         * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
4254         __strerror_r.
4256         * iconv/Makefile: Don't run tests now.
4258         * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
4259         with correct output buffer.
4261         Major rewrite of the low-level gconv functionality.
4262         * iconv/gconv.c: Rewritten.
4263         * iconv/gconv.h: Likewise.
4264         * iconv/gconv_builtin.c: Likewise.
4265         * iconv/gconv_builtin.h: Likewise.
4266         * iconv/gconv_conf.c: Likewise.
4267         * iconv/gconv_int.h: Likewise.
4268         * iconv/gconv_open.c: Likewise.
4269         * iconv/gconv_simple.c: Likewise.
4270         * iconv/iconv.c: Likewise.
4271         * iconvdata/8bit-gap.c: Likewise.
4272         * iconvdata/8bit-generic.c: Likewise.
4273         * iconvdata/Makefile: Likewise.
4274         * iconvdata/big5.c: Likewise.
4275         * iconvdata/cns11643.c: Likewise.
4276         * iconvdata/cns11643.h: Likewise.
4277         * iconvdata/cns11643l1.c: Likewise.
4278         * iconvdata/cns11643l1.h: Likewise.
4279         * iconvdata/ebcdic-at-de-a.c: Likewise.
4280         * iconvdata/ebcdic-at-de.c: Likewise.
4281         * iconvdata/ebcdic-ca-fr.c: Likewise.
4282         * iconvdata/euccn.c: Likewise.
4283         * iconvdata/eucjp.c: Likewise.
4284         * iconvdata/euckr.c: Likewise.
4285         * iconvdata/euctw.c: Likewise.
4286         * iconvdata/gb2312.c: Likewise.
4287         * iconvdata/gb2312.h: Likewise.
4288         * iconvdata/hp-roman8.c: Likewise.
4289         * iconvdata/iso646.c: Likewise.
4290         * iconvdata/iso6937.c: Likewise.
4291         * iconvdata/iso8859-1.c: Likewise.
4292         * iconvdata/iso8859-10.c: Likewise.
4293         * iconvdata/iso8859-2.c: Likewise.
4294         * iconvdata/iso8859-3.c: Likewise.
4295         * iconvdata/iso8859-4.c: Likewise.
4296         * iconvdata/iso8859-5.c: Likewise.
4297         * iconvdata/iso8859-6.c: Likewise.
4298         * iconvdata/iso8859-7.c: Likewise.
4299         * iconvdata/iso8859-8.c: Likewise.
4300         * iconvdata/iso8859-9.c: Likewise.
4301         * iconvdata/jis0201.c: Likewise.
4302         * iconvdata/jis0201.h: Likewise.
4303         * iconvdata/jis0208.c: Likewise.
4304         * iconvdata/jis0208.h: Likewise.
4305         * iconvdata/jis0212.c: Likewise.
4306         * iconvdata/jis0212.h: Likewise.
4307         * iconvdata/johab.c: Likewise.
4308         * iconvdata/koi-8.c: Likewise.
4309         * iconvdata/koi8-r.c: Likewise.
4310         * iconvdata/ksc5601.c: Likewise.
4311         * iconvdata/ksc5601.h: Likewise.
4312         * iconvdata/latin-greek-1.c: Likewise.
4313         * iconvdata/latin-greek.c: Likewise.
4314         * iconvdata/run-iconv-test.sh: Likewise.
4315         * iconvdata/sjis.c: Likewise.
4316         * iconvdata/t61.c: Likewise.
4317         * iconvdata/uhc.c: Likewise.
4318         * wcsmbs/btowc.c: Likewise.
4319         * wcsmbs/mbrtowc.c: Likewise.
4320         * wcsmbs/mbsnrtowcs.c: Likewise.
4321         * wcsmbs/mbsrtowcs.c: Likewise.
4322         * wcsmbs/wcrtomb.c: Likewise.
4323         * wcsmbs/wcsmbsload.c: Likewise.
4324         * wcsmbs/wcsnrtombs.c: Likewise.
4325         * wcsmbs/wcsrtombs.c: Likewise.
4326         * wcsmbs/wctob.c: Likewise.
4327         * iconv/loop.c: New file.
4328         * iconv/skeleton.c: New file.
4330         * stdlib/mblen.c: Handle empty input string correctly.
4331         * stdlib/mbtowc.c: Likewise.
4333         * posix/getopt.c: Various cleanups.
4335         * sysdeps/arm/bits/setjmp.h: Add copyright text.
4336         * sysdeps/i386/bits/setjmp.h: Likewise.
4337         * sysdeps/m68k/bits/setjmp.h: Likewise.
4338         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4339         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
4341         * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
4342         and make longjmp weak alias.
4344 1998-04-18 20:29  Philip Blundell  <Philip.Blundell@pobox.com>
4346         * iconv/Makefile (routines): Only include gconv_dl if building for
4347         an ELF system - dynamic linking is not available on a.out.
4348         (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
4349         due to above check.
4350         * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
4351         routines from gconv_dl.
4353 1998-04-17  Gordon Matzigkeit  <gord@profitpress.com>
4355         * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
4356         we can compile without libio.
4358 1998-04-20 16:28  Ulrich Drepper  <drepper@cygnus.com>
4360         * sysdeps/mach/hurd/Subdirs: Remove login.
4362 1998-04-11  Gordon Matzigkeit  <gord@profitpress.com>
4364         * db2/compat.h: Include <errno.h>, to make sure we get the
4365         definition of EFTYPE before we define it ourselves.
4367 1998-04-10  Gordon Matzigkeit  <gord@profitpress.com>
4369         * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
4370         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
4371         Fix typo to allow inclusion from sys/ioctl.h again.
4373 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4375         * iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.
4377 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4379         * libc.map: Export __strerror_r.  Remove _strerror_internal.
4381 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4383         * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
4384         Also undefine __strcasestr.
4386 1998-04-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4388         * posix/regex.c: Rename __re_max_failures back to re_max_failures,
4389         aliases do not work with global variables due to copy relocations.
4391 1998-04-20 15:12  Ulrich Drepper  <drepper@cygnus.com>
4393         * manual/creature.texi: Fix type.  Patch by Andreas Schwab.
4395 1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>
4397         * signal/sighold.c: Include stddef.h for NULL definition.
4398         * signal/sigrelse.c: Likewise.
4399         * sysdeps/posix/sigignore.c: Likewise.
4400         * sysdeps/posix/sigset.c: Likewise.
4401         * sysdeps/posix/waitid.c: Likewise.
4402         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
4403         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
4404         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4405         * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
4406         Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
4408 1998-04-13  Mark Kettenis  <kettenis@phys.uva.nl>
4410         * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
4411         * login/getutent.c (getutxent): Remove alias.
4412         * login/getutent_r.c (setutxent, pututxline, endutxent):
4413         Remove aliases.
4414         * login/getutid.c (getutxid): Remove alias.
4415         * login/getutline.c (getutxline): Remove alias.
4416         * login/utmp.h: Add prototypes for __updwtmp, __getutent,
4417         __getutid, __getutline and __pututline.
4418         * login/utmpx.h: Moved to ...
4419         * sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
4420         UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
4421         and updwtmpx.
4422         * login/updwtmp.c: Moved to ...
4423         * sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
4424         allowing file name transformation.
4425         * sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
4426         additional file name transformation.
4427         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
4428         * login/utmp_file.c: Moved to ...
4429         * sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
4430         Generalized by allowing file name transformation.  Do not
4431         print error message.  Library functions should not print them.
4432         Reported by Jim Meyering.
4433         * sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
4434         with additional file name transformation.
4435         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
4436         * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
4437         setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
4438         pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
4439         and bits/utmpx.h.
4440         * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
4441         (_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
4442         _PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
4443         Define if __USE_GNU.
4444         * sysdeps/generic/setutxent.c: New file.
4445         * sysdeps/generic/getutxent.c: New file.
4446         * sysdeps/generic/endutxent.c: New file.
4447         * sysdeps/generic/getutxid.c: New file.
4448         * sysdeps/generic/getutxline.c: New file.
4449         * sysdeps/generic/pututxline.c: New file.
4450         * sysdeps/generic/utmpxname.c: New file.
4451         * sysdeps/generic/updwtmpx.c: New file.
4452         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
4453         * sysdeps/generic/bits/utmpx.h: Remove.
4455 1998-04-20  Ulrich Drepper  <drepper@cygnus.com>
4457         * posix/wordexp-test.c (main): Initialize ifs element of ts for
4458         ~root test.
4460 1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>
4462         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
4464 1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>
4466         * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
4467         variable using _G_stat64.
4468         * libio/fileops.c: Remove macro definition of fstat, it is in the
4469         global header.
4470         Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
4472 1998-04-17  Philip Blundell  <pb@nexus.co.uk>
4474         * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
4475         <willy@odie.barnet.ac.uk>.
4477 1998-04-16  Philip Blundell  <Philip.Blundell@pobox.com>
4479         * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
4480         required by IPv6 Basic API.
4481         (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
4482         (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
4483         (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
4484         (IN6_IS_ADDR_MC_GLOBAL): Likewise.
4486 1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>
4488         Don't name internal representation since it might be different from
4489         the external form (namely on little endian machines).
4490         * iconv/gconv_builtin.h: Add UCS4 support.  Change references to
4491         UCS4 into references to INTERNAL.
4492         * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
4493         Add endianess support to UCS functions.  Change references to
4494         UCS4 into references to INTERNAL.
4495         * iconv/gconv_int.h: Change references to UCS4 into references to
4496         INTERNAL.
4497         * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
4498         * iconvdata/gconv-modules: Change accordingly.
4499         * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
4501         * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
4502         overflow.
4503         * iconvdata/8bit-gap.c: Likewise.
4504         * iconvdata/8bit-generic.c: Likewise.
4505         * iconvdata/big5.c: Likewise.
4506         * iconvdata/euccn.c: Likewise.
4507         * iconvdata/eucjp.c: Likewise.
4508         * iconvdata/euckr.c: Likewise.
4509         * iconvdata/euctw.c: Likewise.
4510         * iconvdata/iso646.c: Likewise.
4511         * iconvdata/iso6937.c: Likewise.
4512         * iconvdata/iso8859-1.c: Likewise.
4513         * iconvdata/johab.c: Likewise.
4514         * iconvdata/sjis.c: Likewise.
4515         * iconvdata/t61.c: Likewise.
4516         * iconvdata/uhc.c: Likewise.
4518         * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
4519         * iconvdata/8bit-generic.c: Likewise.
4521         * iconvdata/TESTS: Add more tests.
4523         * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
4525 1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>
4527         * iconvdata/Makefile: Better rules to run tests.
4529         * iconvdata/testdata/ISO-8859-1..UTF8: New file.
4530         * iconvdata/testdata/ISO-8859-10: Likewise.
4531         * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
4532         * iconvdata/testdata/ISO-8859-2: Likewise.
4533         * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
4534         * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
4535         * iconvdata/testdata/ISO-8859-3: Likewise.
4536         * iconvdata/testdata/ISO-8859-4: Likewise.
4537         * iconvdata/testdata/ISO-8859-5: Likewise.
4538         * iconvdata/testdata/ISO-8859-6: Likewise.
4539         * iconvdata/testdata/ISO-8859-7: Likewise.
4540         * iconvdata/testdata/ISO-8859-8: Likewise.
4541         * iconvdata/testdata/ISO-8859-9: Likewise.
4543 1998-04-15  Ulrich Drepper  <drepper@cygnus.com>
4545         * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
4546         intermediate result (if available).
4548         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
4549         last change.
4551         * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
4552         (distribute): Add run-iconv-test.sh and testdata/*.
4554         * stdlib/testmb.c (main): Simplify mbc array handling.
4556 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4558         * elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
4559         return value on overflow.
4561 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4563         * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
4564         bits.
4566 1998-04-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4568         * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
4569         of non-standard function setbuffer.
4571 1998-04-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4573         * stdio-common/perror.c: Include <string.h> for __strerror_r.
4575 1998-04-14 23:54  Ulrich Drepper  <drepper@cygnus.com>
4577         * iconvdata/Makefile: Add rules to run tests.
4578         * iconvdata/TESTS: New file.
4579         * iconvdata/run-iconv-test.sh: New file.
4580         * iconvdata/testdata/ISO-8859-1: New file.
4582         * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
4583         not stdout.
4585 1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>
4587         * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
4588         counter element of step.
4590         * iconv/gconv_dl.c: Don't mark get_sym as internal function.
4592         * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
4593         termination test.
4594         (__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
4595         ACTUALLY.
4596         (__gconv_transform_utf8_ucs4): Correct test for empty input.
4598 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4600         * Makefile: Include makeconfig before defining rule to regenerate
4601         configure files.
4603         * configure.in: Remove restriction on compiling without static
4604         libs.
4606 1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>
4608         * test-skeleton.c: Provide hook for initializing code before the fork.
4609         * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
4610         removed.
4612         * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
4613         * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
4614         * libio/libioP.h: Adopt _IO_cleanup prototype.
4616         * stdlib/Makefile (tests): Add test-canon2.
4617         * stdlib/test-canon2.c: New file.
4618         * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
4619         be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
4620         symlink sequences.
4621         (__realpath): Make real function which checks RESOLVED parameter for
4622         not being NULL.
4624 1998-04-14  Ulrich Drepper  <drepper@cygnus.com>
4626         * catgets/open_catalog.c (__open_catalog): Fix problems with
4627         reading non-files.  Always close file.
4628         Reported by Cristian Gafton <gafton@redhat.com>.
4630         * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
4632 1998-04-14 13:28  Ulrich Drepper  <drepper@cygnus.com>
4634         * libc.map: Add various low-level I/O functions.
4636 1998-04-14 10:35  Ulrich Drepper  <drepper@cygnus.com>
4638         * string/Makefile (routines): Remove strerror_r.
4639         * string/strerror_r.c: Removed.
4640         * string/strerror.c: Call __strerror_r for doing the real work.
4641         * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
4642         add weak alias strerror_r.
4643         * sysdeps/mach/_strerror.c: Likewise.
4644         * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
4645         * elf/dl-error.c (_dl_signal_error): Likewise.
4646         * elf/dl-profile.c (_dl_start_profile): Likewise.
4647         * gmon/gmon.c (write_gmon): Likewise.
4648         * stdio-common/perror.c: Likewise.
4649         * stdio-common/vfprintf.c: Likewise.
4651 1998-04-10  Mark Kettenis  <kettenis@phys.uva.nl>
4653         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
4654         (sysdep_headers): Add netatalk/at.h.
4656 1998-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4658         * manual/socket.texi, manual/creature.texi, manual/time.texi:
4659         Formatting fixes.
4661 1998-04-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4663         * posix/regex.c: Rename __re_syntax_options back to
4664         re_syntax_options, aliases do not work with global variables due
4665         to copy relocations.
4666         (regex_compile): Use syntax parameter instead of
4667         re_syntax_options.
4669 1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4671         * configure.in: Document that enable-force-install is default.
4673 1998-04-13  Ulrich Drepper  <drepper@cygnus.com>
4675         * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
4676         all needed 36 bits.
4677         * sysdeps/posix/mkstemp.c: Likewise.
4679 1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>
4681         * iconvdata/8bit-gap.c: Simplify step data handling.
4682         * iconvdata/8bit-generic.c: Likewise.
4683         * iconvdata/big5.c: Likewise.
4684         * iconvdata/euccn.c: Likewise.
4685         * iconvdata/eucjp.c: Likewise.
4686         * iconvdata/euckr.c: Likewise.
4687         * iconvdata/euctw.c: Likewise.
4688         * iconvdata/iso6937.c: Likewise.
4689         * iconvdata/iso8859-1.c: Likewise.
4690         * iconvdata/jis0208.h: Likewise.
4691         * iconvdata/jis0212.c: Likewise.
4692         * iconvdata/jis0212.h: Likewise.
4693         * iconvdata/johab.c: Likewise.
4694         * iconvdata/ksc5601.h: Likewise.
4695         * iconvdata/sjis.c: Likewise.
4696         * iconvdata/t61.c: Likewise.
4697         * iconvdata/uhc.c: Likewise.
4699 1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>
4701         * manual/texinfo.texi: Updated from last version.
4703 1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>
4705         * iconvdata/cns11643.c: New file.
4706         * iconvdata/cns11643.h: New file.
4707         * iconvdata/cns11643l1.c: New file.
4708         * iconvdata/cns11643l1.h: New file.
4709         * iconvdata/euctw.c: New file.
4710         * iconvdata/Makefile: Add rules for EUC-TW and CNS.
4711         * iconvdata/gconv-modules: Likewise.
4713         * iconvdata/eucjp.c: Several bug fixes and improvements.
4714         * iconvdata/gb2312.h: Likewise.
4715         * iconvdata/jis0201.h: Likewise.
4716         * iconvdata/jis0208.h: Likewise.
4717         * iconvdata/jis0212.h: Likewise.
4719 1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>
4721         * iconvdata/eucjp.c: New file.
4722         * iconvdata/euccn.c: New file.
4723         * iconvdata/gb2312.h: New file.
4724         * iconvdata/gb2312.c: New file.
4725         * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
4726         * iconvdata/gconv-modules: Likewise.
4728         * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
4730 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4732         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4733         (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
4734         Patch by Mark Hatle <fray@kernel.crashing.org>.
4736 1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>
4738         * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
4739         comment.
4740         (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
4741         (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
4743 1998-04-12  Ulrich Drepper  <drepper@cygnus.com>
4745         * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
4747         * iconvdata/Makefile: Add rules for big5 conversion.
4748         * iconvdata/gconv-modules: Likewise.
4749         * iconvdata/big5.c: New file.
4751         * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
4752         Patch by Jim Meyering.
4754 1998-04-11  Ulrich Drepper  <drepper@cygnus.com>
4756         * rt/tst-aio.c: Add test for aio_read and lio_listio.
4758         * rt/lio_listio.c: Correct total counter handling.
4760         * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
4761         from request queue.
4763         * test-skeleton.c (main): Make stdout unbuffered.  Improve message
4764         of signal on exit even more.
4766         * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
4767         instead of call to pthread_cond_init.
4768         * rt/lio_listio.c (lio_listio): Likewise.
4769         * rt/lio_listio64.c (lio_listio64): Likewise.
4771         * nis/nis_findserv.c: Include sys/socket.h.
4773 1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>
4775         * Makeconfig (rtobjdir): New variable.
4776         (rpath-link): Add rtobjdir and thread directory, if available.
4778         * test-skeleton.c: Add support to remove temporary files.
4779         Always define test_dir.  Improve message about expected signal.
4781         * rt/Makefile (tests): Add tst-aio.
4782         Add rules for tst-aio to be linked with librt and thread library.
4783         * rt/aio_misc.c: Correct fundamental bugs.
4784         * rt/aio_suspend.c: Correct bug in test for available request.
4785         Initialize conditional variable.
4786         * rt/lio_listio.c: Initialize conditional variable.
4787         * rt/lio_listio64.c: Likewise.
4788         * rt/tst-aio.c: New file.
4790         * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
4791         * sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
4792         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4793         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4794         * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
4795         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4796         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4798 1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>
4800         * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
4802 1998-04-10  Ulrich Drepper  <drepper@cygnus.com>
4804         * elf/dl-load.c (open_path): Use correct name for test whether
4805         directory in load path exists.
4807         * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
4808         * sysdeps/libm-ieee754/e_pow.c: Fix typo.
4809         Patches by Tom Rini <trini@kernel.crashing.org>.
4811         * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
4812         * wcsmbs/wcstod_l.c: Likewise.
4813         * wcsmbs/wcstold_l.c: Likewise.
4815         * include/byteswap.h: New file.
4817         * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
4818         .bss segment size.  Patch by Joe Keane <jgk@jgk.org>.
4820         * inet/getnameinfo.c (getnameinfo): Change parameter to match
4821         declaration.  Patch by Richard Henderson.
4823 1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4825         * manual/process.texi (SIGCHLD example): Save errno.
4827 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4829         * posix/regex.c: Define regerror really as __regerror.
4830         * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
4831         regerror and regfree.
4833         * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
4834         * stdlib/strtod_l.c: Likewise.
4835         * stdlib/strtold_l.c: Likewise.
4837         * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
4839         * sysdeps/i386/i486/bits/string.h: Remove unused variables.
4841         * misc/syslog.c (closelog_internal): Set LogTag to NULL.
4842         Patch by Christian Gafton.
4844 1998-04-09 14:27  Ulrich Drepper  <drepper@cygnus.com>
4846         * manual/socket.texi (Interface Naming): Correct @deftypefun line
4847         for if_indextoname.
4849 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4851         * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
4853         * manual/socket.texi (Interface Naming): Fix typo.
4855 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
4857         * manual/examples/filesrv.c (main): Remove filename first.
4859         * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
4860         ?F_UNIX.
4862         * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
4863         instead of PF_UNIX.
4865         * manual/examples/filecli.c (main): Use AF_LOCAL
4866         instead of AF_UNIX.
4868 1998-04-09  Ulrich Drepper  <drepper@cygnus.com>
4870         * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
4871         signgam weak alias.
4872         * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
4873         * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
4874         * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
4875         * sysdeps/libm-ieee754/w_gamma.c: Likewise.
4876         * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
4877         * sysdeps/libm-ieee754/w_gammal.c: Likewise.
4879         * login/utmp_daemon.c (open_socket): Use __connect not connect.
4881 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4883         * configure.in: Add new option --enable-force-install.  Substitute
4884         force_install.
4885         * config.make.in (force-install): Set from configure.
4886         * Makerules (force-install): New phony target.
4887         * Makeconfig (+force): New variable.
4888         * Makefile: Use it in dependency list of installation targets.
4889         * db/Makefile: Likewise.
4890         * db2/Makefile: Likewise.
4891         * elf/Makefile: Likewise.
4892         * hurd/Makefile: Likewise.
4893         * iconv/Makefile: Likewise.
4894         * iconvdata/Makefile: Likewise.
4895         * intl/Makefile: Likewise.
4896         * localedata/Makefile: Likewise.
4897         * login/Makefile: Likewise.
4898         * po/Makefile: Likewise.
4899         * sunrpc/Makefile: Likewise.
4900         * sysdeps/mach/hurd/Makefile: Likewise.
4901         * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
4902         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4903         * timezone/Makefile: Likewise.
4905 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4907         * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
4908         alloc_size.  Pass return value of getcwd syscall to realloc.
4910 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4912         * manual/socket.texi: Spelling fixes.
4914 1998-04-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4916         * elf/dl-load.c (print_search_path): Remove unused variable.
4918 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4920         * login/utmp_file.c: use __ftruncate not ftruncate.
4921         * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
4922         for system call and make ftruncate weak alias.
4923         * posix/unistd.h: Add prototype for __ftruncate.
4924         * login/utmp_daemon.c (open_socket): Use __socket not socket.
4925         * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
4926         instead of snprintf and readv.
4927         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
4928         snprintf.
4929         * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
4930         directly.
4932 1998-04-08 20:06  Ulrich Drepper  <drepper@cygnus.com>
4934         * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
4935         * iconv/gconv_db.c: Use __ protected regex functions.
4936         * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
4937         * posix/getopt_init.c: Use __getpid not getpid.
4938         * posix/regex.c: Rename all global functions to start with __ and
4939         make old names weak aliases.
4940         * posix/regex.h: Adopt prototypes for this.
4941         * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
4942         a weak alias and use __getcwd instead of getcwd.
4943         * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
4944         * stdlib/strtod.c: Use __btowc instead of btowc.
4945         * stdlib/strtol.c: Likewise.
4946         * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
4947         * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
4948         and sys_errlist are weak.
4949         * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
4950         * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
4951         * wcsmbs/mbsnrtowcs.c: Likewise.
4952         * wcsmbs/mbsrtowcs.c: Likewise.
4953         * wcsmbs/wcsnrtombs.c: Likewise.
4954         * wcsmbs/wcsrtombs.c: Likewise.
4955         * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
4956         weak alias.
4957         * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
4958         * wctype/wctype.c: Define function as __wctype and make wctype
4959         weak alias.
4960         * wctype/wctype.h: Declare __wctype.
4962 1998-04-08  Ulrich Drepper  <drepper@cygnus.com>
4964         * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
4966 1998-04-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
4968         * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
4969         stat64.
4970         (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
4971         functions.
4972         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
4973         for __llseek.
4974         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4975         * sysdeps/unix/sysv/linux/llseek.c: Likewise.
4976         * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
4977         make it a weak alias.
4978         * posix/unistd.h: Declare __lseek64.
4980         * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
4981         (_IO_file_stat): Fix typo.
4982         (_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
4983         block size from the file.  Use __mempcpy if _LIBC.
4985 1998-04-07 20:32  Ulrich Drepper  <drepper@cygnus.com>
4987         * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
4988         * wcsmbs/mbrtowc.c: Likewise.
4989         * wcsmbs/mbsnrtowcs.c: Likewise.
4990         * wcsmbs/mbsrtowcs.c: Likewise.
4991         * wcsmbs/wcrtomb.c: Likewise.
4992         * wcsmbs/wcsnrtombs.c: Likewise.
4993         * wcsmbs/wcsrtombs.c: Likewise.
4994         * wcsmbs/wctob.c: Likewise.
4996         * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
4997         position of next output character correctly.
4998         (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
5000         * stdio-common/vfprintf.c (vfprintf): Clear state before used.
5002         * stdlib/strtod.c: Don't use mbtowc.
5004 1998-04-07 19:07  H.J. Lu  <hjl@gnu.org>
5006         * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
5007         what we want is smaller than a buffer.
5009 1998-04-07 18:14  Ulrich Drepper  <drepper@cygnus.com>
5011         * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
5012         this function.
5014 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5016         * configure.in: Recognize --with-headers flag and determine
5017         commandline options to be used in compilation.
5018         * Makeconfig (+includes): Use $(sysincludes).
5019         * config.make.in (sysincludes): Define from SYSINCLUDES.
5020         * glibcbug.in: Use SYSINCLUDES information.
5021         Patches by Zack Weinberg.
5023 1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5025         * glibcbug.in: On linux, report version of kernel headers seen
5026         by compiler.
5028 1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>
5030         * libc.map: Add __asprintf to GLIBC_2.1.
5031         * elf/dlerror.c: Use __asprintf, not asprintf.
5032         * libio/stdio.h: Declare __asprintf.
5033         * stdio-common/asprintf.c: Define as __asprintf and make asprintf
5034         a weak alias.
5036         * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
5037         to avoid inclusion from libc_pic.a.
5039         * elf/dl-runtime.c: Undo last patch.
5041         * stdlib/strtod.c: Don't use mbtowc, use btowc.
5043         * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
5044         as default, use NULL.
5046 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5048         * resolv/Makefile: Include ../Makeconfig - needed for building
5049         static NSS module.
5051 1998-04-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5053         * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
5054         static-nss since we don't want hesiod in the static NSS.
5056         * nss/Makefile: Build only nss_files as static.
5058         * nss/function.def: Remove support for service db.
5060 1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>
5062         * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
5064 1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>
5066         * posix/wordexp-test.c: Make IFS per test-case.
5068 1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5070         * glibcbug.in: Report version of gcc in use.  Remove unused variable
5071         ENVIRONMENT.
5073 1998-04-07  Gordon Matzigkeit  <gord@profitpress.com>
5075         * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
5076         `-print-file-name' to find as and ld.
5078 1998-04-07  Ulrich Drepper  <drepper@cygnus.com>
5080         * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
5081         template is wrong.  Remove unused varaible `ignored'.
5083 1998-04-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5085         * libc.map: Export __libc_sa_len.
5087         * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
5089 1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>
5091         * iconv/gconv.c: Take care for NULL arguments.
5092         * iconv/gconv_dl.c: Make find_func function global.
5093         * iconv/gconv_int.h: Add prototype for __gconv_find_func.
5094         Add prototypes for ASCII conversion functions.
5095         * iconv/gconv_simple.c: Add ASCII conversion functions.
5096         * locale/C-ctype.c: Correct charset name.
5098         * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
5099         (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
5100         wcsmbsload.
5101         * wcsmbs/btowc.c: Rewrite to use iconv functionality.
5102         * wcsmbs/mbrtowc.c: Likewise.
5103         * wcsmbs/mbsnrtowcs.c: Likewise.
5104         * wcsmbs/mbsrtowcs.c: Likewise.
5105         * wcsmbs/wcrtomb.c: Likewise.
5106         * wcsmbs/wcsnrtombs.c: Likewise.
5107         * wcsmbs/wcsrtombs.c: Likewise.
5108         * wcsmbs/wctob.c: Likewise.
5109         * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
5110         prototypes for wmemr*.
5111         * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
5112         * wcsmbs/wcsnlen.c: New file.
5113         * wcsmbs/wcsmbsload.c: New file.
5114         * wcsmbs/wcsmbsload.h: New file.
5116         * manual/filesys.texi: Mention risks of tmpnam and mktemp.
5118         * manual/install.texi: Describe some more critical points.
5120         * string/string.h: Add prototype for __strnlen.
5121         * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
5123         * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
5124         much less predictable names.
5125         * sysdeps/posix/mkstemp.c: Likewise.
5127 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5129         * manual/libc.texinfo (Top): Change "file namespace" to "local
5130         namespace".
5132         * manual/socket.texi: Change file namespace to local namespace.
5133         (Out-of-Band Data): Remove unneeded variable link.
5134         (Host Address Functions): Use uint32_t consequently and add a
5135         number of clarifications for IPv4/IPv6, classless addresses.
5136         (Internet Namespace): Added some paragraphs about IPv6.
5137         Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5139 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5141         Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
5143         * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
5144         (NI_NUMERICHOST, et al.): Tidy up and add comments.
5145         (AI_NUMERICHOST): Define.
5146         (getnodebyname): New prototype.
5147         (AI_V4MAPPED, et al.): New constants.
5149         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
5150         * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
5151         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
5152         for socket.
5153         * sysdeps/unix/sysv/linux/sa_len.c: New file.
5154         * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
5156         * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
5158         * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
5159         * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
5160         * socket/Makefile (headers): Add bits/sockunion.h.
5161         * socket/sys/socket.h: Include <bits/sockunion.h>
5162         * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
5163         <sys/socket.h>, to avoid getting sockaddr_union defined.
5164         * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
5165         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5166         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5168         * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
5169         (2.2.x kernels won't have it).
5171 1998-04-06 21:21  Ulrich Drepper  <drepper@cygnus.com>
5173         * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
5174         * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
5175         * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
5176         Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
5178 1998-04-05  Philip Blundell  <Philip.Blundell@pobox.com>
5180         * manual/socket.texi (Socket Addresses): Fix a typo.
5181         (Interface Naming): New section.
5183 1998-04-05 23:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5185         * configure.in: Check for CC using $ac_tool_prefix, to handle
5186         cross-compilation.  Use AC_CHECK_TOOL to find MiG.
5187         * config.make.in: Add MIG to be substituted.
5188         * mach/Machrules: Don't define MIG variable.
5190         Patch by Gordon Matzigkeit <gord@profitpress.com>.
5192 1998-04-05  Mark Kettenis  <kettenis@phys.uva.nl>
5194         * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
5195         strdupa to copy rpath.
5197 1998-04-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5199         * configure.in: Fix gcc version check.
5201         * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
5202         confusing.
5204 1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>
5206         * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
5207         of ptsname_r.
5209         * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
5210         like ttyname_r.
5211         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
5212         * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
5213         * sysdeps/unix/grantpt.c (grantpt): Change check of return value
5214         of __ptsname_r accordingly.
5215         * login/openpty.c (openpty): Likewise.
5217 1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>
5219         * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
5221 1998-04-06 13:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5223         * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
5225         * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
5227 1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5229         * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
5230         return value for better error checking.
5232 1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
5234         * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
5235         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
5237         * elf/elf.h (EM_SPARC64): Remove.
5238         (EM_SPARC32PLUS, EM_SPARCV9): Add.
5239         (HWCAP_SPARC_V9): Add.
5241         * elf/ldsodefs.h (_dl_hwcap): Declare.
5242         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
5243         Weaken so dlopen from static progies works.
5244         (WEAKADDR): New macro.
5245         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
5246         (LD_SO_PRELOAD): New macro.
5247         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
5248         (elf_machine_rela): Weaken _dl_rtld_map.
5250         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
5251         to __clone, and remove the later's alias.
5252         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
5254         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
5255         the kernel's structure.
5257         * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
5258         Sparc needs a custom value of __KERNEL_NCCS.
5260 1998-04-06  Richard Henderson  <rth@cygnus.com>
5262         * sysdeps/generic/libc-start.c: Allow init and fini to be null.
5264         * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
5265         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5267 1998-04-06  Richard Henderson  <rth@cygnus.com>
5269         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
5270         as the buffer is not properly aligned.
5271         Reported by Juan Cespedes <cespedes@debian.org>.
5273 1998-04-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5275         * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
5276         instead of AF_FILE.
5278 1998-04-05  Ulrich Drepper  <drepper@cygnus.com>
5280         * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
5281         and wc*tomb* functions.
5283 1998-04-04 15:16  Philip Blundell  <Philip.Blundell@pobox.com>
5285         * sysdeps/unix/start.c: Fix typo.
5287 1998-04-04  Ulrich Drepper  <drepper@cygnus.com>
5289         * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
5291 1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>
5293         * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
5294         expressions and using array variables.
5295         * sysdeps/libm-ieee754/e_asin.c: Likewise.
5296         * sysdeps/libm-ieee754/e_j0.c: Likewise.
5297         * sysdeps/libm-ieee754/e_j1.c: Likewise.
5298         * sysdeps/libm-ieee754/e_log.c: Likewise.
5299         * sysdeps/libm-ieee754/e_pow.c: Likewise.
5300         * sysdeps/libm-ieee754/k_cos.c: Likewise.
5301         * sysdeps/libm-ieee754/k_sin.c: Likewise.
5302         * sysdeps/libm-ieee754/k_tan.c: Likewise.
5303         * sysdeps/libm-ieee754/s_atan.c: Likewise.
5304         * sysdeps/libm-ieee754/s_erf.c: Likewise.
5305         * sysdeps/libm-ieee754/s_expm1.c: Likewise.
5306         * sysdeps/libm-ieee754/s_log1p.c: Likewise.
5307         Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
5309 1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>
5311         * iconv/gconv.c: Rewrite of the low-level of gconv.
5312         * iconv/gconv.h: Likewise.
5313         * iconv/gconv_builtin.h: Likewise.
5314         * iconv/gconv_close.c: Likewise.
5315         * iconv/gconv_db.: Likewise.
5316         * iconv/gconv_dl.c: Likewise.
5317         * iconv/gconv_int.h: Likewise.
5318         * iconv/gconv_open.c: Likewise.
5319         * iconv/gconv_simple.c: Likewise.
5320         * iconvdata/8bit-gap.c: Adapt for rewrite.
5321         * iconvdata/8bit-generic.c: Likewise.
5322         * iconvdata/euckr.c: Likewise.
5323         * iconvdata/iso646.c: Likewise.
5324         * iconvdata/iso6937.c: Likewise.
5325         * iconvdata/iso8859-1.c: Likewise.
5326         * iconvdata/johab.c: Likewise.
5327         * iconvdata/sjis.c: Likewise.
5328         * iconvdata/t61.c: Likewise.
5329         * iconvdata/uhc.c: Likewise.
5331 1998-04-03 15:34  Ulrich Drepper  <drepper@cygnus.com>
5333         * iconv/gconv_int.h: New file.  Internal header.
5334         * iconv/Makefile (distribute): Add gconv_int.h.
5335         * iconv/gconv.h: Remove definition which are now in gconv_int.h.
5336         * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
5337         * iconv/gconv_close.c: Likewise.
5338         * iconv/gconv_conf.c: Likewise.
5339         * iconv/gconv_db.c: Likewise.
5340         * iconv/gconv_dl.c: Likewise.
5341         * iconv/gconv_int.h: Likewise.
5342         * iconv/gconv_open.c: Likewise.
5343         * iconv/iconv.c: Likewise.
5344         * iconv/iconv_close.c: Likewise.
5345         * iconv/iconv_open.c: Likewise.
5346         * iconv/iconv_prog.c: Likewise.
5348 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5350         * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
5351         missing braces.
5353 1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5355         * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
5357 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5359         Based on patch from Pat Beirne:
5360         * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
5361         PIC and non-PIC now.  Correctly negate error number.
5362         (errno): Use `%' not `@' in .type directives.
5364 1998-04-03  Ulrich Drepper  <drepper@cygnus.com>
5366         * sysdeps/i386/strtok.S: Change to use single exit point.
5367         * sysdeps/i386/i686/strtok.S: Likewise.
5369 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5371         * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
5372         default.
5374 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5376         * Makerules (installed-libcs): Fix typo.
5378 1998-04-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5380         * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
5381         (UHC-routines): Remove ksc5601.
5383 1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>
5385         * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
5386         introduced in last change.
5388 1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>
5390         * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
5391         before 2.1.92.
5393 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5395         * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
5397         * stdlib/isomac.c: Use -isystem instead of -I for system include
5398         dir.
5400 1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>
5402         * resolv/res_comp.c (underscorechar): New.
5403         (middlechar): Allow '_'.
5405 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5407         * intl/explodename.c (stdlib.h): Include that file only if
5408         STDC_HEADERS or _LIBC.
5409         (string.h): Include that file only if HAVE_STRING_H or _LIBC.
5410         Patch by Philippe De Muyter <phdm@macqel.be>.
5412 1998-04-01 21:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5414         * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
5415         (AC_PROG_CHECK_VER): New macro.
5416         * configure.in: Use AC_PROG_CHECK_VER to check versions of
5417         gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.
5419 1998-04-02 15:13  Ulrich Drepper  <drepper@cygnus.com>
5421         * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
5422         * sysdeps/i386/i686/strtok.S: New file
5423         * sysdeps/i386/i686/strtok_r.S: New file
5425 1998-04-02  Mark Kettenis  <kettenis@phys.uva.nl>
5427         * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
5428         type to __off64_t.
5429         * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
5430         parameter as __off64_t instead of __off_t.
5431         (ftello): Make alias for ftello64 instead of ftello.  Change
5432         return type to __off64_t.
5434 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5436         * sysdeps/i386/bits/string.h: Fix various typos.
5437         Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
5439         * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
5441 1998-04-02  Ulrich Drepper  <drepper@cygnus.com>
5443         * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
5444         lchown syscall correctly.  [PR libc/541].
5446 1998-04-02 11:45  Ulrich Drepper  <drepper@cygnus.com>
5448         * localedata/Makefile: Correct testsuite rules.
5450         * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
5451         * iconvdata/iso646.c: Fix conversion from UCS4.
5453         * elf/ldsodefs.h: Mark internal function with internal_function.
5454         * elf/dl-addr.c: Likewise.
5455         * elf/dl-close.c: Likewise.
5456         * elf/dl-debug.c: Likewise.
5457         * elf/dl-deps.c: Likewise.
5458         * elf/dl-error.c: Likewise.
5459         * elf/dl-fini.c: Likewise.
5460         * elf/dl-init.c: Likewise.
5461         * elf/dl-load.c: Likewise.
5462         * elf/dl-lookup.c: Likewise.
5463         * elf/dl-object.c: Likewise.
5464         * elf/dl-open.c: Likewise.
5465         * elf/dl-profile.c: Likewise.
5466         * elf/dl-reloc.c: Likewise.
5467         * elf/dl-runtime.c: Likewise.
5468         * elf/dl-symbol.c: Likewise.
5469         * elf/dl-version.c: Likewise.
5470         * elf/dlerror.c: Likewise.
5471         * sysdeps/generic/dl-sysdep.c: Likewise.
5472         * sysdeps/i386/dl-machine.h: Likewise.
5473         * intl/finddomain.c: Likewise.
5474         * intl/gettextP.h: Likewise.
5475         * intl/loadmsgcat.c: Likewise.
5477 1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>
5479         * iconv/gconv_simple.c: New builtins for UCS en/decoding.
5480         * iconv/gconv_builtin.h: Add definitions for new builtins.
5481         * iconv/gconv.h: Add prototypes for new builtins.
5483         * iconvdata/Makefile (modules): Add ISO646.
5484         Add rules for ISO646 module.
5485         (distribute): Add iso646.c.
5486         * iconvdata/gconv-modules: Add module and alias definition for
5487         ISO646 charsets.
5488         * iconvdata/iso646.c: New file.
5490 1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>
5492         * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
5493         * iconv/iconv_prog.c: Implement --list option to print available
5494         coded character sets.
5496 1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5498         Make fread() read large blocks straight to the user buffer.
5500         * libio/fileops.c (_IO_file_xsgetn): New function.
5501         (_IO_file_jumps): Use it.
5502         * libio/libioP.h: Prototype it.
5504 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5506         * iconv/gconv_conf.c (builtin_aliases): New variable.
5507         (__gconv_read_conf): Add builtin aliases.
5508         * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
5509         noop macro before including gconv_builtin.h.
5510         * iconv/gconv_builtin.h: Add alias names.
5512         * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
5513         number of converted bytes correctly.
5515 1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5517         * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
5518         we only wait for a replay.
5520 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5522         * iconvdata/Makefile: Finally fix dependencies for JOHAB and
5523         EUC-KR modules.
5525 1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>
5527         * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
5528         use PLTJMP() rather than explicit (PLT).
5530         * sysdeps/arm/elf/start.S: Leave most of the initialisation for
5531         __libc_start_main().
5533         Based on patch from Pat Beirne:
5534         * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
5535         Always define, not only #ifndef PIC.
5536         (DO_CALL): Pass fifth argument correctly in R4.
5537         (PSEUDO): Correct test for error, call syscall_error through PLT
5538         if PIC.
5540 1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>
5542         * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
5543         definitions.
5545 1998-04-01  Ulrich Drepper  <drepper@cygnus.com>
5547         * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
5548         JOHAB.so.
5550 1998-04-01 13:20  Mark Kettenis  <kettenis@phys.uva.nl>
5552         * io/Makefile (static-only-routines): Add stat64, fstat64 and
5553         lstat64.
5555 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5557         * manual/Makefile: Use object-suffixes-for-libc instead of
5558         object-suffixes.
5559         * rpm/Makefile (install-lib): Likewise.
5561 1998-03-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5563         * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
5565         * sysdeps/unix/sysv/linux/configure.in: Match $machine against
5566         `m68*', not only `m68k'.
5568 1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5570         * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
5572         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
5573         install lddlibc4.
5575 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5577         * iconvdata/Makefile: Use libKSC shared object in JOHAB and
5578         EUC-KR.
5580         * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
5581         comment.
5583 1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>
5585         * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
5586         the init stuff.
5588 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5590         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
5591         adjtimex syscall.
5592         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5593         adjtimex.
5594         Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
5596 1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5598         * Makerules (install): Change comment for libc.so following the
5599         libc_nonshared changes.
5601 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5603         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
5605         * iconvdata/gap.pl: Avoid using %#06x.
5607 1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5609         * Makerules: Use $? instead of S^ when invoking ar.
5611 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5613         * db2/compat.h: Allow EFTYPE being defined.
5614         * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
5615         * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
5616         * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
5617         * sysdeps/mach/bits/libc-lock.h: Fix typo.
5618         (__libc_once): Correctly unlock semaphore.
5619         * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
5620         * sysdeps/unix/bsd/getpt.c: Fix typo.
5621         Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
5623 1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
5625         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
5626         macros.
5628 1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>
5630         * include/mntent.h: New file.
5632         * elf/Makefile (trusted-dirs.h): Append slash to filename.
5633         * elf/dl-load.c: Rewrite search path handling.
5634         * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
5635         * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
5636         * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
5637         * elf/ldsodefs.h: Add prototype.
5639 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5641         * nss/nsswitch.c (__nss_lookup): Adjust comment.
5643         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
5644         function.
5646         * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
5648         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
5649         New function.
5650         (HWCAP_IMPORTANT): New definition.
5652 1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>
5654         * elf/dl-open.c (_dl_open): Fix a typo.
5655         (_dl_global_scope_alloc): Make it static.
5657 1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>
5659         * Makerules: Remove duplicate rules to handle stamp.oS.
5661 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5663         * manual/examples/inetsrv.c (main): Change prototype of
5664         make_socket following change in mkisock.c.
5666         * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
5667         example host.
5668         (main): Change prototype of init_sockaddr following change in
5669         isockadd.c.
5671         * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
5672         * manual/examples/isockad.c (init_sockaddr): Likewise.
5674         * manual/examples/mkfsock.c (make_named_socket): Removed blank
5675         lines for clarification.
5676         (make_named_socket): Use strncpy instead of strcpy.
5677         Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
5679 1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>
5681         * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
5682         determining libs to remove.
5683         (postclean): Add soversions.mk.
5684         * Makerules (common-mostlyclean): Add tests-static and generated
5685         files.
5687 1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>
5689         * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
5690         scanning for \0.
5691         (__strncat_g): Add i686 specific code.
5693 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5695         * manual/install.texi (Reporting Bugs): Ask to include section
5696         names in reports.
5698 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5700         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
5701         guard against direct inclusion.
5703 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5705         Rework support for libc_nonshared.a:
5706         * Makeconfig (object-suffixes-for-libc): New variable.
5707         * Rules: Remove handling of static-only and shared-only routines.
5708         * Makerules: Handle them here instead.  Use
5709         object-suffixes-for-libc instead of object-suffixes when dealing
5710         with libc objects.
5711         (object-suffixes-for-rules): Remove variable.
5712         (elide-routines.oS): Elide all routines except static-only
5713         routines.
5714         ($(objpfx)stamp.oS): Special rule for when static-only-routines is
5715         empty.
5716         (installed-libcs): Remove special case for .oS.
5717         (rmobjs): Likewise.
5719 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5721         * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
5722         do-tst-rpmatch): New targets.
5723         (test): Use them.
5724         (install-locales): Ignore comment lines.
5726 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5728         * elf/Makefile ($(objpfx)ld.so): Depend on version script.
5729         ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
5730         ($(objpfx)rtldtbl.h): Likewise.
5731         (CPPFLAGS-dl-load.c): Fix reference to object directory.
5733 1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>
5735         * manual/string.texi (Finding Tokens in a String): Extend strsep
5736         description and correct example.
5738 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5740         * manual/socket.texi: Remove misguided explicit line breaks and
5741         fix the formatting problem instead by reformulating the
5742         paragraphs.
5743         * manual/filesys.texi: Likewise.
5744         * manual/conf.texi: Likewise.  Don't typeset table with index
5745         fonts, that looks worse than a minimally overfull line.
5747 1998-03-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5749         * nscd/Makefile (nscd-modules): Move definition outside of
5750         conditional.
5752         * pwd/Makefile: Use have-thread-library to test for thread
5753         library.
5755 1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5757         * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
5759         * iconvdata/uhc.c (gconv): Remove unused variable idx.
5761 1998-03-30  Ulrich Drepper  <drepper@cygnus.com>
5763         * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
5765 1998-03-29  Ulrich Drepper  <drepper@cygnus.com>
5767         * nss/getXXent_r.c: Correctly handle failing setXXent function.
5769         * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
5770         Reported by Andreas Jaeger.
5772 1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>
5774         * elf/Makefile: Fix typo.
5775         (distribute): Add dl-librecon.h.
5776         * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
5777         * elf/ldd.sh.in: Likewise.
5778         * elf/ldsodefs.h: Declare _dl_correct_cache_id.
5779         * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
5780         Use strsep correctly.
5781         (process_envvars): Allow platform specific variables.
5782         * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
5783         (_dl_load_cache_lookup): Test cache IDs found against
5784         _dl_correct_cache_id.
5785         * sysdeps/generic/dl-librecon.h: New file.
5786         * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
5788         * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
5790 1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>
5792         * config.make.in (ldd-rewrite-script): New variable.
5793         * configure.in: Substitute ldd-rewrite-script.
5794         * elf/Makefile: Rewrite rules to generate ldd script.
5795         * elf/ldd.bash.in: Allow handling of non-ELF binaries.
5796         * elf/ldd.sh.in: Likewise.
5797         * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
5798         * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
5799         point to sed script for libc4 handling insertion for ix86, m68, SPARC.
5800         * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
5801         * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
5803 1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5805         * inet/rcmd.c (iruserok): Remain setuid to the local user
5806         while .rhosts is actually read, to make .rhosts-over-NFS work
5807         (PR libc/524).  Use iruserfopen() for security checks on both
5808         hosts.equiv and .rhosts.  General cleanup.
5809         (iruserfopen): New function, performs careful checking on
5810         hosts.equiv/.rhosts files.  Disallows all the old forbidden
5811         stuff plus hard links to files.
5813 1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>
5815         * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
5817         * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
5819 1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>
5821         * sysdeps/i386/i486/bits/string.h: Fix typos.
5823 1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>
5825         * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
5826         strong alias.
5828         * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
5830         * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
5831         Added.  Used by libm.so on alpha.
5833 1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5835         * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
5836         defined.
5838 1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>
5840         * Makerules (object-suffixes-for-rules): Add .oS only for
5841         building shared library.
5842         Add ranlib rule for nonshared library.
5843         (rmobjs): Fix typo.
5845         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
5846         into for shared library only.
5847         (CPPFLAGS-.oS): Add -DPIC.
5848         (libtypes): Use $(object-suffixes-for-rules) instead of
5849         $(object-suffixes).
5851 1998-03-28  Ulrich Drepper  <drepper@cygnus.com>
5853         * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
5854         and install lddlibc4.
5856 1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5858         * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
5859         hash.
5860         * iconvdata/gaptab.pl: Likewise.
5862 1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>
5864         * Rules: Allow Makefiles to specify test-static for tests which
5865         cannot be linked dynamically.
5866         * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
5867         tests-static.
5869         * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
5871         * misc/error.c: Pretty print.
5873 1998-03-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5875         * Makerules (libc_nonshared-name): Remove variable.
5876         (installed-libcs): Use libc-name instead.
5877         ($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
5878         dynamic linker.
5880         * Makeconfig (link-libc): Link against libc_nonshared.a instead of
5881         libc.a.  Remove explicit reference to dynamic linker.
5883 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5885         * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
5886         to wchar_t.
5887         * iconv/iconv_prog.c: Correctly test for write failure.
5888         * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
5889         * iconvdata/gconv-modules: Likewise.
5890         * iconvdata/euckr.c: New file.
5891         * iconvdata/johab.c: New file.
5892         * iconvdata/ksc5601.c: New file.
5893         * iconvdata/ksc5601.h: New file.
5894         * iconvdata/uhc.c: New file.
5895         Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
5897         * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
5898         * stdio/fopen.c: Correct handling of 'x' flag.
5899         Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
5901 1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5903         * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
5904         * sunrpc/rpcsvc/key_prot.x: Likewise.
5905         * sunrpc/key_prot.c: Likewise.
5907 1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>
5909         * sysdeps/i386/bits/string.h: Correct things which never worked.
5910         * sysdeps/i386/i486/bits/string.h: Add clobber marks.
5911         Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
5913 1998-03-27  Ulrich Drepper  <drepper@cygnus.com>
5915         * intl/textdomain.c [_LIBC]: Define strdup only if not yet
5916         defined.  Reported by Thorsten Kukuk.
5918 1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>
5920         * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
5922 1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
5924         * manual/install.texi (Supported Configurations): Add
5925         arm-linuxaout and arm-none.
5927 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5929         * version.h (VERSION): Bump to 2.0.93.
5931 1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>
5933         * configure.in (libc_cv_ar_S): New to indicate if ar S works.
5935         * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
5937         * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
5938         (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
5940 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5942         * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
5944 1998-03-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5946         Put the static-only routines in a separate library.
5947         * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
5948         variables.
5949         (all-object-suffixes): Add .oS.
5950         * Makerules (libc_static-name): New variable.
5951         (installed-libcs): Add libc_nonshared.a.
5952         ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
5953         (object-suffixes-for-rules): New variable.  Use it instead of
5954         object-suffixes for generating compilation rules.
5955         (rmobjs): Also remove *.oS.
5956         * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
5957         ($(objpfx)stamp.oS): New target.
5959 1998-03-26  Ulrich Drepper  <drepper@cygnus.com>
5961         * Makefile (FAQ): Automatically check in regenerated FAQ.
5963 1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5965         * Makefile (INSTALL): Depend on install.texi, not maint.texi.
5967 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
5969         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
5970         * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
5972         * sysdeps/generic/stub_warning: Removed.
5974         * Makefile (distribute): Add include/des.h.
5976         * manual/Makefile (distribute): Change dir-add.texi to
5977         dir-add.texinfo.
5979         * glibcbug.in: Create files safely when mktemp is not available.
5981         * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
5982         Patch by a sun <asun@saul1.u.washington.edu>.
5984 1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
5986         * libc.map: Rename getname to getnetname.
5988 1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>
5990         * manual/maint.texi: Use supported platform in examples.
5992         * manual/install.texi: Document some installation tips.
5994 1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>
5996         * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
5997         Fix a bug so that it returns an error if a numeric parameter is
5998         unset and WRDE_UNDEF is set.
5999         Patch by Andreas Schwab and Tim Waugh.
6000         * posix/wordexp-test.c: Add new new test.
6002 1998-03-25  Ulrich Drepper  <drepper@cygnus.com>
6004         * posix/regex.c (regex_compile): Last patch wasn't entirely
6005         correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
6007 1998-03-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6009         * manual/filesys.texi (Scanning Directory Content): Fix typo.
6011 1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>
6013         * sysdeps/i386/bits/string.h: Fix all assembler statements so that
6014         clobbered registers don't appear as operands.
6016 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6018         * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
6019         Solaris' sake.
6021         * posix/regex.c (regex_compile): Don't allow non-alphabet
6022         characters in character set name.
6024 1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>
6026         * posix/wordexp.c (w_newword): New function.
6027         (do_parse_glob): New function.
6028         (parse_glob): Use do_parse_glob.  Now handles the case where a
6029         variable expansion causes a field-split.
6030         (wordexp): Use w_newword.
6031         (parse_arith): Likewise.
6032         (exec_comm): Likewise.
6033         (parse_comm): Likewise.
6034         (parse_param): Likewise.
6035         (parse_backtick): Likewise.
6037 1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>
6039         * posix/wordexp-tst.sh: Another test.
6041         * posix/wordexp-test.c: Two new tests.
6043         * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
6044         directly (the code using realloc was buggy).
6045         (parse_param): Fix typo in comment.
6047 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6049         * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
6051 1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
6053         * libc.map: Add more rpc auth functions/variables.
6055         * nscd/nscd.c: Add -g option to argp options.
6057 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6059         * configure.in: Be prepared for gcc 2.9.10 and up.
6060         * configure.in: Add missing disabling of quote characters in
6061         compiler version check.  Reported by HJ Lu.
6063 1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6065         * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
6067 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6069         * intl/locale.alias: Fix spelling of romanian.
6071         * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
6072         (distribute): Remove des.h.
6073         * include/des.h: New file.
6074         * sunrpc/des.h: Moved to ...
6075         * sunrpc/rpc/rpc_des.h: ...here.
6077 1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
6079         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
6080         Fix paren.
6082 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6084         * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
6085         parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
6087 1998-03-24  Ulrich Drepper  <drepper@cygnus.com>
6089         * elf/ldsodesf.h: New file.
6090         * elf/Makefile (distribute): Add ldsodefs.h.
6091         * elf/link.h: Separate internal information in exter header.
6092         * elf/rtld.c: Include elf/ldsodefs.h not link.h.
6093         * elf/dl-minimal.c: Likewise.
6094         * sysdeps/generic/dl-sysdep.c: Likewise.
6095         * elf/sprof.c: Likewise.
6096         * elf/dlsym.c: Likewise.
6097         * elf/dlvsym.c: Likewise.
6098         * elf/dlerror.c: Likewise.
6099         * elf/dladdr.c: Likewise.
6100         * elf/dlclose.c: Likewise.
6101         * elf/dlopen.c: Likewise.
6102         * elf/dl-addr.c: Likewise.
6103         * elf/dl-close.c: Likewise.
6104         * elf/dl-debug.c: Likewise.
6105         * elf/dl-deps.c: Likewise.
6106         * elf/dl-error.c: Likewise.
6107         * elf/dl-fini.c: Likewise.
6108         * elf/dl-init.c: Likewise.
6109         * elf/dl-load.c: Likewise.
6110         * elf/dl-lookup.c: Likewise.
6111         * elf/dl-object.c: Likewise.
6112         * elf/dl-open.c: Likewise.
6113         * elf/dl-profile.c: Likewise.
6114         * elf/dl-reloc.c: Likewise.
6115         * elf/dl-runtime.c: Likewise.
6116         * elf/dl-support.c: Likewise.
6117         * elf/dl-symbol.c: Likewise.
6118         * elf/dl-version.c: Likewise.
6119         * sysdeps/generic/dl-cache.c: Likewise.
6120         * sysdeps/generic/libc-start.c: Likewise.
6121         * iconv/gconv_dl.c: Likewise.
6122         * nss/nsswitch.c: Likewise.
6124 1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>
6126         * manual/nss.texi: The database is not called network but networks.
6127         Reported by Herbert Xu <herbert@gondor.apana.org.au>.
6129 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6131         * configure.in: Correct test for compiler version.
6132         Check that LD_LIBRARY_PATH doesn't contain current path.
6134 1998-03-23 07:52  H.J. Lu  <hjl@gnu.org>
6136         * elf/dl-close.c (_dl_close): Fix byte count while removing
6137         the shared object from the global scope list and optimize
6138         a little bit.
6140 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6142         * manual/filesys.texi (Scanning Directory Content): Add missing
6143         closing brace.
6144         (Scanning Directory Content): Fix text.
6146 1998-03-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6148         * manual/memory.texi (Heap Consistency Checking): Add paragraph
6149         explaining difference of -lmcheck and MALLOC_CHECK_.
6151 1998-03-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6153         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
6154         typos in comments.
6156 1998-03-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6158         * test-skeleton.c (main): Fix test for exit signal.
6160 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6162         * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
6164 1998-03-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6166         * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
6167         appropriate.
6169 1998-03-23 11:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6171         * libc.map: Export __strtok_r.
6173 1998-03-23  Ulrich Drepper  <drepper@cygnus.com>
6175         * posix/regex.c (re_compile_fastmap): Remove unused variable
6176         num_regs and adjust comment.
6177         Patch by Jim Meyering <meyering@ascend.com>.
6179         * math/math.h (M_*l): Extend long double constants to be usable
6180         for 128 bit floats.  Patch by Richard Henderson.
6182 1998-03-23 11:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6184         * sysdeps/m68k/m68020/wordcopy.S: New file.
6186 1998-03-22  Ulrich Drepper  <drepper@cygnus.com>
6188         * posix/wordexp.c: Rewrite parse_param.
6189         Patch by Tim Waugh and Andreas Schwab.
6191 1998-03-21 23:46  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6193         * Rules: Update timestamps on empty object files.
6195 1998-03-21 09:15  Ulrich Drepper  <drepper@cygnus.com>
6197         * manual/filesys.texi (Scanning Directory Content): Add description
6198         of 64 bits scandir function and friends.
6200 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6202         * glibcbug.in: Use mktemp to generate unique file name for
6203         temporary files.
6205         * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
6206         ptsname_r.  Use cast for execve call.
6208 1998-03-20 16:24  Ulrich Drepper  <drepper@cygnus.com>
6210         * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
6211         * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
6212         * io/sys/statvfs.h: New file.
6213         * sysdeps/generic/fstatvfs.h: New file.
6214         * sysdeps/generic/statvfs.h: New file.
6215         * sysdeps/generic/fstatvfs64.h: New file.
6216         * sysdeps/generic/statvfs64.h: New file.
6217         * sysdeps/generic/bits/statvfs.h: New file.
6218         * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
6219         * sysdeps/unix/sysv/linux/statvfs.c: New file.
6220         * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
6222         * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
6223         and f_ffree elements.
6225         * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print.  Define
6226         mount options in enum.
6228 1998-03-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6230         * configure.in: Check for recent egcs/gcc.
6232 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6234         * libc.map: Add alphasort64, scandir64, versionsort64.
6235         * dirent/Makefile (routines): Add scandir64, alphasort64, and
6236         versionsort64.
6237         * dirent/alphasort64.c: New file.
6238         * dirent/scandir64.c: New file.
6239         * dirent/versionsort64.c: New file.
6240         * dirent/dirent.h: Add LFS support for scandir, alphasort, and
6241         versionsort.
6242         * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
6243         old name weak alias.
6244         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6246         * dirent/alphasort.c: Use strcoll instead of strcmp.
6248         * dirent/scandir.c: Optimize a bit.
6250         * dirent/versionsort.c: Pretty print.
6252 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6254         * string/string.h: Add prototype for __strtok_r.
6256 1998-03-20 12:14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6258         * posix/Makefile: Fix typo in last change.
6260 1998-03-20  Ulrich Drepper  <drepper@cygnus.com>
6262         * dirent/dirent.h (scandir): Make argument of select function const.
6263         * dirent/scandir.c (scandir): Likewise.
6264         Reported by David.Faure@insa-lyon.fr [PR libc/512].
6266 1998-03-19 14:28  Ulrich Drepper  <drepper@cygnus.com>
6268         * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
6269         weak alias.
6270         * sysdeps/i386/strtok_r.c: Likewise.
6272         * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
6273         * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
6274         * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
6275         * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
6276         * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
6277         * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
6279 1998-03-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6281         * intl/localealias.c: Remove unneeded define for strdup.
6283 1998-03-19 13:45  Ulrich Drepper  <drepper@cygnus.com>
6285         * manual/argp.texi: Adjust for better TeX output.
6286         * manual/arith.texi: Likewise.
6287         * manual/conf.texi: Likewise.
6288         * manual/filesys.texi: Likewise.
6289         * manual/header.texi: Likewise.
6290         * manual/lgpl.texinfo: Likewise.
6291         * manual/math.texi: Likewise.
6292         * manual/message.texi: Likewise.
6293         * manual/pattern.texi: Likewise.
6294         * manual/process.texi: Likewise.
6295         * manual/signal.texi: Likewise.
6296         * manual/socket.texi: Likewise.
6297         * manual/startup.texi: Likewise.
6298         * manual/stdio.texi: Likewise.
6299         * manual/terminal.texi: Likewise.
6300         * manual/examples/rprintf.c: Likewise.
6301         * manual/examples/testopt.c: Likewise.
6302         Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6304 1998-03-19 20:45  Tim Waugh  <tim@cyberelk.demon.co.uk>
6306         * posix/wordexp.c (parse_param): Don't immediately stop parsing a
6307         parameter name after seeing a digit if it's enclosed in braces.
6309 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6311         * sysdeps/i386/i686/Implies: Add libm-i387/i686.
6313 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6315         * manual/memory.texi (Heap Consistency Checking): Document
6316         MALLOC_CHECK_.  Based on a text by Wolfram Gloger.
6318 1998-03-18 17:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6320         * manual/Makefile: Add missing rules.
6322 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6324         * timezone/Makefile (generated): Define to remove all stamp files.
6326         * sysdeps/generic/strsep.c: Also undefine __strsep.
6328         * string/strdup.c: Undefine __strdup and strdup first.
6329         * string/strndup.c: Likewise.
6331         * string/bits/string2.h: Correct strtok_r and strsep.
6332         Add strndup optimization.
6334         * sysdeps/generic/strsep.c: Little optimization.
6336 1998-03-18 14:25  Ulrich Drepper  <drepper@cygnus.com>
6338         * string/bits/string2.h: Add optimization for strdup.
6339         Always define __strsep and __strtok_r and make real names available
6340         when feature select macros are defined.
6342 1998-03-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6344         * manual/install.texi (Installation): Use i486-linux as example
6345         instead of the unsupported sunos4.
6346         (Reporting Bugs): Mention glibcbug script.
6347         (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
6349 1998-03-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6351         * posix/wordexp-tst.sh: Make portable.  Add more tests.
6353         * posix/Makefile (do-globtest do-wordexp-test): New targets.
6355 1998-03-18 13:38  Ulrich Drepper  <drepper@cygnus.com>
6357         * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
6358         * sysdeps/generic/libc-start.c: ...here, replacing former content.
6360         * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
6361         netpacket/packet.h.
6363         * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
6365 1998-03-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6367         * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
6368         in enumerator for strict standard compliance.
6369         * sysdeps/generic/bits/resource.h: Likewise.
6371 1998-03-18 10:04  Philip Blundell  <pb@nexus.co.uk>
6373         * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
6374         (PLTJMP): New macro.
6376         * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
6377         longjmp() when floating point enabled.
6378         * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
6379         * sysdeps/arm/__longjmp.S: Remove floating point code.
6380         * sysdeps/arm/setjmp.S: Likewise.
6382         * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
6383         * sysdeps/arm/bsd-_setjmp.S: Likewise.
6385         * sysdeps/arm/memset.S: New file; optimised ARM implementation of
6386         memset().
6388         * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
6389         prototype.
6391 1998-03-17 16:16  Philip Blundell  <pb@nexus.co.uk>
6393         Based on patches from Pat Beirne and Scott Bambrough:
6395         * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
6397         * sysdeps/arm/bits/fenv.h: New file.
6399         * sysdeps/arm/dl-machine.h: New file.  Add ELF support.
6400         * sysdeps/arm/elf/setjmp.S: Likewise.
6401         * sysdeps/arm/elf/start.S: Likewise.
6402         * sysdeps/arm/init-first.c: Likewise.
6403         * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
6404         * sysdeps/arm/sysdep.h: Change format of .type directive.  Correct
6405         comment about floating point to reflect current reality.
6407         * sysdeps/unix/arm/brk.S: Support PIC.
6408         * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
6409         re-entrant code.
6410         * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
6411         return; call syscall_error through PLT.
6412         * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
6414 1998-03-04 12:01  Philip Blundell  <pb@nexus.co.uk>
6416         * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
6417         * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
6418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
6420 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6422         * dirent/list.c (test): Return error value.
6423         (main): Exit with error value.
6425         * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
6427         * Makefile (distribute): Add test-skeleton.c.
6428         * test-skeleton.c: New file.
6429         * dirent/Makefile (tests): Add opendir-tst1.
6430         * dirent/opendir-tst1.c: New file.
6432 1998-03-18  Ulrich Drepper  <drepper@cygnus.com>
6434         * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
6435         Optimize memory handling.
6436         * sysdeps/unix/closedir.c: Optmize memory handling.
6438 1998-03-17  Ulrich Drepper  <drepper@cygnus.com>
6440         * posix/wordexp.c (parse_param): Fix off-by-on error in $@
6441         handling.  Optimize a bit.
6443 1998-03-18 00:25  Tim Waugh  <tim@cyberelk.demon.co.uk>
6445         * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
6446         (parse_param): Fold in Andreas' fixes to do with when the end of
6447         the parameter name has been reached, and quoting inside ${...}.
6448         (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
6449         $((echo);(ls)).
6451 1998-03-16 22:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6453         * manual/maint.texi: Split out installation and contribution
6454         sections to their own appendices.  Misc cleanups.
6455         * manual/install.texi: New file.  Mention add-ons.  Refer to FAQ.
6456         * manual/contrib.texi: New file.
6457         * manual/libc.texinfo: Pull in new appendices.
6458         * manual/header.texi: Correct node pointer.
6460 1998-03-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6462         * manual/process.texi (Process Completion): Clarify return value
6463         of waitpid a bit.  Patch by Zack Weinberg. [PR libc/490]
6465 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6467         * posix/wordexp-test.c: Add more tests.
6468         (testit): Fix logic.
6470         * posix/wordexp.c (exec_comm): In the child, redirect stderr to
6471         /dev/null instead of closing it, close pipe.  Always chop off all
6472         trailing newlines.  Kill and reap child before returning error.
6473         (w_addword, parse_glob): Fix memory leak.
6474         (wordexp): Fix dangling pointer problem.
6476 1998-03-16  Ulrich Drepper  <drepper@cygnus.com>
6478         * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
6480         * posix/wordexp-test.c (main): Fix little thinkos and typos.
6482         * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
6483         directory index by only the language.
6485 1998-03-16 13:02  Tim Waugh  <tim@cyberelk.demon.co.uk>
6487         * posix/wordexp-tst.sh: Store test results in the
6488         ${common_objpfx}posix directory.
6490         * posix/wordexp-test.c: Remove temporary directory afterwards.
6492 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6494         * libc.map: Export internal versions of cancelable functions.
6496 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6498         * Makerules (MAKEFLAGS): Append `r'.
6500 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6502         * Makeconfig: Define have-thread-library, shared-thread-library
6503         and static-thread-library if a thread library is available.  Don't
6504         define rt.
6505         * nscd/Makefile: Compile nscd if have-thread-library.  Rename
6506         nscd-routines to nscd-modules.  Use shared-thread-library and
6507         static-thread-library in dependencies.
6508         * rt/Makefile: Only compile librt if have-thread-library is
6509         defined.
6510         * Makefile (subdirs): Always include rt subdir.
6512 1998-03-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6514         * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
6516 1998-03-14 21:55  Ulrich Drepper  <drepper@cygnus.com>
6518         * configure.in: Recognize variations for 32 MIPS processors.
6519         Don't assume ELF systems always have .weak, test for .weakext.
6521 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6523         * configure.in: Irix6 is an ELF platform.
6525 1998-03-14 11:47  H.J. Lu  <hjl@gnu.org>
6527         * elf/dl-close.c (_dl_close): Stop unmapping the segments after
6528         unmapping the last loaded segment.
6530 1998-03-14 15:54  Ulrich Drepper  <drepper@cygnus.com>
6532         * configure.in: Set base_os for Irix6.
6533         Correct test for .weakext.
6535 1998-03-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6537         * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
6538         (new_line) to _dl_debug_message call.
6540 1998-03-14 00:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6542         * posix/wordexp.c (parse_param): Perform field-splitting after
6543         expanding positional parameter.
6545         * posix/wordexp-tst.sh: Test that field-splitting is performed
6546         after expanding positional parameter.
6548         * posix/wordexp.c (parse_param): Fixed memory leak in
6549         field-splitting after parameter expansion.
6551 1998-03-14  Ulrich Drepper  <drepper@cygnus.com>
6553         * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
6554         (get_toplvl_escape): Correctly terminate loop at EOF.
6555         Patch by Cristian Gafton <gafton@redhat.com>.
6557 1998-03-13 16:55  Ulrich Drepper  <drepper@cygnus.com>
6559         * string/tester.c (test_strpbrk): Add more strpbrk tests.
6560         (test_strsep): Likewise.  Correct horrible bugs.
6562         * string/bits/string2.h (strcspn): Optimize also reject string of
6563         length 2 and 3.
6564         (strspn): Likewise.
6565         (strpbrk): Likewise.
6566         (strsep): Likewise.  Correct bug with successive separators and
6567         separators at the end of the string.
6568         * sysdeps/generic/strsep.c: Correct bug with successive separators
6569         and separators at the end of the string.
6571 1998-03-13 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6573         * posix/wordexp.c (parse_param): Positional parameters ($1, $2
6574         etc) now handled, as well as $$ (pid).
6576         * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
6577         (distribute): Add wordexp-tst.sh.
6579         * posix/wordexp-tst.sh: New file.
6581         * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
6582         number of positional parameters.  Renamed substitute_length to
6583         seen_hash.
6584         Don't free(env) is env is NULL.
6586 1998-03-13 16:50  Ulrich Drepper  <drepper@cygnus.com>
6588         * libc.map: Add pthread_attr_init to GLIBC_2.1.
6590 1998-03-13 15:01  Ulrich Drepper  <drepper@cygnus.com>
6592         * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
6593         for output file replacing gmon.out.
6594         Patch by Dean Gaudet <dgaudet@arctic.org>.
6596 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6598         * elf/dl-misc.c (_dl_debug_message): Fix printing of pid.  Clean
6599         up namespace.  Optimize finding end of line.
6601 1998-03-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6603         * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
6604         securely.  Optimized.
6605         (process_dl_debug): Add ':' to list of separators.  Optimized.
6607 1998-03-13 10:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6609         * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
6610         isless, islessequal, islessgreater, isunordered): Return zero or
6611         one.
6613 1998-03-12 13:11  Tim Waugh  <tim@cyberelk.demon.co.uk>
6615         * posix/wordexp-test.c: More tests.
6616         (main): Set up arena for pathname expansion tests (in a temporary
6617         directory).
6618         (testit): Don't check word count or word vector if return value is
6619         non-zero.
6621         * posix/wordexp.c (exec_comm): Always chop off terminating
6622         linefeed (just like bash does).
6623         (parse_param): Change lots of occurrences of "if (!*env)" to "if
6624         (!env || !*env)".
6625         (parse_param): For assignment inside parameter expansion, use all
6626         expanded words in assignment rather than just the first.
6627         (parse_param): Corrected return value for parameter expansion of
6628         an unset variable when WRDE_UNDEF is in effect.
6629         (parse_dollars): Don't field-split if quoted.
6630         (wordexp): Opening brace character isn't allowed unquoted.
6632 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6634         * elf/dlerror.c: Fix concurrency problems with error string and
6635         number.
6637         * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
6638         filter/auxiliary are being loaded.
6640 1998-03-12 14:24  Ulrich Drepper  <drepper@cygnus.com>
6642         * elf/dlerror.c (last_object_name): Removed.
6643         (dlerror): Don't use last_object_name.
6644         (_dl_error_run): Omit second argument to _dl_catch_error.
6645         * elf/dl-error.c (struct catch): Remove objname member.
6646         (_dl_signal_error): Construct string including objname when given.
6647         (_dl_catch_error): Remove objname handling.
6648         * elf/link.h (_dl_catch_error): Fix prototype and comment.
6649         * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
6650         * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
6651         * nss/nsswitch.c (nss_dlerror_run): Likewise.
6652         * iconv/gconv_dl.c (dlerror_run): Likewise.
6653         [Corrects PR libc/501].
6655 1998-03-12  Matthias Urlichs <smurf@noris.de>
6657         * nscd/nscd.c: Ignore SIGPIPE.
6659 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6661         * nscd/nscd_getgr_r.c: Use __ protected names.
6662         * nscd/nscd_getpw_r.c: Likewise.
6664 1998-03-12  Matthias Urlichs <smurf@noris.de>
6666         * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
6667         * nscd/nscd_getpw_r.c: Fix length calculation in result check,
6668         null bytes are not transmitted.
6670 1998-03-12 00:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6672         * powerpc/syscalls.list: Correct typo.
6673         * alpha/syscalls.list: Likewise.
6674         * mips/syscalls.list: Likewise.
6676 1998-03-12  Ulrich Drepper  <drepper@cygnus.com>
6678         * socket/sys/socket.h: Add prototype for __socket.
6680 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6682         * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
6684         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
6685         constants.
6687         * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
6688         definition here.
6689         * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
6690         definition here.
6692         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
6693         AF_* and PF_* constants.
6695         * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
6697 1998-03-11 15:27  Ulrich Drepper  <drepper@cygnus.com>
6699         * elf/rtld.c: Update help message.
6700         Install link maps for preloaded objects using main_map as loader.
6702         * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
6703         * elf/dl-profile.c: Likewise.
6705         * elf/dlsym.c: Little optimization.
6706         * elf/dlvsym.c: Likewise.
6708 1998-03-11 14:56  Ulrich Drepper  <drepper@cygnus.com>
6710         * posix/wordexp-test.c: Move test for parameter list at the very
6711         beginning.
6713 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6715         * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
6716         WRDE_REUSE flag is set.
6717         (parse_param): Allow `*', `@', and numbers in parameter names.
6718         (parse_dollars): Differentiate between arithmetic expansion and a
6719         command substitution that starts immediately with a sub-shell
6720         (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
6721         (parse_param): Memory allocated with __alloca in a block was
6722         referenced outside that block.  Adjusted to use malloc/free.
6723         (parse_param): Adjusted field-splitting algorithm so that there is
6724         not necessarily a field split at the end of a parameter expansion.
6726 1998-03-10 19:52  Tim Waugh  <tim@cyberelk.demon.co.uk>
6728         * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
6729         don't free words that have already been allocated.
6730         (parse_param): A dollar sign on its own will never have a pattern
6731         associated with it (like "${HOME%%/}" has), so don't try to free it.
6732         (parse_glob): Attempt to glob when an unquoted `[' is found
6733         (rather than an unquoted '{' (!)).  Also for unquoted '?'.
6734         (parse_glob): Sorted out quoting in a glob-able word.
6735         (parse_param): Added $* and $@ handling.
6737 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6739         * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
6740         parsing it.
6742 1998-03-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6744         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
6745         _dl_debug_message.
6747 1998-03-12  Matthias Urlichs  <smurf@noris.de>
6749         * elf/dl-misc.c: Default for debug output should be stderr.
6750         * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
6751         * elf/dl-lookup.c: reference_name may be NULL or empty.
6753 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6755         * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
6757 1998-03-11  Ulrich Drepper  <drepper@cygnus.com>
6759         * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
6761         * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
6763 1998-03-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6765         * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
6766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6768 1998-03-11 10:30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6770         * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
6771         init stuff.
6773 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6775         * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
6776         flag.
6778         * misc/syslog.c (vsyslog): Don't try to send if not connected to
6779         syslog daemon.
6780         (closelog_internal): Don't do anything if not connected.
6782 1998-03-10 17:54  Ulrich Drepper  <drepper@cygnus.com>
6784         * libc.map: Add _dl_debug_message.
6785         * elf/dl-misc.c: Make _dl_debug_message a function.  Print the PID
6786         before every line.
6787         * elf/fini.c: Correctly use new _dl_debug_message function.
6788         * elf/init.c: Likewise.
6789         * elf/dl-lookup.c: Likewise.
6790         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6791         * elf/dl-load.c: Likewise.  Add more debugging prints.
6792         * elf/dl-reloc.c: Likewise.
6793         * elf/dl-version.c: Likewise.
6794         * elf/dl-support.c: Add variables for debugging.
6795         * elf/rtld.c: Likewise.  Recognize new debug options.
6796         * elf/link.h: Declare new variables.
6798         * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
6800 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6802         * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
6803         kernel headers.  Patch by a sun <asun@saul7.u.washington.edu>.
6805 1998-03-11 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
6807         * posix/wordexp-test.c (command_line_test): New function to allow
6808         testing of specific cases from the command-line.
6810 1998-03-10  Ulrich Drepper  <drepper@cygnus.com>
6812         * elf/dl-init.c (_dl_init_next): Print nicer messages.
6813         * elf/dl-fini.c (_dl_fini): Likewise.
6814         * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
6816         * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
6817         symbol in debug message.
6818         (_dl_lookup_versioned_symbol_skip): Likewise.
6820 1998-03-10 19:43  Matthias Urlichs <urlichs@noris.de>
6822         * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
6823         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6824         * manual/filesys/texi: Document this.
6826 1998-03-10 10:49  Ulrich Drepper  <drepper@cygnus.com>
6828         * manual/filesys.texi: Document the change below.
6830 1998-03-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6832         * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
6833         Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
6835 1998-03-10 00:10  Ulrich Drepper  <drepper@cygnus.com>
6837         * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
6838         instead scope.  If debugging display information about symbol
6839         resolving.
6840         (_dl_lookup_symbol): Call do_lookup with correct parameters.
6841         (_dl_lookup_symbol_skip): Likewise.
6842         (_dl_lookup_versioned_symbol): Likewise.
6843         (_dl_lookup_versioned_symbol_skip): Likewise.
6844         * elf/dl-support.c: Define _dl_debug_symbols.
6845         * elf/link.h: Add declaration for _dl_debug_symbols.
6846         * elf/rtld.c: Define _dl_debug_symbols.
6847         (process_dl_debug): Recognize symbols option.
6849 1998-03-09 23:36  Ulrich Drepper  <drepper@cygnus.com>
6851         * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
6852         in correct format.
6853         * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
6854         with correct parameters.
6855         [!PIC]: Initialize __libc_multiple_libcs.
6857 1998-03-09 18:21  Ulrich Drepper  <drepper@cygnus.com>
6859         * elf/dl-support.c (_dl_debug_bindings): Add definition.
6860         * elf/rtld.c (_dl_debug_bindings): Add definition.
6861         (process_dl_debug): Recognize bindings option.  Update help message.
6862         * elf/link.h (struct link_map): Add l_versyms member.
6863         (_dl_debug_bindings): Add declaration.
6864         * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
6865         * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
6866         and l_reloc_result.
6867         * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
6868         (sym_val): Remove a member, add m as link_map.
6869         (do_lookup): Return result appropriately.
6870         (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
6871         Call do_lookup correctly.
6872         (_dl_lookup_symbol_skip): Likewise.
6873         (_dl_lookup_versioned_symbol): Likewise.
6874         (_dl_lookup_versioned_symbol_skip): Likewise.
6876 1998-03-09 08:21  Ulrich Drepper  <drepper@cygnus.com>
6878         * sysdeps/unix/sysv/linux/chown.c: Moved to ...
6879         * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
6881         * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
6882         * libc.map: Add chown to GLIBC_2.1.
6883         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
6884         * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
6886 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6888         * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
6889         weak alias.
6890         * sysdeps/alpha/ffs.c: Likewise.
6891         * sysdeps/am29k/ffs.c: Likewise.
6892         * sysdeps/i386/ffs.c: Likewise.
6893         * sysdeps/i960/ffs.c: Likewise.
6894         * sysdeps/m68k/ffs.c: Likewise.
6895         * sysdeps/m88k/ffs.c: Likewise.
6896         * sysdeps/powerpc/ffs.c: Likewise.
6897         * sysdeps/rs6000/ffs.c: Likewise.
6898         * sysdeps/vax/ffs.s: Likewise.
6899         * string/string.h: Declare __ffs.
6900         * libc.map: Export it.
6901         * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
6902         __builtin_ffs, which is not guaranteed to be namespace clean.
6904 1998-03-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6906         * elf/sprof.c: Rewrite symbol handling to use the normal symbol
6907         table, which is much more likely to exist than debugging symbols.
6908         (printsym): Remove const.
6909         (load_shobj): Don't use _dl_pagesize.  Fix mapping of section
6910         header table.
6912         * libc.map: Export __profile_frequency, used by elf/sprof, to
6913         avoid infinite recursion during startup.
6915 1998-03-09 12:16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
6917         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
6918         Readd lost negate.
6920         * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
6922 1998-03-09  Ulrich Drepper  <drepper@cygnus.com>
6924         * elf/dl-support.c: Add definition of _dl_debug_impcalls.
6926 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6928         * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
6929         LD_PRELOAD, and LD_VERBOSE.
6930         (dl_main): Use global variables set by process_envvars instead of
6931         calling getenv.
6932         * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
6933         LD_LIBRARY_PATH value, this comes with the parameter.
6934         * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
6935         ("LD_LIBRARY_PATH") to _dl_init_paths.
6937 1998-03-08 22:55  Ulrich Drepper  <drepper@cygnus.com>
6939         * elf/rtld.c (dl_main): Delay initialization of path structure if
6940         the dynamically linker is invoked implicitly until we read the
6941         dynamic section.
6943 1998-03-08  Ulrich Drepper  <drepper@cygnus.com>
6945         * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
6947 1998-03-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
6949         * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
6950         Linux 2.0 and 2.1.
6952         * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
6954 1998-03-08 14:58  Ulrich Drepper  <drepper@cygnus.com>
6956         * Makeconfig (nisobjdir): Set to path to nis directory.
6957         (rpath-link): Add nisobjdir.
6958         Patch by Sven Verdoolaege <skimo@kotnet.org>.
6960         * elf/Makefile: Pretty print.
6961         * elf/dl-lookup.c: Include unistd.h.
6962         * elf/dl-runtime.c: Likewise.
6964         * localedata/Makefile (test-srcs): Add tst-rpmatch.
6965         (distribute): Add tst-rpmatch.sh.
6966         (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
6968         New tests for rpmatch function by
6969         Jochen Hein <jochen.hein@delphi.central.de>.
6970         * localedata/tst-rpmatch.c: New file.
6971         * localedata/tst-rpmatch.sh: New file.
6973         * localedata/locales/de_DE: Correct yesexpr and noexpr.
6974         * localedata/locales/de_AT: Likewise.
6976         * posix/getopt.c: Update contact address.
6977         * posix/getopt1.c: Pretty print.
6979         * sysdeps/generic/libc-start.c: Do most of the initialization now
6980         here instead of in start.S.
6981         * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
6982         * sysdeps/i386/elf/start.S: Remove most of the initialization code.
6984         * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
6985         profil_counter to be public.
6987 1998-03-08 13:06  Tim Waugh  <tim@cyberelk.demon.co.uk>
6989         * posix/wordexp.c (parse_arith): Now works for negative numbers too.
6990         (parse_param): Coded parameter length expansion (${#var}).
6991         (parse_param): Handling for "=", "+", "-", and the ":" versions added.
6992         (parse_param): Cleaned up (fixed) error handling.
6994         * posix/wordexp-test.c: IFS now includes non-whitespace character
6995         (comma).  Added more tests.
6997 1998-03-07  Ulrich Drepper  <drepper@cygnus.com>
6999         * elf/link.h: Fix typos.
7000         Reported by Andreas Jaeger.
7002         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
7003         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
7005 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7007         * argp/argp-help.c: Remove last bits of using gettext instead of
7008         dgettext.
7010 1998-03-06 17:04  Ulrich Drepper  <drepper@cygnus.com>
7012         * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
7013         __libc_start_main.
7014         * csu/Makefile (routines): Add libc-start.
7015         * elf/dl-error.c: Remove declaration of _dl_argv.  Include <unitsd.h>.
7016         * elf/dl-lookup.c: Likewise.
7017         * elf/dl-version.c: Likewise.
7018         * sysdeps/i386/dl-machine.h: Likewise.
7019         * elf/link.h: Declare _dl_argv, _dl_debug_fd.
7020         Declare _dl_sysdep_output.  Make _dl_sysdep_fatal, _dl_sysdep_error and
7021         _dl_sysdep_message macros which use _dl_sysdep_output.
7022         * elf/dl-fini.c: Write out which destructor is called while debugging.
7023         * elf/dl-init.c: Likewise for constructor.
7024         * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
7025         * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
7026         _dl_sysdep_message.  Add _dl_sysdep_output.
7027         * elf/rtld.c: Recognize LD_DEBUG_OUTPUT.  Set _dl_debug_fd if
7028         this file can be opened.
7029         For LD_DEBUG=libs also set _dl_debug_impcalls.
7030         * sysdeps/generic/dl-cache.c: Include unistd.h.
7031         * sysdeps/generic/libc-start.c: New file.
7032         * sysdeps/unix/sysv/linux/libc-start.c: New file.
7033         * sysdeps/i386/elf/start.S: Don't call main directly, call
7034         __libc_start_main instead.
7036         * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
7038 1998-03-06  Ulrich Drepper  <drepper@cygnus.com>
7040         * nss/nsswitch.c (__nss_nscd_not_available): Removed.
7042 1998-03-06 12:42  Ulrich Drepper  <drepper@cygnus.com>
7044         * argp/argp.h (struct argp): Add new field domain.
7045         * argp/argp-help.c: Change all gettext calls to dgettext and use
7046         domain field from appropriate argp in call.
7047         * argp/argp-parse.c: Likewise.
7049 1998-03-06 11:35  Ulrich Drepper  <drepper@cygnus.com>
7051         * posix/wordexp-test.c: Change testsuite so that it can run even
7052         for ~root != /root.
7054 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7056         * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
7058 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7060         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7061         Don't store into global errno if we already store through
7062         __errno_location.
7063         * sysdeps/unix/i386/sysdep.S: Likewise.
7064         * sysdeps/unix/alpha/sysdep.S: Likewise.
7065         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7066         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.  Add
7068         missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
7069         PIC).
7071 1998-03-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7073         * sysdeps/generic/sysdep.h (L): Remove definition.
7074         * sysdeps/i386/sysdep.h (L): Define it here instead.
7076 1998-03-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7078         * nis/nis_call.c (__do_niscall): Safe and reset errno.
7080         * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
7082 1998-03-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7084         * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
7085         declaration style to avoid warnings.
7087 1998-03-06 11:48  Mark M._Kettenis  <kettenis@hall.phys.uva.nl>
7089         * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
7090         "LD_DEBUG".
7092 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7094         * posix/Makefile (tests): Add wordexp-test.
7095         * posix/wordexp-test.c: New file.  Testsuite for wrodexp.
7096         Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
7098 1998-03-05 16:04  Ulrich Drepper  <drepper@cygnus.com>
7100         * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
7101         dependencies.
7103         * elf/link.h (struct r_search_path_elem): Add two new field for
7104         lib path debugging.
7105         * elf/rtld.c: Recognize LD_DEBUG environment variable and set
7106         variable accordingly.
7107         * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
7108         is considered next along with information about load paths.
7109         * sysdeps/generic/dl-cache.c: Likewise.
7110         * elf/dl-support.c: Define _dl_debug_libs.
7111         * elf/genrtldtbl.awk: Add initializers for two new field in
7112         struct r_search_path_elem.
7114 1998-03-06 10:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7116         * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
7117         * sysdeps/m68k/lshift.S: Likewise.
7118         * sysdeps/m68k/rshift.S: Likewise.
7119         * sysdeps/m68k/sub_n.S: Likewise.
7120         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
7121         * sysdeps/m68k/m68020/mul_1.S: Likewise.
7122         * sysdeps/m68k/m68020/submul_1.S: Likewise.
7124         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
7125         [_LIBC_REENTRANT]: Don't store into global errno.
7127         * sysdeps/m68k/sysdep.h: New file.
7128         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it.  Use the macros
7129         ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
7130         (DO_CALL): Change to expect syscall name as argument.
7131         (PSEUDO): Pass syscall_name to DO_CALL.
7132         (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
7133         errno.
7135 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7137         * elf/rtld.c: Speed up processing of environment variables.  Do
7138         only one run on the environment by avoiding to call getenv.
7139         * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
7140         function.  Used by patch above.
7142 1998-03-05  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7144         * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
7145         running nscd.
7146         * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
7147         * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
7148         * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
7150 1998-03-05  Ulrich Drepper  <drepper@cygnus.com>
7152         * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
7153         module cannot be found.  Reported by Andreas Jaeger.
7155 1998-03-05 11:40  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7157         * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
7158         on platforms which default to unsigned chars.
7159         * nscd/nscd_getpw_r.c: Likewise.
7160         * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
7161         defining it.
7163 1998-03-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7165         * elf/Makefile (install-bin): Change = to += for sprof to install
7166         ldd also.
7168 1998-03-04 16:12  H.J. Lu  <hjl@gnu.org>
7170         * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
7172 1998-03-04 16:19  Ulrich Drepper  <drepper@cygnus.com>
7174         * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
7176 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7178         * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
7179         that a failure to connect to nscd doesn't change errno.
7181 1998-03-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7183         * manual/maint.texi (Reporting Bugs): Change
7184         bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
7186         * locale/iso-4217.def: Likewise
7188 1998-03-04 12:43  Ulrich Drepper  <drepper@cygnus.com>
7190         * manual/texinfo.tex: Updated.
7192 1998-03-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7194         * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
7195         value.
7196         * sysdeps/posix/pathconf.c: Likewise.
7197         * posix/getconf.c: Print `undefined' if pathconf returns -1
7198         without setting errno.
7200 1998-03-04  Ulrich Drepper  <drepper@cygnus.com>
7202         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
7203         problem.
7204         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
7205         Patches by Elliot Lee <sopwith@cuc.edu>.
7207 1998-03-04 09:43  Ulrich Drepper  <drepper@cygnus.com>
7209         * elf/link.h (struct link_map): Add new field l_reloc_result.
7210         * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
7211         of relocation for the object to be profiled.
7212         * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
7213         to NULL.
7214         * elf/rtld.c (_dl_start): Add comment that we must not allocate an
7215         array here.
7216         * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
7217         contains a result from a previous run use this instead of computing
7218         the value again.
7219         * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
7221 1998-03-04 11:32  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7223         * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
7224         offsets into the GOT.
7225         (RTLD_START): Likewise.
7227 1998-03-03 17:55  Ulrich Drepper  <drepper@cygnus.com>
7229         * elf/sprof.c: Cleanup a bit.
7231 1998-03-03 08:01  H.J. Lu  <hjl@gnu.org>
7233         * sysdeps/generic/sysdep.h (L): New. Define.
7235         * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
7237         * sysdeps/i386/i586/addmul_1.S: Fix a typo.
7239         * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
7240         to have only one exit point for functions.
7241         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7242         * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
7243         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
7244         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7245         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7247 1998-03-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7249         * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
7250         reset errno so that errno isn't set to ENOSYS in the first call.
7251         * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
7252         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7253         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7254         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7256 1998-03-02 17:55  Ulrich Drepper  <drepper@cygnus.com>
7258         * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
7259         * sysdeps/i386/addmul_1.S: Likewise.
7260         * sysdeps/i386/lshift.S: Likewise.
7261         * sysdeps/i386/mul_1.S: Likewise.
7262         * sysdeps/i386/rshift.S: Likewise.
7263         * sysdeps/i386/sub_n.S: Likewise.
7264         * sysdeps/i386/submul_1.S: Likewise.
7265         * sysdeps/i386/i586/add_n.S: Likewise.
7266         * sysdeps/i386/i586/addmul_1.S: Likewise.
7267         * sysdeps/i386/i586/lshift.S: Likewise.
7268         * sysdeps/i386/i586/mul_1.S: Likewise.
7269         * sysdeps/i386/i586/rshift.S: Likewise.
7270         * sysdeps/i386/i586/sub_n.S: Likewise.
7271         * sysdeps/i386/i586/submul_1.S: Likewise.
7273         * sysdeps/i386/sysdep.h: Extend last change.
7275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
7276         to have only one exit point for functions.
7278 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7280         * configure.in: Fix msgfmt test.  Fix handling of //s in sysdeps
7281         search.
7283 1998-03-02 13:28  Ulrich Drepper  <drepper@cygnus.com>
7285         * Makerules: Generate libc.so with absolute paths for the used
7286         shared objects.
7288         * config.make.in: Add MAKEINFO definition.
7290 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7292         * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
7293         (ENTRY): Use STABS_FUN.
7294         (END): Use STABS_FUN_END.
7295         (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
7297         * elf/Makefile: Add rules to build sprof program.
7298         * elf/sprof.c: New file.
7300 1998-02-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7302         * misc/syslog.c (openlog_internal): Insert missing closing brace.
7304 1998-02-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7306         * configure.in: Check for working msgfmt version (from GNU gettext
7307         0.10 or later).
7309 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7311         * configure.in: Avoid //s in sysdirs.
7312         Patch by Roland McGrath.
7314         * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
7316 1998-03-02 07:17  H.J. Lu  <hjl@gnu.org>
7318         * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
7319         setting _dl_global_scope for RTLD_GLOBAL.
7321 1998-02-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7323         * sysdeps/unix/make-syscalls.sh: Fix last change so that all
7324         possible lists of object-suffixes are taken care of.
7326 1998-03-02 10:16  Ulrich Drepper  <drepper@cygnus.com>
7328         * timezone/private.h: Update from tzcode1998c.
7329         * timezone/zic.c: Likewise.
7330         * timezone/antarctica: Updated from tzdata1998c.
7331         * timezone/asia: Likewise.
7332         * timezone/australasia: Likewise.
7333         * timezone/europe: Likewise.
7334         * timezone/southamerica: Likewise.
7336 1998-03-02  Ulrich Drepper  <drepper@cygnus.com>
7338         * posix/glob.c (glob_in_dir): Add support for cases insensitive
7339         VMS.  Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
7341 1998-03-01 19:05  H.J. Lu  (hjl@gnu.org)
7343         * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
7344         Changed type of TWO43, TWO52 from float to double.
7345         * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
7346         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
7347         Changed type of TWO43 from float to double.
7348         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
7349         Use __isinff.
7351 1998-03-01 18:52  H.J. Lu  (hjl@gnu.org)
7353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
7354         osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
7355         osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
7357 1998-03-01 09:11  Richard Henderson  <rth@cygnus.com>
7359         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
7360         kernel_termios.h.
7361         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
7362         Clean up random whitespace.
7363         * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
7364         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
7365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
7366         * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
7368 1998-03-01 08:31  Richard Henderson  <rth@cygnus.com>
7370         * shlib-versions: Match alpha*.
7371         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
7372         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
7374         * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
7375         Implement copysign* with and without __ prefix.
7376         Likewise for fabs; use builtin for gcc 2.8.
7377         (floor*): New.
7378         (fdim*): New.
7380         * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
7381         (R_SPARC*): Match current v9 ABI.
7383         * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
7385         * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
7386         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7387         * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
7388         * sysdeps/generic/getresgid.c: Use prototype form because of warning.
7389         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7390         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
7391         * sysdeps/unix/grantpt.c (argv): Fix consts.
7392         * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
7393         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7395 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7397         * misc/syslog.c: Change to allow user the interpretation of the
7398         outcome even with syslog having no return value.
7400 1998-02-05 20:41  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
7402         * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
7403         that the number of program headers is >0 (which is wrong for the
7404         loader itself).
7406 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7408         * Makefile (distribute): Add README.libm.
7410 1998-02-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7412         * time/clocktest.c (main): Correct typo: "--" -> "==".
7414 1998-02-25 20:53  H.J. Lu  <hjl@gnu.org>
7416         * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
7417         inline function.
7418         (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
7419         inline functions.
7421         * math/libm.map (__atan2): Added.
7423 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7425         * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
7426         Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7428         * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
7429         bug.
7431 1998-02-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7433         * manual/arith.texi (Old-style number conversion): Correct
7434         typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
7436 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7438         * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
7439         but does not require it.  Handle missing argv[] values gracefully.
7440         * posix/execl.c: Likewise.
7441         * posix/execle.c: Likewise.
7443 1998-02-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7445         * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
7446         bit.
7447         * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
7449 1998-02-27  Ulrich Drepper  <drepper@cygnus.com>
7451         * libc.map: Add __adjtimex.
7453 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7455         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
7456         Remove memset.
7458 1998-02-24 08:10  H.J. Lu  <hjl@gnu.org>
7460         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
7461         to 64.
7463         * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
7465         * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
7466         * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
7468         * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
7469         for shared library.
7471         * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
7473         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
7474         Added adjtimex and old_adjtimex.
7476         * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
7477         New.
7478         (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
7479         osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
7481         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
7482         symbols only for shared library.
7483         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7484         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7485         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7486         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7487         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7488         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7489         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7491         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
7492         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
7493         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
7494         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
7495         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
7496         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
7497         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
7498         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
7500         * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
7501         rusage pointer.
7503         * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
7504         New macros.
7505         (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
7506         timex and __adjtimex, respectively.
7508         * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
7510         * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
7512 1998-02-25 08:28  H.J. Lu  <hjl@gnu.org>
7514         * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
7515         for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
7517 1998-02-26 14:59  Ulrich Drepper  <drepper@cygnus.com>
7519         * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
7521 1998-02-19 11:00  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7523         * Makefile.in: Disable built-in rules.
7525 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7527         * sysdeps/i386/fpu/t_exp.c: Move to ...
7528         * sysdeps/libm-i387/t_exp.c: ... here.
7530 1998-02-21 13:51  H.J. Lu  <hjl@gnu.org>
7532         * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
7533         from __exp2_deltatable.
7535 1998-02-26  Ulrich Drepper  <drepper@cygnus.com>
7537         * nis/ypclnt.c (yp_master): Check result of strdup.
7538         Patch by Thorsten Kukuk.
7540 1998-02-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7542         * nis/ypclnt.c: Give clnt handle after error checking free, change
7543         return codes to fix problems with rpc.nisd in YP mode on Ultra's.
7545 1998-02-26 09:00  Ulrich Drepper  <drepper@cygnus.com>
7547         * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
7548         Patch by Joe Keane <jgk@jgk.org>.
7550         * misc/fstab.h (struct fstab): Change fs_type member to be const.
7551         * misc/fstab.c: Remove casts in fs_type assignments.
7553 1998-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7555         * sysdeps/i386/fpu/bits/fenv.h: Correct typo.  ISO C 9X defines
7556         FE_TOWARDZERO and not FE_TOWARDSZERO.  Reported by H.J. Lu.
7557         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
7558         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
7559         * sysdeps/powerpc/bits/fenv.h: Likewise.
7560         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
7561         * sysdeps/generic/bits/fenv.h: Likewise.
7562         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
7563         * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
7564         * sysdeps/powerpc/test-arith.c (main): Likewise.
7566 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7568         * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
7569         the comparison macros.
7571 1998-02-21 20:14  H.J. Lu  <hjl@gnu.org>
7573         * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
7574         (__log2): Fixed return values.
7575         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
7577 1998-02-25  Ulrich Drepper  <drepper@cygnus.com>
7579         * math/math.h (isunordered): Rename local variables to ensure
7580         correct code.  Reported by HJ Lu.
7582 1998-02-25 10:34  Ulrich Drepper  <drepper@cygnus.com>
7584         * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
7585         isless, islessequal, islessgreater, isunordered): Fix syntax for
7586         fucompip instruction.
7587         (isless, islessequal): Fix logic.
7589 1998-02-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7591         * math/libm-test.c (sqrt_test): Add test for sqrt(2).
7592         (comparisons_test): New tests for comparison macros.
7594 1998-02-24 15:12  Ulrich Drepper  <drepper@cygnus.com>
7596         * Makeconfig: Filter out frame-pointer effecting options when
7597         compiling profiling or debugging code.
7598         * config.h.in (internal_function): Don't define here if PROF is
7599         defined.
7600         * gmon/gmon.c (__moncontrol): Don't change state if already in error
7601         state.
7602         (__monstartup): If calloc fails set error state and mark array as
7603         not allocated.
7604         (_mcleanup): Don't call write_gmon if in error state.  Don't try
7605         to free array if not  successfully allocated.
7607         * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
7608         Include elf.h to get macro definitions.
7609         Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
7611 1998-02-24 09:40  Ulrich Drepper  <drepper@cygnus.com>
7613         * elf/ldd.sh.in: Add compatibility for broken old shells.
7614         * elf/ldd.bash.in: Likewise.
7616 1998-02-24 08:11  H.J. Lu  <hjl@gnu.org>
7618         * sunrpc/rpc_main.c (open_input): Check pipe return error.
7620         * time/clocktest.c (main): Check signal return error.
7622 1998-02-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7624         * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
7625         "/" and use do-install-program. Reported by Mark M. Kettenis.
7626         (subdir_install):  Likewise.
7628 1998-02-22  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7630         * sunrpc/rpc_sample.c: Fix typo.
7632         * nscd/connections.c: Use locale.
7633         * nscd/grpcache.c: Add debug messages, gidtbl should get the
7634           calloc result.
7635         * nscd/nscd.c: Check if init functions fails.
7636         * nscd/nscd_conf.c: Allow disabling of group cache.
7637         * nscd/nscd_getgr_r.c: Fix return code if group not found.
7638         * nscd/pwdcache.c: Fix debug messages.
7640 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7642         * libc.map: Add __monstartup and _mcleanup for profiling support.
7644 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7646         * libc.map: Export __getpagesize, for binary compatibility with
7647         2.0.
7649 1998-02-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7651         * posix/globtest.sh: Use --library-path instead of
7652         LD_LIBRARY_PATH.
7653         * localedata/sort-test.sh: Likewise.
7654         * localedata/tst-fmon.sh: Likewise.  Avoid useless use of cat.
7656 1998-02-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7658         * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
7659         sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
7660         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7662         * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
7663         kernel_sigaction): Define.
7664         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
7665         kernel_sigaction): Define.
7667 1998-02-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7669         * math/libm-test.c: Change epsilons for libm-ieee754.
7671 1998-02-23 12:33  Ulrich Drepper  <drepper@cygnus.com>
7673         * sysdeps/i386/__longjmp.S: Fix race condition.
7674         Reported by Bruno Haible <haible@ilog.fr>.
7676 1998-02-20 18:43  Ulrich Drepper  <drepper@cygnus.com>
7678         * hesiod/hesiod.c: Pretty print.  Don't use __ protected names.
7679         * iconvdata/8bit-gap.c: Likewise.
7680         * iconvdata/8bit-generic.c: Likewise.
7681         * iconvdata/iso6937.c: Likewise.
7682         * iconvdata/iso8859-1.c: Likewise.
7683         * iconvdata/sjis.c: Likewise.
7684         * iconvdata/t61.c: Likewise.
7686 1998-02-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7688         * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
7689         feature tests by positive feature tests.
7691 1998-02-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7693         * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
7695 1998-02-20  Ulrich Drepper  <drepper@cygnus.com>
7697         * elf/dlvsym.c (dlvsym_doit): More corrections.
7698         Patch by Andreas Jaeger.
7700 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7702         * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
7704 1998-02-19 17:16  Ulrich Drepper  <drepper@cygnus.com>
7706         * libc.map: More reordering for GLIBC_2.1 symbols.
7708 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7710         * libc.map: Move some functions from version GLIBC_2.0 to
7711         GLIBC_2.1, reorder declarations.
7713 1998-02-19  Ulrich Drepper  <drepper@cygnus.com>
7715         * resolv/gethnamaddr.c (addrsort): Make this function extern.
7716         Patch by zab@thebrain.grumblesmurf.net.
7718 1998-02-19  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7720         * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
7721         NIS+ functions with version GLIBC_2.1.
7723 1998-02-19 14:05  Ulrich Drepper  <drepper@cygnus.com>
7725         * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
7726         with 2.0 binaries.  Reported by Thorsten Kukuk.
7728 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7730         * elf/dlvsym.c (dlvsym_doit): Correct last patch.
7732         * elf/dlsym.c (dlsym_doit): Likewise.
7734 1998-02-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7736         * elf/link.h: Correct typos.
7738         * iconv/iconv_prog.c: Correct typo.
7740 1998-02-18 17:57  Ulrich Drepper  <drepper@cygnus.com>
7742         * iconv/Makefile: Add rules to build and install iconv program.
7743         * iconv/iconv_prog.c: New file.
7745 1998-02-18 16:34  H.J. Lu  <hjl@gnu.org>
7747         * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
7748         _dl_lookup_symbol_skip call.
7749         * elf/dlvsym.c (dlvsym_doit): Likewise.
7751 1998-02-18  Ulrich Drepper  <drepper@cygnus.com>
7753         * libio/iovsscanf.c: Do not include errno.h.
7755 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7757         * elf/dl-load.c (add_name_to_object): Don't translate strings.
7758         * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
7759         pulling in the whole error list.
7760         (__dcgettext, dcgettext): Removed.
7761         * libc.map: Export _strerror_internal.
7763 1998-02-18 10:50  Ulrich Drepper  <drepper@cygnus.com>
7765         * sysdeps/i386/fpu/t_exp.c: New file.
7767 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7769         * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
7770         everything with version GLIBC_2.1.
7771         * hesiod/libnss_hesiod.map: Likewise.
7773 1998-02-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7775         * manual/arith.texi (Old-style number conversion): This node is a
7776         section, not a subsection.
7778 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7780         * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
7782 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7784         * elf/rtld.c (dl_main): Make sure that the library search paths
7785         have been initialized before the first call to _dl_map_object.
7787 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7789         * Makerules (common-generated): Add libc_pic.os.
7791 1998-02-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7793         * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
7794         of the executable.
7796 1998-02-18 10:28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7798         * sysdeps/m68k/fpu/t_exp.c: New file.
7800 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7802         * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
7803         to global errno variable anymore.
7805 1998-02-17 17:41  Ulrich Drepper  <drepper@cygnus.com>
7807         * elf/dl-load.c (open_path): Take extra argument PRELOADED.
7808         If PRELOADED is nonzero check in case of an SUID application
7809         whether the shared object has the SUID bit set.
7810         Fix some other problems with handling shared objects in system
7811         specific directories.
7812         (_dl_map_object): Also take extra parameter and pass it to open_path.
7813         * elf/link.h (_dl_map_object): Correct prototype and comment.
7814         * elf/rtld.c (dl_main): Call _dl_map_object correctly.
7815         * elf/dl-open.c (_dl_open): Likewise.
7816         * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
7818         * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
7820 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7822         * math/libm-test.c (modf_test): Add test for 1.5.
7824         * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
7825         0 to get always an int.
7827 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7829         * math/libm.map: Move all symbols that are new in glibc 2.1 to
7830         version GLIBC_2.1.
7832 1998-02-17  Ulrich Drepper  <drepper@cygnus.com>
7834         * stdio-common/vfscanf.c (inchar): Check c for being EOF before
7835         trying to read another character.
7837 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7839         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
7840         name to lowercase.
7842         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
7843         name to lowercase, add test for big enough buffer.
7845 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7847         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
7848         Make compatible with older kernels.  Patch by Richard Henderson.
7850 1998-02-17 15:10  Ulrich Drepper  <drepper@cygnus.com>
7852         * elf/dl-load.c (open_path): Use __xstat instead of stat.
7854         * localedata/tst-locale.sh: Comment out first test for now.
7856 1998-02-14 14:58  H.J. Lu  <hjl@gnu.org>
7858         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
7859         as 1.
7860         * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7861         Likewise.
7863         * libio/iogetline.c (_IO_getline_info): Renamed from
7864         _IO_getline.
7865         (_IO_getline): Just call _IO_getline_info.
7867         * libio/libioP.h (_IO_getline_info): New declaration.
7869         * libc.map (_IO_getline_info, __write): Added.
7871 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7873         * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
7874         const char* to shut up gcc.
7876 1998-02-17 11:37  Ulrich Drepper  <drepper@cygnus.com>
7878         * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
7879         Patch forwarded by Cristian Gafton <gafton@redhat.com>.
7881         * math/math.h: Define M_* constants always as `double' and add new
7882         macros M_*l which are of type `long double'.
7883         * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
7884         * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
7885         * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
7886         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7887         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7888         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7889         * sysdeps/libm-ieee754/s_clogl.c: Likewise.
7890         * math/libm-tst.c: Likewise.
7892         * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
7893         define as long double unconditionally.
7895 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7897         * manual/arith.texi (Old-style number conversion): Correct some
7898         typos.
7900 1998-02-16 16:28  H.J. Lu  <hjl@gnu.org>
7902         * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
7903         Restore.
7905         * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
7907 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7909         * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
7910         on $(rtld-ldscript).
7912         * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
7913         starting from 0 not only from `from'.
7914         Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
7916 1998-02-16 17:33  Ulrich Drepper  <drepper@cygnus.com>
7918         * elf/rtld.c (dl_main): Recognize --library-path parameter and
7919         pass value (or NULL) to _dl_init_paths.
7920         * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
7921         replacing local variable llp.  If llp is NULL examine LD_LIBRARY_PATH
7922         environment variable.
7923         * elf/link.h: Change prototype for _dl_init_paths.
7924         * elf/dl-support.c: Pass NULL in _dl_init_paths call.
7926         * localedata/Makefile (distribute): Add test files.
7928 1998-02-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
7930         * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
7931         test1.def, test2.def, test3.def, test4.def}: Simple input files
7932         for localedef. Contributed by Yung-Ching Hsiao
7933         <yhsiao@cae.wisc.edu>.
7935         * localedata/Makefile (tests): Call tst-locale.sh.
7937         * localedata/tst-locale.sh: New file, regression tests for some
7938         localedef problems.
7940 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
7942         * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
7944         * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
7945         terminated.
7946         * nis/nss_nisplus/nisplus-network.c: Likewise.
7947         * nis/nss_nisplus/nisplus-proto.c: Likewise.
7948         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7949         * nis/nss_nisplus/nisplus-service.c: Likewise.
7951         Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
7952         and support generating thread safe RPC code.
7953         * sunrpc/rpc_main.c: Add changes.
7954         * sunrpc/rpc_clntout.c: Likewise.
7955         * sunrpc/rpc_cout.c: Likewise.
7956         * sunrpc/rpc_hout.c: Likewise.
7957         * sunrpc/rpc_parse.c: Likewise.
7958         * sunrpc/rpc_sample.c: Likewise.
7959         * sunrpc/rpc_scan.c: Likewise.
7960         * sunrpc/rpc_svcout.c: Likewise.
7961         * sunrpc/rpc_util.c: Likewise.
7962         * sunrpc/rpc_util.h: Add new structs and prototypes.
7963         * sunrpc/proto.h: Remove prototypes for static functions.
7965 1998-02-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7967         * locale/programs/ld-messages.c (messages_finish): Don't skip
7968         error checking when being quiet.
7969         * locale/programs/ld-ctype.c (ctype_finish): Likewise.
7970         (set_class_defaults): Likewise.
7971         * locale/programs/charmap.c (parse_charmap): Likewise.
7972         * locale/programs/ld-collate.c (collate_finish): Likewise.
7973         * locale/programs/ld-monetary.c (monetary_finish): Likewise.
7974         * locale/programs/ld-time.c (time_finish): Likewise.
7975         * locale/programs/locfile.c (write_locale_data): Likewise.
7977         * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
7978         unknown characters and empty ranges.
7979         * locale/programs/ld-collate.c (collate_order_elem): When
7980         processing an ellipsis properly form a linked list in the result
7981         table, fix typo when allocating ordering array.
7982         [PR libc/419]
7984 1998-02-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
7986         * elf/Makefile (ld-map): Define.
7987         (rtld-ldscript): Define.  Change all `$(objpfx)rtld-ldscript' to
7988         `$(rtld-ldscript)'.
7989         ($(objpfx)ld.so): Combine the two versions of this rule.  Depend
7990         on $(ld-map).
7991         (rtld-link): Combine the two versions of this definition.  Fixed
7992         to make it work when no symbol versioning is used.
7994 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
7996         * Makeconfig (build-program-cmd): Use --library-path parameter to
7997         ld.so instead of environment variable.
7999         * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
8000         * sunrpc/rpc_main.c: Remove support for -$$ option again.
8002 1998-02-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8004         * Make-dist: Respect with-cvs setting.
8005         * MakeTAGS (all-pot): Likewise.
8006         * sysdeps/sparc/sparc32/Makefile: Likewise.
8007         * sysdeps/mach/hurd/Makefile: Likewise.
8008         * stdlib/Makefile: Likewise.
8009         * posix/Makefile: Likewise.
8010         * intl/Makefile: Likewise.
8011         * po/Makefile (linguas): Likewise
8013 1998-02-15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8015         * nis/ypclnt.c (yp_all): Remove error message, user should print it.
8017 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8019         * libc.map: Add __strcasecmp.
8021         * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
8022         module.
8024         * nss/getXXent_r.c: If no more module is found don't try to call
8025         setXXent functions but leave unsuccessfully.
8027         * malloc/obstack.h: Cleanups.
8029         * sysdeps/wordsize-32/stdint.h: New file.
8030         * sysdeps/wordsize-64/stdint.h: New file.
8031         * sysdeps/generic/stdint.h: New file.
8032         * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
8033         * sysdeps/wordsize-64/inttypes.h: Likewise.
8034         * stdlib/Makefile (headers): Add stdint.h.
8036 1998-02-03  Paul Eggert  <eggert@twinsun.com>
8038         * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
8040 1998-02-13 17:59  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8042         * timezone: New directory.
8043         * time/README, time/africa, time/antarctica, time/asia,
8044         time/australasia, time/backward, time/checktab.awk,
8045         time/etcetera, time/europe, time/factory, time/ialloc.c,
8046         time/iso3166.tab, time/leapseconds, time/northamerica,
8047         time/pacificnew, time/private.h, time/scheck.c,
8048         time/solar87, time/solar88, time/solar89, time/southamerica,
8049         time/systemv, time/test-tz.c, time/tzfile.h,
8050         time/tzselect.ksh, time/yearistype, time/zdump.c,
8051         time/zic.c, time/zone.tab: Moved to timezone.
8052         * time/tzfile.c: Include tzfile.h from timezone subdir.
8053         * time/tzset.c: Likewise.
8054         * time/Makefile: Cut out all code relating to timezones...
8055         * timezone/Makefile: ...and paste it in here.
8056         * Makefile (subdirs): Add timezone.
8058 1998-02-13 18:45  H.J. Lu  <hjl@gnu.org>
8060         * libc.map (_sys_nerr): Added.
8062         * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
8063         versioned symbol.
8065 1998-02-15 17:16  Ulrich Drepper  <drepper@cygnus.com>
8067         * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
8068         pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
8069         Reported by Craig Metz <cmetz@inner.net>.
8071 1998-01-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8073         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
8074         instead of strcasecmp.
8075         * nss/nss_files/files-alias.c (get_next_alias): Likewise.
8077         * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
8079 1998-02-15 16:55  Ulrich Drepper  <drepper@cygnus.com>
8081         * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
8082         Patch by Dean Gaudet <dgaudet@arctic.org>.
8084 1998-02-15 16:53  Ulrich Drepper  <drepper@cygnus.com>
8086         * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
8088 1998-02-15 10:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8090         * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
8091         with no poll syscall, just include the BSD version.
8092         * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
8093         kernel without the syscall, include the stub version.
8094         * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
8095         * sysdeps/generic/getresuid.c: New file.
8096         * sysdeps/generic/getresgid.c: New file.
8098 1998-02-15  Ulrich Drepper  <drepper@cygnus.com>
8100         * stdio-common/vfscanf.c: Correct last change a bit.
8102 1998-02-13 17:39  Ulrich Drepper  <drepper@cygnus.com>
8104         * elf/Makefile: Don't use --version-script parameter to link ld.so
8105         unconditionally.
8107 1998-01-02 04:19  Geoff Keating  <geoffk@ozemail.com.au>
8109         * math/Makefile: Add t_exp.
8110         * math/libm-test.c: Tighten accuracy bounds for exp(), correct
8111         constants.
8112         * math/test-reduce.c: Remove temporarily, it seems to be broken.
8113         * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
8114         * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
8115         better accuracy.
8116         * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
8117         algorithm for very large/very small arguments.
8118         * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
8119         correct algorithm for very large/very small arguments; adjust for
8120         new table.
8121         * sysdeps/libm-ieee754/t_exp.c: New file.
8122         * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
8124         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
8125         back, with comment that explains what breaks when you remove it :-(.
8127         * localedata/xfrm-test.c: Avoid integer overflow.
8129         * stdlib/strfmon.c: char is unsigned, sometimes.
8131         * sysdeps/powerpc/Makefile: Remove quad float support.
8132         * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
8133         * sysdeps/powerpc/quad_float.h: Likewise.
8134         * sysdeps/powerpc/test-arith.c: Likewise.
8135         * sysdeps/powerpc/test-arithf.c: Likewise.
8137         * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
8138         * sysdeps/generic/s_exp2f.c: Likewise.
8140         * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
8141         don't try anything if _SOFT_FLOAT.
8143 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8145         * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
8146         * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
8147         * wctype/wctype.c: Likewise.
8148         * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
8149         changed.  They are incompatible with the _ISxxx values from
8150         <ctype.h> on little endian machines.
8151         (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
8152         bit number.  This fixes the real bug and restores the integrity of
8153         the ctype locale file.
8154         * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
8155         * wctype/wcfuncs_l.c: Likewise.
8156         * wctype/wcextra.c: Likewise.
8157         * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
8158         byte swapping.
8160 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
8163         into .bss segment instead of .common, so that aliases on it work.
8165         * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
8166         .size directives, put into .bss segment instead of initializing it
8167         to 4.
8169 1998-02-12 08:00  H.J. Lu  <hjl@gnu.org>
8171         * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
8173         * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
8174         functions.
8175         Make names without __ weak aliases.
8176         (__libc_release, __libc_version): Make them static.
8178         * include/gnu/libc-version.h: New file.
8179         * Makefile (headers): Add gnu/libc-version.h.
8181 1998-02-13  Ulrich Drepper  <drepper@cygnus.com>
8183         * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
8184         and use x for member name.
8185         Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
8187         * stdlib/drand48.c: Change according to member name change.
8188         * stdlib/drand48_r.c: Likewise.
8189         * stdlib/lcong48_r.c: Likewise.
8190         * stdlib/lrand48.c: Likewise.
8191         * stdlib/lrand48_r.c: Likewise.
8192         * stdlib/mrand48.c: Likewise.
8193         * stdlib/mrand48_r.c: Likewise.
8194         * stdlib/seed48.c: Likewise.
8195         * stdlib/seed48_r.c: Likewise.
8196         * stdlib/srand48_r.c: Likewise.
8198 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8200         * nss/test-netdb.c: Add some more test cases.
8202 1998-02-13 11:39  Ulrich Drepper  <drepper@cygnus.com>
8204         * libio/iovsscanf.c: Undo last change modifying errno.
8206 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8208         * stdio-common/vfscanf.c: Never try to read another character
8209         after EOF.  Don't decrement read_in after EOF, it wasn't
8210         incremented in the first place.
8211         (NEXT_WIDE_CHAR): Set First, not first.
8213 1998-02-06 07:48  H.J. Lu  <hjl@gnu.org>
8215         * db/Makefile ($(inst_libdir)/libndbm.a,
8216         $(inst_libdir)/libndbm.so): New targets.
8217         * db2/Makefile: Likewise.
8219 1998-02-12 08:20  H.J. Lu  <hjl@gnu.org>
8221         * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
8222         aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
8224 1998-02-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8226         * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
8227         <streambuf.h>.
8228         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
8230 1998-02-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8232         * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
8233         versioned symbols.
8235 1998-02-13 08:14  H.J. Lu  <hjl@gnu.org>
8237         * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
8238         _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
8239         Added for libdl.so.
8241 1998-02-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8243         * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
8244         extra syscall.
8246         * grp/Makefile: Fix logic when checking for thread package.
8247         * pwd/Makefile: Likewise.
8249 1998-02-11 08:23  H.J. Lu  <hjl@gnu.org>
8251         * elf/Makefile (rtld-map): Replaced by libc-map.
8253         * elf/rtld.map: Removed.
8255         * libc.map (__libc_enable_secure, _dl_catch_error,
8256         _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
8257         _dl_default_scope, _dl_global_scope_end, _dl_init_next,
8258         _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
8259         _dl_object_relocation_scope, _dl_relocate_object,
8260         _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
8261         _r_debug): Added for ld.so.
8263 1998-02-10 08:38  H.J. Lu  <hjl@gnu.org>
8265         * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
8266         DO_VERSIONING.
8267         * libio/iofdopen.c: Ditto.
8268         * libio/iofopen.c: Ditto.
8269         * libio/oldfileops.c: Ditto.
8271         * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
8272         version GLIBC_2.1.
8274         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
8275         oldsiglist from sysdep_routines and shared-only-routines.
8277         * sysdeps/unix/sysv/linux/errlist.c: New.
8278         * sysdeps/unix/sysv/linux/errlist.h: New.
8279         * sysdeps/unix/sysv/linux/sizes.h: New.
8280         * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
8281         * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
8283         * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
8285         * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
8286         (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
8287         directive.
8289         * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
8291         * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
8292         (oldsiglist.c): Removed.
8294         * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
8295         (_sys_siglist): Use SYS_SIGLIST instead.
8296         (_sys_nerr): Use SYS_NERR instead.
8298         * sysdeps/gnu/errlist.c: Rebuilt.
8300 1998-02-11 08:35  H.J. Lu  <hjl@gnu.org>
8302         * elf/Makefile (others-static): New, set to ldconfig.
8303         ($(objpfx)ldconfig): Removed.
8305         * Rules (binaries-all, binaries-static, binaries-shared): New.
8306         Create targets for $(binaries-static) and $(binaries-shared).
8308         * Makeconfig (+link-static, link-libc-static,
8309         link-extra-libs-static): New for static linking.
8311 1998-02-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8313         * manual/memory.texi (Using the Memory Debugger): Fix typo.
8315         * math/libm-test.c (modf_test): Add one more test for modf.
8317 1998-02-11 14:39  Ulrich Drepper  <drepper@happy.cygnus.com>
8319         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8320         Rename from __libc_have_rt_sigs and leave as COMMON data.
8322 1998-02-11 08:30  H.J. Lu  <hjl@gnu.org>
8324         * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
8325         of __finite.
8327 1998-02-11 19:16  Richard Henderson  <rth@cygnus.com>
8329         * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
8331 1998-02-11 16:56  Ulrich Drepper  <drepper@happy.cygnus.com>
8333         * misc/tst-efgcvt.c: Add yet more tests.
8334         * misc/efgcvt_r.c: And correct for these tests again.
8335         Reported by HJ Lu.
8337         * isomac.c: Move to...
8338         * stdlib/isomac.c: ...here.
8339         * Makefile: Move rules for handling isomac...
8340         * stdlib/Makefile: ...to here.
8342 1998-02-10 23:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8344         * misc/tst-efgcvt.c: Add more tests.
8345         * misc/efgcvt_r.c: Correct result for above new tests.
8347 1998-02-06 17:22  H.J. Lu  <hjl@gnu.org>
8349         * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
8350         NDIGIT <= 0.
8352 1998-02-10 16:48  Philip Blundell  <pb@nexus.co.uk>
8354         * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
8355         if the programs weren't built.
8357 1998-02-09 10:12  Philip Blundell  <pb@nexus.co.uk>
8359         * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
8360         FE_TONEAREST, soldier on regardless and do the best we can.
8361         * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
8363 1998-02-5 17:20  Philip Blundell  <pb@nexus.co.uk>
8365         * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
8366         _STDIO_H, before including <bits/stdio_lim.h>.
8368         * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
8370         * io/fts.c (fts_build): Don't try to use d_type if it doesn't
8371         exist.
8373         * sysdeps/arm/sys/ucontext.h: New file.
8375 1998-02-04 10:11  Philip Blundell  <pb@nexus.co.uk>
8377         * manual/stdio.texi (Formatted Output Functions): Explicitly say
8378         that the return value from snprintf() does not count the
8379         terminating NUL as a character.
8381 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8383         * manual/users.texi: Rewrite to describe correct POSIX behaviour,
8384         add description for sete[ug]id and general cleanup.
8385         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8387 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8389         * Makefile (parent-clean): Don't remove makefile fragments here.
8390         (postclean): New variable.
8391         (clean): Remove makefile fragments here.
8392         (realclean distclean): Likewise.  Pass sysdep-subdirs to sub-make.
8393         (generated): Add isomac and isomanc.out.
8394         * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
8395         avoid-generated is set.
8396         (postclean-generated): Add soversion.mk.
8397         ($(common-objpfx)version.mk): Don't include if avoid-generated is
8398         set.
8399         * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
8400         avoid-generated is set.
8401         (common-generated): Add libc.so and libc.so$(libc.so-version).
8402         (generated): Add versioned libraries.
8403         (common-mostlyclean): Also remove %.so and %_pic.a.
8404         * csu/Makefile (generated): Add abi-tag.h.
8405         * db2/Makefile (extra-objs): Add getlong.o.
8406         * elf/Makefile (generated): Add ld.so, ldd and
8407         $(rtld-installed-name).
8408         (others): Add ldconfig here instead of ldconfig.o to extra-objs.
8409         * malloc/Makefile (generated): Add mtrace.
8410         * po/Makefile: Don't include version.mk, not needed any more.
8411         * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
8412         * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
8413         syscall.h -> sys/syscall.h.
8414         (common-generated): Add s-proto.d.
8415         (postclean-generated): Add sysd-syscalls.
8416         * localedata/Makefile (test-output): Add all output files.
8417         (generated): Add test-input and test-output.
8418         (generated-dirs): Add all the dirs.
8420 1998-01-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8422         * Makefile (test-output, generated, generated-dirs): New
8423         variables.
8425 1998-02-10 16:57  Ulrich Drepper  <drepper@happy.cygnus.com>
8427         * resolv/nss_dns/dns-host.c: Various code cleanups.
8429 1998-02-09 08:10  H.J. Lu  <hjl@gnu.org>
8431         * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
8432         From Philip Blundell <pb@nexus.co.uk>.
8433         * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
8435 1998-02-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8437         * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
8438         Suggested by debian/sparc porters.
8440 1998-02-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8442         * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
8443         for ecvt and fcvt.
8445 1998-02-10 16:32  Ulrich Drepper  <drepper@happy.cygnus.com>
8447         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
8448         __fxstat instead of stat and fstat.  Use namespace clean __stpcpy.
8450         * signal/signal.h: Always define sigset_t if __need_sigset_t is
8451         defined even if __USE_POSIX is not defined.
8453 1998-02-02 20:51  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8455         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
8456         to support obsolete tty major numbers correctly.
8458 1998-02-02 08:47  H.J. Lu  <hjl@gnu.org>
8460         * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
8461         directory first and ignore install error.
8463         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
8464         128 from ptyno and fix a typo for the BSD style pty.
8466 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8468         * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
8469         syscalls.list's.
8471 1998-02-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8473         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
8474         getresuid and getresgid.
8476         * sysdeps/unix/sysv/linux/getresuid.c: New file.
8477         * sysdeps/unix/sysv/linux/getresgid.c: New file.
8479         * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
8480         s_getres[ug]id.
8482         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
8483         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8484         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8485         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
8487 1998-02-02 08:11  H.J. Lu  <hjl@gnu.org>
8489         * nscd/grpcache.c: Include <stdlib.h>.
8491 1998-02-01 16:01  H.J. Lu  <hjl@gnu.org>
8493         * stdlib/atoll.c: Fix comments.
8495         * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
8496         * sysdeps/posix/ttyname_r.c: Ditto.
8498 1998-02-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8500         * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
8501         __USE_MISC, independent of __USE_UNIX98.
8503 1998-02-10 19:18  Ulrich Drepper  <drepper@happy.cygnus.com>
8505         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
8506         Rename from __libc_have_rt_sigs and leave as COMMON data.
8508 1998-02-04 11:58  Richard Henderson  <rth@twiddle.rth.home>
8510         * Makeconfig (CFLAGS-.os): Kill -fno-common.
8511         * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
8513         * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
8514         * elf/rtld.map: New file.  Needed to define the GLIBC_2.*
8515         version symbols.
8516         * include/libc-symbols.h (symbol_version, default_symbol_version):
8517         Provide asm versions and correct !DO_VERSIONING versions.
8518         * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
8519         the weak symbol list.
8521         * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
8522         Rename from __libc_have_rt_sigs and leave as COMMON data.
8523         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8524         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8525         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8527 1998-02-04 16:41  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8529         * sunrpc/Makefile: Correct dependencies of rpcgen.
8531 1998-02-10 03:00  Ulrich Drepper  <drepper@happy.cygnus.com>
8533         * nscd/Makefile: Fix test for available linuxthreads add-on.
8534         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8536 1998-02-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8538         * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
8540 1998-02-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8542         * sysdeps/gnu/Makefile: Respect with-cvs variable.
8544         * manual/errno.texi (Error Messages): Correct description of
8545         strerror_r.  Pointed out by jonas@bagge.se.
8547 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8549         * manual/socket.texi (Host Address Functions): Clarify description
8550         of inet_network.
8552 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8554         * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
8555         (grantpt): Delete superfluous cast.
8557 1998-02-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8559         * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
8560         elf/ldso_install instead of elf/subdir_install.
8561         (elf/ldso_install): New target.
8563         * elf/Makefile (ldso_install): New target.
8565 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8567         * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
8568         of 1998-01-06.
8570 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8572         * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
8573         constant expressions.
8575 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8577         * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
8578         for __nss_configure_lookup.
8579         (output_hostent): Remove unused variable.
8581 1998-02-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8583         * string/tst-inlcall.c: Fix format string.
8585 1998-02-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8587         * inet/netinet/in.h: Rename second parameter of bindresvport to
8588         avoid buggy gcc warning. [PR libc/412]
8590 1998-02-04 18:04  Richard Henderson  <rth@cygnus.com>
8592         * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
8593         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
8595         * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
8596         Follow POSIX and make tv_sec a time_t.
8597         * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
8598         new tv64 syscall as well as fall back to tv32.
8599         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
8600         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
8601         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
8602         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
8603         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
8604         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
8605         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
8606         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
8608         * include/rpcsvc/nis.h: New.  Bounce to nis/rpcsvc.
8609         * include/rpcsvc/nis_tags.h: Likewise.
8610         * include/rpcsvc/nislib.h: Likewise.
8612 1998-02-02 01:12  Ulrich Drepper  <drepper@cygnus.com>
8614         * libc.map: Add _h_errno.
8615         * inet/herrno.c: Make _h_errno weak alias.
8617         * login/Makefile (distribute): Add pty-internal.h.
8619         * nscd/Makefile (distribute): Add all the files missing.
8621         * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
8622         are available.
8624         * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
8625         and report status at the end.
8627         * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
8629         * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
8630         variable.
8631         * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
8632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
8633         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
8635 1998-01-03 20:47  Mark Kettenis  <kettenis@phys.uva.nl>
8637         * configure.in: Fix --enable-add-ons code.
8639 1998-02-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8641         * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
8642         by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
8643         [PR libc/441]
8645         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
8646         occurence in cache.  Reported by Rudolf Leitgeb
8647         <leitgeb@leland.stanford.edu>.
8648         [PR libc/440]
8650 1998-02-01 21:18  Ulrich Drepper  <drepper@cygnus.com>
8652         * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
8653         that it never is EINTR (which is tested for in _IO_vfscanf).
8655         * Makefile.in: Call sub-make with CVSOPTS.
8657         * elf/Makefile (distribute): Add dl-procinfo.h.
8659         * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
8661 1998-02-01 15:54  Ulrich Drepper  <drepper@cygnus.com>
8663         * version.h (VERSION): Bump to 2.0.92.
8665 1998-01-31  Phil Blundell  <philb@gnu.org>
8667         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
8668         alias for __new_sys_siglist.
8670 1998-02-01 00:53  Ulrich Drepper  <drepper@cygnus.com>
8672         * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
8673         getgrgid_r.c if thread package is available.
8674         * pwd/Makefile: Likewise.
8675         * grp/getgrnam_r.c: Remove USE_NSCD definition.
8676         * grp/getgrgid_r.c: Likewise.
8677         * pwd/getpwnam_r.c: Likewise.
8678         * pwd/getpwuid_r.c: Likewise.
8680 1998-01-31 23:46  Ulrich Drepper  <drepper@cygnus.com>
8682         * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
8683         with error to allow user intervention.
8684         * nss/getXXent_r.c: Likewise.
8686 1998-01-31 21:18  Ulrich Drepper  <drepper@cygnus.com>
8688         * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
8689         AT_PLATFORM string.  Pretty print AT_BASE info.
8691         * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
8692         (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
8693         * sysdeps/generic/dl-procinfo.h: New file.
8694         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
8696 1998-01-31 20:52  Ulrich Drepper  <drepper@cygnus.com>
8698         * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
8700         * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
8701         thread and not pthread_detach.
8703         * nscd/nscd.c: Rewrite to use argp instead of getopt.
8705 1998-01-31  Phil Blundell  <philb@gnu.org>
8707         * configure.in: Add --without-cvs option to suppress automatic
8708         checkin of regenerated files.
8709         * config.make.in: Likewise.
8710         * Makefile: Respect with-cvs setting.
8711         * Makerules: Likewise.
8713         * configure.in: Allow the standalone ARM port to be configured.
8715 1998-01-31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8717         * grp/getgrgid_r.c: Define USE_NSCD.
8718         * grp/getgrnam_r.c: Likewise.
8719         * pwd/getpwuid_r.c: Likewise.
8720         * pwd/getpwnam_r.c: Likewise.
8722         * sysdeps/unix/inet/Subdirs: Add nscd subdir.
8724         * nss/getXXbyYY_r.c: Try at first nscd.
8726         * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
8727         * nscd/connections.c: New file.
8728         * nscd/dbg_log.c: New file.
8729         * nscd/dbg_log.h: New file.
8730         * nscd/grpcache.c: New file.
8731         * nscd/nscd.c: New file.
8732         * nscd/nscd.h: New file.
8733         * nscd/nscd_conf.c: New file.
8734         * nscd/nscd_stat.c: New file.
8735         * nscd/pwdcache.c: New file.
8737         * nscd/nscd_getgr_r.c: New, client code, linked into libc.
8738         * nscd/nscd_getpw_r.c: Likewise.
8739         * nscd/nscd_proto.h: New, prototypes for client functions.
8741         * nscd/nscd.conf: New, example for a configuration file.
8742         * nscd/nscd.init: New, example for a startup script.
8744         * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
8745         avoid deadlocks.
8746         * nscd/getgrnam_r.c: Likewise.
8747         * nscd/getpwnam_r.c: Likewise.
8748         * nscd/getpwuid_r.c: Likewise.
8750 1998-01-31 11:44  Ulrich Drepper  <drepper@cygnus.com>
8752         * intl/Makefile: Use CVSOPTS in cvs invocation.
8753         * po/Makefile: Likewise.
8754         * posix/Makefile: Likewise.
8755         * stdlib/Makefile: Likewise.
8757 1998-01-31 11:18  Ulrich Drepper  <drepper@cygnus.com>
8759         * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
8760         [PR libc/410]
8761         * misc/Makefile (tests): Add tst-efgcvt.
8762         * misc/tst-efgcvt.c: New file.
8764 1998-01-31 00:21  Ulrich Drepper  <drepper@cygnus.com>
8766         * posix/regex.c: Add some more cleanups by Akim Demaille.
8768 1998-01-30 23:55  Ulrich Drepper  <drepper@cygnus.com>
8770         * signal/signal.h: Revert last change.
8771         * string/strsignal.c: Regard signal number NSGI as illegal.
8772         * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
8773         members.
8775 1998-01-30 23:37  Ulrich Drepper  <drepper@cygnus.com>
8777         * Makefile.in: Add comment about CVSOPTS Makefile variable.
8778         * Makerules: Use CVSOPTS in cvs invocation.
8779         * Makefile: Likewise.
8780         * MakeTAGS: Likewise.
8781         * Make-dist: Likewise.
8783 1998-01-30 22:37  Ulrich Drepper  <drepper@cygnus.com>
8785         * sysdeps/generic/memmem.c: Correct last change.
8787 1998-01-30 22:12  Ulrich Drepper  <drepper@cygnus.com>
8789         * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
8790         CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
8792 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8794         * nis/ypclnt.c: Try at first to use the binding file from ypbind
8795         before using RPC.
8797 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8799         * manual/memory.texi (Heap Consistency Checking): mcheck is
8800         declared in <mcheck.h>.
8801         Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
8803 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8805         * sysdeps/generic/memmem.c (memmem): An empty needle is at the
8806         beginning of haystack.
8808 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8810         * nss/nss_files/files-service.c: Correct last patch.
8812 1998-01-30 21:29  Ulrich Drepper  <drepper@cygnus.com>
8814         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
8815         __libc_have_rt_sigs.
8816         * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
8817         including <bits/setjmp.h>.
8818         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
8819         Patch from the Debian glibc/SPARC package.
8821 1997-12-12 07:57  H.J. Lu  <hjl@gnu.org>
8823         * sysdeps/alpha/bzero.S: Fix a typo.
8824         * sysdeps/alpha/htonl.S: Ditto.
8825         * sysdeps/alpha/htons.S: Ditto.
8827 1998-01-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8829         * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
8831 1998-01-30 19:58  Ulrich Drepper  <drepper@cygnus.com>
8833         * include/cpio.h: Move to ...
8834         * posix/cpio.h: ...here.
8836         * locale/programs/ld-collate.c: Fix typo.
8838         * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
8840         * stdio-common/tiformat.c: Add checks for %#.0o and friends.
8842         * login/utmp_file.c (pututline_file): Don't always report success
8843         if similar entry is found.  Patch by Mark M. Kettenis.
8845 1998-01-30 16:06  Philip Blundell  <pb@nexus.co.uk>
8847         * manual/Makefile: Don't try to install the info files if makeinfo
8848         is not available.
8850 1998-01-30 12:05  Philip Blundell  <pb@nexus.co.uk>
8852         * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
8853         kernel's network ioctls, rather than using <linux/sockios.h> to
8854         get them.  This way we are sure of maintaining compatibility if
8855         the kernel interface should change.
8857 1998-01-30 15:52  Ulrich Drepper  <drepper@cygnus.com>
8859         * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
8861 1998-01-25 19:54  Philip Blundell  <Philip.Blundell@pobox.com>
8863         * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
8864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
8866 1998-01-27 22:29  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8868         Implement System V pseudoterminal handling.
8870         * login/Makefile
8871         (routines): Add getpt, grantpt, unlockpt, ptsname.
8872         (libutil-routines): Remove pty. Add openpty, forkpty.
8873         (distribute): New internal header pty-internal.h.
8874         (others): Add the helper program, pt_chown.
8875         (install-others): Install it, in $(libexecdir), mode 4755.
8877         * login/pty-internal.h: New file.
8878         * login/openpty.c: New file.
8879         * login/forkpty.c: New file.
8880         * login/programs/pt_chown.c: New file.
8882         * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
8883         * stdlib/stdlib.h: Prototype them.
8885         * config.make.in: Define $(libexecdir).
8886         * Makeconfig: Define $(inst_libexecdir).
8888         * sysdeps/generic/pty.c: Removed.
8889         * sysdeps/unix/sysv/linux/pty.c: Removed.
8891         * sysdeps/generic/getpt.c: Stub out.
8892         * sysdeps/generic/grantpt.c: Likewise.
8893         * sysdeps/generic/ptsname.c: Likewise.
8894         * sysdeps/generic/unlockpt.c: Likewise.
8896         * sysdeps/unix/grantpt.c: New file.
8897         * sysdeps/unix/bsd/getpt.c: New file.
8898         * sysdeps/unix/bsd/unlockpt.c: New file.
8899         * sysdeps/unix/sysv/linux/getpt.c: New file.
8900         * sysdeps/unix/sysv/linux/ptsname.c: New file.
8901         * sysdeps/unix/sysv/linux/unlockpt.c: New file.
8903 1998-01-29 23:56  Ulrich Drepper  <drepper@cygnus.com>
8905         * localedata/locales/ru_RU: Fix YESEXPR.  Patch by lav@yars.free.net.
8907 1998-01-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8909         * nss/Makefile (tests): Add rule for test-netdb.c.
8911         * nss/test-netdb.c: New file.
8913 1998-01-29 02:38  Ulrich Drepper  <drepper@cygnus.com>
8915         * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
8916         really kept as a variable.  Patch by Richard Henderson,
8917         reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
8919         * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
8920         * elf/genrtldtbl.awk: Mark machine dependent directory of generated
8921         entries as not existing.
8923 1998-01-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
8925         * stdio-common/vfprintf.c (process_arg): Fix printing of octal
8926         zero in alternate form with precision of zero, which must produce
8927         "0".  Add braces to avoid ambiguous `else'.
8929 1998-01-26  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
8931         * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
8932         problem with strncpy.
8933         * nis/nss_compat/compat-pwd.c: Likewise.
8934         * nis/nss_compat/comapt-spwd.c: Likewise.
8936 1998-01-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8938         * assert/assert.h (assert_perror): Correct test for errnum.  Patch
8939         by uch@nop.or.jp. [PR libc/437]
8941 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8943         * nis/nis_cache.c: Include <unistd.h> for declaration of close.
8945 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8947         * stdio-common/test-popen.c: Include <errno.h>.
8949         * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
8950         close.
8952         * inet/getnetgrent_r.c: Include <errno.h>.
8954         * db2/db/db_conv.c: Include <string.h> for memcpy.
8956         * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
8957         so that memcpy is declared.
8959         * iconv/iconv_open.c: Include <stdlib.h> for alloca.
8961         * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
8963 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8965         * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
8966         overflow while reading line with fgets.
8967         * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
8969 1998-01-27 00:46  Ulrich Drepper  <drepper@cygnus.com>
8971         * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
8972         unsigned short, not short.
8973         Reported by Andreas Jaeger.
8975 1998-01-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8977         * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
8978         (ccept->accept).
8980         * sysdeps/generic/inttypes.h: Fix spelling.
8982 1998-01-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8984         * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
8986         * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
8988 1998-01-27 00:30  Ulrich Drepper  <drepper@cygnus.com>
8990         * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
8991         * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
8992         field for hh modifier.
8993         * stdio-common/vfprint.c: Use is_char field and do not depend in
8994         is_short having the value 2.
8995         Bug reported by Andreas Jaeger.
8997 1998-01-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
8999         * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
9000         PIC && DO_VERSIONING.
9002 1998-01-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9004         * Rules: Add rules for $(common-objpfx)dummy$o.
9006 1998-01-26  Richard Henderson  <rth@cygnus.com>
9008         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
9009         unimplemented OSF/1 definitions so that they are not accidentally seen.
9011         * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
9012         of the trampoline function into the macro.
9013         * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
9014         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
9015         kernel 2.1.82 has this fixed.
9017         * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
9018         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
9020 1998-01-26  Ulrich Drepper  <drepper@cygnus.com>
9022         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
9023         support sigaction on kernels > 2.1.7x.
9025 1998-01-01 13:52  Ulrich Drepper  <drepper@cygnus.com>
9027         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
9028         if it is empty.
9030         * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
9031         Patch by David Engel <david@sw.ods.com>.
9033         * configure.in: Fix another typo in --enable-add-ons code.
9035 1998-01-26 03:48  Ulrich Drepper  <drepper@cygnus.com>
9037         * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
9039 1998-01-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9041         * nss/nss_files/files-network.c: Correct order of parameters for
9042         getnetbyaddr.
9044 1998-01-26 00:57  Ulrich Drepper  <drepper@cygnus.com>
9046         * db2/Makefile (routines): Add os_alloc.
9047         * db2/db.h: Update from db-2.3.16.
9048         * db2/db_185.h: Likewise.
9049         * db2/db_int.h: Likewise.
9050         * db2/btree/bt_close.c: Likewise.
9051         * db2/btree/bt_cursor.c: Likewise.
9052         * db2/btree/bt_delete.c: Likewise.
9053         * db2/btree/bt_open.c: Likewise.
9054         * db2/btree/bt_page.c: Likewise.
9055         * db2/btree/bt_put.c: Likewise.
9056         * db2/btree/bt_rec.c: Likewise.
9057         * db2/btree/bt_recno.c: Likewise.
9058         * db2/btree/btree_auto.c: Likewise.
9059         * db2/common/db_appinit.c: Likewise.
9060         * db2/common/db_apprec.c: Likewise.
9061         * db2/common/db_err.c: Likewise.
9062         * db2/common/db_region.c: Likewise.
9063         * db2/common/db_shash.c: Likewise.
9064         * db2/db/db.c: Likewise.
9065         * db2/db/db_auto.c: Likewise.
9066         * db2/db/db_conv.c: Likewise.
9067         * db2/db/db_dispatch.c: Likewise.
9068         * db2/db/db_dup.c: Likewise.
9069         * db2/db/db_pr.c: Likewise.
9070         * db2/db/db_rec.c: Likewise.
9071         * db2/db185/db185.c: Likewise.
9072         * db2/dbm/dbm.c: Likewise.
9073         * db2/hash/hash.c: Likewise.
9074         * db2/hash/hash_auto.c: Likewise.
9075         * db2/hash/hash_dup.c: Likewise.
9076         * db2/hash/hash_page.c: Likewise.
9077         * db2/hash/hash_rec.c: Likewise.
9078         * db2/include/btree_ext.h: Likewise.
9079         * db2/include/clib_ext.h: Likewise.
9080         * db2/include/common_ext.h: Likewise.
9081         * db2/include/db.h.src: Likewise.
9082         * db2/include/db_185.h.src: Likewise.
9083         * db2/include/db_am.h: Likewise.
9084         * db2/include/db_ext.h: Likewise.
9085         * db2/include/db_int.h.src: Likewise.
9086         * db2/include/hash_ext.h: Likewise.
9087         * db2/include/lock_ext.h: Likewise.
9088         * db2/include/log.h: Likewise.
9089         * db2/include/log_auto.h: Likewise.
9090         * db2/include/log_ext.h: Likewise.
9091         * db2/include/mp.h: Likewise.
9092         * db2/include/mp_ext.h: Likewise.
9093         * db2/include/mutex_ext.h: Likewise.
9094         * db2/include/os_ext.h: Likewise.
9095         * db2/include/os_func.h: Likewise.
9096         * db2/include/txn_ext.h: Likewise.
9097         * db2/lock/lock.c: Likewise.
9098         * db2/lock/lock_util.c: Likewise.
9099         * db2/log/log.c: Likewise.
9100         * db2/log/log.src: Likewise.
9101         * db2/log/log_archive.c: Likewise.
9102         * db2/log/log_auto.c: Likewise.
9103         * db2/log/log_get.c: Likewise.
9104         * db2/log/log_put.c: Likewise.
9105         * db2/log/log_rec.c: Likewise.
9106         * db2/log/log_register.c: Likewise.
9107         * db2/mp/mp_bh.c: Likewise.
9108         * db2/mp/mp_fget.c: Likewise.
9109         * db2/mp/mp_fopen.c: Likewise.
9110         * db2/mp/mp_fput.c: Likewise.
9111         * db2/mp/mp_pr.c: Likewise.
9112         * db2/mp/mp_sync.c: Likewise.
9113         * db2/mutex/mutex.c: Likewise.
9114         * db2/os/os_alloc.c: Likewise.
9115         * db2/os/os_config.c: Likewise.
9116         * db2/os/os_stat.c: Likewise.
9117         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
9118         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
9119         * db2/progs/db_load/db_load.c: Likewise.
9120         * db2/progs/db_printlog/db_printlog.c: Likewise.
9121         * db2/progs/db_recover/db_recover.c: Likewise.
9122         * db2/progs/db_stat/db_stat.c: Likewise.
9123         * db2/txn/txn.c: Likewise.
9125         * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
9126         Unmap memory blocks in reverse order of allocation.
9127         Call munmap with load address added to offset.
9128         Bug reported by Miguel de Icaza.
9130         * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
9131         up weight array.
9133         * localedata/locales/cs_CZ: Update by Michael Mraka
9134         <michael@informatics.muni.cz>.
9136         * misc/sys/syslog.h: Reformat a bit.  Don't declare vsyslog unless
9137         __USE_BSD.
9139         * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
9140         reading line with fgets.
9141         * nis/nss_compat/compat-pwd.c: Likewise.
9142         * nis/nss_compat/compat-spwd.c: Likewise.
9143         * nss/nss_files/files-XXX.c: Likewise.
9144         * nss/nss_files/files-alias.c: Likewise.
9145         * shadow/fgetspent_r.c: Likewise.
9147         * string/strerror_r.c: Correct comment.  Patch by Andreas Jaeger.
9149         * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
9150         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
9151         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
9153         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
9154         FP register content in ucontext_t.
9156 1998-01-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9158         * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
9159         calculation.  Patch by Markus Schoder
9160         <Markus.Schoder@dresdner-bank.de>.
9162         * math/libm-test.c (modf_test): Add more tests for modf.
9164         * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
9165         munlock according to Unix98.
9167 1998-01-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9169         * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
9170         AF_INET.
9172 1998-01-21 07:22  H.J. Lu  <hjl@gnu.org>
9174         * sysdeps/posix/ttyname.c: Handle symbolic links.
9175         * sysdeps/posix/ttyname_r.c: Ditto.
9177 1998-01-25 19:39  Ulrich Drepper  <drepper@cygnus.com>
9179         * db2/makedb.c (process_input): Write terminating \0 for value.
9180         (print_database): Simply print value string, don't use length.
9182 1998-01-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9184         * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
9185         exit of loop.
9187 1998-01-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9189         * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
9190         close all sockets.
9192 1998-01-25 14:54  Ulrich Drepper  <drepper@cygnus.com>
9194         * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
9195         sigset.
9196         * signal/sighold.c: New file.
9197         * signal/sigrelse.c: New file.
9198         * sysdeps/generic/sigignore.c: New file.
9199         * sysdeps/generic/sigset.c: New file.
9200         * sysdeps/posix/sigignore.c: New file.
9201         * sysdeps/posix/sigset.c: New file.
9202         * signal/signal.h: Add prototypes for new functions.
9204         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
9205         * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
9206         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
9207         * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
9209 1998-01-23 00:16  Tim Waugh  <tim@cyberelk.demon.co.uk>
9211         * posix/wordexp.c: Added IFS field-splitting in parameter and
9212         command substitution.  Fixed an IFS-related bug that caused an
9213         infinite loop.
9215 1998-01-25 12:38  Ulrich Drepper  <drepper@cygnus.com>
9217         * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
9218         and swapcontext.
9219         * stdlib/ucontext.h: Correct prototypes.
9220         * sysdeps/generic/getcontext.c: New file.
9221         * sysdeps/generic/setcontext.c: New file.
9222         * sysdeps/generic/makecontext.c: New file.
9223         * sysdeps/generic/swapcontext.c: New file.
9224         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
9226 1998-01-25 04:07  Ulrich Drepper  <drepper@cygnus.com>
9228         * resource/sys/resource.h: Remove #include of ulimit.h which is
9229         not allowed by SUSv2 and not available on other systems.
9230         * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
9232         * streams/Makefile: New file.
9233         * streams/stropts.h: New file.
9234         * sysdeps/generic/bits/stropts.h: New file.
9235         * sysdeps/generic/isastream.c: New file.
9236         * sysdeps/generic/getmsg.c: New file.
9237         * sysdeps/generic/getpmsg.c: New file.
9238         * sysdeps/generic/putmsg.c: New file.
9239         * sysdeps/generic/putpmsg.c: New file.
9240         * sysdeps/generic/fattach.c: New file.
9241         * sysdeps/generic/fdetach.c: New file.
9242         * sysdeps/unix/inet/Subdirs: Add streams.
9243         * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
9244         __t_uscalar_t.
9245         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9246         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
9247         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
9248         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9250         * sysdeps/mach/_strerror.c: Follow changes of generic version to
9251         handle small buffers correctly.
9253 1998-01-24 17:31  H.J. Lu  <hjl@gnu.org>
9255         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
9256         Remove the 3rd arg and add declaration for _dl_runtime_resolve
9257         and _dl_runtime_profile.
9259 1998-01-25 02:42  Ulrich Drepper  <drepper@cygnus.com>
9261         * include/cpio.h: New file.  Mainly copied from GNU cpio.
9262         * posix/Makefile (headers): Add cpio.h.
9264 1998-01-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9266         * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
9267         to routines.
9268         * nis/nis_cache.c: New file.
9269         * nis/nis_cache2.h: New file.
9270         * nis/nis_cache2_xdr.c: New file.
9271         * nis/nis_call.c: Changes for cache2_info parameter.
9272         * nis/nis_checkpoint.c: Likewise.
9273         * nis/nis_intern.h: Likewise.
9274         * nis/nis_mkdir.c: Likewise.
9275         * nis/nis_ping.c: Likewise.
9276         * nis/nis_rmdir.c: Likewise.
9277         * nis/nis_server.c: Likewise.
9278         * nis/nis_util.c: Likewise.
9280 1997-12-30  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9282         * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
9283         return/errnop codes.
9284         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
9285         * nis/nss_nisplus/nisplus-grp.c: Likewise.
9286         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
9287         * nis/nss_nisplus/nisplus-proto.c: Likewise.
9288         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
9289         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
9290         * nis/nss_nisplus/nisplus-rpc.c: Likewise
9291         * nis/nss_nisplus/nisplus-service.c: Likewise.
9292         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
9294 1997-12-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
9296         * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
9297         * nis/nss_nis/nis-ethers.c: Likewise.
9298         * nis/nss_nis/nis-grp.c: Likewise.
9299         * nis/nss_nis/nis-hosts.c: Likewise.
9300         * nis/nss_nis/nis-network.c: Likewise.
9301         * nis/nss_nis/nis-proto.c: Likewise.
9302         * nis/nss_nis/nis-hosts.c: Likewise.
9303         * nis/nss_nis/nis-network.c: Likewise.
9304         * nis/nss_nis/nis-proto.c: Likewise.
9305         * nis/nss_nis/nis-publickey.c: Likewise.
9306         * nis/nss_nis/nis-pwd.c: Likewise.
9307         * nis/nss_nis/nis-rpc.c: Likewise.
9308         * nis/nss_nis/nis-service.c: Likewise.
9309         * nis/nss_nis/nis-spwd.c: Likewise.
9311 1998-01-24  Ulrich Drepper  <drepper@cygnus.com>
9313         * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
9314         Added to follow latest kernel development.
9316 1998-01-24 15:13  Ulrich Drepper  <drepper@happy.cygnus.com>
9318         * nss/db-Makefile: Handle empty and comment lines better.
9319         ($(VAR_DB)/services.db): Generate entries with missing protocol
9320         value.
9322 1998-01-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9324         * nss/nss_files/files-service.c (getservbyport): Allow proto ==
9325           NULL.
9326           (getservbyname): Allow proto == NULL.
9327           Pointed out by David N. Welton <davidw@gate.cks.com>.
9328           [PR libc/430].
9330 1998-01-24 11:34  Ulrich Drepper  <drepper@happy.cygnus.com>
9332         * nis/nislib/nislib.h: Finally removed.
9334         * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
9335         C compiler.  From Kaveh Ghazi.
9336         (TYPE_MINIMUM): Define.
9337         (TYPE_MAXIMUM): Define.
9338         (TIME_T_MIN): Use TYPE_MINIMUM.
9339         (TIME_T_MAX): Use TYPE_MAXIMUM.
9340         Patch by Jim Meyering <meyering@ascend.com>.
9342 1998-01-22 00:55  Ulrich Drepper  <drepper@happy.cygnus.com>
9344         * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
9345         __pread64, __pwrite64, and __getpid.
9347         * rt/aio_misc.c: Use pread and pwrite instead of __ protected
9348         versions.
9350 1998-01-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9352         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
9353         cancelable socket functions as __libc_xxx with __xxx as weak
9354         alias.
9355         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
9356         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9358         * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
9359         redefined.
9360         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9361         * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
9363         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
9365         * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
9366         and __xxx a weak alias.
9367         * sysdeps/unix/sysv/linux/connect.S: Likewise.
9368         * sysdeps/unix/sysv/linux/recv.S: Likewise.
9369         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9370         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9371         * sysdeps/unix/sysv/linux/send.S: Likewise.
9372         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9373         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9375 1998-01-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9377         * locale/langinfo.h: Add defines.
9379         * dirent/dirent.h: Add defines for DT_*, check also for
9380         _DIRENT_HAVE_D_TYPE.
9381         Suggested by Roland McGrath.
9383 1998-01-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9385         * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
9386         Update from Linux 2.1.73+79.
9388         * README.template: Update information about possible
9389         configurations.
9391         * manual/mbyte.texi (Wide String Conversion): Fix declaration of
9392         wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9393         [PR libc/417].
9395         * manual/time.texi (Priority): Correct description of
9396         PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
9397         [PR libc/416].
9399 11998-01-21 21:34  Ulrich Drepper  <drepper@cygnus.com>
9401         * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
9402         FP_ILOGNAN.   Patch by a sun <asun@zoology.washington.edu>.
9404 1998-01-21 17:53  Ulrich Drepper  <drepper@cygnus.com>
9406         * sysdeps/generic/_strerror.c: Handle BUFLEN == 0.  Reported by
9407         Andreas Jaeger.
9409 1998-01-20 18:13  Ulrich Drepper  <drepper@cygnus.com>
9411         * locale/programs/ld-collate.c: Little optimizations.
9413         * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
9415         * string/Makefile (tests): Add tst-inlcall.
9416         * string/tst-inlcall.c: New file.
9418         * string/strsignal.c: Add support for real-time signals.
9420         * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
9421         presense of small buffer.
9423         * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
9425         * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
9426         for i686.
9428         * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
9429         _NSIG + 1.
9431 1998-01-02 15:10  Matthias Urlichs   <urlichs@noris.de>
9433         * Rules: Add explicit rule for dummy.o; at least one library needs
9434           it and it isn't autogenerated by the default rules.
9436 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9438         * math/libm-test.c: Tweak epsilons.
9440 1997-12-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9442         * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
9443         child.
9444         (feenv_mask_test): Likewise.
9446 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9448         * Makeconfig: Don't export CPPFLAGS.
9450 1998-01-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9452         * sunrpc/rpc_main.c (parseargs): Use perror to print error
9453         message.
9455 1998-01-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9457         * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
9458         terminating null in key size.
9460 1998-01-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9462         * nss/nss_files/files-service.c: Fix allocation size to include
9463         length of PROTO.
9465         * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
9466         applicable.  Fix return value and error checking.
9467         (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
9468         unparsable lines.
9469         (DB_LOOKUP): Allocate space for terminating null byte.
9471         * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
9472         uids specially.
9474         * db2/makedb.c (process_input): Continue processing if a duplicate
9475         key is encountered.
9477 1998-01-19 15:20  Ulrich Drepper  <drepper@cygnus.com>
9479         * time/tzfile.h: Updated from tzcode1998b.
9480         * time/zdump.c: Likewise.
9481         * time/zic.c: Likewise.
9482         * time/africa: Update from tzdata1998b.
9483         * time/antarctica: Likewise.
9484         * time/asia: Likewise.
9485         * time/australasia: Likewise.
9486         * time/etcetera: Likewise.
9487         * time/europe: Likewise.
9488         * time/leapseconds: Likewise.
9489         * time/northamerica: Likewise.
9490         * time/southamerica: Likewise.
9492 1998-01-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9494         * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
9495         lookups ignoring case.
9496         * nss/nss_files/files-network.c: Do network lookups ignoring
9497         case.
9498         * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
9499         case.
9500         * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
9501         case insensitive comparing.
9502         Patches by Cristian Gafton <gafton@redhat.com>.
9504 1998-01-09  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9506         * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines.  Suggested
9507         by Roland McGrath. [PR libc/395]
9509 1998-01-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9511         * manual/arith.texi (Parsing of Integers): Correct description of
9512         strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
9513         [PR libc/396]
9515 1997-12-30 14:14  Matthias Urlichs  <urlichs@noris.de>
9517         * misc/lsearch.c (lsearch): Return a pointer to the new element
9518         if one was "allocated".
9520 1997-12-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9522         * string/strsignal.c: NSIG is not a valid index into
9523         _sys_siglist.  Don't zap the last character of the "Unknown
9524         signal" message.
9526 1998-01-19 15:08  Ulrich Drepper  <drepper@cygnus.com>
9528         * locale/programs/charmap.c (parse_charmap): Correct parsing of
9529         ellipsis expressions.
9531         * locale/programs/charset.c (insert_char): Correctly insert value
9532         of eliipsis expression.
9534 1997-12-28 15:08  Ulrich Drepper  <drepper@cygnus.com>
9536         * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
9537         <bits/setjmp.h>.
9538         * sysdeps/powerpc/setjmp.S: Likewise.
9539         Patches by Matt McLean <keys@keys.got.net>.
9541         * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
9543         * Makefile: Undo last patch.
9544         (distribute): Add test-installation.pl.
9546         * configure.in: Correct handling of --enable-add-ons without parameter.
9547         Correct address of WWW pages.
9549         * libc.map: Add _nl_domain_bindings.
9551         * db2/mutex/tsl_parisc.s: New file.
9553         * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
9554         and extra-module.mk.
9556         * localedata/Makefile (distribute): New.  Add all the files.
9558         * stdlib/Makefile (headers): Add inttypes.h.
9559         (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
9560         * sysdeps/generic/inttypes.h: New file.
9561         * sysdeps/generic/strtoimax.c: New file.
9562         * sysdeps/generic/strtoumax.c: New file.
9563         * sysdeps/generic/wcstoimax.c: New file.
9564         * sysdeps/generic/wcstoumax.c: New file.
9565         * sysdeps/wordsize-32/Dist: Removed.
9566         * sysdeps/wordsize-32/Makefile: Removed.
9567         * sysdeps/wordsize-64/Dist: Removed.
9568         * sysdeps/wordsize-64/Makefile: Removed.
9569         * sysdeps/generic/bits/environments.h: New file.
9571         * include/limits.h: Define MB_LEN_MAX in any case to 6.  The gcc
9572         header is still not correct.
9574         * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
9575         * posix/unistd.h: Likewise.
9576         * sysdeps/generic/sys/mman.h: Likewise.
9577         * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
9579         * manual/arith.texi: Change definition of mul macro.
9580         * manual/math.texi: Likewise.
9582         * misc/Makefile (routines): Add mmap64.
9583         * sysdeps/generic/mmap64.c: New file.
9584         * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
9585         * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
9586         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
9587         aliases to mmap.
9588         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9590         * sysdeps/generic/setrlimit64.c: Don't mark as stub.
9592         * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
9594         * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
9596         * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
9597         FOPEN_MAX also when included by limits.h.
9598         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9600         * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
9601         and netrom/netrom.h.
9602         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
9603         oldsiglist to sysdep_routines, not aux.
9604         [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
9606         * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
9607         and SOL_NETROM definition.
9609         * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
9611         * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
9612         * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
9614 1997-12-25  Ulrich Drepper  <drepper@cygnus.com>
9616         * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
9618         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
9619         sa_handler with k_sa_handler.
9620         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
9621         strong alias.
9622         Reported by a sun.
9624         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
9625         __libc_have_rt_sigs here.
9626         * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
9627         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9628         * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
9629         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9631 1997-12-11 07:51  Geoff Keating  <geoffk@ozemail.com.au>
9633         * sysdeps/powerpc/atomicity.h: New file.
9634         * sysdeps/mach/powerpc/machine-lock.h: New file.
9636         * Rules: Use -fpic to build anything that might end up in a users'
9637         shared library.
9639         * sysdeps/powerpc/s_fdim.c: New file.
9640         * sysdeps/powerpc/s_fdimf.c: New file.
9641         * sysdeps/powerpc/s_fmax.S: New file.
9642         * sysdeps/powerpc/s_fmaxf.S: New file.
9643         * sysdeps/powerpc/s_fmin.S: New file.
9644         * sysdeps/powerpc/s_fminf.S: New file.
9645         * sysdeps/powerpc/s_llrint.c: Now is for double.
9646         * sysdeps/powerpc/s_llrintf.c: New file.
9647         * sysdeps/powerpc/s_llround.c: Now is for double.
9648         * sysdeps/powerpc/s_llroundf.c: New file.
9649         * sysdeps/powerpc/s_lrint.c: Now is for double.
9650         * sysdeps/powerpc/s_lrintf.S: New file.
9651         * sysdeps/powerpc/s_lround.c: Now is for double.
9652         * sysdeps/powerpc/s_lroundf.c: New file.
9653         * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
9654         lrintf, fdim, fdimf.
9656         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
9657         file directly, use its parent.
9659         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
9660         (for the third time).
9662 1997-12-20 13:50  Richard Henderson  <rth@cygnus.com>
9664         * posix/sched.h: timespec is in <time.h>.
9666         * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
9668 1997-12-22 18:10  Ulrich Drepper  <drepper@cygnus.com>
9670         * configure.in: Stop with error if --disable-static is used when
9671         the shared lib uses this library.
9673         * gen-FAQ.pl: I've perl installed in /usr/bin.
9675         * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
9677         Fix Unix98 conformance problems in the headers.
9678         * catgets/nl_types.h: Define nl_item.
9679         * grp/grp.h: Define gid_t.
9680         * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
9681         * include/nl_types.h: New file.
9682         * include/ulimit.h: New file.
9683         * io/fcntl.h: Include sys/stat.h for Unix98.  Don't define locking
9684         constants in POSIX mode.
9685         * io/utime.h: Get definition for time_t.
9686         * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
9687         uid_t, pid_t.  Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
9688         * libio/stdio.h: Define va_list.  Make snprintf also available is
9689         __USE_UNIX98.  Declare getopt function and variables.
9690         * locale/langinfo.h: Include nl_types.h.  Don't define nl_item.
9691         Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
9692         * math/math.h: Defined M_* constants as double for Unix98 mode.
9693         * posix/fnmatch.h: Pretty print.  Define FNM_NOSYS.
9694         * posix/glob.h: Pretty print.  Define GLOB_NOSYS.
9695         * posix/regex.h: Define REG_NOSYS.
9696         * posix/wordexp.h: Define WRDE_NOSYS.
9697         * posix/unistd.h: Define _POSIX2_VERSION.  Define _XOPEN_VERSION to
9698         500 for Unix98.
9699         * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
9700         somewhere else as well.  Define clock_t for Unix98.
9701         * posix/sys/wait.h: Define pid_t.
9702         * pwd/pwd.h: Define gid_t, uid_t.
9703         * resource/Makefile (headers): Add ulimit.h.
9704         * resource/ulimit.h: New file.
9705         * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
9706         instead of second argument.
9707         * sysdeps/unix/bsd/ulimit.c: Likewise.  Use UL_* constants.
9708         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
9709         * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
9710         * signal/signal.h: Define pid_t.
9711         * string/string.h: Don't declare BSD string functions in POSIX mode.
9712         * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE.  Add
9713         _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
9714         * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
9715         and POSIX.
9717         * inet/test_ifindex.c: Change test so that it does not fail for
9718         interface aliases.
9720         * locale/programs/locale.c (show_info): Use correct cast sequence
9721         for 64bit machines.
9723         * malloc/malloc.c: __malloc_initialized now signals three states:
9724         uninitialized, initializing, initialized.  Used in mcheck.
9725         * malloc/mcheck.c (mabort): Add '\n' to messages.
9726         (mcheck): Allow installation when malloc is uninitialized or is
9727         just initializing.
9729         * manual/memory.texi: Explain mtrace output a bit more.
9731         * math/libm-test.c: Add more epsilons.
9733         * misc/regexp.h (compile): Remove __ prefix from parameter names.
9735         * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
9736         instead of strcpy for security.
9737         * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
9738         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
9739         * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
9741         * nss/digits_dots.c: Pretty print.
9743         * posix/getconf.c (vars): Add symbols for programming environment
9744         recognition.  Recognize --version.
9746         * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
9747         _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
9748         * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
9750         * sysdeps/generic/bits/stdio_lim.h: Implement handling of
9751         __need_FOPEN_MAX.
9752         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
9753         * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
9754         __need_FOPEN_MAX.
9756         * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
9757         * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
9759         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
9760         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
9761         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
9762         * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
9763         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9764         * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
9766         * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
9767         SCNu*.
9768         * sysdeps/wordsize-64/inttypes.h: Likewise.
9770         * time/africa: Update from tzdata1997j.
9771         * time/antarctica: Likewise.
9772         * time/asia: Likewise.
9773         * time/australasia: Likewise.
9774         * time/backward: Likewise.
9775         * time/etcetera: Likewise.
9776         * time/europe: Likewise.
9777         * time/factory: Likewise.
9778         * time/northamerica: Likewise.
9779         * time/pacificnew: Likewise.
9780         * time/southamerica: Likewise.
9782         * time/tzfile.h: Update from tzcode1997h.
9783         * time/zic.c: Likewise.
9785         * wcsmbs/wchar.h: Get definition of FILE.  Define `struct tm' tag.
9786         Declare wcwidth and wcswidth for __USE_XOPEN.  Declare the
9787         isw*() functions for Unix98.
9788         * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
9789         * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
9790         is defined.
9792 1997-12-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9794         * locale/duplocale.c: Increase usage_count only if less than
9795         MAX_USAGE_COUNT.
9796         * locale/freelocale.c: Test usage_count against UNDELETABLE, not
9797         MAX_USAGE_COUNT.
9798         * locale/setlocale.c: Likewise.
9800 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9802         * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
9803         dependency to make it easier to install it selectively.
9805         * Makerules (.SUFFIXES): Don't define any suffixes.
9807 1997-12-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9809         * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
9810         * sysdeps/generic/statfs64.c: Emulate using statfs.
9811         * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
9812         * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
9813         * sysdpes/generic/ftruncate64.c: New file.
9814         * sysdpes/generic/truncate64.c: New file.
9816         * sysdeps/generic/bits/stat.h: Add LFS support.
9817         * sysdeps/generic/bits/statfs.h: Likewise.
9819         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
9820         [__USE_FILE_OFFSET64]: Make long long constant.
9821         (RLIM64_INFINITY): Likewise.
9823         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
9824         for LFS support.
9825         (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
9826         * sysdeps/generic/bits/resource.h: Likewise.
9828         * misc/Makefile (routines): Add truncate64 and ftruncate64.
9830         * include/features.h: Don't prevent LFS support from defining BSD
9831         and SYSV things.
9833         * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
9834         * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
9835         * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
9837         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
9838         fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
9839         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
9841         * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
9842         * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
9843         * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
9844         * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
9845         * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
9846         * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
9847         * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
9848         * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
9849         * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
9850         * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
9851         * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
9852         * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
9853         * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
9854         * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
9855         * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
9856         * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
9857         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
9858         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
9859         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
9860         * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
9862         * sysdeps/unix/sysv/linux/fxstat64.c: New file.
9863         * sysdeps/unix/sysv/linux/lxstat64.c: New file.
9864         * sysdeps/unix/sysv/linux/xstat64.c: New file.
9865         * sysdeps/unix/sysv/linux/readdir64.c: New file.
9866         * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
9868         * sysdeps/unix/sysv/linux/getdents64.c: New file.
9869         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
9870         [$(subdir)=dirent]: Add getdents64.
9871         * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
9873         * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
9875 1997-12-18 12:07  Philip Blundell  <pb@nexus.co.uk>
9877         * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
9879         * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
9880         * sysdeps/generic/getrlimit64.c: Likewise.
9881         * sysdeps/generic/setrlimit.c: Likewise.
9882         * sysdeps/generic/setrlimit64.c: Likewise.
9884 1997-12-17 13:57  Philip Blundell  <pb@nexus.co.uk>
9886         * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
9887         using versioning.
9889         * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
9891         * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
9893 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9895         * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
9896         after the codeset name.
9898 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9900         * libc.map: Add get_kernel_syms.
9902 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9904         * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
9905         static.
9906         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
9907         Likewise.  Fix condition.
9909 1997-12-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9911         * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
9913 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9915         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
9916         Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
9918 1997-12-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9920         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
9921         * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
9922         instead.  Oops.
9924 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9926         * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
9928 1997-12-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9930         * math/libm-test.c (catanh_test): Change epsilon.
9931         Reported by H.J. Lu.
9933 1997-12-14 19:39  H.J. Lu  <hjl@gnu.org>
9935         * libc.map (__getpid): Added for linuxthreads.
9937 1997-12-13 21:09  H.J. Lu  <hjl@gnu.org>
9939         * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
9940         it if gcc uses static variable in DWARF2 unwind information
9941         for exception support.
9943         * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
9945         * elf/soinit.c (__libc_global_ctors, _fini): Handle
9946         HAVE_DWARF2_UNWIND_INFO_STATIC.
9948         * libc.map (__register_frame*, __deregister_frame*): Make them
9949         global.
9951 1997-12-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9953         * math/libm-test.c: Add more tests for "normal" values.
9955 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9957         * stdio-common/printf_fphex.c: Fix printing of long double number
9958         with a biased exponent of zero.  Fix rounding.
9960 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9962         * sunrpc/rpc_main.c: Accept new flag -$.
9963         * sunrpc/Makefile (rpcgen-cmd): Pass it here.
9965 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9967         * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
9968         dynamic linker first, in case the interface has changed.
9970 1997-12-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9972         * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
9973         order.
9975 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
9977         * math/tgmath.h: Check for double first, for architectures where
9978         sizeof (long double) == sizeof (double).
9980 1997-12-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
9982         * math/libm-test.c: New tests for "normal" values added for most
9983         functions.
9985 1997-12-14 21:33  Ulrich Drepper  <drepper@cygnus.com>
9987         * version.h (VERSION): Bump to 2.0.91.
9989         * db2/makedb.c (process_input): Fix typo in message.
9990         * sunrpc/rpcinfo.c (pmapdump): Unify messages.
9992         * elf/dynamic-link.h: Pretty print.
9994         * elf/rtld.c: Allow multiple preloading of a shared object.
9996         * include/limits.h: Prevent multiple inclusion.
9998         * malloc/Makefile (headers): Add mcheck.h.
9999         (distribute): Remove it here.
10000         * malloc/mcheck.h: Pretty print.
10001         * malloc/mtrace.c (mallenv): Make `const'.
10002         * malloc/mtrace.pl: Don't print table head for memory leaks if there
10003         are none.
10004         * manual/memory.texi: Update descriptor of malloc hooks.
10006         * posix/Makefile (routines): Add waitid.
10007         * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
10008         on __id_t.
10009         * posix/sys/wait.h: Define idtype_t type.
10010         Add prototype for waitid.
10011         * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
10012         * sysdeps/generic/waitid.c: Stub for waitid.
10013         * sysdeps/generic/bits/siginfo.h: Define sigval_t.  Arrange to work
10014         the __need_siginfo_t defined.
10015         * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
10016         * sysdeps/generic/bits/types.h: Define __id_t.
10017         Correct definition of __FDMASK.
10018         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
10019         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
10020         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
10022         * sysdeps/posix/waitid.c: New file.
10023         Provided by Zack Weinberg.
10025         * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
10027         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
10028         Add missing parameters.
10030         * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
10031         * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
10032         * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
10033         * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
10034         initialized.
10036         * sysdeps/i386/dl-machine.h: Little cleanup.
10038         * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
10039         (__finite): Mark function as const.
10040         Add inline code for __ieee754_atan2.
10042         * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
10043         (but don't use it now).
10044         * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
10045         __atan.
10046         * sysdeps/libm-ieee754/s_catanf.c: Likewise.
10047         * sysdeps/libm-ieee754/s_catanl.c: Likewise.
10048         * sysdeps/libm-ieee754/s_catanh.c: Likewise.  Correct sign of
10049         real part.
10050         * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
10051         * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
10052         * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
10053         __ieee754_atan2 to base 10.
10054         * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
10055         * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
10057         * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
10058         old_kernel_sigaction.
10060         * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
10062         * wctype/Makefile (routines): Add wctype_l.
10063         * wctype/wctype.h: Add declaration of __wctype_l.
10064         * wctype/wctype_l.c: New file.
10066 1997-12-10 00:38  Ulrich Drepper  <drepper@cygnus.com>
10068         * locale/C-ctype.c: Correct data for isw* functions.
10069         * locale/programs/ld-ctype.c: Write 32bit char classes in correct
10070         byte order.
10071         * wctype/test_wctype.c: Add test for isw* functions.
10072         * wctype/wctype.c: Return value with expected byte order.
10074 1997-12-13  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10076         * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
10078 1997-12-05 20:19  H.J. Lu  <hjl@gnu.org>
10080         * iconvdata/Makefile: Fix a typo.
10082         * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
10083         oldsiglist for shared library.
10085         * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
10086         sys_sigabbrev): Make them as the default version GLIBC_2.1.
10088         * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
10089         sys_siglist, sys_sigabbrev): New file. Make them as the old
10090         version GLIBC_2.0.
10092         * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
10093         to GLIBC_2.1.
10095 1997-11-20 18:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
10097         * libio/iofgets.c (_IO_fgets): Return an error only if there
10098         is a new error.
10099         * libio/iogets.c (_IO_gets): Ditto.
10101 1997-11-20 07:26  H.J. Lu  <hjl@gnu.ai.mit.edu>
10103         * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
10105         * libio/Makefile (routines, shared-only-routines): Add
10106         oldiofdopen.
10108         * libio/fileops.c: Don't use _IO_FILE_complete.
10109         * libio/iofdopen.c: Ditto.
10110         * libio/iofopen.c: Ditto.
10111         * libio/iofopen64.c: Ditto.
10112         * libio/iopopen.c: Ditto.
10113         * libio/iovdprintf.c: Ditto.
10115         * libio/genops.c (_IO_init): Set _vtable_offset to 0.
10117         * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
10118         and make it for _IO_fdopen/fdopen version GLIBC_2.1.
10120         * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
10121         _IO_old_fdopen, _IO_new_fdopen): New declaration.
10123         * libio/libio.h (_IO_FILE): Add more fields.
10124         (_IO_FILE_complete): Defined and make _IO_FILE be the old
10125         one if _IO_USE_OLD_IO_FILE is defined
10126         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
10127         them _IO_FILE_complete.
10129         * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
10130         to adjust vtable.
10131         (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
10132         _IO_JUMPS.
10133         (_IO_FILE_complete): Commented out.
10135         * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
10136         * libio/oldiofclose.c: Ditto.
10137         * libio/oldiofopen.c: Ditto.
10138         * libio/oldstdfiles.c: Ditto.
10140         * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
10141         for the old _IO_FILE.
10143         * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
10144         (_IO_check_libio): Set _vtable_offset for old stdin, stdout
10145         and stderr.
10147         * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
10148         and remove INAME.
10150         * libio/stdio.c (stdin, stdout, stdin): Don't use
10151         _IO_FILE_complete.
10153         * libio/oldiofdopen.c: New.
10155         * stdio-common/vfprintf.c (buffered_vfprintf): Set
10156         hp->_vtable_offset to 0.
10158 1997-11-18 08:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
10160         * libc.map (_IO_file_open): Added.
10162         * libio/libioP.h (_IO_file_open): Declared.
10164         * libio/fileops.c (_IO_file_open): New.
10165         (_IO_file_fopen): Call _IO_file_open ().
10167         * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
10168         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
10170 1997-12-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10172         * signal/signal.h: Fix selection of signal semantics to match
10173         comment.
10175 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10177         * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
10178         * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
10179         rt_sigreturn.
10180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
10181         [$(subdir)=signal]: Remove rt_sigreturn.
10182         * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
10183         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
10184         * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
10186 1997-12-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10188         * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>.  Fix
10189         declarations.
10191 1997-12-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10193         * iconvdata/extra-module.mk: Expand extra-objs now.
10195 1997-12-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10197         * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
10198         inline functions by feature tests to avoid warning about missing
10199         prototype declarations.
10201 1997-12-09 15:08  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10203         * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
10204         return code for non existent +name entries.
10205         * nis/nss_compat/compat-pwd.c: Likewise.
10206         * nis/nss_compat/compat-spwd.c: Likewise.
10208 1997-12-10 13:52  Philip Blundell  <pb@nexus.co.uk>
10210         * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
10211         (EIO): Likewise.
10212         (ENOSPC): Likewise.
10213         (EEXIST): Likewise.
10214         (__errno_location): Likewise.
10216         * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
10218         * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
10220 1997-12-09 08:10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10222         * sunrpc/publickey.c: Use new NSS interface.
10224 1997-12-09 03:08  Ulrich Drepper  <drepper@cygnus.com>
10226         * manual/malloc.texi: Document mtrace/muntrace and the concept.
10228 1997-12-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10230         * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
10231         value, to match spirit of the standard.
10232         * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
10233         * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
10234         * sysdeps/m68k/fpu/fesetenv.c: Likewise.
10236 1997-12-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10238         * manual/signal.texi (Signal Stack): Remove spurious @item.
10240 1997-12-08  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10242         * rt/aio.h: Remove double semicolon.
10244         * rt/librt.map: Add aio_init.
10246 1997-12-08 03:24  Ulrich Drepper  <drepper@cygnus.com>
10248         * Makeconfig: Define $(rt) to rt if linuxthreads is available.
10249         * Makefile (subdirs): Replace rt by $(rt).
10251         * shlib-versions: Use version .2 for NSS modules.
10253         * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
10254         argument.
10255         * pwd/fgetpwent_r.c: Likewise.
10256         * spwd/fgetspent_r.c: Likewise.
10257         * spwd/sgetspent_r.c: Likewise.
10258         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
10259         Store error number in *ERRNOP.  Little optimization.
10260         * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
10261         * hesiod/nss_hesiod/hesiod-service.c: Likewise.
10262         * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
10263         (__internal_getnetgrent_r): New argument.
10264         Call __internal_setnetgrent_reuse with new argument.
10265         (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
10266         * inet/netgroup.h: Add argument to prototypes.
10267         * nis/nisplus-parser.h: Likewise.
10268         * nis/nss_compat/compat-grp.c: Change everything to store error
10269         code through provided pointer and not use errno.
10270         * nis/nss_compat/compat-pwd.c: Likewise.
10271         * nis/nss_compat/compat-spwd.c: Likewise.
10272         * nis/nss_nis/nis-alias.c: Likewise.
10273         * nis/nss_nis/nis-ethers.c: Likewise.
10274         * nis/nss_nis/nis-grp.c: Likewise.
10275         * nis/nss_nis/nis-hosts.c: Likewise.
10276         * nis/nss_nis/nis-netgrp.c: Likewise.
10277         * nis/nss_nis/nis-network.c: Likewise.
10278         * nis/nss_nis/nis-proto.c: Likewise.
10279         * nis/nss_nis/nis-publickey.c: Likewise.
10280         * nis/nss_nis/nis-pwd.c: Likewise.
10281         * nis/nss_nis/nis-rpc.c: Likewise.
10282         * nis/nss_nis/nis-service.c: Likewise.
10283         * nis/nss_nis/nis-spwd.c: Likewise.
10284         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10285         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10286         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10287         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10288         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
10289         * nis/nss_nisplus/nisplus-network.c: Likewise.
10290         * nis/nss_nisplus/nisplus-parser.c: Likewise.
10291         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10292         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
10293         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10294         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10295         * nis/nss_nisplus/nisplus-service.c: Likewise.
10296         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10297         * nss/nss_db/db-XXX.c: Likewise.
10298         * nss/nss_db/db-alias.c: Likewise.
10299         * nss/nss_db/db-netgrp.c: Likewise.
10300         * nss/nss_files/files-XXX.c: Likewise
10301         * nss/nss_files/files-alias.c: Likewise
10302         * nss/nss_files/files-netgrp.c: Likewise
10303         * nss/nss_files/files-parse.c: Likewise
10304         * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
10305         parameter of get functions.
10306         * nss/getXXent_r.c: Likewise.
10308         * localedata/tst-fmon.c: Print debug info if test fails.
10310         * rt/Makefile (routines): Add aio_notify.
10311         * rt/aio.h: Remove non-public definitions.  Add aioinit stuff.
10312         * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
10313         * rt/aio_fsync.c: Likewise.
10314         * rt/aio_misc.c: Likewise.
10315         * rt/aio_misc.h: Likewise.
10316         * rt/aio_read.c: Likewise.
10317         * rt/aio_read64.c: Likewise.
10318         * rt/aio_suspend.c: Likewise.
10319         * rt/aio_write.c: Likewise.
10320         * rt/aio_write64.c: Likewise.
10321         * rt/lio_listio.c: Likewise.
10322         * rt/lio_listio64.c: Likewise.
10323         * rt/aio_notify.c: New file.
10325         * sysdeps/generic/bits/sigset.h: Pretty print.
10327         * sysdeps/posix/pwrite.c: Define weak alias only if function is
10328         really defined as __pwrite.
10330         * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
10331         instead of pread64.
10332         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10334         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10335         (sysdep_routines): Add rt_sigpending and rt_sigreturn.
10336         * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
10337         size in syscall.
10338         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10339         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10340         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
10341         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10342         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
10343         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10344         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.  Take care
10345         for ACT being NULL.
10346         * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
10347         RT signals.
10348         * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
10349         __NR_pread is not defined.
10350         * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
10351         __NR_pwrite is not defined.
10353 1997-12-07 11:15  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10355         * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
10356         handle for /etc/group back in some more cases.
10357         * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
10358         handle for /etc/passwd back in some more cases.
10359         * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
10360         handle for /etc/shadow back in some more cases.
10362 1997-12-06 17:00  H.J. Lu  <hjl@gnu.org>
10364         * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
10365         beyound its size.
10366         * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
10367         * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
10369 1997-12-06 04:38  Ulrich Drepper  <drepper@cygnus.com>
10371         * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
10372         handling.  Don't use macros, we need functions.  Use inline functions
10373         for optimization.
10374         * sysdeps/wordsize-64/inttypes.h: Likewise.
10375         * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
10376         and wcstoumax.
10377         * sysdeps/wordsize-64/Makefile: Likewise.
10378         * sysdeps/wordsize-32/Dist: Likewise.
10379         * sysdeps/wordsize-64/Dist: Likewise.
10380         * sysdeps/wordsize-32/strtoimax.c: New file.
10381         * sysdeps/wordsize-32/strtoumax.c: New file.
10382         * sysdeps/wordsize-32/wcstoimax.c: New file.
10383         * sysdeps/wordsize-32/wcstoumax.c: New file.
10384         * sysdeps/wordsize-64/strtoimax.c: New file.
10385         * sysdeps/wordsize-64/strtoumax.c: New file.
10386         * sysdeps/wordsize-64/wcstoimax.c: New file.
10387         * sysdeps/wordsize-64/wcstoumax.c: New file.
10389 1997-12-04 10:40  Philip Blundell  <pb@nexus.co.uk>
10391         * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
10392         that transparent union works.
10393         * sysdeps/generic/wait4.c (__wait4): Likewise.
10394         * sysdeps/generic/wait.c (__wait): Likewise.
10396         * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
10397         size_t.
10399         * sysdeps/generic/syscall.c (syscall): Return value and arg are
10400         long, to match prototype.
10402         * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
10403         have mremap() yet.
10405         * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
10407         * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
10409         * sysdeps/generic/bits/time.h: Use __time_t not time_t.
10411         * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
10412         __rlim_t.
10414         * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
10416         * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
10418         * io/sys/stat.h (S_ISLNK): Always false if we don't have
10419         __S_IFLNK.
10421         * sysdeps/standalone/close.c (_STDIO_H): Define before including
10422         <bits/stdio_lim.h>.
10423         * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
10425 1997-12-06 01:09  Ulrich Drepper  <drepper@cygnus.com>
10427         * posix/sys/wait.h: Don't use transparent unions in C++.
10429 1997-12-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10431         * time/time.h: Add strfxtime.
10433         * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
10434         sysv_signal, strfxtime, pread64, pwrite64.
10436 1997-11-30 21:57  Richard Henderson  <rth@cygnus.com>
10438         Alpha changes for EGCS:
10439         * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
10440         * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
10441         * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
10442         (_start): Likewise.
10443         * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
10445 1997-12-05 00:01  Ulrich Drepper  <drepper@cygnus.com>
10447         The kernel expects the arguments in a different order.
10448         * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
10449         * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
10451         * FAQ.in: New file.
10452         * gen-FAQ.pl: New file.
10453         * Makefile (FAQ): Add rule to generate from FAQ.in.
10455         * iconvdata/Makefile: Treat libJIS like the other modules.
10457         * rt/librt.map: New file.
10459         * sysdeps/wordsize-32/bits/environments.h: Add test for direct
10460         inclusion.
10461         * sysdeps/wordsize-64/bits/environments.h: Likewise.  Correct
10462         comment.
10464 1997-12-04 22:29  Ulrich Drepper  <drepper@cygnus.com>
10466         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
10467         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
10468         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
10469         Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
10471 1997-11-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10473         * string/bits/string2.h: Fix spellings.
10475         * string/string.h: Fix spellings.
10477 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10479         * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
10480         declaration to __syscall_rt_sigaction.
10482         * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
10483         non-existant <sigcontext.h>.
10485 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10487         * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
10488         typo.
10490 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10492         * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
10494         * Makeconfig (shared-thread-library): Correct spelling.
10496         * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
10497         <asm/pci.h>.
10499 1997-12-04  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10501         * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
10502         constants from Linux headers. Pointed out by
10503         csmall@scooter.o.i.net. [PR libc/369]
10505 1997-12-04 10:21  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10507         * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
10509 1997-12-04 00:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10511         * configure.in: If --enable-add-ons is given without an
10512         argument, set the addons list to all subdirs with a configure
10513         script.
10515 1997-12-03 23:50  Ulrich Drepper  <drepper@cygnus.com>
10517         * Makeconfig: Add shared-thread-library variable.
10519         * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
10520         * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
10521         here.
10522         * sysdeps/m68k/fpu/e_acos.c: Likewise.
10523         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
10524         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
10525         * sysdeps/m68k/fpu/e_pow.c: Likewise.
10526         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
10527         * sysdeps/m68k/fpu/k_cos.c: Likewise.
10528         * sysdeps/m68k/fpu/k_sin.c: Likewise.
10529         * sysdeps/m68k/fpu/k_tan.c: Likewise.
10530         * sysdeps/m68k/fpu/s_atan.c: Likewise.
10531         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
10532         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
10533         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
10534         * sysdeps/m68k/fpu/s_csin.c: Likewise.
10535         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
10536         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
10537         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
10538         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
10539         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
10540         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
10541         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
10542         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
10543         * sysdeps/m68k/fpu/s_modf.c: Likewise.
10544         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
10545         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
10546         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
10548         * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
10549         __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
10550         * signal/Makefile (headers): Add bits/siginfo.h.
10551         (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
10552         (distribute): Add testrtsig.h.
10553         * signal/allocrtsig.c: New file.
10554         * signal/signal.h: Define `union sigval'.  Include <bits/siginfo.h>.
10555         Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
10556         __libc_current_sigrtmax.
10557         * sysdeps/generic/sigqueue.c: New file.
10558         * sysdeps/generic/sigtimedwait.c: New file.
10559         * sysdeps/generic/sigwaitinfo.c: New file.
10560         * sysdeps/generic/testrtsig.h: New file.
10561         * sysdeps/generic/bits/siginfo.h: New file.
10562         * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
10563         * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
10564         old_kernel_sigaction and rename sa_handler member to k_sa_handler.
10565         * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
10566         * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
10567         * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
10568         * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
10569         * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
10570         * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
10571         * sysdeps/unix/sysv/linux/sigpending.c: New file.
10572         * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
10573         * sysdeps/unix/sysv/linux/sigqueue.c: New file.
10574         * sysdeps/unix/sysv/linux/sigreturn.c: New file.
10575         * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
10576         * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
10577         * sysdeps/unix/sysv/linux/testrtsig.h: New file.
10578         * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
10579         * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
10580         * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
10581         * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
10582         * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
10583         and _POSIX_REALTIME_SIGNALS.
10584         * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
10585         * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
10586         update _NSIG.
10587         * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
10588         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
10589         definitions.
10591         * Makefile (subdirs): Add rt.
10592         * shlib-versions: Add entry for librt.
10593         * rt/Makefile: New file.
10594         * rt/aio.h: New file.
10595         * rt/aio_cancel.c: New file.
10596         * rt/aio_error.c: New file.
10597         * rt/aio_fsync.c: New file.
10598         * rt/aio_misc.c: New file.
10599         * rt/aio_misc.h: New file.
10600         * rt/aio_read.c: New file.
10601         * rt/aio_read64.c: New file.
10602         * rt/aio_return.c: New file.
10603         * rt/aio_suspend.c: New file.
10604         * rt/aio_write.c: New file.
10605         * rt/aio_write64.c: New file.
10606         * rt/lio_listio.c: New file.
10607         * rt/lio_listio64.c: New file.
10608         * sysdeps/generic/aio_sigqueue.c: New file.
10609         * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
10610         * sysdeps/unix/sysv/linux/Dist: Add new files
10611         * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
10612         (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
10613         rt_sigqueueinfo, rt_sigaction.
10615         * posix/Makefile (headers): Add bits/environments.h.
10616         * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
10617         and _CS_LFS_CFLAGS on 64bit platforms.
10618         * posix/unistd.h: Define _XOPEN_LEGACY.  Explain _XOPEN_REALTIME
10619         and _XOPEN_REALTIME_THREADS.  Include bits/environments.h.
10620         * sysdeps/generic/bits/confname.h: Define _SC_* constants for
10621         compilation modules.
10622         * sysdeps/wordsize-32/bits/environments.h: New file.
10623         * sysdeps/wordsize-64/bits/environments.h: New file.
10625         * posix/getopt.c: Remove declaration of getpid and __libc_pid.
10626         * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
10627         __libc_pid.
10628         * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
10629         0xf00baa.
10631         * string/string.h: Add declaration of __strverscmp.
10632         * string/strverscmp.c: Rename function ot __strverscmp and make old
10633         name weak alias.
10635         * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
10636         * sysdeps/generic/enbl-secure.c: Likewise.
10637         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10639         * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
10641         * sysdeps/unix/sysv/linux/sys/pci.h: New file.
10643 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10645         * posix/sys/wait.h: Use __transparent_union__ instead of
10646         transparent_union.  Reported by Roland McGrath.
10648 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10650         * resolv/inet_neta.c (inet_neta): Change type of first parameter
10651         to u_int32_t.  Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
10652         [PR libc/366].
10654         * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
10656         * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
10658 1997-12-03 20:40  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
10660         * grp/initgroups.c: Increase buffer if it is too small.
10662 1997-12-03  Ulrich Drepper  <drepper@cygnus.com>
10664         * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
10665         fields, this is no ISO C.  Reported by Andreas Jaeger.
10667 1997-12-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10669         * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
10671 1997-12-03 08:58  Philip Blundell  <pb@nexus.co.uk>
10673         * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
10674         _SYS_UTSNAME_H not _UTSNAME_H.
10676 1997-11-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10678         * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
10679         computing s_scale.
10681 1997-11-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10683         * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
10684         * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
10685         * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
10687         * math/libm-test.c (csqrt_test): Add testcase.
10689 1997-12-03 15:44  Ulrich Drepper  <drepper@cygnus.com>
10691         * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
10692         * sysdeps/unix/sysv/linux/sys/Dist: Add it.
10693         * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
10695 1997-11-30  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10697         * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
10699 1997-12-01  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10701         * math/libm-test.c (acos_test): Add more tests.
10702         (asin_test): Likewise.
10703         (atan_test): Likewise.
10704         (exp_test): Likewise.
10705         (sin_test): Likewise.
10706         (sqrt_test): Likewise.
10707         (cpow_test): Likewise.
10708         (csqrt_test): Likewise.
10709         (cexp_test): Correct typo in gcc version test.
10711 1997-12-02 17:14  Philip Blundell  <pb@nexus.co.uk>
10713         * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
10714         <bits/setjmp.h>.
10715         * sysdeps/arm/setjmp.S: Likewise.
10717         * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
10719 1997-12-02 18:07  Philip Blundell  <pb@nexus.co.uk>
10721         * stdio/stdio.h: Add prototype for tmpfile64().
10723 1997-12-02 17:47  Philip Blundell  <pb@nexus.co.uk>
10725         * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
10726         prototype to keep in step with libio version.
10728         * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
10730 1997-12-02 17:41  Philip Blundell  <pb@nexus.co.uk>
10732         * sysdeps/generic/Makefile: Don't try to use make_siglist if
10733         cross-compiling.
10735 1997-12-02 01:18  Ulrich Drepper  <drepper@cygnus.com>
10737         * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
10738         load GOT ptr before jumping to _exit.
10739         Reported by Xavier Leroy.
10741 1997-12-01 17:27  Ulrich Drepper  <drepper@cygnus.com>
10743         * Makefile (subdirs): Add iconvdata and localedata.
10745         * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
10747         * iconv/gconv_conf.c (read_conf_file): Little optimization.
10749         * iconvdata/8bit-gap.c: New file.
10750         * iconvdata/8bit-generic.c: Renamed from ...
10751         * iconvdata/iso8859-generic.c: ...this.
10752         * iconvdata/configure: Removed.
10753         * iconvdata/Makefile: Add new modules and better rules.
10754         * iconvdata/iso6937.c: Minor bug fixes.
10755         * iconvdata/iso8859-1.c: Likewise.
10756         * iconvdata/t61.c: Likewise.
10757         * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
10758         Minor bug fixes.
10759         * iconvdata/iso8859-3.c: Likewise.
10760         * iconvdata/iso8859-4.c: Likewise.
10761         * iconvdata/iso8859-5.c: Likewise.
10762         * iconvdata/iso8859-6.c: Likewise.
10763         * iconvdata/iso8859-7.c: Likewise.
10764         * iconvdata/iso8859-8.c: Likewise.
10765         * iconvdata/iso8859-9.c: Likewise.
10766         * iconvdata/iso8859-10.c: Likewise.
10767         * iconvdata/ebcdic-at-de-a.c: New file.
10768         * iconvdata/ebcdic-at-de.c: New file.
10769         * iconvdata/ebcdic-ca-fr.c: New file.
10770         * iconvdata/hp-roman8.c: New file.
10771         * iconvdata/koi-8.c: New file.
10772         * iconvdata/koi8-r.c: New file.
10773         * iconvdata/koi8-h.c: New file.
10774         * iconvdata/latin-greek-1.c: New file.
10775         * iconvdata/latin-greek-1.h: New file.
10776         * iconvdata/latin-greek.c: New file.
10777         * iconvdata/latin-greek.h: New file.
10778         * iconvdata/jis0201.c: New file.
10779         * iconvdata/jis0201.h: New file.
10780         * iconvdata/jis0208.c: New file.
10781         * iconvdata/jis0208.h: New file.
10782         * iconvdata/jis0212.c: New file.
10783         * iconvdata/jis0212.h: New file.
10784         * iconvdata/sjis.c: New file.
10785         * iconvdata/gap.pl: New file.  Script to generate table header.
10786         * iconvdata/gaptab.pl: New file.
10787         * iconvdata/gconv-modules: Add info about new modules.
10789         * locale/programs/charmap.c: Also examine alias names given in charmap
10790         files.
10792         * localedata/*: Add to here from add-on.  We need the information
10793         to generate tables for iconv.
10795         Update from db-2.3.14.
10796         * db2/Makefile: Updated.
10797         * db2/config.h: Likewise.
10798         * db2/db.h: Likewise.
10799         * db2/db_int.h: Likewise.
10800         * db2/btree/bt_cursor.c: Likewise.
10801         * db2/btree/bt_delete.c: Likewise.
10802         * db2/btree/bt_put.c: Likewise.
10803         * db2/btree/bt_search.c: Likewise.
10804         * db2/btree/bt_split.c: Likewise.
10805         * db2/btree/btree_auto.c: Likewise.
10806         * db2/common/db_appinit.c: Likewise.
10807         * db2/common/db_apprec.c: Likewise.
10808         * db2/common/db_err.c: Likewise.
10809         * db2/common/db_region.c: Likewise.
10810         * db2/db/db_auto.c: Likewise.
10811         * db2/db/db_dispatch.c: Likewise.
10812         * db2/db/db_ret.c: Likewise.
10813         * db2/dbm/dbm.c: Likewise.
10814         * db2/hash/hash_auto.c: Likewise.
10815         * db2/include/btree_ext.h: Likewise.
10816         * db2/include/common_ext.h: Likewise.
10817         * db2/include/db.h.src: Likewise.
10818         * db2/include/db_cxx.h: Likewise.
10819         * db2/include/db_ext.h: Likewise.
10820         * db2/include/db_int.h.src: Likewise.
10821         * db2/include/lock.h: Likewise.
10822         * db2/include/log.h: Likewise.
10823         * db2/include/mp.h: Likewise.
10824         * db2/include/mp_ext.h: Likewise.
10825         * db2/include/os_ext.h: Likewise.
10826         * db2/include/os_func.h: Likewise.
10827         * db2/lock/lock.c: Likewise.
10828         * db2/lock/lock_deadlock.c: Likewise.
10829         * db2/log/log.c: Likewise.
10830         * db2/log/log_archive.c: Likewise.
10831         * db2/log/log_auto.c: Likewise.
10832         * db2/log/log_get.c: Likewise.
10833         * db2/log/log_put.c: Likewise.
10834         * db2/mp/mp_bh.c: Likewise.
10835         * db2/mp/mp_fget.c: Likewise.
10836         * db2/mp/mp_fopen.c: Likewise.
10837         * db2/mp/mp_fput.c: Likewise.
10838         * db2/mp/mp_fset.c: Likewise.
10839         * db2/mp/mp_open.c: Likewise.
10840         * db2/mp/mp_pr.c: Likewise.
10841         * db2/mp/mp_region.c: Likewise.
10842         * db2/mp/mp_sync.c: Likewise.
10843         * db2/mutex/README: Likewise.
10844         * db2/mutex/mutex.c: Likewise.
10845         * db2/os/os_open.c: Likewise.
10846         * db2/os/os_func.c: Removed.
10847         * db2/os/os_config.c: New file.
10848         * db2/os/os_spin.c: New file.
10849         * db2/txn/txn.c: Likewise.
10850         * db2/txn/txn_auto.c: Likewise.
10852 1997-11-30 06:01  Ulrich Drepper  <drepper@cygnus.com>
10854         * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
10855         __typeof for C++ since this fails for class members.
10856         Reported by Neal Becker <neal@ctd.comsat.com>.
10858 1997-11-28 11:21  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10860         * configure.in: Check for a working makeinfo (3.11 or better).
10861         * config.make.in: Add MAKEINFO to be substituted.
10862         * manual/Makefile: Don't update info if makeinfo is too old.
10864 1997-11-30 05:21  Ulrich Drepper  <drepper@cygnus.com>
10866         * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
10867         * sysdeps/alpha/__longjmp.S: Likewise.
10868         * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
10869         not <bits/termios.h>.
10871         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
10872         __llseek and make llseek and lseek64 weak aliases.
10873         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
10874         Patches by a sun <asun@zoology.washington.edu>.
10876 1997-11-29 19:19  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10878         * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
10879         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10880         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10881         * misc/sys/syslog.h: Clean up BSD header.
10883 1997-11-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10885         * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
10887         * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
10888         for ctan(+-inf,x).
10889         * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
10890         * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
10892         * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
10893         csqrt (-1), ctanh(i*pi/4).
10895 1997-11-26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
10897         * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
10899 1997-11-28 13:28  Philip Blundell  <Philip.Blundell@pobox.com>
10901         * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
10903 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10905         * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
10907 1997-11-26 21:28  Ulrich Drepper  <drepper@cygnus.com>
10909         * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
10910         and use.  Define GETCWD_RETURN_TYPE instead and use it.
10911         * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
10912         of GETCWD_STORYGE_CLASS and put the return type and the
10913         `internal_function' in the right order for gcc 2.7.2.
10915 1997-11-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10917         * sysdeps/unix/sysv/linux/sys/module.h: Remove file.  It's
10918         incompatible with Linux 2.1.x.  Packages using modules
10919         (e.g. modutils) should/do provide their own version.  Suggested by
10920         Richard Henderson.
10922         * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
10924         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
10925         [$(subdir)=socket]: Remove sys/module.h.
10927 1997-11-26 04:28  Ulrich Drepper  <drepper@cygnus.com>
10929         * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
10930         computing s_scale.  Patch by a sun <asun@zoology.washington.edu>.
10932         * iconv/gconv_close.c: Correct freeing of descriptor data.
10933         * iconv/gconv_simple.c: Return correct error values for illegal or
10934         incomplete characters.
10936         * Makefile (iconvdata/%): Special goal to simplify iconvdata
10937         development.
10938         * iconvdata/Makefile: New file.
10939         * iconvdata/configure: Likewise.
10940         * iconvdata/extra-module.mk: Likewise.
10941         * iconvdata/gconv-modules: Likewise.
10942         * iconvdata/iso6937.c: Likewise.
10943         * iconvdata/iso8859-1.c: Likewise.
10944         * iconvdata/iso8859-10.c: Likewise.
10945         * iconvdata/iso8859-10.h: Likewise.
10946         * iconvdata/iso8859-2.c: Likewise.
10947         * iconvdata/iso8859-2.h: Likewise.
10948         * iconvdata/iso8859-3.c: Likewise.
10949         * iconvdata/iso8859-3.h: Likewise.
10950         * iconvdata/iso8859-4.c: Likewise.
10951         * iconvdata/iso8859-4.h: Likewise.
10952         * iconvdata/iso8859-5.c: Likewise.
10953         * iconvdata/iso8859-5.h: Likewise.
10954         * iconvdata/iso8859-6.c: Likewise.
10955         * iconvdata/iso8859-6.h: Likewise.
10956         * iconvdata/iso8859-7.c: Likewise.
10957         * iconvdata/iso8859-7.h: Likewise.
10958         * iconvdata/iso8859-8.c: Likewise.
10959         * iconvdata/iso8859-8.h: Likewise.
10960         * iconvdata/iso8859-9.c: Likewise.
10961         * iconvdata/iso8859-9.h: Likewise.
10962         * iconvdata/iso8859-generic.c: Likewise.
10963         * iconvdata/t61.c: Likewise.
10965         * string/Makefile (routines): Add strcasestr.
10966         * string/string.h: Add prototype for strcasestr.
10967         * sysdeps/generic/strcasestr.c: New file.
10968         * wcsmbs/mbrtowc.c: Simplify special case a bit.
10969         * wcsmbs/wcrtomb.c: Likewise.
10970         * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
10971         * wcsmbs/wcsnrtombs.c: Likewise.
10972         * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
10973         partial character is read.
10974         * wcsmbs/wcsrtombs.c: Likewise.
10975         * wcsmbs/wmemrtombs.c: Likewise.
10976         * wcsmbs/wmemrtowcs.c: Likewise.
10978         * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
10979         * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
10980         * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
10981         * sysdeps/i386/elf/setjmp.S: Likewise.
10982         * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
10983         <bits/termios.h>.
10985         * sysdeps/posix/mk-stdiolim.c: Output file with comment.
10986         * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
10988         * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
10989         * sysvipc/sys/ipc.h: Likewise.
10990         * sysvipc/sys/msg.h: Likewise.
10991         * sysvipc/sys/sem.h: Likewise.
10992         * sysvipc/sys/shm.h: Likewise.
10994         * sysdeps/alpha/bits/endian.h: Issue error message if the header is
10995         used directly.
10996         * sysdeps/alpha/bits/setjmp.h: Likewise.
10997         * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
10998         * sysdeps/arm/bits/endian.h: Likewise.
10999         * sysdeps/arm/bits/setjmp.h: Likewise.
11000         * sysdeps/generic/bits/byteswap.h: Likewise.
11001         * sysdeps/generic/bits/confname.h: Likewise.
11002         * sysdeps/generic/bits/dirent.h: Likewise.
11003         * sysdeps/generic/bits/dlfcn.h: Likewise.
11004         * sysdeps/generic/bits/endian.h: Likewise.
11005         * sysdeps/generic/bits/fenv.h: Likewise.
11006         * sysdeps/generic/bits/huge_val.h: Likewise.
11007         * sysdeps/generic/bits/in.h: Likewise.
11008         * sysdeps/generic/bits/ioctl-types.h: Likewise.
11009         * sysdeps/generic/bits/ioctls.h: Likewise.
11010         * sysdeps/generic/bits/ipc.h: Likewise.
11011         * sysdeps/generic/bits/msq.h: Likewise.
11012         * sysdeps/generic/bits/poll.h: Likewise.
11013         * sysdeps/generic/bits/resource.h: Likewise.
11014         * sysdeps/generic/bits/sched.h: Likewise.
11015         * sysdeps/generic/bits/sem.h: Likewise.
11016         * sysdeps/generic/bits/setjmp.h: Likewise.
11017         * sysdeps/generic/bits/shm.h: Likewise.
11018         * sysdeps/generic/bits/sigaction.h: Likewise.
11019         * sysdeps/generic/bits/sigcontext.h: Likewise.
11020         * sysdeps/generic/bits/socket.h: Likewise.
11021         * sysdeps/generic/bits/stat.h: Likewise.
11022         * sysdeps/generic/bits/statfs.h: Likewise.
11023         * sysdeps/generic/bits/stdio_lim.h: Likewise.
11024         * sysdeps/generic/bits/termios.h: Likewise.
11025         * sysdeps/generic/bits/time.h: Likewise.
11026         * sysdeps/generic/bits/uio.h: Likewise.
11027         * sysdeps/generic/bits/utmp.h: Likewise.
11028         * sysdeps/generic/bits/utmpx.h: Likewise.
11029         * sysdeps/generic/bits/utsname.h: Likewise.
11030         * sysdeps/generic/bits/waitflags.h: Likewise.
11031         * sysdeps/generic/bits/waitstatus.h: Likewise.
11032         * sysdeps/gnu/bits/utmp.h: Likewise.
11033         * sysdeps/gnu/bits/utmpx.h: Likewise.
11034         * sysdeps/i386/bits/byteswap.h: Likewise.
11035         * sysdeps/i386/bits/endian.h: Likewise.
11036         * sysdeps/i386/bits/huge_val.h: Likewise.
11037         * sysdeps/i386/bits/setjmp.h: Likewise.
11038         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
11039         * sysdeps/ieee754/bits/huge_val.h: Likewise.
11040         * sysdeps/m68k/bits/byteswap.h: Likewise.
11041         * sysdeps/m68k/bits/endian.h: Likewise.
11042         * sysdeps/m68k/bits/setjmp.h: Likewise.
11043         * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
11044         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
11045         * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
11046         * sysdeps/mach/hurd/bits/stat.h: Likewise.
11047         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
11048         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
11049         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
11050         * sysdeps/mips/bits/dlfcn.h: Likewise.
11051         * sysdeps/mips/bits/endian.h: Likewise.
11052         * sysdeps/mips/bits/setjmp.h: Likewise.
11053         * sysdeps/mips/dec/bits/endian.h: Likewise.
11054         * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
11055         * sysdeps/mips/mipsel/bits/endian.h: Likewise.
11056         * sysdeps/mips/p40/bits/endian.h: Likewise.
11057         * sysdeps/powerpc/bits/endian.h: Likewise.
11058         * sysdeps/powerpc/bits/fenv.h: Likewise.
11059         * sysdeps/powerpc/bits/setjmp.h: Likewise.
11060         * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
11061         * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
11062         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
11063         * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
11064         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
11065         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
11066         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11067         * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
11068         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
11069         * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
11070         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
11071         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
11072         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
11073         * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
11074         * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
11075         * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
11076         * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
11077         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
11078         * sysdeps/unix/common/bits/dirent.h: Likewise.
11079         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
11080         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11081         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11082         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11083         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
11084         * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
11085         * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
11086         * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
11087         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
11088         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11089         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
11090         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
11091         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
11092         * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
11093         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
11094         * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
11095         * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
11096         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11097         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11098         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
11099         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
11100         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11101         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11102         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11103         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11104         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
11105         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
11106         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11107         * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
11108         * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
11109         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
11110         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
11111         * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
11112         * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
11113         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
11114         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
11115         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
11116         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
11117         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
11118         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
11119         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
11120         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
11121         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11122         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11123         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
11124         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
11125         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
11126         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
11127         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
11128         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
11129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11130         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11131         * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
11132         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
11133         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11134         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11135         * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
11136         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
11137         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
11138         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
11139         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
11140         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
11141         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
11142         * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
11143         * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
11144         * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
11145         * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
11146         * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
11147         * sysdeps/vax/bits/huge_val.h: Likewise.
11148         * sysdeps/vax/bits/setjmp.h: Likewise.
11149         * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
11150         * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
11152 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11154         * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
11156 1997-11-25  Paul Eggert  <eggert@shade.twinsun.com>
11158         * strftime.c (strftime):
11159         No longer any need to undef or declare if emacs is defined.
11160         (my_strftime): When checking a -1 returned by mktime, don't blow up
11161         if localtime_r returns NULL.
11163 1997-11-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11165         * README.template: Fix spelling.
11167 1997-11-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11169         * configure.in: Enhance --enable-add-ons description a wee bit.
11171 1997-11-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11173         * glibcbug.in: Add more information of build environment and flags.
11175 1997-11-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11177         * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
11178         it into ENOENT.
11180 1997-11-24 03:01  Ulrich Drepper  <drepper@cygnus.com>
11182         * elf/dl-support.c: Call __libc_init_secure to make sure
11183         __libc_enable_secure is defined early.
11184         * sysdeps/generic/enbl-secure.c: Change function name to
11185         __libc_init_secure and make it global instead of a constructor.
11187         * iconv/gconv.c: Fix lots of bugs.
11188         * iconv/gconv.h: Likewise.
11189         * iconv/gconv_builtin.h: Likewise.
11190         * iconv/gconv_close.c: Likewise.
11191         * iconv/gconv_conf.c: Likewise.
11192         * iconv/gconv_db.c: Likewise.
11193         * iconv/gconv_dl.c: Likewise.
11194         * iconv/gconv_open.c: Likewise.
11195         * iconv/gconv_simple.c: Likewise.
11196         * iconv/iconv.c: Likewise.
11197         * iconv/iconv_close.c: Likewise.
11198         * iconv/iconv_open.c: Likewise.
11200         * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
11201         * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
11202         * wcsmbs/wmemrtombs.c: New file.
11203         * wcsmbs/wmemrtowcs.c: New file.
11205 1997-11-22 19:28  Ulrich Drepper  <drepper@cygnus.com>
11207         * iconv/gconv_simple.c: Fix lots of bugs.
11208         * iconv/iconv_open.c: Normalize names before passing them to
11209         __gconv_open.
11211         * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
11213         * libio/iopopen.c: Check for correct mode argument and punt otherwise.
11214         * stdio-common/test-popen.c: Add test for above change.
11216         * math/libm-test.c: Print test results also using %a format,
11217         specified in PRINTF_XEXPR macro.
11218         * math/test-double.c: Define PRINTF_XEXPR.
11219         * math/test-float.c: Likewise.
11220         * math/test-ldouble.c: Likewise.
11221         * math/test-idouble.c: Likewise.
11222         * math/test-ifloat.c: Likewise.
11223         * math/test-ildoubl.c: Likewise.
11225         * stdio-common/vfscanf.c: Recognize a in format specifier only as
11226         modifier if used before s, S, or [.  Otherwise it's the hexadecimal
11227         FP number format.
11229         * stdlib/strtod.c: Little code cleanup.
11231         * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
11232         compiling in math subdir.
11234         * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
11235         instead of __LIBC_M81_MATH_INLINES.
11236         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
11237         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
11238         * sysdeps/m68k/fpu/e_pow.c: Likewise.
11239         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
11240         * sysdeps/m68k/fpu/k_cos.c: Likewise.
11241         * sysdeps/m68k/fpu/k_sin.c: Likewise.
11242         * sysdeps/m68k/fpu/k_tan.c: Likewise.
11243         * sysdeps/m68k/fpu/s_atan.c: Likewise.
11244         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
11245         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
11246         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
11247         * sysdeps/m68k/fpu/s_csin.c: Likewise.
11248         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
11249         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
11250         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
11251         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
11252         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
11253         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
11254         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
11255         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
11256         * sysdeps/m68k/fpu/s_modf.c: Likewise.
11257         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
11258         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
11259         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
11260         * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
11261         __LIBC_INTERNAL_MATH_INLINES is defined.
11263         * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
11264         of compare macros from ISO C 9X.  Optimize generic versions a bit.
11265         Define __signbit inline functions and __ieee754_sqrt which can be
11266         used if the ompiler is fixed.
11268         * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
11270 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11272         * Makerules ($(common-objpfx)stub-$(subdir)): Look for
11273         sysdeps/generic in the whole dep file, not only in the first line.
11275 1997-11-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11277         * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
11279 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11281         * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
11282         place.
11284 1997-11-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11286         * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
11287         is non-empty.
11289 1997-11-20 16:51  Ulrich Drepper  <drepper@cygnus.com>
11291         * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
11292         return value.
11294 1997-11-19 21:36  Ulrich Drepper  <drepper@cygnus.com>
11296         * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
11297         readlink succeeds but the return value is too long.
11299         * stdio-common/printf_fphex.c: Determine sign of number correctly.
11301 1997-11-19 02:45  Ulrich Drepper  <drepper@cygnus.com>
11303         * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
11304         __remqu for Alpha.
11306 1997-11-18 23:08  Ulrich Drepper  <drepper@cygnus.com>
11308         * sysdeps/generic/sys/ucontext.h: Stub context file.
11310         * libio/iofprintf.c: Removed.  We use the stdio-common version.
11312         * manual/Makefile (distribute): Add stdio-fp.c.
11314         * sysdeps/powerpc/Dist: Add ppc-mcount.S.
11316         * db2/Makefile (distribute): Add include/os_func.h, README and
11317         mutex/tsl_parisc.s.
11319         * hesiod/Makefile (distribute): Add README.hesiod.
11321 1997-11-18 22:14  Ulrich Drepper  <drepper@cygnus.com>
11323         * iconv/gconv.c: Correctly call transformation function.
11325         * manual/maint.texi: Document need of binutils 2.8.1.0.17.
11327 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11329         * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
11330         wrong results for e.g. remquo (3,2, &x)).
11331         * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
11332         * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
11334 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11336         * configure.in (ld --version-script): Test if the same symbol
11337         maybe defined in all versions (needed by recent changes to
11338         libc.map and supported with binutils 2.8.1.0.17) and issue warning
11339         if versioning is not supported/enabled.
11340         (bash test): Correct test case.
11342         * math/libm-test.c: Added counting/reporting of number of test cases.
11344         * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
11345         use awk instead.
11347         * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
11349 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11351         * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
11353 1997-11-18 18:04  Ulrich Drepper  <drepper@cygnus.com>
11355         * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
11356         Replace revoke call by use of REVOKE.
11357         * sysdeps/unix/sysv/linux/pty.c: New file.  Define REVOKE as
11358         empty and #include generic version.
11359         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11361 1997-11-18 16:02  Ulrich Drepper  <drepper@cygnus.com>
11363         * libc.map: Add socket functions with __libc_* names.
11364         Reported by Andreas Jaeger.
11366 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11368         * libc.map: Tidy up (remove duplicates, sort entries).
11370 1997-11-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11372         * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
11374 1997-11-18 06:45  Ulrich Drepper  <drepper@cygnus.com>
11376         * sysdeps/generic/pty.c: Make thread safe.  Fix bug when calling
11377         again after successful call.
11378         Patch by Marc Lehmann <pcg@goof.com>.
11380 1997-11-17  Paul Eggert  <eggert@twinsun.com>
11382         * time/mktime.c, time/strftime.c (_REENTRANT): #define,
11383         as some hosts need this to declare localtime_r properly.
11385 1997-11-18 06:08  Ulrich Drepper  <drepper@cygnus.com>
11387         * libc.map: Add iconv_open, iconv, and iconv_close.
11389 1997-11-18 02:31  Ulrich Drepper  <drepper@cygnus.com>
11391         * iconv/Makefile: New file.
11392         * iconv/gconv.c: New file.
11393         * iconv/gconv.h: New file.
11394         * iconv/gconv_builtin.c: New file.
11395         * iconv/gconv_builtin.h: New file.
11396         * iconv/gconv_close.c: New file.
11397         * iconv/gconv_conf.c: New file.
11398         * iconv/gconv_db.c: New file.
11399         * iconv/gconv_dl.c: New file.
11400         * iconv/gconv_open.c: New file.
11401         * iconv/gconv_simple.c: New file.
11402         * iconv/iconv.c: New file.
11403         * iconv/iconv.h: New file.
11404         * iconv/iconv_close.c: New file.
11405         * iconv/iconv_open.c: New file.
11406         * include/gconv.h: New file.
11408         * Makeconfig: Define gconvdir.
11409         * Makefile (subdirs): Add iconv.
11411         * string/bits/string2.h: Add optimization for strtok_r.
11413         * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
11414         for NULL.
11415         * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
11416         Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
11418         * configure.in: Correct test for bash2.
11419         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11421         * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
11422         (CFLAGS-locfile.c): Likewise.
11423         Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
11425         * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
11426         non-existing entry if the table is full.
11428         * posix/regex.h: Pretty print.
11430         * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
11432         * sysdeps/posix/ctermid.c: Simplify a bit.
11434         * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
11436 1997-11-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11438         * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
11439         <sys/types.h> instead of <asm/types.h>.
11441 1997-11-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11443         * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
11445 1997-11-16 17:09  H.J. Lu  <hjl@gnu.ai.mit.edu>
11447         * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
11448         fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
11449         (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
11450         (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
11451         fclose): Added to GLIBC_2.1.
11453         * libio/Makefile (routines, shared-only-routines): Add
11454         oldiofclose.  Remove oldfreopen.
11456         * libio/freopen.c (freopen): When PIC is defined, call
11457         _IO_old_freopen () for old stdio.
11459         * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
11460         (_IO_fclose, fclose): Use _IO_new_fclose as default version
11461         for GLIBC_2.1.
11463         * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
11464         instead of _IO_file_close_it.
11466         * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
11467         to _IO_2_1_stdxxx_.
11468         (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
11469         is defined.
11471         * libio/libioP.h (_IO_old_do_flush): New.
11473         * libio/oldfileops.c (_IO_old_file_close_it,
11474         _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
11475         Call _IO_old_do_flush () instead of _IO_do_flush ().
11476         (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
11477         _IO_do_write ().
11479         * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
11480         instead of _IO_file_init ().
11481         Bind old symbols to version GLIBC_2.0.
11483         * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
11484         (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
11485         _IO_stdxxx_.
11486         (_IO_check_libio): New function in .init.
11488         * libio/oldiofclose.c: New file.
11490         * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
11491         _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
11492         (DEF_STDFILE): Don't use default_symbol_version.
11494         * libio/stdio.c (stdin, stdout, stderr): Set to
11495         _IO_2_1_stdxxx_._
11496         (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
11497         stdxxx.
11499         * csu/Makefile (distribute): Add init.c.
11500         (extra-objs): Add init.o for ELF.
11501         (start-installed-name): Add $(objpfx)init.o.
11503         * csu/init.c: New file.
11505 1997-11-12 08:02  H.J. Lu  <hjl@gnu.ai.mit.edu>
11507         * elf/dl-lookup.c (do_lookup): Don't use the hidden base
11508         definition as the default.
11510 1997-08-27  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
11512         * erand48_r.c (__erand48_r): Implement for 32 bit short int.
11514 1997-11-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11516         * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
11517         (PR 351).
11519 1997-11-16 21:01  Philip Blundell  <Philip.Blundell@pobox.com>
11521         * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
11522         to preserve condition codes on function call.
11524 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11526         * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
11528 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11530         * math/libm-test.c (asin_test): Add epsilon for float.
11531         (tan_test): Add epsilon for float.
11532         (log1p_test): Add epsilon for float.
11533         (inverse_functions): Add epsilons.
11535         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
11536         net/if_packet.h.
11538         * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
11540 1997-11-10  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11542         * md5-crypt/Makefile (extra-objs): Make recursively expanded
11543         variable, since $(object-suffixes) is not defined yet.
11545 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11547         * db2/Makefile (distribute): db185/db185_int.src ->
11548         db185/db185_int.h.
11550 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11552         * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
11553         exactly one.
11555 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11557         * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
11558         name.
11559         * sysdeps/generic/e_acosl.c: Likewise.
11560         * sysdeps/generic/e_asinl.c: Likewise.
11561         * sysdeps/generic/e_atan2l.c: Likewise.
11562         * sysdeps/generic/e_expl.c: Likewise.
11563         * sysdeps/generic/e_fmodl.c: Likewise.
11564         * sysdeps/generic/e_j0l.c: Likewise.
11565         * sysdeps/generic/e_j1l.c: Likewise.
11566         * sysdeps/generic/e_jnl.c: Likewise.
11567         * sysdeps/generic/e_lgammal_r.c: Likewise.
11568         * sysdeps/generic/e_log10l.c: Likewise.
11569         * sysdeps/generic/e_logl.c: Likewise.
11570         * sysdeps/generic/e_powl.c: Likewise.
11571         * sysdeps/generic/e_sqrtl.c: Likewise.
11572         * sysdeps/generic/e_exp2l.c: Likewise.
11574 1997-11-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11576         * Make-dist (+sysdep-names): Remove extra paren.
11577         * Makefile (distribute): Add stub-tag.h.
11578         * elf/Makefile (distribute): Add atomicity.h.
11579         * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
11580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
11581         [$(subdir)=socket]: Add net/if_packet.h.
11582         * sysdeps/alpha/Dist: Remove setjmp_aux.c.
11583         * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
11584         net/if_packet.h, scsi/sg.h.
11586 1997-11-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11588         * Makefile (install): Quote $(CC) expansion.
11590 1997-11-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11592         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
11593         working /proc cwd and no restrictions on path length.  Following
11594         some ideas from Andi Kleen <ak@muc.de> (PR 350).
11596 1997-11-14 19:14  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
11598         * nis/nss_compat/compat-grp.c: Remove buggy assert call.
11599         * nis/nss_compat/compat-pwd.c: Likewise.
11600         * nis/nss_compat/compat-spwd.c: Likewise.
11602 1997-11-14 22:23  Ulrich Drepper  <drepper@cygnus.com>
11604         * sysdeps/libm-i387/s_fdim.S: New file.
11605         * sysdeps/libm-i387/s_fdimf.S: New file.
11606         * sysdeps/libm-i387/s_fdiml.S: New file.
11607         * sysdeps/libm-i387/i686/s_fdim.S: New file.
11608         * sysdeps/libm-i387/i686/s_fdimf.S: New file.
11609         * sysdeps/libm-i387/i686/s_fdiml.S: New file.
11611 1997-11-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
11613         * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
11614         pointer to unsigned char.
11616 1997-11-13  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11618         * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
11620         * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
11622         * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
11624 1997-11-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
11626         * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
11627         ilogb(0/NaN).
11628         * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
11629         * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
11631 1997-11-14 05:44  Ulrich Drepper  <drepper@cygnus.com>
11633         * sysdeps/libm-i387/s_fmin.S: New file.
11634         * sysdeps/libm-i387/s_fminf.S: New file.
11635         * sysdeps/libm-i387/s_fminl.S: New file.
11636         * sysdeps/libm-i387/s_fmax.S: New file.
11637         * sysdeps/libm-i387/s_fmaxf.S: New file.
11638         * sysdeps/libm-i387/s_fmaxl.S: New file.
11639         * sysdeps/libm-i387/i686/s_fmin.S: New file.
11640         * sysdeps/libm-i387/i686/s_fminf.S: New file.
11641         * sysdeps/libm-i387/i686/s_fminl.S: New file.
11642         * sysdeps/libm-i387/i686/s_fmax.S: New file.
11643         * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
11644         * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
11646 1997-11-14 03:06  Ulrich Drepper  <drepper@cygnus.com>
11648         * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
11649         * sysdeps/unix/sysv/linux/send.S: Likewise.
11650         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11651         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11652         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11653         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11654         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11655         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11656         Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
11658 See ChangeLog.7 for earlier changes.